/**
 * Blog Post (2026) template.
 *
 * Layout styling is inline in the partials, ported 1:1 from the design. This
 * sheet holds the design's own <style> block (scoped to .blp), its hover states,
 * the content callouts editors can use in posts, and bb-theme resets.
 */

/* ---------- Design globals, scoped ---------- */
html:has(.blp) { scroll-behavior: smooth; }
.blp { background: #ffffff; color: #3a3a3a; font-family: "Open Sans", sans-serif; font-size: 1rem; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.blp *, .blp *::before, .blp *::after { box-sizing: border-box; }
.blp a { color: #13a89e; text-decoration: none; }
.blp a:hover { color: #1b6493; text-decoration: underline; }
.blp ::selection { background: #9be3ff; color: #00263d; }
.blp .ac-prose p { margin: 0 0 1.35rem; }
.blp .ac-prose ul { margin: 0 0 1.5rem; padding-left: 1.1rem; }
.blp .ac-prose ol { margin: 0 0 1.5rem; padding-left: 1.3rem; }
.blp .ac-prose li { margin-bottom: .6rem; }
.blp .ac-prose h2 { font-family: Poppins, sans-serif; font-weight: 600; font-size: 2.5rem; line-height: 1.3; color: #00263d; margin: 3.25rem 0 1rem; scroll-margin-top: calc(var(--blp-top, 0px) + 30px); letter-spacing: normal; text-transform: none; }
.blp .ac-prose h3 { font-family: Poppins, sans-serif; font-weight: 600; font-size: 1.75rem; line-height: 1.3; color: #1b6493; margin: 2.5rem 0 .75rem; scroll-margin-top: calc(var(--blp-top, 0px) + 30px); letter-spacing: normal; text-transform: none; }
.blp .ac-prose figure { margin: 2rem 0; }
.blp .ac-prose img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid #e8ecef; }
.blp .ac-prose figcaption { font-size: .8125rem; color: #6b7176; padding-top: .6rem; }
@media (max-width: 1040px) {
	.blp .ac-trail-line { display: none !important; }
	.blp .ac-trail-stops { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 34px 28px !important; }
}
@media (max-width: 620px) {
	.blp .ac-trail-stops { grid-template-columns: 1fr !important; }
	.blp .ac-trail-stops li { align-items: flex-start !important; text-align: left !important; }
}
@media (max-width: 900px) {
	.blp .ac-cta-band { grid-template-columns: 1fr !important; }
	.blp .ac-cta-band > div:first-child { padding: 56px 20px 60px !important; max-width: none !important; }
	.blp .ac-cta-band > div:last-child { min-height: 300px !important; }
}
@media (max-width: 1100px) {
	.blp .ac-grid { grid-template-columns: 1fr !important; }
	.blp .ac-rail { position: static !important; max-height: none !important; }
	.blp .ac-prose h2 { font-size: 1.75rem; }
	.blp .ac-prose h3 { font-size: 1.5rem; }
}
/* Hero stacks on narrow screens (the design's two columns get too tight) */
@media (max-width: 900px) {
	.blp .blp-hero-grid { grid-template-columns: 1fr !important; gap: 36px !important; padding-top: 56px !important; }
	.blp .blp-h1 { font-size: 2.4rem !important; }
}

/* ---------- Floating table of contents (same component as the Service Landing pages) ---------- */
.blp .blp-toc { position: fixed; left: 24px; bottom: 24px; z-index: 90; width: 320px; max-width: calc(100vw - 32px); border-radius: 14px; overflow: hidden; background: #00263D; box-shadow: 0 18px 44px -16px rgba(0,20,33,.45); font-family: 'Open Sans', sans-serif; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
.blp .blp-toc.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s ease; }
.blp .blp-toc-head,
.blp .blp-toc-head:hover,
.blp .blp-toc-head:focus { display: block; width: 100%; text-align: left; background: #00263D; color: #fff; border: 0; border-radius: 0; padding: 18px 20px; cursor: pointer; }
.blp .blp-toc-head:focus-visible { outline: 2px solid #58c2e3; outline-offset: -4px; }
.blp .blp-toc-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.blp .blp-toc-eyebrow { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #7FD3EE; }
.blp .blp-toc-count { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 11.5px; letter-spacing: .08em; color: #9BC4DC; white-space: nowrap; }
.blp .blp-toc-titlerow { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.blp .blp-toc-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 18px; line-height: 1.25; color: #fff; }
.blp .blp-toc-caret { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; line-height: 1; color: #fff; transition: transform .25s ease; }
.blp .blp-toc.is-open .blp-toc-caret { transform: rotate(180deg); }
.blp .blp-toc-panel { max-height: 0; overflow: hidden; background: #F5F8FA; transition: max-height .3s ease; }
.blp .blp-toc.is-open .blp-toc-panel { max-height: min(60vh, 540px); overflow-y: auto; }
.blp .blp-toc-list { list-style: none; margin: 0; padding: 16px 18px 18px 20px; position: relative; }
.blp .blp-toc-list::before { content: ""; position: absolute; left: 28.25px; top: 28px; bottom: 30px; width: 1.5px; background: #D8E3EB; }
.blp .blp-toc-item { position: relative; margin: 0; line-height: 1.35; }
.blp .blp-toc-item a { display: flex; align-items: center; gap: 14px; padding: 6px 0; color: #5E6E7A; font-size: 14.5px; line-height: 1.35; transition: color .2s ease; }
.blp .blp-toc-item a:hover { color: #1b6493; text-decoration: none; }
.blp .blp-toc-dot { flex: none; position: relative; z-index: 1; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; }
.blp .blp-toc-dot::before { content: ""; box-sizing: border-box; width: 10px; height: 10px; border-radius: 50%; background: #F5F8FA; border: 1.5px solid #B9C7D2; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.blp .blp-toc-l1 a { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15.5px; color: #00263D; }
.blp .blp-toc-l1 .blp-toc-dot::before { width: 13px; height: 13px; border-width: 2px; border-color: #9DB2C1; }
.blp .blp-toc-l2 a { gap: 26px; }
.blp .blp-toc-item.is-active a { color: #13a89e; }
.blp .blp-toc-item.is-active .blp-toc-dot::before { background: #13a89e; border-color: #13a89e; box-shadow: 0 0 0 4px rgba(19,168,158,.22); }
@media (max-width: 620px) {
	.blp .blp-toc { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; }
	.blp .blp-toc-head, .blp .blp-toc-head:hover, .blp .blp-toc-head:focus { padding: 14px 16px; }
	.blp .blp-toc-title { font-size: 16px; }
}
@media print { .blp .blp-toc { display: none; } }

/* ---------- Reading progress bar (pinned under the site header) ---------- */
.blp-progress { position: fixed; left: 0; right: 0; top: var(--blp-top, 0px); height: 3px; background: rgba(255,255,255,.14); z-index: 99; pointer-events: none; }
.blp-progress > div { height: 3px; width: 0%; background: #13a89e; }

/* ---------- Hover states (style-hover in the design) ---------- */
.blp .blp-h-pill:hover { background: #a5e5e0 !important; color: #00263d !important; text-decoration: none !important; }
.blp .blp-h-teal:hover { background: #a5e5e0 !important; color: #00263d !important; text-decoration: none !important; }
.blp .blp-h-white:hover { background: #a5e5e0 !important; color: #00263d !important; text-decoration: none !important; }
.blp .blp-h-arrow:hover { border-color: #13a89e !important; background: #13a89e !important; color: #ffffff !important; }
.blp .blp-h-card:hover { border-color: #13a89e !important; text-decoration: none !important; }

/* ---------- Content callouts (use these classes in post content) ---------- */
/* Larger opening paragraph: <p class="blp-lede"> */
.blp .ac-prose p.blp-lede { font-size: 1.125rem; line-height: 1.75; }
/* Pull quote: any <blockquote> in a post */
.blp .ac-prose blockquote { margin: 2rem 0; padding: 22px 28px; background: #00263d; border: 0; border-radius: 10px; color: #ffffff; font-family: Poppins, sans-serif; font-weight: 600; font-size: 1.25rem; line-height: 1.5; font-style: normal; quotes: none; }
.blp .ac-prose blockquote p { margin: 0; }
/* Three-up cards: <div class="blp-cards"><div><div class="blp-card-title">On-page</div><div>Text</div></div>…</div> */
.blp .ac-prose .blp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 1.75rem 0 2rem; }
.blp .ac-prose .blp-cards > div { background: #f9f9f9; border-radius: 10px; padding: 22px; font-size: .9375rem; line-height: 1.65; }
.blp .ac-prose .blp-card-title { font-family: Poppins, sans-serif; font-weight: 600; font-size: 1.125rem; color: #1b6493; margin-bottom: 8px; }
/* Testimonial with stat: <figure class="blp-proof"> … see the pilot post for the markup */
.blp .ac-prose figure.blp-proof { margin: 2.5rem 0; border-radius: 14px; background: linear-gradient(160deg, #04263c 0%, #0a3a58 52%, #10516d 100%); padding: 32px 34px 30px; }
.blp .ac-prose .blp-proof-eyebrow { font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #a5e5e0; margin-bottom: 16px; }
.blp .ac-prose .blp-proof blockquote { margin: 0; padding: 0; background: none; border-radius: 0; font-size: 1.375rem; line-height: 1.45; text-wrap: pretty; }
.blp .ac-prose .blp-proof figcaption { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 26px; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.18); font-size: inherit; color: inherit; }
.blp .ac-prose .blp-proof-stat { background: #ffffff; border-radius: 10px; padding: 16px 22px; }
.blp .ac-prose .blp-proof-number { font-family: Poppins, sans-serif; font-weight: 700; font-size: 2.25rem; line-height: 1; color: #1b6493; }
.blp .ac-prose .blp-proof-label { font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: 13px; line-height: 1.4; color: #1b6493; margin-top: 6px; }
.blp .ac-prose .blp-proof-name { font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: 15px; line-height: 1.5; color: #ffffff; }
.blp .ac-prose .blp-proof-company { font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 1.5; color: #a5e5e0; margin-top: 3px; }
.blp .ac-prose .blp-proof a { display: inline-block; font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: 14px; color: #9be3ff; margin-top: 10px; }
.blp .ac-prose .blp-proof a:hover { color: #ffffff; }

/* ---------- bb-theme resets ---------- */
.blp h1, .blp h2, .blp h3, .blp h4 { letter-spacing: normal; text-transform: none; }
.blp button { line-height: 1; text-transform: none; letter-spacing: normal; text-shadow: none; box-shadow: none; }
.blp #ac-carousel::-webkit-scrollbar { display: none; }
