/* RBO design system: content-template extras (families 21-26: FAQ library, use case, resource/calculator,
   about, blog post, blog index). Load AFTER rbo-ds.css. Tokens only; no new colours, no new fonts.
   Every rule says what it is for; merge into rbo-ds.css (or the WordPress theme for the .post-* / .article rules) later. */

/* ---------- A. Shared small pieces ---------- */
/* Review/trust line under the trust cards (FAQ, use case, resource, about): centred meta line + links */
.trust-snippet { margin-top: var(--s-7); text-align: center; color: var(--ink-2); }
.trust-snippet p { margin: 0 0 var(--s-2); }
.trust-snippet .inline-links { justify-content: center; }
.trust-snippet .inline-links a { gap: 8px; }
/* Section-level band holding only the trust snippet (resource page) */
.trust-snippet--band { margin-top: 0; }
/* A heading inside a modal that must stay a heading (blog modal "First Month Bookkeeping Free!") */
.modal-kicker { font-size: var(--fs-h4); font-weight: var(--fw-h2); color: var(--navy); letter-spacing: 0; margin: 0 0 var(--s-2); }
/* CTA band whose source heading contains its own button (about page): put the button on its own line */
.cta-band h2 .btn { display: flex; width: fit-content; margin-top: var(--s-5); letter-spacing: 0; }
/* 16:9 video embed (about page YouTube) */
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); box-shadow: var(--sh-2); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Card used as a link-group container: keep the card padding tight around the group summary */
.topic-card { padding: var(--s-5) var(--s-6); }
.topic-card .link-cols { margin-top: var(--s-3); }
@media (min-width: 640px) { .topic-card .card-title { padding-bottom: var(--s-3); border-bottom: 1px solid var(--rule); width: 100%; } }
@media (max-width: 639px) { .topic-card { padding: 0 var(--s-5); } .topic-card .link-group > summary { border-bottom: 0; } }
/* "This page" marker inside a ledger link list */
.ledger--links a[aria-current] { color: var(--navy); font-weight: var(--fw-bold); }

