/* Guide template, final build (style guide LOCKED 2026-10-24; Figma 610:852 phone / 610:1372 desktop, the final expense guide).
   Loads after tokens.css + components.css. Calm hero (breadcrumb, serif H1, dek, byline) with the answer card and key takeaways
   above the fold; contents chips (desktop) or a closed disclosure (phone); sections on alternating light bands; the frosted
   close CTA. Every guide reuses these layouts; page-specific crops live in the HTML (width / height / object-position). */

.gd-sec { padding: 64px 0; }
.f .gd-sec .f-head { margin-bottom: 28px; }
.f .gd-sec .f-head h2 { font-size: var(--fs-h2-l); line-height: 1.13; }
.gd-prose > p, .gd-prose > ul, .gd-p { max-width: 760px; line-height: 1.65; color: var(--body-c); }
.gd-prose > * + * { margin-top: 20px; }
.gd-stack > * + * { margin-top: 28px; }
.f .gd-prose a, .f .gd-p a, .f .f-card p a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; padding: 13px 0; }

/* ---------- Hero: phone order = head, answer, byline, photo, key takeaways over the photo's bottom ---------- */
.gd-hero { padding: 24px 0 40px; }
.gd-hero-in { display: grid; gap: 16px; }
.gd-head { display: grid; gap: 12px; order: 1; }
.f .gd-head h1 { line-height: 1.05; }
.f .gd-head h1 em { font-style: italic; }
.gd-answer { order: 2; }
.gd-byline { order: 3; }
.gd-hero-pic { order: 4; height: calc((100vw - 48px) * 240 / 342); max-height: 440px; margin-top: 16px; border-radius: 22px; }
.gd-kt { order: 5; position: relative; z-index: 1; margin: -72px 12px 0; }

/* ---------- Contents ---------- */
.gd-toc { padding: 8px 0 0; }

/* ---------- Section 1: copy beside a photo with a callout over its lower left ---------- */
.gd-s1 { display: grid; gap: 32px; }
.gd-s1-vis { position: relative; }
.gd-s1-pic { height: calc((100vw - 48px) * 280 / 342); max-height: 520px; }
.gd-s1-vis .f-callout { position: relative; margin: -64px 16px 0; }

/* ---------- Section 2: price table card, estimator ---------- */
.gd-gap, .gd-s2 .f-tcard, .gd-s2 .f-est { margin-top: 28px; }

/* ---------- Section 3: plans, then copy beside the caveat callout ---------- */
.gd-plans { margin-top: 28px; }
.gd-plans-cap { margin-top: 20px; padding: 0; max-width: 900px; }
.gd-s3-row { display: grid; gap: 24px; margin-top: 28px; }

/* ---------- Section 4: fit cards ---------- */
.gd-fits { display: grid; gap: 16px; }

/* ---------- Section 5: photo with the call card over its bottom, then the steps ---------- */
.gd-s5 { display: grid; gap: 32px; }
.gd-s5-vis { position: relative; }
.gd-s5-pic { height: calc((100vw - 48px) * 320 / 342); max-height: 560px; }
.gd-s5-vis .f-callcard { position: relative; margin: -72px 20px 0; }
.gd-s5-copy > * + * { margin-top: 24px; }

/* ---------- Section 6: claim steps on mist, honest-answers card ---------- */
.gd-honest { display: grid; gap: 10px; margin-top: 28px; padding: 28px; border-radius: var(--r-l); background: var(--white); }
.gd-honest-h { font: 700 21px/1.3 var(--head); color: var(--ink); }
.gd-honest p { color: var(--body-c); line-height: 1.6; }

/* ---------- Section 7: FAQ ---------- */
.gd-faq-row { display: grid; gap: 24px; }

/* ---------- Close and Keep reading ---------- */
.gd-close .f-close { min-height: 701px; }
.gd-close-pic img { object-position: 50% 0; }
.gd-kr .f-grid { margin-bottom: 28px; }

/* ---------- Sources ---------- */
.gd-src { padding: 48px 0; }

@media (min-width: 768px) {
  .gd-fits, .f-stepcards.gd-claim { grid-template-columns: 1fr 1fr; }
}

