/*! BFM v2 — Sections-page restyle (About / FAQ / Contact / Become-a-Vendor / Accessibility
   + the shared content-sections layouts: normal_banner, common_banner, common_contents,
   highlight_contents, cards_section) and the Contact Form 7 forms.

   Owned by the Sections build. Loaded AFTER ba-v2.css + ba-type.css; uses only their
   tokens (--navy, --amber, --sky, --ink, --muted, --line, --paper, --cream, --disp, --serif,
   --r-*, --shadow-*, --fs-*). Type is rem (html is 62.5%, so 1rem = 10px); body copy >= 17px.
   The legacy Bootstrap-era markup (.common_sec/.comm_text/.banner/.cards_sec/.wpcf7) is
   restyled in place — no markup is required, except the optional helpers emitted by
   template-parts/sections/enhance.php (.bfm-faq, .bfm-pull, .bfm-label, .bfm-req). */

/* ============================================================ LOCAL TOKENS */
.common_sec, .cards_sec, .header_text, .banner, .normal_banner{
  --bfm-measure:78rem;               /* comfortable reading column (~68 chars at 18.5px) */
  --bfm-field-line:#7c8d98;          /* form-control border: 3.43:1 on white (WCAG 1.4.11) */
  --bfm-err:#b42318; --bfm-err-bg:#fff4f2;   /* 6.57:1 on white, 6.1:1 on the tint */
  --bfm-ok:#14532d;  --bfm-ok-bg:#e9f6ee; --bfm-ok-line:#1a7a4a;
  --bfm-amber-ink:#9e5a00;           /* amber that is legal as TEXT on white/cream (5.36:1) */
  --bfm-cream-line:#f3e3c3;
}

/* ============================================================ 1. PAGE-TITLE BANNER (normal_banner layout)
   .banner is also emitted by header.php for 404 / archive / search / single-post, so every .banner rule
   below is scoped to the Sections page template (body.page-template-template-sections). */
.page-template-template-sections .banner{
  position:relative; overflow:hidden;
  padding:clamp(5.2rem,7.5vw,9rem) 0 clamp(4.8rem,6.5vw,8rem);
  border-bottom:.4rem solid var(--amber);
}
.page-template-template-sections .banner.no_img::before{                 /* quiet depth: sky glow top-right, deeper blue bottom-left (amber over navy goes muddy, so it is kept for the rule only) */
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(56rem 28rem at 90% -14%, rgba(37,167,206,.22), transparent 70%),
    radial-gradient(48rem 30rem at -6% 120%, rgba(18,104,161,.38), transparent 70%);
}
.page-template-template-sections .banner h1,
.page-template-template-sections .banner h2{
  font-size:var(--fs-2xl); line-height:1.08; letter-spacing:-.018em; margin:0;
}
.page-template-template-sections .banner h1::after,
.page-template-template-sections .banner h2::after{    /* amber rule under the title, echoes .eyebrow::before */
  content:""; display:block; width:6.4rem; height:.4rem; border-radius:.2rem;
  background:var(--amber); margin:2.2rem auto 0;
}