/* ---------- B. FAQ library (21) ---------- */
/* Question index beside the accordions (desktop only; on phones the accordion itself is the index) */
.faq-index { display: none; }
@media (min-width: 960px) {
  .faq-index { display: block; margin-top: var(--s-7); border-top: 1px solid var(--rule); }
  .faq-index ol { list-style: none; counter-reset: fi; display: grid; }
  .faq-index li { counter-increment: fi; border-bottom: 1px solid var(--rule); }
  .faq-index a { display: grid; grid-template-columns: 32px 1fr; align-items: baseline; padding: 10px 0; font-size: var(--fs-sm); font-weight: var(--fw-ui); color: var(--ink-2); text-decoration: none; line-height: 1.4; }
  .faq-index a::before { content: counter(fi, decimal-leading-zero); font-size: var(--fs-meta); font-weight: var(--fw-bold); color: var(--ink-3); font-variant-numeric: tabular-nums; }
  .faq-index a:hover { color: var(--blue); }
}
/* Numbered questions so the index and the accordion read as one list */
.faq--numbered { counter-reset: fq; }
.faq--numbered .faq-item { counter-increment: fq; scroll-margin-top: 112px; }
.faq--numbered .faq-item > summary::before { content: counter(fq, decimal-leading-zero); flex: none; width: 32px; padding-top: 3px; font-size: var(--fs-meta); font-weight: var(--fw-bold); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.faq--numbered .faq-item > summary .faq-q { flex: 1; }
.faq--numbered .faq-a { padding-left: 52px; }
@media (max-width: 639px) { .faq--numbered .faq-item > summary::before { width: 26px; } .faq--numbered .faq-a { padding-left: 46px; } }

/* ---------- C. Use case narrative (22) ---------- */
/* Vertical story timeline: label rail + text; the dot turns green on the results step */
.story { list-style: none; display: grid; gap: 0; }
.story > li { position: relative; display: grid; gap: var(--s-2); padding: 0 0 var(--s-8) 44px; }
.story > li::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 0; width: 2px; background: var(--rule); }
.story > li:last-child { padding-bottom: 0; } .story > li:last-child::before { display: none; }
.story .story-dot { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-meta); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.story .story-dot--ok { background: var(--positive); }
.story .story-dot .icon { width: 16px; height: 16px; }
.story p { margin: 0; color: var(--ink-2); max-width: var(--measure); }
.story .label { color: var(--ink-3); font-size: var(--fs-meta); letter-spacing: var(--ls-caps); text-transform: uppercase; font-weight: var(--fw-bold); padding-top: 4px; }
@media (min-width: 960px) { .story p { font-size: 1.125rem; line-height: 1.65; } }
/* Results card inside the story */
.results-card { border: 1px solid #CFE3D8; background: var(--positive-bg); border-radius: var(--r-lg); padding: var(--s-5) var(--s-6); }
.results-card .checklist { font-weight: var(--fw-ui); color: var(--ink); }
/* Opening pull-quote line of the case (first sentence of the story, not new copy) */
.story-lead { font-size: var(--fs-lead); color: var(--ink); font-weight: var(--fw-ui); }

/* ---------- D. Pricing calculator (23) ---------- */
/* Two-column calculator: inputs left, live result right (sticky on desktop) */
.calc { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 960px) { .calc { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); } .calc-out { position: sticky; top: 104px; } }
.calc-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc-form legend { padding: 0; margin-bottom: var(--s-2); }
.calc-form .field-hint { margin-top: -2px; }
/* Add-on choices as large tick tiles (the checkbox stays a real, visible checkbox) */
.check-tiles { display: grid; gap: var(--s-2); }
@media (min-width: 480px) { .check-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.check-tile { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; align-items: start; padding: var(--s-3) var(--s-4); border: 1px solid var(--field); border-radius: var(--r-sm); background: var(--white); cursor: pointer; font-weight: var(--fw-ui); line-height: 1.35; min-height: 48px; }
.check-tile input { width: 22px; height: 22px; margin: 0; accent-color: var(--blue); }
.check-tile .fig { grid-column: 2; font-size: var(--fs-sm); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.check-tile:hover { border-color: var(--ink-3); }
.check-tile:has(input:checked) { border-color: var(--blue); background: var(--blue-050); box-shadow: inset 0 0 0 1px var(--blue); }
.check-tile:has(input:focus-visible) { box-shadow: var(--focus-ring); }
/* Result panel rendered by the calculator script into #out */
.calc-out .statement-body { padding-top: var(--s-5); padding-bottom: var(--s-5); }
.calc-tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }
.calc-out .price { margin: var(--s-1) 0 var(--s-4); }
.calc-out .glance { margin: var(--s-4) calc(-1 * var(--s-6)); border-top: 1px solid var(--rule); }
.calc-out .glance-row { padding-top: var(--s-3); padding-bottom: var(--s-3); }
.calc-out .checklist { font-size: var(--fs-sm); gap: var(--s-2); }
.calc-out .checklist--row { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-4); color: var(--ink-2); }
.calc-out .btn-block { margin-top: var(--s-2); }
.addon-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-2) 0 var(--s-4); }
/* Link-list trio (Explore / Industry / Compare) under the calculator */
.link-trio { display: grid; gap: var(--s-7); }
@media (min-width: 760px) { .link-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.link-trio h2 { margin-bottom: var(--s-3); }

/* ---------- E. About (24) ---------- */
/* Three pillars ledger with icon wells and a short description */
.ledger--wells > li { align-items: center; }
.pillar-text strong { color: var(--ink); font-weight: var(--fw-bold); }
.pillar-text { color: var(--ink-2); }

/* ---------- F. Blog: article (25) ---------- */
/* Post header on navy: meta row (date, author, updated, reading time) */
.post-head .breadcrumb { margin-bottom: var(--s-5); }
.post-cat { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--navy-600); border-radius: var(--r-sm); color: #fff; font-size: var(--fs-meta); font-weight: var(--fw-bold); text-decoration: none; letter-spacing: .02em; margin-bottom: var(--s-4); }
.post-cat:hover { border-color: var(--sky); text-decoration: none; color: #fff; }
.post-head h1 { max-width: 24ch; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s-4); margin: var(--s-5) 0 0; font-size: var(--fs-sm); color: var(--on-navy-2); }
.post-meta > span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--navy-600); margin-right: var(--s-4); vertical-align: middle; }
.post-meta strong { color: #fff; font-weight: var(--fw-ui); }
.post-byline { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-6); color: #fff; font-weight: var(--fw-ui); }
.post-byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--navy-700); background: var(--navy-800); }
.post-byline small { display: block; font-size: var(--fs-meta); color: var(--on-navy-2); font-weight: var(--fw-medium); }
/* Post hero: one column, aligned with the reading column below */
.hero--post > .container { display: block; }
@media (min-width: 960px) { .hero--post > .container { padding-top: 56px; padding-bottom: 64px; } }
/* Layout: reading column (max 720) + calm sticky rail at >=1100 */
.post-layout { display: grid; gap: var(--s-9); padding-top: var(--s-8); padding-bottom: var(--section-y); }
.post-layout > * { min-width: 0; }
@media (min-width: 1100px) {
  .post-layout { grid-template-columns: minmax(0, 720px) 280px; justify-content: space-between; column-gap: var(--s-10); }
  .post-main { grid-column: 1; grid-row: 1; } .post-after { grid-column: 1; grid-row: 2; }
  .post-rail-wrap { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: sticky; top: 104px; display: grid; gap: var(--s-7); }
}
.post-main, .post-after { max-width: 720px; }
/* Featured image */
.post-figure { margin: 0 0 var(--s-8); }
.post-figure img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 420; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--paper); }
/* Article typography: 17px mobile / 18px desktop, 1.7 leading, ~70 characters per line at 720px */
.article { font-size: 1.0625rem; line-height: 1.7; color: var(--ink); }
@media (min-width: 960px) { .article { font-size: 1.125rem; } }
.article > * { max-width: 100%; }
.article p { margin: 0 0 1.15em; }
.article h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); line-height: 1.25; margin: 2.1em 0 .6em; scroll-margin-top: 112px; }
.article h3 { font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem); margin: 1.8em 0 .5em; }
.article h2 + p, .article h3 + p { margin-top: 0; }
.article > :first-child { margin-top: 0; }
.article ul, .article ol { margin: 0 0 1.3em; padding-left: 1.35em; display: grid; gap: .35em; }
.article li { padding-left: .25em; }
.article ul li::marker { color: var(--blue); }
.article ol li::marker { color: var(--ink-3); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; }
.article a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: var(--fw-ui); }
.article a:hover { text-decoration-thickness: 2px; }
.article strong { font-weight: 650; color: var(--ink); }
/* Lead-in "Common warning signs include:" lines (a <p><strong> that introduces a list) */
.article p:has(> strong:only-child) { margin-bottom: .5em; }
/* Long checklists flow into two columns from 640px so they stay scannable */
@media (min-width: 640px) { .article ul.cols-2 { grid-template-columns: 1fr 1fr; column-gap: var(--s-7); } }
/* Tables inside posts (WordPress wp-block-table): framed, tabular figures, scroll inside their own frame */
.article figure.wp-block-table, .article .table-scroll { margin: 0 0 1.4em; overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-lg); }
.article table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.5; font-variant-numeric: tabular-nums lining-nums; }
.article th, .article td { padding: 12px var(--s-4); text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.article thead th { background: var(--paper-2); font-size: var(--fs-meta); font-weight: var(--fw-bold); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.article tbody tr:last-child > * { border-bottom: 0; }
.article blockquote { margin: 0 0 1.3em; padding: var(--s-1) 0 var(--s-1) var(--s-5); border-left: 3px solid var(--blue); color: var(--ink-2); }
/* "Related:" lines inside the post */
.article .related-line { font-size: var(--fs-sm); color: var(--ink-2); padding: var(--s-3) var(--s-4); background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r-sm); }
/* In-article CTA (rbo-inline-cta) */
.inline-cta { margin: 2em 0; padding: var(--s-6); border-radius: var(--r-lg); background: var(--blue-050); border: 1px solid var(--blue-100); }
.inline-cta .card-title { font-size: 1.25rem; font-weight: var(--fw-h2); color: var(--navy); }
.inline-cta p { font-size: 1rem; color: var(--ink-2); margin: var(--s-2) 0 var(--s-5); }
.inline-cta .btn-row { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3); }
.inline-cta ul.btn-row { list-style: none; }
.article .inline-cta a.btn { text-decoration: none; }
.article .inline-cta a.btn-primary { color: #fff; }
.article .inline-cta a.btn-secondary { color: var(--navy); }
.article .inline-cta .text-link { text-decoration: none; }
/* Post FAQ (kept as paragraphs, as in the post): question rule + answer */
.post-faq { margin: 0 0 1.3em; border-top: 1px solid var(--rule); }
.post-faq > div { padding: var(--s-5) 0; border-bottom: 1px solid var(--rule); }
.post-faq p { margin: 0; }
.post-faq .q { font-weight: 650; color: var(--navy); margin-bottom: var(--s-2); }
.post-faq .q strong { color: inherit; }
.post-faq p + p { color: var(--ink-2); }
/* Contextual service CTA card at the end of the post (navy) */
.service-cta { margin: 2.2em 0 0; padding: var(--s-7) var(--s-6); border-radius: var(--r-lg); }
.article .service-cta h2 { margin-top: 0; color: #fff; }
.article .service-cta p { color: var(--on-navy-2); }
.service-cta ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-5) 0 0; }
.service-cta ul li { padding: 0; }
.article .service-cta a.btn { text-decoration: none; }
.article .service-cta a.btn-primary { color: var(--navy); }
.article .service-cta a.btn-secondary { color: #fff; }
/* Author box */
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: var(--s-2) var(--s-5); align-items: center; padding: var(--s-6); border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--white); }
.author-box h2 { grid-column: 1 / -1; font-size: var(--fs-meta); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--ink-3); margin: 0 0 var(--s-2); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--paper); }
.author-box .author-name { margin: 0; font-weight: var(--fw-bold); font-size: 1.125rem; color: var(--ink); }
.author-box .author-role { margin: 2px 0 0; color: var(--ink-2); font-size: var(--fs-sm); }
/* After-article widgets (from the WordPress sidebar, in source order) */
.post-after { display: grid; gap: var(--s-7); }
.widget h2 { font-size: var(--fs-h4); font-weight: var(--fw-h2); letter-spacing: 0; margin: 0 0 var(--s-3); }
.widget--cta { padding: var(--s-6); }
.widget--cta h2 { font-size: 1.25rem; }
.widget-pair { display: grid; gap: var(--s-7); }
@media (min-width: 640px) { .widget-pair { grid-template-columns: 1fr 1fr; } }
/* Search (WordPress #searchform, same name/action) */
.search-form { display: flex; gap: var(--s-2); }
.search-form .input { flex: 1; min-width: 0; }
.search-form .btn { flex: none; }
.hero .search-form { max-width: 520px; margin-top: var(--s-6); }
.hero .search-form .input { border-color: var(--white); }
/* Reviews line with stars */
.review-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); padding: var(--s-4) var(--s-5); background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.review-line p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }
.review-line a { font-weight: var(--fw-btn); }
/* Related posts: two-column title list */
.related-posts { list-style: none; display: grid; gap: 0 var(--s-7); border-top: 1px solid var(--rule); }
@media (min-width: 640px) { .related-posts { grid-template-columns: 1fr 1fr; } }
.related-posts li { border-bottom: 1px solid var(--rule); }
.related-posts a { display: flex; align-items: center; min-height: 52px; padding: var(--s-3) 0; color: var(--ink); text-decoration: none; font-weight: var(--fw-ui); font-size: var(--fs-sm); line-height: 1.4; }
.related-posts a:hover { color: var(--blue); text-decoration: underline; }
/* Calm rail: "On this page" contents + share; only from 1100px */
.post-rail { display: none; }
@media (min-width: 1100px) { .post-rail { display: block; } .post-rail .rail-inner { display: grid; gap: var(--s-7); } }
.toc ol { list-style: none; border-left: 2px solid var(--rule); display: grid; }
.toc a { display: block; padding: 6px 0 6px var(--s-4); margin-left: -2px; border-left: 2px solid transparent; font-size: var(--fs-sm); line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--blue); border-left-color: var(--blue); }
.share-links { display: flex; gap: var(--s-2); }
.share-links a { width: 44px; height: 44px; border: 1px solid var(--rule-2); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); }
.share-links a:hover { border-color: var(--blue); color: var(--blue); }
.share-links .icon { width: 18px; height: 18px; }
.rail-cta { padding: var(--s-5); }
.rail-cta .card-title { font-size: 1.0625rem; }
.rail-cta p { font-size: var(--fs-sm); margin: var(--s-2) 0 var(--s-4); }