/* ---------- Desktop (1024+) ---------- */
@media (min-width: 1024px) {
  .gd-sec { padding: 112px 0; }
  .gd-sec-s1 { padding-top: 72px; }
  .f .gd-sec .f-head { margin-bottom: 48px; }
  .gd-gap, .gd-s2 .f-tcard, .gd-s2 .f-est, .gd-plans, .gd-s3-row, .gd-honest { margin-top: 48px; }
  .gd-prose > * + * { margin-top: 24px; }
  .gd-sec .f-faq > summary { padding: 24px 0; }
  .gd-sec .f-faq[open] > summary { padding: 24px 0 12px; }

  /* Hero: left 620 (head, byline, answer), right 524 (photo; key takeaways over its lower part) */
  .gd-hero { padding: 32px 0 48px; }
  .gd-hero-in { grid-template-columns: minmax(0, 620fr) minmax(0, 524fr); grid-template-rows: auto auto auto 1fr; column-gap: 56px; row-gap: 18px; align-items: start; }
  .gd-head, .gd-answer, .gd-byline { grid-column: 1; }
  .gd-head { grid-row: 1; gap: 16px; }
  .gd-byline { grid-row: 2; }
  .gd-answer { grid-row: 3; }
  .gd-hero-pic, .gd-kt { grid-column: 2; grid-row: 1 / span 4; align-self: start; }
  .gd-hero-pic { width: 100%; height: 336px; max-height: none; margin: 0; border-radius: var(--r-2xl); }
  .gd-kt { width: calc(100% - 64px); margin: 196px 32px 0; }
}
@media (min-width: 1024px) and (max-width: 1247px) {
  .gd-kt { width: calc(100% - 24px); margin: 196px 12px 0; }
}
@media (min-width: 1024px) {

  .gd-toc { padding: 40px 0 0; }

  .gd-s1 { grid-template-columns: minmax(0, 628px) 500px; justify-content: space-between; align-items: start; gap: 72px; }
  .gd-s1-copy { padding-top: 68px; }
  .gd-s1-pic { width: 460px; height: 440px; max-height: none; margin-left: 40px; }
  .gd-s1-vis .f-callout { position: absolute; left: 0; top: 330px; width: 380px; margin: 0; }
  .gd-s1-vis { min-height: 580px; }

  .gd-s3-row { grid-template-columns: minmax(0, 704px) 440px; justify-content: space-between; align-items: start; gap: 56px; }

  .gd-fits { grid-template-columns: 1fr 1fr; gap: 24px; }
  .gd-fits .f-fit { padding: 38px; }

  .gd-s5 { grid-template-columns: 480px minmax(0, 648px); justify-content: space-between; align-items: start; gap: 72px; }
  .gd-s5-vis { min-height: 680px; }
  .gd-s5-pic { width: 440px; height: 560px; max-height: none; }
  .gd-s5-vis .f-callcard { position: absolute; left: 200px; top: 410px; width: 320px; margin: 0; }
  .gd-s5-copy { padding-top: 20px; }

  .f-stepcards.gd-claim { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .gd-faq-row { grid-template-columns: 360px minmax(0, 760px); justify-content: space-between; gap: 80px; align-items: start; }

  .gd-close .f-close { min-height: 533px; }
  .gd-close-pic img { object-position: 50% 0; }
  .gd-kr .f-grid { margin-bottom: 44px; }
  .gd-kr .f-lcard-pic { height: 220px; }

  .gd-src { padding: 64px 0; }
  .gd-src .f-sources, .gd-src .f-compliance { max-width: 1000px; }
}

/* ======================================================================================================
   Wave 2 additions (2026-10-26): health condition guide (T5 structure: /life-insurance-for/pre-existing-conditions)
   ====================================================================================================== */
/* Answer card with a second, plainer line and its actions (See my price + an in-page link) */
.gd-answer-more { order: 3; display: grid; gap: 14px; }
.gd-answer-sub { font: 400 17px/1.6 var(--body); color: var(--body-c); }
.gd-hero-nokt .gd-byline { order: 4; }
.gd-hero-nokt .gd-hero-pic { order: 5; }
.gd-answer-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
/* Short disclosure under the hero */
.gd-disclose { order: 6; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); font-size: 16px; line-height: 1.55; color: var(--body-c); }
/* A plain call card beside a section's copy (no photo) */
.gd-rail-row { display: grid; gap: 32px; }
/* Numbered "kinds" cards: navy numerals; the two-year-wait kinds in the amber caveat colours */
.gd-kinds { display: grid; gap: 14px; counter-reset: gd-kind; }
.gd-kind { position: relative; display: grid; gap: 8px; padding: 22px 22px 22px 70px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); counter-increment: gd-kind; }
.gd-kind::before { content: counter(gd-kind); position: absolute; left: 22px; top: 20px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--white); font: 700 17px/1 var(--head); }
.f .gd-kind h3 { font-size: 21px; line-height: 1.3; }
.gd-kind > p { color: var(--body-c); line-height: 1.6; }
.gd-kind-wait { border-color: #EBCFAF; background: var(--amber-bg); }
.gd-kind-wait > p { color: var(--amber); }
/* Quoted words (carrier wording, dated public reviews) */
.gd-bq { margin: 4px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--navy); }
.gd-bq p { font: 500 18px/1.5 var(--head); color: var(--ink); }
.gd-bq .gd-bq-src { display: block; margin-top: 4px; font: 400 16px/1.5 var(--body); color: var(--body-c); }
.gd-kind-wait .gd-bq { border-left-color: var(--amber); }
/* Plain bullet list with bold leads */
.gd-dots { display: grid; gap: 12px; padding-left: 0; }
.gd-dots li { position: relative; padding-left: 24px; }
.gd-dots li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.gd-dots strong { color: var(--ink); }
.gd-measure { max-width: 760px; }
.gd-afterq { max-width: 760px; }
/* Condition cards: the whole card is the link */
.f .gd-cond { color: inherit; text-decoration: none; }
.gd-cond p { color: var(--body-c); line-height: 1.6; }
.gd-cond strong { color: var(--navy); text-decoration: underline; text-underline-offset: .18em; }
.f .gd-cond:hover { border-color: var(--navy); }
.f .gd-cond:focus-visible { border-radius: var(--r-xl); }
/* Women | Men tabs over two real tables (both in the HTML; with JS off both show) */
.gd-tablist { display: inline-flex; gap: 4px; margin: 0 20px 14px; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--cream-2); }
.gd-tablist [role="tab"] { min-width: 88px; min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--r-pill); background: transparent; font: 700 17px/1 var(--body); color: var(--navy); cursor: pointer; }
.gd-tablist [role="tab"][aria-selected="true"] { background: var(--navy); color: var(--white); }
.gd-tablist [role="tab"]:focus-visible { outline: var(--ring); outline-offset: 2px; }
.gd-tabs .f-tscroll + .f-tscroll { margin-top: 16px; }
.gd-tabs .f-tscroll[hidden] + .f-tscroll, .gd-tabs .f-tscroll + .f-tscroll[hidden] { margin-top: 0; }