/* common_banner (photo hero used by Contact / Become-a-Vendor): navy scrim so type is legible on any photo */
.normal_banner .sec_topslides .row{padding:clamp(6rem,9vw,10.4rem) 0 clamp(5.6rem,8vw,9.6rem)}
.normal_banner__bg::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(96deg, rgba(9,32,52,.94) 0%, rgba(11,42,70,.88) 38%, rgba(13,47,77,.5) 68%, rgba(13,47,77,.18) 100%);
}
.normal_banner .sec_topslides__cont h2{
  font-size:var(--fs-2xl); line-height:1.08; letter-spacing:-.018em; margin:0 0 1.6rem;
}
.normal_banner .sec_topslides__cont h2 strong,
.light_text .sec_topslides__cont h2 strong{color:var(--amber); font-style:normal; font-weight:inherit}
.normal_banner .sec_topslides__cont p{
  font-size:var(--fs-md); line-height:1.55; max-width:56ch; margin:0 0 1.4rem; color:rgba(255,255,255,.95);
}
.normal_banner .sec_topslides__cont p b,
.normal_banner .sec_topslides__cont p strong{color:#ffd08a; font-weight:700}

/* ============================================================ 2. COMMON CONTENT (common_contents) — editorial prose */
.common_sec.comm_padd,.common_sec.lg_padd{padding-top:clamp(4.8rem,6vw,8rem); padding-bottom:clamp(5.2rem,6.5vw,8.8rem)}

/* single-column prose = a centred reading column (not a 114rem-wide wall of text) */
.common_sec .comm_cont:only-child > .comm_cont__inn{max-width:var(--bfm-measure); margin-left:auto; margin-right:auto}

/* body copy */
.common_sec .comm_text{color:var(--ink)}
.common_sec .comm_text p,
.common_sec .comm_text li,
.common_sec .comm_text ol li,
.common_sec .comm_text ul:not(.list-inline) li{font-size:1.85rem; line-height:1.72; color:var(--ink)}
.common_sec .comm_text p{margin:0 0 2.2rem}
.common_sec .comm_text strong,.common_sec .comm_text b{color:var(--navy-900); font-weight:700}
.common_sec .comm_text em{font-style:italic}

/* headings: Bricolage Grotesque (--disp), navy-900 */
.common_sec .comm_text h2,
.common_sec .comm_text h3,
.common_sec .comm_text h4{font-family:var(--disp); color:var(--navy-900); font-optical-sizing:auto}
.common_sec .comm_text h2{
  font-weight:800; font-size:var(--fs-xl); line-height:1.12; letter-spacing:-.025em; margin:0 0 2rem;
}
.common_sec .comm_text h2 strong{color:var(--bfm-amber-ink); font-style:normal; font-weight:inherit}
.common_sec .comm_text h3{
  font-weight:700; font-size:clamp(2.1rem,1.1vw + 1.6rem,2.5rem); line-height:1.25; letter-spacing:-.01em; margin:4rem 0 1.4rem;
}
.common_sec .comm_text h4{font-weight:700; font-size:var(--fs-lg); line-height:1.3; margin:3rem 0 1rem}

/* h5 = eyebrow (amber bar + tracked sky caps), same as the homepage .eyebrow */
.common_sec .comm_text h5,
.common_sec .comm_text p.bfm-kicker{
  display:flex; align-items:center; gap:1rem; margin:0 0 1.2rem;
  font-family:var(--disp); font-size:1.3rem; font-weight:700; line-height:1.4; letter-spacing:.16em; text-transform:uppercase; color:var(--sky);
}
.common_sec .comm_text h5::before,
.common_sec .comm_text p.bfm-kicker::before{content:""; width:2.4rem; height:.2rem; background:var(--amber); flex:none}
.common_sec .comm_text h5 + h2,
.common_sec .comm_text p.bfm-kicker + h2{margin-top:0}

/* chapter rhythm: in a single-column article every h2 opens a "chapter" with an amber tab,
   and every h2 after the first is set off by a hairline divider */
.common_sec .comm_cont:only-child .comm_text h2{position:relative; padding-top:2.4rem}
.common_sec .comm_cont:only-child .comm_text h2::before{
  content:""; position:absolute; left:0; top:0; width:5.6rem; height:.4rem; border-radius:.2rem; background:var(--amber);
}
.common_sec .comm_cont:only-child .comm_text h2:not(:first-child){
  margin-top:6.4rem; padding-top:4rem; border-top:1px solid var(--line);
}
.common_sec .comm_cont:only-child .comm_text h2:not(:first-child)::before{top:-.2rem}
.common_sec .comm_cont:only-child .comm_text h3:first-child,
.common_sec .comm_cont:only-child .comm_text h4:first-child{margin-top:0}

/* lead paragraph: the first paragraph of a single-column article */
.common_sec .comm_cont:only-child .comm_text > p:first-child,
.common_sec .comm_cont:only-child .comm_text > h2:first-child + p,
.common_sec .comm_cont:only-child .comm_text > .bfm-toc + h2 + p{      /* document pages: the jump-nav sits above the first chapter */
  font-family:var(--serif); font-weight:400; font-optical-sizing:auto;
  font-size:clamp(2rem,.9vw + 1.55rem,2.3rem); line-height:1.55; letter-spacing:-.003em;
  color:var(--navy-900); margin-bottom:3.2rem;
}

/* links: AA sky, underlined, amber on hover */
.common_sec .comm_text a:not(.btn){
  color:var(--sky); font-weight:500; text-decoration:underline; text-decoration-thickness:.1rem;
  text-underline-offset:.22em; text-decoration-color:rgba(18,104,161,.4);
  transition:color .15s, text-decoration-color .15s;
}
.common_sec .comm_text a:not(.btn):hover{color:var(--navy-900); text-decoration-color:var(--amber); text-decoration-thickness:.2rem}

/* lists: amber dot bullets (the mock's .prose li::before) */
.common_sec .comm_text ul:not(.list-inline){margin:0 0 2.6rem}
.common_sec .comm_text ul:not(.list-inline) li{margin:0; padding:.7rem 0 .7rem 3.2rem}
.common_sec .comm_text ul:not(.list-inline) li::before{
  width:1.1rem; height:1.1rem; left:.3rem; top:1.35rem; border-radius:50%;
  background:var(--amber); box-shadow:inset 0 0 0 .2rem #fff;
}
.common_sec .comm_text ol{margin:0 0 2.6rem}
.common_sec .comm_text ol li{padding-left:3.6rem; margin:.7rem 0}
.common_sec .comm_text ol li::before{color:var(--navy-900); font-family:var(--disp); font-size:1.9rem}
.common_sec .comm_text hr{border:0; border-top:1px solid var(--line); margin:4.4rem 0}

/* "Last updated" footnote: a paragraph that is only <em> at the very end of an article */
.common_sec .comm_cont:only-child .comm_text > p:last-child > em:only-child{
  display:block; margin-top:3.2rem; padding-top:2rem; border-top:1px solid var(--line);
  font-style:normal; font-size:1.4rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted);
}