/* ---------- G. Blog: index / archive (26) ---------- */
/* Category navigation: chips; one row that scrolls sideways on phones */
.cat-nav { margin-top: var(--s-6); }
.cat-nav ul { list-style: none; display: flex; gap: var(--s-2); flex-wrap: wrap; }
.cat-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--navy-600); border-radius: var(--r-sm); color: #fff; text-decoration: none; font-size: var(--fs-sm); font-weight: var(--fw-ui); white-space: nowrap; }
.cat-nav a:hover { border-color: var(--sky); }
.cat-nav a[aria-current] { background: #fff; border-color: #fff; color: var(--navy); }
@media (max-width: 639px) {
  .cat-nav { margin-inline: calc(-1 * var(--gutter)); }
  .cat-nav ul { flex-wrap: nowrap; overflow-x: auto; padding: 0 var(--gutter) 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cat-nav ul::-webkit-scrollbar { display: none; }
}
/* Post cards */
.post-grid { display: grid; gap: var(--s-6); }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--s-6); } }
.post-card { position: relative; display: flex; flex-direction: column; margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); transition: box-shadow .15s, border-color .15s; }
.post-card:hover { box-shadow: var(--sh-2); border-color: var(--rule-2); }
.post-card img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 420; object-fit: cover; background: var(--paper); border-bottom: 1px solid var(--rule); }
.post-card .pc-body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5) var(--s-5) var(--s-5); flex: 1; }
.post-card h2 { font-size: 1.1875rem; line-height: 1.35; font-weight: var(--fw-h2); letter-spacing: -0.008em; margin: 0; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card:hover h2 a { color: var(--blue); }
.post-card h2 a:focus-visible { outline: none; }
.post-card:has(h2 a:focus-visible) { box-shadow: 0 0 0 3px rgba(27,75,196,.35); }
.post-card .excerpt { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .entry-meta { margin-top: auto; padding-top: var(--s-3); font-size: var(--fs-meta); color: var(--ink-3); }
/* Lead card: newest post, image beside text from 760px */
.post-card--lead { margin-bottom: var(--s-7); }
@media (min-width: 760px) {
  .post-card--lead { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .post-card--lead img { height: 100%; border-bottom: 0; border-right: 1px solid var(--rule); }
  .post-card--lead .pc-body { padding: var(--s-8); justify-content: center; gap: var(--s-4); }
  .post-card--lead h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; }
  .post-card--lead .excerpt { font-size: 1.0625rem; -webkit-line-clamp: 4; }
  .post-card--lead .entry-meta { margin-top: 0; }
}
.pc-badge { align-self: flex-start; }
/* Pagination (WordPress .page-numbers markup) */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-2); margin-top: var(--s-9); font-variant-numeric: tabular-nums; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: var(--r-sm); background: var(--white); color: var(--ink); text-decoration: none; font-weight: var(--fw-ui); }
.pagination a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .dots { border: 0; background: none; min-width: 24px; padding: 0; color: var(--ink-3); }
.pagination .next { gap: 6px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Featured posts band: two horizontal cards */
.featured-grid { display: grid; gap: var(--s-6); }
@media (min-width: 760px) { .featured-grid { grid-template-columns: 1fr 1fr; } }
/* Contextual CTA paragraph (insurance accounting) */
.context-cta { padding: var(--s-6); border-left: 3px solid var(--blue); background: var(--white); border-radius: 0 var(--r-lg) var(--r-lg) 0; border-top: 1px solid var(--rule); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.context-cta strong { color: var(--ink); }
.context-cta p { margin: 0; max-width: 90ch; }
.context-cta a { font-weight: var(--fw-ui); }
.site-footer .disclaimer strong { color: #fff; } /* blog disclaimer label on navy */
/* Post header on phones: long current crumb on one line; meta items stack without stray separators */
.post-head .breadcrumb li { min-width: 0; }
.post-head .breadcrumb [aria-current] { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
@media (max-width: 639px) { .post-meta { gap: 2px var(--s-4); } .post-meta > span + span::before { display: none; } .post-head .breadcrumb { flex-wrap: nowrap; } }
/* CTA band with long copy or two long buttons: buttons go under the text instead of squeezing it */
@media (min-width: 960px) { .cta-band--stack { grid-template-columns: 1fr; } .cta-band--stack p { max-width: 72ch; } }
/* Phones: grid posts become compact rows (thumbnail left) so the archive scans quickly; the lead card stays large */
@media (max-width: 639px) {
  .post-grid { gap: var(--s-3); }
  .post-grid .post-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); }
  .post-grid .post-card img { height: 100%; aspect-ratio: auto; min-height: 120px; border-bottom: 0; border-right: 1px solid var(--rule); }
  .post-grid .post-card .pc-body { padding: var(--s-3) var(--s-4); gap: 6px; }
  .post-grid .post-card h2 { font-size: 1.0625rem; }
  .post-grid .post-card .excerpt { -webkit-line-clamp: 2; font-size: var(--fs-meta); }
  .post-grid .post-card .entry-meta { padding-top: 2px; }
  .pagination { gap: 6px; }
}
/* Resource page: the price-breakdown panel sits beside the hero on desktop only; on phones the calculator comes first */
@media (max-width: 959px) { .hero-aside--desktop { display: none; } }

/* ---- Blog imagery consistency (owner review 2026-11-18) ----
   Every post image sits in the same 10:7 frame (the size all current featured images share),
   cropped with object-fit, one radius, one hairline. A post without a featured image gets a
   brand card with its category instead of a generic stock photo. */
.post-thumb-ph { display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 600 / 420; padding: var(--card-pad); background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; border-bottom: 1px solid var(--rule); }
.post-thumb-ph .ph-cat { font-size: var(--fs-meta); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--sky); }
.post-thumb-ph .ph-mark { width: 40px; height: 40px; margin-bottom: auto; opacity: .9; }
.post-figure figcaption { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--ink-2); }