@media (min-width: 1024px) {
  .gd-hero-nokt .gd-hero-in { grid-template-rows: auto auto auto auto 1fr; }
  .gd-hero-nokt .gd-hero-pic { grid-row: 1 / span 5; }
  .gd-answer-more { grid-column: 1; grid-row: 4; }
  .gd-disclose { grid-column: 1 / -1; grid-row: 6; margin-top: 8px; }
  .gd-rail-row { grid-template-columns: minmax(0, 760px) 340px; justify-content: space-between; align-items: start; gap: 64px; }
  .gd-rail { position: relative; top: 8px; }
  .gd-kinds { grid-template-columns: 1fr 1fr; gap: 20px; }
  .gd-tablist { margin: 0 36px 16px; }
  /* Close with the frosted panel on the right, where the photo's subject sits left */
  .gd-close-r .f-close { align-items: flex-end; }
}

/* ======================================================================================================
   Wave 2 additions (2026-10-26): carrier review (T3 structure: /insurance-reviews/colonial-penn)
   ====================================================================================================== */
/* Hero with no photo: one reading column */
.gd-hero-solo .gd-hero-in > * { max-width: 860px; }
.gd-hero-solo .gd-head { order: 1; } .gd-hero-solo .gd-answer { order: 2; } .gd-hero-solo .gd-byline { order: 3; }
.gd-hero-solo .gd-answer-more { order: 4; } .gd-hero-solo .gd-disclose { order: 5; }
.gd-hero-solo .gd-acts-solo { order: 2; }   /* Wave 42 (Ab6): a button straight under the short answer keeps the answer's place */
/* A long short-answer (the review verdict) in the body sans, so the whole card fits the first phone screen */
.gd-hero-solo .f-answer { padding: 20px 18px; }
.gd-hero-solo .f-answer p { font: 500 18px/1.45 var(--body); }
.gd-hero.gd-hero-solo { padding-top: 12px; }
.gd-hero-solo .gd-hero-in { gap: 12px; }
/* Verdict lists under the answer card: green good-fit, amber look-elsewhere (never red) */
.gd-fitcols { display: grid; gap: 14px; }
.f .gd-fit-h { font: 700 19px/1.3 var(--head); letter-spacing: 0; color: var(--ink); }
.gd-fit-no { border-color: #EBCFAF; background: var(--amber-bg); }
.gd-fit-no .f-ticks li { color: var(--ink); }
.gd-fit-no .f-ticks.f-x li::before { background-color: var(--white); }
.gd-notsold { font: 700 18px/1.5 var(--head); color: var(--ink); }
.gd-live { font-size: 17px; line-height: 1.6; color: var(--body-c); }
/* At-a-glance spec table: row labels on mist, good-news rows with a green tick, the waiting period in amber */
.gd-noscroll { overflow: visible; }
.f-table.gd-spec { min-width: 0; }
.gd-spec th, .gd-spec td { white-space: normal; vertical-align: top; }
.gd-spec td { overflow-wrap: anywhere; }   /* a long email or URL in a cell wraps instead of widening the table (Banner Life, Run 24) */
.gd-spec tbody th { width: 38%; background: var(--mist); color: var(--ink); }
.gd-spec th:first-child { position: static; box-shadow: none; }
.gd-spec .gd-row-yes td::before { content: ""; display: inline-block; width: 18px; height: 18px; margin: 0 8px -3px 0; border-radius: 50%; background: var(--green)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.3l2.3 2.3 4.7-5.2' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.gd-spec .gd-row-warn td { background: var(--amber-bg); color: var(--amber); font-weight: 600; }
/* The pull line */
.f .gd-prose .gd-pull { padding: 6px 0 6px 20px; border-left: 3px solid var(--navy); font: 500 22px/1.45 var(--serif); color: var(--ink); max-width: 760px; }
/* Year-by-year timeline as a real table: amber = limited benefit, green = full */
.gd-tl { width: 100%; border-collapse: separate; border-spacing: 6px; font-size: var(--fs-cell); }
.gd-tl th { padding: 8px 6px; text-align: left; color: var(--ink); font-weight: 700; }
.gd-seg { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.gd-seg-part { background: var(--amber-bg); color: var(--amber); }
.gd-seg-full { background: var(--green-bg); color: var(--green); }
.gd-timeline { margin: 0; }
/* Captions outside a card */
.f-cap.gd-cap-free { padding: 0; max-width: 900px; }
/* Complaint themes */
.gd-themes { display: grid; gap: 14px; max-width: 900px; }
.gd-themes > li { gap: 10px; }
.f .gd-themes h3 { font-size: 20px; line-height: 1.3; }
.gd-qby { font-size: 16px; color: var(--body-c); }
.gd-proslist { gap: 16px; }
.gd-proslist li { line-height: 1.6; }
/* The one-question test (green good-news note with a heading) */
.gd-onetest { max-width: 900px; font-family: var(--body); font-weight: 400; }
.f .gd-onetest h3 { font-size: 20px; line-height: 1.3; margin-bottom: 6px; }
.gd-onetest p { color: var(--ink); line-height: 1.6; }
.f .gd-onetest a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; padding: 13px 0; }
/* A whole-card link around one line of copy */
.f .gd-linkcard { max-width: 760px; color: inherit; text-decoration: none; }
.gd-linkcard p { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }
/* Carriers we compare: four whole-card links with a status chip */
.gd-head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; max-width: none; }
.gd-cw .f-chip { justify-self: start; align-self: flex-start; }
.f .gd-cond h3 { font-size: 21px; line-height: 1.3; color: var(--navy); text-decoration: underline; text-underline-offset: .18em; }

@media (min-width: 768px) {
  .gd-fitcols { grid-template-columns: 1fr 1fr; }
  .gd-cw { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .gd-hero-solo .gd-hero-in { display: flex; flex-direction: column; gap: 18px; }
  .gd-hero.gd-hero-solo { padding-top: 32px; }
  .gd-hero-solo .gd-byline { order: 2; } .gd-hero-solo .gd-answer { order: 3; } .gd-hero-solo .gd-acts-solo { order: 3; }
  .gd-hero-solo .f-answer { padding: 28px 28px 30px; }
  .gd-hero-solo .f-answer p { font: 600 19px/1.55 var(--head); }
  .gd-cw { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ======================================================================================================
   Wave 3 additions (2026-10-28): the five T1 guides on the guide template
   ====================================================================================================== */
/* "At a glance" in the key takeaways slot: a compact two-column table */
.gd-kt-glance { padding-bottom: 14px; }
.f-table.gd-glance { min-width: 0; font-size: 16px; }
.gd-glance th, .gd-glance td { padding: 9px 0; white-space: normal; vertical-align: top; border-bottom: 1px solid var(--line); }
.gd-glance th { width: 46%; padding-right: 14px; font-weight: 700; color: var(--ink); }
.gd-glance td { color: var(--body-c); }
.gd-glance tr:last-child th, .gd-glance tr:last-child td { border-bottom: 0; }
.gd-glance th:first-child { position: static; box-shadow: none; background: transparent; }
/* Caption and disclosure under the hero */
.f-cap.gd-hero-cap { margin-top: 0; padding: 0; }
/* Text-heavy tables wrap (phone: scroll inside the card at 640 px with the first column fixed) */
.f-table.gd-wrap { min-width: 640px; }
.gd-wrap th, .gd-wrap td { white-space: normal; vertical-align: top; }
.gd-wrap tbody th { min-width: 150px; }
.gd-disclose-wide { order: 8; }
/* Chapter photos without an overlapping card */
.gd-s1-vis-solo, .gd-s5-vis-solo { min-height: 0 !important; }
/* Carrier wording quoted in a run */
.gd-quotes { display: grid; gap: 14px; max-width: 900px; }
.gd-bq-lead { display: block; margin-bottom: 4px; font: 700 16px/1.4 var(--body); color: var(--body-c); }
/* The muted note in a table title */
.gd-tnote { display: block; margin-top: 4px; font: 400 16px/1.45 var(--body); color: var(--body-c); }
/* A quote box inside a chapter: navy button + "or call" */
.gd-ctabox { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); max-width: 760px; }
/* The "Buying for a parent?" callout as a plain card with the avatar */
.gd-parent { max-width: 620px; }
.gd-parent .f-callout-top { align-items: flex-start; }
.gd-parent p { color: var(--body-c); line-height: 1.6; }
.f .gd-parent a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; padding: 13px 0; }
/* The call card under the FAQ heading */
.gd-faq-rail { margin-top: 24px; max-width: 360px; }
@media (min-width: 1024px) {
  .f-table.gd-wrap { min-width: 0; }
  .gd-disclose-wide { grid-column: 1 / -1; grid-row: 6; }
  .gd-kt-glance { margin-top: 150px; }
}
/* Long short answers (90+ words): a compact answer card in the body sans, 18 px phone / 17 px desktop, and a tighter phone hero,
   so the whole card sits on the first screen at 390 x 844 and 1440 x 800 */
.gd-hero-long .f-answer { padding: 16px; }
.gd-hero-long .f-answer p { font: 500 18px/1.45 var(--body); }
@media (max-width: 1023px) {
  .gd-hero.gd-hero-long { padding-top: 6px; }
  .gd-hero-long .gd-hero-in { gap: 10px; }
}
@media (min-width: 1024px) {
  .gd-hero-long .f-answer { padding: 22px 24px; }
  .gd-hero-long .f-answer p { font: 500 17px/1.5 var(--body); }
}
/* The three first-two-years rules, coloured by meaning: day-one green, graded / return of premium amber */
.gd-kindnote { max-width: 900px; padding: 20px 22px; border-radius: var(--r-l); }
.gd-kindnote p { line-height: 1.6; }
.gd-kindnote-yes { border: 1px solid #BFDCCB; background: var(--green-bg); }
.gd-kindnote-yes p, .gd-kindnote-yes strong { color: var(--ink); }
.gd-kindnote-yes strong { color: var(--green); }
.gd-kindnote-wait { border: 1px solid #EBCFAF; background: var(--amber-bg); }
.gd-kindnote-wait > p { color: var(--ink); }
.gd-kindnote-wait > p strong { color: var(--amber); }
.gd-kindnote-wait .gd-quotes { margin-top: 14px; }
.gd-kindnote-wait .gd-bq { border-left-color: var(--amber); }
/* Sub-heads inside running prose */
.gd-prose > h3 { margin-top: 32px; font-size: 21px; line-height: 1.3; }
.f .gd-disclose a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; padding: 13px 0; }
/* Run 9 (2026-10-28): a chapter-1 or chapter-5 photo layout that holds a table keeps the grid column at the phone width (the table scrolls inside its card) */
.gd-s1-copy, .gd-s5-copy { min-width: 0; }
/* Run 10 (2026-10-28): carrier cards (one whole card per carrier: name, facts table with the underwriting company first, the copy, the review link) */
.gd-ccards { display: grid; gap: 16px; }
.f .gd-ccard h3 { font: 700 22px/1.3 var(--head); color: var(--ink); }
.gd-ccard p { color: var(--body-c); line-height: 1.6; }
.f-table.gd-facts { min-width: 0; }
.gd-facts th, .gd-facts td { white-space: normal; vertical-align: top; }
.gd-facts tbody th { width: 42%; background: var(--mist); color: var(--ink); font-weight: 600; }
.gd-facts th:first-child { position: static; box-shadow: none; }
.gd-ccnot { padding: 14px 16px; border-radius: var(--r-l); background: var(--amber-bg); color: var(--ink) !important; }
.f .gd-cclink { align-self: flex-start; color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: .18em; padding: 13px 0; }
.gd-ccard-also { background: var(--mist); border-color: transparent; }
/* Sources that keep the copy's own numbers (for example "4a.") */
.f .f-sources ol.gd-src-n { list-style: none; padding-left: 0; }
@media (min-width: 1024px) {
  .gd-ccards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .gd-ccard-also { grid-column: 1 / -1; }
}
/* A hero with a dek and a long short answer (Run 10): on phones the dek follows the answer card, so the whole answer is on the first screen; desktop keeps the copy order */
@media (max-width: 1023px) {
  .gd-hero-dek-late .gd-head { display: contents; }
  .gd-hero-dek-late .f-crumbs, .gd-hero-dek-late .gd-head h1 { order: 1; }
  .gd-hero-dek-late .gd-head .f-dek { order: 3; }
}
/* A wide five-column table (Run 10 picks): more scroll width on phones so no column is squeezed to one or two words a line */
.f-table.gd-wrap-xl { min-width: 860px; }
@media (min-width: 1024px) { .f-table.gd-wrap-xl { min-width: 0; } }
@media (min-width: 1024px) {
  .gd-hero.gd-hero-dek-late { padding-top: 16px; }
  .gd-hero-dek-late .gd-hero-in { row-gap: 12px; }
  .gd-hero-dek-late .gd-head { gap: 10px; }
  .gd-hero-dek-late .f-answer { padding: 18px 22px; }
}
/* Run 11 (2026-10-28): the 2-year wait in the carrier's own words, as an amber caveat panel (quote + attribution) */
.gd-wait { display: grid; gap: 10px; padding: 22px 24px; border: 1px solid #EBCFAF; border-left: 6px solid var(--amber); border-radius: var(--r-l); background: var(--amber-bg); }
.gd-wait blockquote p { font: 500 19px/1.55 var(--body); color: var(--ink); }
.gd-wait figcaption { font-size: 16px; line-height: 1.5; color: var(--body-c); }
/* Wave 4, Run 13 (2026-10-29): a bar table under a price table (Living Promise's Level woman column). Decorative: the numbers are in the table above it */
.gd-bars { display: grid; gap: 10px; max-width: 760px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); }
.gd-bar { display: grid; grid-template-columns: 36px 1fr 52px; align-items: center; gap: 12px; font-size: 16px; color: var(--ink); }
.gd-bar i { display: block; height: 14px; border-radius: 7px; background: var(--navy); }
.gd-bar b { font-weight: 700; text-align: right; }
.gd-rail-row > div { min-width: 0; }
.f-tcard .gd-bars { margin-top: 16px; padding: 0 20px; border: 0; }
@media (min-width: 1024px) { .f-tcard .gd-bars { padding: 0 36px; } }
/* Wave 4, Run 14 (2026-10-29): the review price picker as the navy estimator card (age select + two-option rows), and the
   "Looking for the company's website?" note set apart above the short answer */
.f-opts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f-opts-row .f-opt label { min-height: 56px; justify-content: center; }
.f-select { display: block; width: 100%; min-height: 56px; padding: 0 44px 0 16px; border: 2px solid var(--white); border-radius: var(--r-m); -webkit-appearance: none; appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%23104975' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 14px no-repeat;
  color: var(--ink); font: 700 18px/1.2 var(--body); cursor: pointer; }
.f-select:focus-visible { outline: var(--ring-on-dark); outline-offset: 2px; }
.gd-sitenote { max-width: 860px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); font-size: 17px; line-height: 1.55; color: var(--ink); }
.f .gd-sitenote a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
.gd-hero-solo .gd-sitenote { order: 5; font-size: 18px; }
@media (min-width: 1024px) { .gd-hero-solo .gd-sitenote { order: 5; font-size: 17px; } }
/* A review hero whose short answer is long (Run 14): the compact answer card of the Wave 3 long-answer guides, on phones only */
@media (max-width: 1023px) {
  .gd-hero-solo.gd-hero-long .f-answer { padding: 16px; }
  .gd-hero-solo.gd-hero-long .f-answer p { font: 500 18px/1.45 var(--body); }
  .gd-hero-solo.gd-hero-long .gd-hero-in { gap: 10px; }
  .gd-hero.gd-hero-solo.gd-hero-long { padding-top: 8px; }
  .f .gd-hero-solo.gd-hero-long .f-gh1 { font-size: 32px; line-height: 1.08; }
}
.f-est[data-picker] .f-total { font-size: 40px; }
.f-est[data-picker] .gd-stack { display: grid; gap: 22px; }
.f-est[data-picker] .f-est-row { display: grid; gap: 24px; }
@media (min-width: 1024px) { .f-est[data-picker] .f-est-row { gap: 48px; } }
.f .gd-sitenote a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.f-est[data-picker] label.f-est-l { display: inline-block; padding: 13px 0; margin: -13px 0 0; }
/* Wave 5, Run 18 (2026-10-29): paired bars (two columns of one price table, e.g. Aflac beside the lowest among our carriers). Decorative: the numbers are in the table */
.gd-bar2 > div { display: grid; grid-template-columns: 1fr 52px; align-items: center; gap: 4px 12px; }
.gd-bar2 { grid-template-columns: 36px 1fr; }
.gd-bar i.gd-bar-b { background: var(--secondary-blue, #9CCFE1); }
.gd-bars-key { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 16px; color: var(--ink); }
.gd-bars-key span::before { content: ""; display: inline-block; width: 14px; height: 14px; margin: 0 8px -2px 0; border-radius: 4px; background: var(--navy); }
.gd-bars-key .gd-key-b::before { background: var(--secondary-blue, #9CCFE1); }
/* a third series (Physicians Mutual, Run 27): secondary tan, never orange; a wider value column for prices with cents */
.gd-bar3 > div { grid-template-columns: 1fr 76px; }
.gd-bar i.gd-bar-c { background: var(--secondary-tan, #CCC6BB); }
.gd-bars-key .gd-key-c::before { background: var(--secondary-tan, #CCC6BB); }
/* Wave 5, Run 20 (2026-10-29): an inline link in the hero's not-sold line or second answer paragraph gets a 48 px tap area */
.f .gd-notsold a, .f .gd-live a, .f .gd-answer a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }

/* ======================================================================================================
   Wave 8 additions (2026-10-29): the health-condition guides, concise (style guide §9). Shared classes; the cost pages keep
   their own copies in cost.css (nothing moved). New classes only: gd-panel, gd-rest / gd-pill, gd-srcd, gd-sits, gd-krc, gd-q, gd-th and gd-close-tall (Run 38)
   ====================================================================================================== */
/* "More about …" panel: one closed panel at the end of a section, everything inside in the HTML (64 px summary, cream, circled +) */
.f .gd-panel { max-width: 760px; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--cream-2); }
.f .band-cream-2 .gd-panel { background: var(--white); }
.f .gd-panel > summary { min-height: 64px; padding: 0 16px 0 20px; font: 600 17px/1.3 var(--body); color: var(--navy); gap: 10px; }
.gd-panel-b { display: grid; gap: 16px; padding: 4px 20px 24px; }
.gd-panel-b > p, .gd-panel-b > ul { line-height: 1.6; color: var(--body-c); }
.gd-panel-b > ol { display: grid; gap: 12px; padding-left: 1.4em; list-style: decimal; line-height: 1.6; color: var(--body-c); }
.f .gd-panel-b h3 { font: 700 19px/1.35 var(--body); color: var(--ink); margin-top: 4px; }
.f .gd-panel-b a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; padding: 13px 0; }
/* One sticky "Contents" pill on phones, from section 2 to the FAQ; it opens the contents disclosure */
.gd-rest { position: relative; }
.f .gd-pill { position: sticky; top: calc(var(--hdr-h) + 8px); z-index: 20; float: right; display: inline-flex; align-items: center; min-height: var(--tap);
  margin: 8px var(--gutter) -56px 0; padding: 0 18px; border-radius: var(--r-pill); background: var(--navy); color: var(--white);
  font: 700 16px/1 var(--body); text-decoration: none; box-shadow: 0 6px 18px rgba(14, 34, 51, .22); }
.f .gd-pill:focus-visible { outline: var(--ring); outline-offset: 2px; }
/* Sources in a closed panel; the compliance paragraph stays visible */
.f .gd-srcd { max-width: 1000px; margin-top: 0; }
.gd-srcd .f-sources ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--body-c); }
.gd-srcd + .f-compliance { margin-top: 24px; }
/* Situation cards (bold lead + plain text); the plan with no health questions in the amber caveat colours */
.gd-sits { display: grid; gap: 14px; }
.gd-sit { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); }
.gd-sit p { line-height: 1.6; color: var(--body-c); }
.gd-sit strong { color: var(--ink); }
.gd-sit-gi { border-color: #EBCFAF; background: var(--amber-bg); }
.gd-sit-gi p { color: var(--ink); }
.gd-sit-gi strong { color: var(--amber); }
/* Keep reading as text cards (the whole card is the link) */
.f .gd-krc { gap: 8px; padding: 22px 22px 24px; border-radius: var(--r-l); background: var(--white); color: inherit; text-decoration: none; }
.f .gd-krc h3 { font: 700 20px/1.35 var(--body); color: var(--navy); text-decoration: underline; text-underline-offset: .18em; }
.f .gd-krc p { font-size: 17px; line-height: 1.55; color: var(--body-c); }
.f .gd-krc:hover { border-color: var(--navy); }
.f .gd-krc:focus-visible { outline: var(--ring); outline-offset: 2px; border-radius: var(--r-l); }
/* Quoted words: <q> for meaning, the copy's own quote marks as the text */
.gd-q { quotes: none; }
/* Women | Men tabs where each table keeps its own title (Run 38): the title inside the tab panel, spaced like a card title */
.f .f-tcard .gd-th { padding: 0 20px 16px; font-size: 21px; line-height: 1.3; }
.gd-tabs [role="tabpanel"]:not([hidden]) ~ [role="tabpanel"]:not([hidden]) { margin-top: 28px; }
/* The close on phones (Run 38): tall enough that the photo's face sits above the frosted panel (the panel is 540 to 570 px tall at 390, by heading length) */
@media (max-width: 1023px) { .gd-close-tall .f-close { min-height: 920px; } }
@media (min-width: 1024px) {
  .f .f-tcard .gd-th { padding: 0 36px 20px; font-size: 24px; }
  .f .gd-pill { display: none; }
  .f .gd-panel { margin-top: 40px; }
  .gd-sits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
/* Wave 10, Run 43 (2026-10-29): a 48 px tap area for links inside situation cards and steps (inline vertical padding only: no layout change) */
.f .gd-sit p a, .f .f-steps a, .f .f-ticks li a:not(.f-link) { padding: 13px 0; }
/* Wave 10, Run 44 (2026-10-30): a very long short answer (about 90 words) on phones: the same 18 px text with tighter lines and padding, so the whole card fits 390 x 844 */
@media (max-width: 1023px) { .gd-hero-xl .f-answer { padding: 14px; } .gd-hero-xl .f-answer p { line-height: 1.38; } }
/* Wave 10, Run 45 (2026-10-30): the cons as an amber dot list (caveat colour) */
.gd-dots-amber li::before { background: var(--amber); }
/* Wave 11, Run 47 (2026-10-30): three "fits" cards in one row on desktop (two columns from 768 px, as gd-fitcols) */
@media (min-width: 1024px) { .gd-fitcols.gd-fitcols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Wave 11, Run 49 (2026-10-30): a four-level breadcrumb on phones shows Home › … › the page, as the cost template does below 375 px
   (the full trail stays for screen readers and in the BreadcrumbList) */
.f-crumbs .gd-cell { display: none; }
@media (max-width: 767px) {
  .f-crumbs .gd-cell { display: inline-flex; }
  .f-crumbs .gd-cmid { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Wave 11, Run 50 (2026-10-30): a statute quoted as a block (gd-bq) with its citation as the figure caption under it */
.gd-law { margin: 0; max-width: 900px; }
.gd-law .gd-bq p + p { margin-top: 8px; }
.gd-law figcaption { margin-top: 8px; padding-left: 21px; font: 400 16px/1.5 var(--body); color: var(--body-c); }

/* Wave 17, Run 79 (2026-10-31): a long protected H1 on the guide hero (four lines at 1440) sets one step smaller on desktop so the answer card stays in the first screen */
@media (min-width: 1024px) { .f .gd-h1-long { font-size: 50px; line-height: 1.06; } }
/* Wave 18 Run 87: a four-column price table that fits a 390 px phone without scrolling (whole life for seniors, section 3) */
.f-table.gd-fit4 { min-width: 0; }

/* Wave 26: a long call-to-action label wraps on small phones instead of pushing the page sideways (/life-insurance-for/elderly) */
@media (max-width: 479px) { .gd-ctabox .f-btn { white-space: normal; text-align: center; } }

/* Wave 44 (Am3): a button row placed after the "Good fit if" card sits between the two cards on phones; from 768 px, where the cards sit side by side, it spans the row under both */
.gd-fitcols > .gd-acts-fit { margin: 0; }
@media (min-width: 768px) { .gd-fitcols > .gd-acts-fit { grid-column: 1 / -1; order: 1; } }