/* ---- pull-quote: authored <blockquote> or the repeated excerpt from enhance.php (.bfm-pull) ---- */
.common_sec .comm_text > blockquote,
.common_sec .comm_text > .bfm-pull{
  position:relative; margin:4.4rem 0; padding:3.2rem 3.6rem 3.2rem 4rem;
  background:var(--cream); border:1px solid var(--bfm-cream-line); border-left:.5rem solid var(--amber);
  border-radius:0 var(--r-lg) var(--r-lg) 0;
}
.common_sec .comm_text .bfm-pull blockquote{margin:0; padding:0; border:0; background:none}
.common_sec .comm_text > blockquote p,
.common_sec .comm_text .bfm-pull p{
  margin:0; font-family:var(--serif); font-style:italic; font-weight:500; font-optical-sizing:auto;
  font-size:clamp(2.3rem,1.5vw + 1.7rem,3rem); line-height:1.34; letter-spacing:-.01em; color:var(--navy-900);
}
.common_sec .comm_text > blockquote p + p{margin-top:1.4rem}
.common_sec .comm_text > blockquote cite,
.common_sec .comm_text .bfm-pull figcaption{
  display:block; margin-top:1.8rem; font-family:var(--disp); font-style:normal; font-weight:700;
  font-size:1.3rem; letter-spacing:.14em; text-transform:uppercase; color:var(--bfm-amber-ink);
}
@media (min-width:1100px){            /* let the quote breathe past the text column */
  .common_sec .comm_text > blockquote,
  .common_sec .comm_text > .bfm-pull{margin-left:-5rem; margin-right:-5rem}
}
/* closing brand line (no attribution): a navy band echoing the page banner */
.common_sec .comm_text > .bfm-pull--solo{
  margin-left:0; margin-right:0; text-align:center; padding:4.4rem 3.6rem;
  background:linear-gradient(120deg,var(--navy),var(--navy-900)); border:0; border-bottom:.4rem solid var(--amber); border-radius:var(--r-lg);
}
.common_sec .comm_text > .bfm-pull--solo::before{
  content:""; display:block; width:5.6rem; height:.4rem; border-radius:.2rem; background:var(--amber); margin:0 auto 2.2rem;
}
.common_sec .comm_text > .bfm-pull--solo p{color:#fff; font-size:clamp(2.6rem,2.2vw + 1.7rem,3.8rem); line-height:1.2}
@media (min-width:1100px){.common_sec .comm_text > .bfm-pull--solo{margin-left:-5rem; margin-right:-5rem}}

/* ---- FAQ accordion (enhance.php wraps each "Question?" h3 + its answer in native <details>) ---- */
.common_sec .comm_text details.bfm-faq{
  margin:0 0 1.2rem; background:var(--card); border:1px solid var(--line); border-radius:var(--r-md);
  box-shadow:var(--shadow-sm); transition:border-color .15s, box-shadow .15s;
}
.common_sec .comm_text details.bfm-faq:hover{border-color:#c9d3da}
.common_sec .comm_text details.bfm-faq[open]{border-color:var(--amber); box-shadow:var(--shadow-md)}
.common_sec .comm_text summary.bfm-faq__q{
  position:relative; display:block; list-style:none; cursor:pointer; min-height:4.8rem;
  padding:1.9rem 6.8rem 1.9rem 2.4rem; border-radius:var(--r-md);
}
.common_sec .comm_text summary.bfm-faq__q::-webkit-details-marker{display:none}
.common_sec .comm_text summary.bfm-faq__q h3{
  margin:0; padding:0; font-size:clamp(1.85rem,.7vw + 1.55rem,2.15rem); line-height:1.32;
}
.common_sec .comm_text summary.bfm-faq__q::after{            /* + / - disc, drawn with gradients (no icon font / SVG needed) */
  content:""; position:absolute; right:2rem; top:50%; width:3.4rem; height:3.4rem; margin-top:-1.7rem; border-radius:50%;
  background:
    linear-gradient(var(--navy-900),var(--navy-900)) center/1.3rem .2rem no-repeat,
    linear-gradient(var(--navy-900),var(--navy-900)) center/.2rem 1.3rem no-repeat,
    var(--amber-050);
}
.common_sec .comm_text details[open] > summary.bfm-faq__q::after{
  background:linear-gradient(var(--navy-900),var(--navy-900)) center/1.3rem .2rem no-repeat, var(--amber);
}
.common_sec .comm_text summary.bfm-faq__q:focus-visible{outline:.3rem solid var(--sky-400); outline-offset:.2rem}
.common_sec .comm_text .bfm-faq__a{margin:0 2.4rem; padding:2rem 0 2.4rem; border-top:1px solid var(--line-2)}
.common_sec .comm_text .bfm-faq__a > :first-child{margin-top:0}
.common_sec .comm_text .bfm-faq__a > :last-child{margin-bottom:0}
.common_sec .comm_text .bfm-faq__a p,
.common_sec .comm_text .bfm-faq__a li,
.common_sec .comm_text .bfm-faq__a ul:not(.list-inline) li{font-size:1.75rem; line-height:1.7}

/* ============================================================ 3. TWO-COLUMN BLOCKS (Contact: details + form) */
@media (min-width:992px){
  .common_sec .comm_cont[data-block="comm_cont-1-2"]{flex:0 0 38%; max-width:38%}
  .common_sec .comm_cont[data-block="comm_cont-2-2"]{flex:1 1 0}
}
/* the column that sits beside a form becomes a quiet info card */
.common_sec .comm_cont:has(~ .comm_cont .wpcf7){align-self:flex-start}
.common_sec .comm_cont:has(~ .comm_cont .wpcf7) > .comm_cont__inn{
  height:auto; padding:clamp(2.6rem,3.4vw,4rem);
  background:var(--cream); border:1px solid var(--bfm-cream-line); border-top:.4rem solid var(--amber); border-radius:var(--r-lg);
}
.common_sec .comm_cont:has(~ .comm_cont .wpcf7) .comm_text h2{font-size:clamp(2.6rem,2vw + 1.6rem,3.4rem); margin-bottom:1.8rem}
.common_sec .comm_cont:has(~ .comm_cont .wpcf7) .comm_text p{margin-bottom:0; line-height:1.9}
.common_sec .comm_cont:has(~ .comm_cont .wpcf7) .comm_text ul.cta_btns{display:none}
@media (max-width:991.98px){
  .common_sec .comm_cont:has(~ .comm_cont .wpcf7){margin-bottom:3rem}
}

/* ============================================================ 4. CONTACT FORM 7 — Contact + Become-a-Vendor */
.common_sec .wpcf7{
  padding:clamp(2.4rem,3.6vw,4.4rem); background:var(--paper); border:1px solid var(--line); border-radius:var(--r-lg);
  box-shadow:var(--shadow-sm);
}
.common_sec .padds_50 .wpcf7{max-width:var(--bfm-measure); margin:0 auto}
@media (min-width:992px){.common_sec.padds_50 > .container{padding-left:15px; padding-right:15px}}   /* legacy 20rem side padding -> card width handled above */
.common_sec .wpcf7 p{margin:0; font-size:inherit; line-height:inherit}
.common_sec .wpcf7 .subscribe_form{padding:0}
.common_sec .wpcf7 .bfm-form-note{margin:0 0 2.6rem; font-size:1.5rem; line-height:1.5; color:var(--muted)}

/* labels (real <label for> via enhance.php; falls back to the legacy <p>) */
.common_sec .wpcf7 .bfm-label,
.common_sec .wpcf7 .subscribe_form p.bfm-label{
  display:block; margin:0 0 .9rem; font-family:var(--disp); font-size:1.6rem; font-weight:700; line-height:1.3; color:var(--navy-900);
}
.common_sec .wpcf7 .bfm-req{color:var(--bfm-amber-ink); font-weight:700}

/* controls — 52px tall, 3:1 border, visible focus */
.common_sec .wpcf7 .form-control,
.common_sec .wpcf7 select.form-control:not([size]):not([multiple]){
  display:block; width:100%; height:auto; min-height:5.2rem; margin:0; padding:1.2rem 1.6rem;
  font-family:var(--serif); font-size:1.7rem; line-height:1.4; color:var(--ink);
  background:#fff; border:1.5px solid var(--bfm-field-line); border-radius:var(--r-md); box-shadow:none;
  transition:border-color .15s, box-shadow .15s, background-color .15s;
}
.common_sec .wpcf7 textarea.form-control{min-height:16rem; height:19rem; padding:1.4rem 1.6rem; resize:vertical}   /* height wins over the template's rows="10" */
.common_sec .wpcf7 .form-control::placeholder{color:var(--muted); opacity:1}
.common_sec .wpcf7 .form-control:hover{border-color:var(--navy)}
.common_sec .wpcf7 .form-control:focus{
  border-color:var(--navy); box-shadow:0 0 0 .3rem rgba(37,167,206,.35); outline:.2rem solid transparent; /* transparent outline = visible in forced-colors */
}

/* field spacing: the legacy template stacks label + control in .row/.col-12 with paddb_* helpers */
.common_sec .wpcf7 .subscribe_form .paddb_header_30{padding-bottom:2.4rem}
.common_sec .wpcf7 .subscribe_form .paddb_header_40{padding-bottom:3rem}
.common_sec .wpcf7 .padd_mob_input{padding-bottom:1.2rem}
@media (min-width:768px){.common_sec .wpcf7 .padd_mob_input{padding-bottom:0}}

/* radio group -> two tappable option rows */
/* ba-v2 gives every .wpcf7-form-control a 1px border — wrong for the radio/checkbox WRAPPER span */
.common_sec .wpcf7 .wpcf7-radio,
.common_sec .wpcf7 .wpcf7-checkbox,
.common_sec .wpcf7 .wpcf7-acceptance{display:grid; gap:1rem; border:0; border-radius:0; background:none; box-shadow:none}
.common_sec .wpcf7 span.wpcf7-list-item{display:block!important; width:100%!important; margin:0!important; font-size:1.7rem!important; line-height:1.4!important; color:var(--ink)!important}
.common_sec .wpcf7 .wpcf7-list-item label{
  display:flex; align-items:center; gap:1.4rem; min-height:5.2rem; margin:0!important; padding:1.2rem 1.6rem; cursor:pointer;
  background:#fff; border:1.5px solid var(--bfm-field-line); border-radius:var(--r-md);
  transition:border-color .15s, background-color .15s, box-shadow .15s;
}
.common_sec .wpcf7 .wpcf7-list-item label:hover{border-color:var(--navy)}
.common_sec .wpcf7 .wpcf7-list-item input[type=radio],
.common_sec .wpcf7 .wpcf7-list-item input[type=checkbox]{flex:none; width:2.2rem; height:2.2rem; margin:0; accent-color:var(--navy)}
.common_sec .wpcf7 .wpcf7-list-item label:has(input:checked){border-color:var(--navy); background:var(--amber-050); box-shadow:inset 0 0 0 1px var(--navy)}
.common_sec .wpcf7 .wpcf7-list-item label:focus-within{outline:.3rem solid var(--sky-400); outline-offset:.2rem}
.common_sec .wpcf7 .wpcf7-list-item-label{font-weight:500; color:var(--ink)}

/* submit: amber pill (ba-v2 owns the colour; this sets size/feel) */
.common_sec .wpcf7 .wpcf7-submit{
  min-height:5rem; min-width:16rem; font-size:1.6rem; letter-spacing:.03em; cursor:pointer;
  box-shadow:0 .6rem 1.6rem rgba(239,143,10,.28); transition:transform .12s, background-color .12s, box-shadow .12s;
}
.common_sec .wpcf7 .wpcf7-submit:hover{transform:translateY(-1px); box-shadow:0 .8rem 2rem rgba(239,143,10,.36)}
.common_sec .wpcf7 .wpcf7-submit:focus-visible{outline:.3rem solid var(--sky-400); outline-offset:.3rem}
.common_sec .wpcf7 .wpcf7-spinner{margin:0 1.4rem; vertical-align:middle}

/* validation: per-field tip + invalid control (colour + icon, not colour alone) */
.common_sec .wpcf7 .wpcf7-not-valid{border-color:var(--bfm-err); background:var(--bfm-err-bg)}
.common_sec .wpcf7 span.wpcf7-not-valid-tip{
  display:flex!important; align-items:flex-start; gap:.7rem; position:static!important; width:auto!important;
  margin:.8rem 0 0!important; font-size:1.5rem!important; line-height:1.4; font-weight:600!important;
  color:var(--bfm-err)!important; text-align:left!important;
}
.common_sec .wpcf7 span.wpcf7-not-valid-tip::before{
  content:"!"; flex:none; display:grid; place-items:center; width:1.8rem; height:1.8rem; margin-top:.1rem; border-radius:50%;
  background:var(--bfm-err); color:#fff; font-size:1.2rem; font-weight:800; line-height:1;
}

/* form-level response: success / error cards (CF7 sets data-status + .sent/.invalid/.failed/.spam on <form>) */
.common_sec .wpcf7 form .wpcf7-response-output{
  margin:2.4rem 0 0!important; padding:1.6rem 2rem!important; border:1.5px solid var(--bfm-field-line)!important;
  border-radius:var(--r-md); background:#fff; font-size:1.6rem!important; font-weight:600!important; line-height:1.5;
  color:var(--ink)!important; text-align:left!important;
}
.common_sec .wpcf7 form .wpcf7-response-output:empty{display:none}
.common_sec .wpcf7 form.sent .wpcf7-response-output{border-color:var(--bfm-ok-line)!important; background:var(--bfm-ok-bg); color:var(--bfm-ok)!important}
.common_sec .wpcf7 form.invalid .wpcf7-response-output,
.common_sec .wpcf7 form.unaccepted .wpcf7-response-output,
.common_sec .wpcf7 form.failed .wpcf7-response-output,
.common_sec .wpcf7 form.aborted .wpcf7-response-output,
.common_sec .wpcf7 form.spam .wpcf7-response-output{border-color:var(--bfm-err)!important; background:var(--bfm-err-bg); color:var(--bfm-err)!important}

/* ============================================================ 5. HIGHLIGHT CONTENT (highlight_contents) */
.header_text:not(.weekly-announcement):not(.ba-link-hub) .spec_cont{
  max-width:var(--bfm-measure); margin:0 auto; padding:clamp(2.6rem,4vw,4.4rem); text-align:left!important;
  background:var(--cream); border:1px solid var(--bfm-cream-line); border-radius:var(--r-lg);
}
.header_text:not(.weekly-announcement):not(.ba-link-hub) .spec_cont h2,
.header_text:not(.weekly-announcement):not(.ba-link-hub) .spec_cont h3{font-family:var(--disp); font-weight:700; color:var(--navy-900); letter-spacing:-.01em}
.header_text:not(.weekly-announcement):not(.ba-link-hub) .spec_cont p{font-size:1.85rem; line-height:1.72; color:var(--ink); margin:0 0 1.8rem}
.header_text:not(.weekly-announcement):not(.ba-link-hub) .spec_cont p:last-child{margin-bottom:0}
.header_text:not(.weekly-announcement):not(.ba-link-hub) .spec_cont strong{color:var(--navy-900)}
.header_text:not(.weekly-announcement):not(.ba-link-hub) .spec_cont a:not(.btn){color:var(--sky); text-decoration:underline; text-underline-offset:.22em}

/* ============================================================ 6. CARDS (cards_section) */
.cards_sec .cards_contents h2{
  font-family:var(--disp); font-weight:800; color:var(--navy-900); font-size:var(--fs-xl); line-height:1.12; letter-spacing:-.015em; margin:0 0 3.2rem;
}
.cards_sec .cards_sec__row{margin-bottom:0}
.cards_sec .cards_sec__row > .cards_sec__itm,
.cards_sec .cards_sec__row > .cards_sec__itm:first-child{order:0; margin:0 0 3rem; display:flex}
.cards_sec .cards_sec__inn{
  position:relative; width:100%; padding:3.4rem 3.2rem 3rem; background:var(--card);
  border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--shadow-sm);
  transition:transform .16s, box-shadow .16s, border-color .16s;
}
.cards_sec .cards_sec__inn:hover{transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:#d3dce3}
.cards_sec .cards_sec__inn:focus-within{outline:.3rem solid var(--sky-400); outline-offset:.2rem}
.cards_sec .cards_sec__inn > a{border-radius:var(--r-lg)}
.cards_sec .cards_sec__inn > a:focus-visible{outline:none}
.cards_sec .cards_sec__count{
  right:2.2rem; top:2.2rem; width:4rem; height:4rem; border:0; background:var(--amber-050); color:var(--navy-900);
  font-family:var(--disp); font-size:1.8rem; font-weight:700;
}
.cards_sec .cards_sec__inn h4{
  margin:0 0 1.2rem; padding-right:5.6rem; font-family:var(--disp); font-weight:700; font-size:var(--fs-lg); line-height:1.25; color:var(--navy-900);
}
.cards_sec .cards_sec__inn p{margin:0 0 2rem; font-size:1.65rem; line-height:1.65; color:var(--ink)}
.cards_sec .cards_sec__inn{display:flex; flex-direction:column; align-items:flex-start}
.cards_sec .cards_sec__inn .btn{margin-top:auto; font-size:1.5rem}

/* ============================================================ 6b. PASSWORD GATE (core post-password form, rendered by content-sections.php) */
.post-password-form{
  max-width:var(--bfm-measure); margin:clamp(4rem,6vw,7rem) auto; padding:clamp(2.4rem,4vw,4rem);
  background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--shadow-sm);
}
.post-password-form p{margin:0 0 1.6rem; font-size:1.75rem; line-height:1.6; color:var(--ink)}
.post-password-form p:last-child{margin-bottom:0}
.post-password-form label{display:block; font-weight:700; color:var(--navy-900)}
.post-password-form input[type=password]{
  display:block; width:100%; max-width:36rem; min-height:5.2rem; margin:.8rem 0 1.4rem; padding:1.2rem 1.6rem;
  font:inherit; font-weight:400; color:var(--ink); background:#fff; border:1.5px solid #7c8d98; border-radius:var(--r-md);
}
.post-password-form input[type=password]:focus{border-color:var(--navy); box-shadow:0 0 0 .3rem rgba(37,167,206,.35); outline:.2rem solid transparent}
.post-password-form input[type=submit]{
  min-height:4.8rem; padding:1.2rem 2.8rem; font:inherit; font-family:var(--disp); font-size:1.6rem; font-weight:700; cursor:pointer;
  background:var(--amber); color:var(--navy-900); border:1px solid var(--amber-600); border-radius:var(--r-pill);
}
.post-password-form input[type=submit]:hover{background:#ffb23e}

/* ============================================================ 6c. DOCUMENT PAGES (Accessibility statement) — "On this page" jump-nav
   enhance.php adds <nav class="bfm-toc"> (+ ids on the h2s) ONLY for the slugs in bfm_sections_doc_slugs(),
   so every rule here keys off .bfm-toc and its siblings: no other Sections page can match. The pull-quote
   on the same page is the standard .bfm-pull card (§2); a hand-authored <blockquote> gets the same look. */
.common_sec .comm_text > .bfm-toc{
  margin:0 0 4.4rem; padding:2.2rem 2.6rem 1.8rem;
  background:var(--card); border:1px solid var(--line); border-left:.4rem solid var(--amber);
  border-radius:0 var(--r-md) var(--r-md) 0; box-shadow:var(--shadow-sm);
}
.common_sec .comm_text .bfm-toc__h{
  margin:0 0 .8rem; font-family:var(--disp); font-size:1.3rem; font-weight:700; line-height:1.4;
  letter-spacing:.14em; text-transform:uppercase; color:var(--muted);
}
.common_sec .comm_text ul.bfm-toc__list{margin:0; padding:0; list-style:none}
.common_sec .comm_text ul.bfm-toc__list li{margin:0; padding:0; font-size:1.7rem; line-height:1.4}
.common_sec .comm_text ul.bfm-toc__list li::before{content:none}
.common_sec .comm_text ul.bfm-toc__list li a{
  display:flex; align-items:center; gap:1rem; min-height:4.4rem; padding:.6rem 0;
  font-family:var(--disp); font-size:1.7rem; font-weight:700; color:var(--sky); text-decoration:none;
}
.common_sec .comm_text ul.bfm-toc__list li a::before{       /* small amber tick, echoes the eyebrow rule */
  content:""; flex:none; width:1.4rem; height:.2rem; background:var(--amber);
  transition:width .15s;
}
.common_sec .comm_text ul.bfm-toc__list li a:hover{color:var(--navy-900); text-decoration:underline; text-decoration-color:var(--amber); text-decoration-thickness:.2rem; text-underline-offset:.25em}
.common_sec .comm_text ul.bfm-toc__list li a:hover::before{width:2.2rem}
.common_sec .comm_text ul.bfm-toc__list li a:focus-visible{       /* the legacy bundle's a:focus{outline:none} out-ranks the global :focus-visible ring, so restate it */
  outline:.3rem solid var(--sky-400); outline-offset:.2rem; border-radius:var(--r-sm);
}
.common_sec .comm_text ul.bfm-toc__list li + li{border-top:1px solid var(--line-2)}
/* the first chapter follows the card, so it is not "first-child": give it the first-chapter treatment */
.common_sec .comm_cont:only-child .comm_text > .bfm-toc + h2{margin-top:0; padding-top:2.4rem; border-top:0}
.common_sec .comm_cont:only-child .comm_text > .bfm-toc + h2::before{top:0}
/* anchored headings clear the sticky site header; smooth jump unless the visitor prefers reduced motion */
.common_sec .comm_text h2[id]{scroll-margin-top:11rem}
@media (prefers-reduced-motion:no-preference){html:has(.bfm-toc){scroll-behavior:smooth}}

/* ============================================================ 7. MOBILE */
@media (max-width:767.98px){
  .common_sec > .container,.cards_sec > .container{padding-left:2rem; padding-right:2rem}
  .page-template-template-sections .banner h1::after,.page-template-template-sections .banner h2::after{margin-top:1.8rem}
  .common_sec .comm_text p,.common_sec .comm_text li{font-size:1.75rem}
  .common_sec .comm_text h2:not(:first-child){margin-top:5rem}
  .common_sec .comm_text > blockquote,
  .common_sec .comm_text > .bfm-pull{padding:2.4rem 2.2rem 2.4rem 2.4rem; margin:3.4rem 0}
  .common_sec .comm_text summary.bfm-faq__q{padding:1.6rem 5.8rem 1.6rem 1.8rem}
  .common_sec .comm_text summary.bfm-faq__q::after{right:1.4rem}
  .common_sec .comm_text .bfm-faq__a{margin:0 1.8rem}
  .common_sec .wpcf7{padding:2.2rem 1.8rem}
  .cards_sec .cards_sec__inn{padding:3rem 2.4rem 2.6rem}
}

/* ============================================================ 8. MOTION + FORCED COLORS */
@media (prefers-reduced-motion: reduce){
  .common_sec *,.cards_sec *{transition:none!important; animation:none!important}
  .cards_sec .cards_sec__inn:hover,.common_sec .wpcf7 .wpcf7-submit:hover{transform:none}
}
@media (forced-colors: active){
  .common_sec .comm_text summary.bfm-faq__q::after{background:none; border:.2rem solid CanvasText}
  .common_sec .comm_text > .bfm-pull,.common_sec .comm_text > blockquote{border-left-color:CanvasText}
}