/* Pricing calculator result (/resources/pricing-calculator): the page script (unchanged) renders legacy markup into #out */
.calc-legacy-out .pill { display: inline-flex; align-items: center; gap: 4px; margin: 0 var(--s-2) var(--s-2) 0; padding: 4px 12px; border-radius: var(--r-sm); background: var(--blue-050); color: var(--navy); font-size: var(--fs-meta); font-weight: var(--fw-ui); }
.calc-legacy-out .pill b { font-weight: var(--fw-bold); }
.calc-legacy-out > div[style] { margin-top: var(--s-4) !important; color: var(--ink-2); }
.calc-legacy-out .price { margin: var(--s-1) 0 var(--s-4); font-size: var(--fs-price); font-weight: var(--fw-price); color: var(--navy); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.calc-legacy-out ul { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; gap: var(--s-2); font-size: var(--fs-sm); color: var(--ink-2); }
.calc-legacy-out ul li { position: relative; padding-left: 26px; }
.calc-legacy-out ul li::before { content: ""; position: absolute; left: 0; top: .25em; width: 16px; height: 16px; background: var(--positive);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.calc-legacy-out ul[style] { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin: var(--s-4) 0 0 !important; padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.calc-legacy-out .muted { color: var(--ink-2); font-size: var(--fs-sm); padding-top: var(--s-3); border-top: 1px solid var(--rule); }
.calc-legacy-out .btn { display: flex; width: 100%; white-space: normal; }
.calc-legacy-out > p { margin: 0 0 var(--s-2); color: var(--ink); font-weight: var(--fw-ui); }
/* The legacy bridge (.ds-legacy) and .hero-photo now live in the core (css/rbo-ds.css sections 24-25). */
