/* Hub template, final build (2026-10-26; T8 structure, /life-insurance-for/). Loads after tokens.css + components.css + guide.css.
   No photos (copy build note). Whole-card links to every child guide; the three "after the health questions" situations coloured by
   meaning (green = good news, amber = caveat, mist = neutral); the close is a light mist panel, not navy and not a photo. */

/* Hero: the lead sits after the byline; the two actions live inside the answer card */
.hb-answer-acts { order: 3; }
.hb-hero .gd-byline { order: 4; } .hb-hero .gd-answer-more { order: 5; } .hb-hero .gd-disclose { order: 6; }
.hb-lead { max-width: 760px; }

/* Card grids: the first condition card spans the row */
.hb-grid { display: grid; gap: 14px; }
.hb-card { gap: 10px; }
.hb-card .f-chip { align-self: flex-start; }
.f .hb-card:hover h3 { text-decoration-thickness: 2px; }

/* Veterans block (plain text in a quiet card, id="veterans") */
.hb-veterans { max-width: 900px; }
.hb-veterans p { color: var(--body-c); line-height: 1.6; }
.f .hb-veterans a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; padding: 13px 0; }

/* After the health questions: three situations */
.hb-sits { display: grid; gap: 14px; }
.hb-sit { padding: 24px 24px 26px; border: 1px solid var(--line); border-radius: var(--r-l); }
.hb-sit p { color: var(--ink); line-height: 1.6; }
.hb-sit strong { display: block; margin-bottom: 6px; font: 700 20px/1.3 var(--head); }
.hb-sit-yes { border-color: #BFDCCB; background: var(--green-bg); }
.hb-sit-yes strong { color: var(--green); }
.hb-sit-no { border-color: #EBCFAF; background: var(--amber-bg); }
.hb-sit-no strong { color: var(--amber); }
.hb-sit-unsure { background: var(--mist); }

/* Estimate-only block directly under the FAQ list */
.hb-est { max-width: 760px; }
.f .hb-est a { color: var(--amber); font-weight: 700; text-decoration: underline; text-underline-offset: .18em; padding: 13px 0; }

/* Close: a light mist panel, radius 28 */
.hb-close { display: grid; gap: 16px; justify-items: start; padding: 32px 24px; border-radius: var(--r-2xl); background: var(--mist); }
.f .hb-close h2 { font-size: var(--fs-h2); line-height: 1.15; max-width: 760px; }
.hb-close p { max-width: 640px; color: var(--body-c); line-height: 1.6; }
.hb-close .f-btns { margin-top: 4px; }
.hb-hours { font-size: 17px; }

@media (min-width: 768px) {
  .hb-grid { grid-template-columns: 1fr 1fr; }
  .hb-card-wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .hb-hero .gd-byline { order: 2; } .hb-hero .gd-answer { order: 3; } .hb-answer-acts { order: 4; }
  .hb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  #age-and-family .hb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hb-sits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .hb-close { padding: 56px 64px; }
}
/* Small phones (under 375 px): the whole short answer card on the first screen at 360 x 740 (text stays 18 px) */
@media (max-width: 374px) {
  .gd-hero.hb-hero { padding-top: 4px; }
  .hb-hero .gd-hero-in { gap: 8px; }
  .hb-hero .f-answer { padding: 14px 16px; }
  .hb-hero .f-answer p { line-height: 1.42; }
}
/* Wave 14, Run 63 (the reviews hub): a card with extra pages keeps its whole-card link; the extra links sit on a line under it
   in the same grid cell (a link can't sit inside the card's link) */
.hb-cell { display: grid; gap: 4px; align-content: start; }
.hb-cell > .hb-card { height: auto; }
.f .hb-sub { padding: 0 4px; font-size: 17px; line-height: 1.5; color: var(--body-c); }
.f .hb-sub a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; padding: 13px 0; }
