/*!
 * Legacy Hub - "When someone dies" bereavement guide (styles)
 * ===========================================================
 * Every rule is scoped to #lh-guide so nothing leaks into the rest of the site,
 * and so the theme's own styles (Salient) don't leak in.
 *
 * HOW THIS FILE IS ORGANISED
 *   1. Design tokens   - colours, fonts, spacing, radii (CSS custom properties)
 *   2. Base            - light reset and typography inside the guide
 *   3. Buttons         - one shared button base (protected against theme
 *                        !important rules) plus variants
 *   4. Layout          - page width, section spacing, stacks and splits
 *   5. Components      - one block each: section nav, hero, key rules,
 *                        stages, topics, money, checklist, support, FAQs,
 *                        glossary, call to action, footer
 *   6. Print and reduced motion
 *
 * Mobile styles sit next to the component they belong to.
 * Breakpoints used: 980px (tablet), 760px (stage tabs), 640px (phone),
 * 380px (small phone). The topic grid's 640px and 980px breakpoints are
 * repeated in guide.js (SETTINGS) - change both together.
 *
 * Class names: "lhg-" + block, "__element", "--modifier".
 * Selected / open states are styled from ARIA attributes
 * (aria-pressed, aria-selected, aria-expanded), so the look always matches
 * what screen readers announce.
 */


/* =====================================================================
 * 1. DESIGN TOKENS
 * ===================================================================== */
#lh-guide {
  /* Colours */
  --lhg-navy: #16283D;
  --lhg-navy-deep: #0F1D2C;
  --lhg-navy-raised: #1E3550;
  --lhg-navy-line: #2E4A6A;
  --lhg-navy-border: #6B85A3;      /* outline of controls on navy (3:1 or more) */
  --lhg-teal: #236664;
  --lhg-teal-dark: #1D5957;
  --lhg-teal-light: #7FC4BE;
  --lhg-teal-mist: #BFE3DF;
  --lhg-teal-pale: #EAF4F3;
  --lhg-teal-pale-line: #B9DCD8;
  --lhg-cream: #F7F2EA;
  --lhg-sand: #EFE7DA;
  --lhg-white: #FFFFFF;
  --lhg-line: #E6DCCB;
  --lhg-line-strong: #E2D8C8;
  --lhg-control-border: #8F8472;   /* outline of controls on light backgrounds (3:1 or more) */
  --lhg-text: #1F2B38;
  --lhg-text-body: #34404D;
  --lhg-text-muted: #4E5966;
  --lhg-on-dark: #F7F2EA;
  --lhg-on-dark-muted: #D2DBE3;
  --lhg-on-dark-soft: #BCC8D3;
  --lhg-on-dark-faint: #9AA9B7;
  --lhg-amber-text: #8A4B12;
  --lhg-alert: #8E2A1E;

  /* Focus ring: navy on light backgrounds, warm yellow on dark ones */
  --lhg-focus: var(--lhg-navy);
  --lhg-focus-on-dark: #FFD27A;

  /* Fonts */
  --lhg-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --lhg-font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Spacing scale */
  --lhg-space-1: 4px;
  --lhg-space-2: 8px;
  --lhg-space-3: 12px;
  --lhg-space-4: 16px;
  --lhg-space-5: 20px;
  --lhg-space-6: 24px;
  --lhg-space-7: 32px;
  --lhg-space-8: 48px;
  --lhg-space-9: 64px;
  --lhg-gutter: 32px;                              /* left/right page padding */
  --lhg-section-space: clamp(48px, 7vw, 80px);     /* top/bottom of a section */

  /* Radii */
  --lhg-radius-sm: 12px;
  --lhg-radius-md: 16px;
  --lhg-radius-lg: 20px;
  --lhg-radius-pill: 999px;

  /* Sticky section nav. --lhg-sticky-top is set by guide.js to the bottom
     of any fixed site header (admin bar, Salient header). */
  --lhg-sticky-top: 0px;
  --lhg-nav-height: 56px;
  --lhg-scroll-offset: calc(var(--lhg-sticky-top) + var(--lhg-nav-height) + 12px);

  /* Smallest comfortable touch target */
  --lhg-target: 44px;
}

@media (max-width: 640px) {
  #lh-guide { --lhg-gutter: 20px; }
}
@media (max-width: 380px) {
  #lh-guide { --lhg-gutter: 16px; }
}
/* Landscape phones: keep the sticky nav slim so more of the screen is content */
@media (max-height: 480px) and (orientation: landscape) {
  #lh-guide { --lhg-nav-height: 48px; }
}

/* Dark surfaces switch the focus colour so the ring stays visible. */
#lh-guide .lhg-on-dark { --lhg-focus: var(--lhg-focus-on-dark); }
#lh-guide .lhg-on-light { --lhg-focus: var(--lhg-navy); }


/* =====================================================================
 * 2. BASE
 * ===================================================================== */
#lh-guide {
  background: var(--lhg-cream);
  color: var(--lhg-text);
  font-family: var(--lhg-font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Light reset: undo theme spacing/fonts on common elements inside the guide */
#lh-guide *,
#lh-guide *::before,
#lh-guide *::after { box-sizing: border-box; }

#lh-guide,
#lh-guide * { scroll-margin-top: var(--lhg-scroll-offset); }

#lh-guide h1, #lh-guide h2, #lh-guide h3, #lh-guide h4,
#lh-guide p, #lh-guide ul, #lh-guide ol, #lh-guide li,
#lh-guide dl, #lh-guide dt, #lh-guide dd, #lh-guide figure {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

#lh-guide h1, #lh-guide h2, #lh-guide h3, #lh-guide h4 {
  font-family: var(--lhg-font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  color: inherit;
}

#lh-guide p,
#lh-guide li,
#lh-guide dd { font-family: var(--lhg-font-body); }

#lh-guide ul,
#lh-guide ol,
#lh-guide li { list-style: none; }

#lh-guide li::before,
#lh-guide li::after { content: none; }

#lh-guide strong { font-weight: 700; }
#lh-guide em { font-style: italic; }

#lh-guide a {
  color: var(--lhg-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
#lh-guide a:hover { color: var(--lhg-navy); }
#lh-guide .lhg-on-dark a { color: var(--lhg-teal-mist); }
#lh-guide .lhg-on-dark a:hover { color: var(--lhg-white); }
#lh-guide .lhg-on-light a { color: var(--lhg-teal); }
#lh-guide .lhg-on-light a:hover { color: var(--lhg-navy); }

#lh-guide svg { display: inline-block; vertical-align: middle; }
#lh-guide .lhg-icon { flex-shrink: 0; }

#lh-guide [hidden] { display: none !important; }

/* One visible focus style for everything (the theme may remove outlines) */
#lh-guide :focus-visible {
  outline: 3px solid var(--lhg-focus) !important;
  outline-offset: 2px !important;
}
#lh-guide [tabindex="-1"]:focus,
#lh-guide [tabindex="-1"]:focus-visible { outline: none !important; } /* headings guide.js moves focus to */

/* Text only for screen readers */
#lh-guide .lhg-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Keep a link's label and its ↗ arrow together; keep phone numbers on one line */
#lh-guide .lhg-link-text { display: inline; }
#lh-guide .lhg-nowrap { white-space: nowrap; }

/* Small uppercase label above headings */
#lh-guide .lhg-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lhg-teal);
}
#lh-guide .lhg-eyebrow--on-dark { color: var(--lhg-teal-light); }
#lh-guide .lhg-eyebrow--on-teal { color: #CDEBE7; }

/* Plain bulleted list */
#lh-guide .lhg-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--lhg-space-2);
  padding-left: 22px;
  list-style: disc;
}
#lh-guide .lhg-bullets li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--lhg-text-body);
  list-style: disc;
}


/* =====================================================================
 * 3. BUTTONS
 * The theme styles <button> and some links with !important. To stay in
 * control, the base rule below is the ONLY place that uses !important for
 * buttons. It reads custom properties (--lhg-btn-*), and each variant just
 * sets those properties - no further !important needed.
 * ===================================================================== */
#lh-guide .lhg-btn {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  flex-direction: var(--lhg-btn-direction, row) !important;
  align-items: var(--lhg-btn-align-items, center) !important;
  justify-content: var(--lhg-btn-justify, center) !important;
  gap: var(--lhg-btn-gap, 8px) !important;
  float: none !important;
  position: relative !important;
  width: var(--lhg-btn-width, auto) !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: var(--lhg-btn-min-height, var(--lhg-target)) !important;
  margin: 0 !important;
  padding: var(--lhg-btn-padding, 10px 18px) !important;
  border-style: solid !important;
  border-width: var(--lhg-btn-border-width, 1.5px) !important;
  border-color: var(--lhg-btn-border, transparent) !important;
  border-radius: var(--lhg-btn-radius, var(--lhg-radius-pill)) !important;
  background: var(--lhg-btn-bg, transparent) !important;
  color: var(--lhg-btn-fg, inherit) !important;
  font-family: var(--lhg-btn-font, var(--lhg-font-body)) !important;
  font-size: var(--lhg-btn-font-size, 15px) !important;
  font-weight: var(--lhg-btn-font-weight, 700) !important;
  font-style: normal !important;
  line-height: var(--lhg-btn-line-height, 1.3) !important;
  letter-spacing: normal !important;
  text-align: var(--lhg-btn-text-align, center) !important;
  text-decoration: none !important;
  text-transform: none !important;
  text-shadow: none !important;
  white-space: normal !important;
  box-shadow: var(--lhg-btn-shadow, none) !important;
  opacity: 1 !important;
  transform: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
#lh-guide .lhg-btn::before,
#lh-guide .lhg-btn::after { content: none !important; display: none !important; }

/* Solid navy (e.g. "Next stage") */
#lh-guide .lhg-btn--solid {
  --lhg-btn-bg: var(--lhg-navy);
  --lhg-btn-fg: var(--lhg-on-dark);
  --lhg-btn-border: var(--lhg-navy);
  --lhg-btn-padding: 10px 22px;
}
#lh-guide .lhg-btn--solid:hover { --lhg-btn-bg: var(--lhg-navy-raised); --lhg-btn-border: var(--lhg-navy-raised); }

/* Navy outline (e.g. "Previous stage", "Close topic") */
#lh-guide .lhg-btn--outline {
  --lhg-btn-bg: transparent;
  --lhg-btn-fg: var(--lhg-navy);
  --lhg-btn-border: var(--lhg-navy);
  --lhg-btn-padding: 10px 20px;
}
#lh-guide .lhg-btn--outline:hover { --lhg-btn-bg: var(--lhg-white); }

/* Dark red emergency button (crisis box) */
#lh-guide .lhg-btn--alert {
  --lhg-btn-bg: var(--lhg-alert);
  --lhg-btn-fg: var(--lhg-white);
  --lhg-btn-border: var(--lhg-alert);
}
#lh-guide .lhg-btn--alert:hover { --lhg-btn-bg: #721F16; --lhg-btn-border: #721F16; }

/* Light teal "call" button on dark cards */
#lh-guide .lhg-btn--call {
  --lhg-btn-bg: var(--lhg-teal-light);
  --lhg-btn-fg: var(--lhg-navy-deep);
  --lhg-btn-border: var(--lhg-teal-light);
  --lhg-btn-padding: 10px 16px;
  --lhg-btn-font-size: 16px;
}
#lh-guide .lhg-btn--call:hover { --lhg-btn-bg: var(--lhg-teal-mist); --lhg-btn-border: var(--lhg-teal-mist); }

/* Pale teal source links in topic panels */
#lh-guide .lhg-btn--source {
  --lhg-btn-bg: var(--lhg-teal-pale);
  --lhg-btn-fg: var(--lhg-teal-dark);
  --lhg-btn-border: var(--lhg-teal-pale);
  --lhg-btn-padding: 10px 16px;
  --lhg-btn-font-size: 15px;
  --lhg-btn-text-align: left;
  --lhg-btn-justify: flex-start;
}
#lh-guide .lhg-btn--source:hover { --lhg-btn-border: var(--lhg-teal); }

/* Call to action buttons on the teal card */
#lh-guide .lhg-btn--cream {
  --lhg-btn-bg: var(--lhg-cream);
  --lhg-btn-fg: var(--lhg-navy);
  --lhg-btn-border: var(--lhg-cream);
  --lhg-btn-min-height: 50px;
  --lhg-btn-padding: 12px 24px;
  --lhg-btn-font-size: 16px;
}
#lh-guide .lhg-btn--cream:hover { --lhg-btn-bg: var(--lhg-white); --lhg-btn-border: var(--lhg-white); }

#lh-guide .lhg-btn--outline-light {
  --lhg-btn-fg: var(--lhg-on-dark);
  --lhg-btn-border: #CDEBE7;
  --lhg-btn-min-height: 50px;
  --lhg-btn-padding: 12px 22px;
  --lhg-btn-font-size: 16px;
}
#lh-guide .lhg-btn--outline-light:hover { --lhg-btn-bg: rgba(255, 255, 255, 0.12); }

/* Chips: the nation chooser and the support filters (on navy) */
#lh-guide .lhg-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#lh-guide .lhg-chip {
  --lhg-btn-fg: var(--lhg-on-dark);
  --lhg-btn-border: var(--lhg-navy-border);
  --lhg-btn-padding: 10px 20px;
}
#lh-guide .lhg-chip:hover { --lhg-btn-border: var(--lhg-teal-light); }
#lh-guide .lhg-chip--nation[aria-pressed="true"] {
  --lhg-btn-bg: var(--lhg-cream);
  --lhg-btn-fg: var(--lhg-navy);
  --lhg-btn-border: var(--lhg-cream);
}
#lh-guide .lhg-chip--filter[aria-pressed="true"] {
  --lhg-btn-bg: var(--lhg-teal-light);
  --lhg-btn-fg: var(--lhg-navy-deep);
  --lhg-btn-border: var(--lhg-teal-light);
}

@media (max-width: 640px) {
  /* Nation buttons fill the row on phones, so they're easy to hit */
  #lh-guide .lhg-chip--nation { --lhg-btn-width: 100%; }
  #lh-guide .lhg-hero__nations .lhg-chip-row { flex-direction: column; }
  #lh-guide .lhg-chip--filter { --lhg-btn-padding: 10px 16px; }
}


/* =====================================================================
 * 4. LAYOUT
 * ===================================================================== */
#lh-guide .lhg-wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: var(--lhg-gutter);
  padding-right: var(--lhg-gutter);
}

/* Optional (shortcode fullbleed="yes"): stretch the guide edge to edge inside
   a narrow theme column. --lhg-page-width is the page width without the
   scrollbar, set by guide.js, so there's no sideways scrolling. */
#lh-guide.lhg-fullbleed {
  width: var(--lhg-page-width, 100vw);
  max-width: none;
  margin-left: calc(50% - var(--lhg-page-width, 100vw) / 2);
  margin-right: 0;
}

#lh-guide .lhg-section { padding: var(--lhg-section-space) 0; }
#lh-guide .lhg-section--sand { background: var(--lhg-sand); }
#lh-guide .lhg-section--navy { background: var(--lhg-navy); color: var(--lhg-on-dark); }
#lh-guide .lhg-section--tight-bottom { padding-bottom: var(--lhg-space-6); }
#lh-guide .lhg-section--tight-top { padding-top: var(--lhg-space-6); }

/* Vertical stack with even gaps */
#lh-guide .lhg-stack {
  display: flex;
  flex-direction: column;
  gap: var(--lhg-space-7);
}

/* Two columns that become one on tablets and phones */
#lh-guide .lhg-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--lhg-space-8);
  align-items: start;
}
@media (max-width: 980px) {
  #lh-guide .lhg-split { grid-template-columns: minmax(0, 1fr); gap: var(--lhg-space-6); }
}

/* Section heading block */
#lh-guide .lhg-section__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
}
#lh-guide .lhg-section__title {
  font-size: clamp(30px, calc(20px + 2.4vw), 42px);
  line-height: 1.12;
  color: var(--lhg-navy);
}
#lh-guide .lhg-section__title--small { font-size: clamp(28px, calc(20px + 1.8vw), 36px); }
#lh-guide .lhg-section__title--smaller { font-size: clamp(24px, calc(18px + 1.4vw), 30px); }
#lh-guide .lhg-section__intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--lhg-text-muted);
}
#lh-guide .lhg-on-dark .lhg-section__title { color: var(--lhg-on-dark); }
#lh-guide .lhg-on-dark .lhg-section__intro { color: var(--lhg-on-dark-muted); }


/* =====================================================================
 * 5. COMPONENTS
 * ===================================================================== */

/* ---------------------------------------------------------------------
 * 5.1 SECTION NAV (sticky, under the site header)
 * Wide screens: title on the left, links on the right.
 * Below 980px: links only, in one row that scrolls sideways. Edge fades
 * appear only when there's more to scroll (pure CSS, nothing to measure).
 * --------------------------------------------------------------------- */
#lh-guide .lhg-guidenav {
  position: -webkit-sticky;
  position: sticky;
  top: var(--lhg-sticky-top);
  z-index: 50;
  background: var(--lhg-navy);
  color: var(--lhg-on-dark);
  border-bottom: 1px solid #22364D;
  --lhg-focus: var(--lhg-focus-on-dark);
}
#lh-guide .lhg-guidenav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lhg-space-6);
  min-height: var(--lhg-nav-height);
}
#lh-guide .lhg-guidenav__title {
  flex-shrink: 0;
  font-family: var(--lhg-font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--lhg-on-dark);
}
#lh-guide .lhg-guidenav__links {
  display: flex;
  align-items: center;
  gap: var(--lhg-space-1);
  min-width: 0;
}
#lh-guide .lhg-guidenav__links li { flex-shrink: 0; }
#lh-guide .lhg-guidenav__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--lhg-target);
  padding: 0 12px;
  border-radius: var(--lhg-radius-sm);
  color: var(--lhg-on-dark) !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}
#lh-guide .lhg-guidenav__link:hover { background: var(--lhg-navy-raised); }

@media (max-width: 980px) {
  #lh-guide .lhg-guidenav__title { display: none; }
  #lh-guide .lhg-guidenav__inner { padding-left: 0; padding-right: 0; }
  #lh-guide .lhg-guidenav__links {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: 0 var(--lhg-gutter);
    /* Scroll fades: the "local" layers cover the fades when you're at an end */
    background:
      linear-gradient(90deg, var(--lhg-navy) 40%, rgba(22, 40, 61, 0)) left / 40px 100% no-repeat local,
      linear-gradient(270deg, var(--lhg-navy) 40%, rgba(22, 40, 61, 0)) right / 40px 100% no-repeat local,
      linear-gradient(90deg, rgba(127, 196, 190, 0.55), rgba(127, 196, 190, 0)) left / 20px 100% no-repeat scroll,
      linear-gradient(270deg, rgba(127, 196, 190, 0.55), rgba(127, 196, 190, 0)) right / 20px 100% no-repeat scroll;
    background-color: var(--lhg-navy);
  }
  #lh-guide .lhg-guidenav__links::-webkit-scrollbar { display: none; }
  #lh-guide .lhg-guidenav__link { padding: 0 10px; font-size: 15px; }
}


/* ---------------------------------------------------------------------
 * 5.2 HERO
 * Source order: intro, "today" card, nation chooser (= the phone order).
 * Wide screens use grid areas to put the nation chooser under the intro,
 * with the "today" card in the right-hand column.
 * --------------------------------------------------------------------- */
#lh-guide .lhg-hero {
  background: var(--lhg-navy);
  color: var(--lhg-on-dark);
  padding: var(--lhg-space-9) 0 96px;
}
#lh-guide .lhg-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "intro   today"
    "nations today";
  column-gap: var(--lhg-space-8);
  row-gap: var(--lhg-space-7);
  align-items: start;
}
#lh-guide .lhg-hero__intro {
  grid-area: intro;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#lh-guide .lhg-hero__title {
  font-size: clamp(34px, calc(18px + 3.6vw), 60px);
  line-height: 1.08;
  color: var(--lhg-on-dark);
}
#lh-guide .lhg-hero__title em { color: var(--lhg-teal-mist); }
#lh-guide .lhg-hero__lead {
  max-width: 580px;
  font-size: clamp(17px, calc(15px + 0.4vw), 19px);
  line-height: 1.6;
  color: #D9E1E8;
}
#lh-guide .lhg-hero__note {
  max-width: 580px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--lhg-on-dark-soft);
}
#lh-guide .lhg-hero__nations {
  grid-area: nations;
  display: flex;
  flex-direction: column;
  gap: var(--lhg-space-3);
}
#lh-guide .lhg-hero__nations-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--lhg-on-dark);
}

/* "Only three things matter today" card */
#lh-guide .lhg-today {
  grid-area: today;
  display: flex;
  flex-direction: column;
  gap: var(--lhg-space-4);
  padding: var(--lhg-space-7);
  border-radius: var(--lhg-radius-lg);
  background: var(--lhg-cream);
  color: var(--lhg-text);
  box-shadow: 0 24px 60px rgba(5, 14, 26, 0.35);
}
#lh-guide .lhg-today__title {
  margin-top: calc(var(--lhg-space-2) * -1);
  font-size: 28px;
  color: var(--lhg-text);
}
#lh-guide .lhg-today__list {
  display: flex;
  flex-direction: column;
  gap: var(--lhg-space-4);
  margin-top: var(--lhg-space-1);
}
#lh-guide .lhg-today__item {
  display: flex;
  gap: 14px;
  font-size: 16px;
  line-height: 1.55;
}
#lh-guide .lhg-today__number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lhg-navy);
  color: var(--lhg-on-dark);
  font-family: var(--lhg-font-heading);
  font-size: 17px;
}
#lh-guide .lhg-today__help {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--lhg-space-3);
  padding-top: var(--lhg-space-4);
  border-top: 1px solid var(--lhg-line-strong);
  font-size: 15px;
  line-height: 1.55;
  color: var(--lhg-text-muted);
}

@media (max-width: 980px) {
  #lh-guide .lhg-hero { padding: var(--lhg-space-8) 0 88px; }
  #lh-guide .lhg-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas:
      "intro"
      "today"
      "nations";
  }
}
@media (max-width: 640px) {
  #lh-guide .lhg-hero { padding: 40px 0 80px; }
  #lh-guide .lhg-hero__grid { row-gap: var(--lhg-space-7); }
  #lh-guide .lhg-today { padding: var(--lhg-space-6) var(--lhg-space-5); }
  #lh-guide .lhg-today__title { font-size: 24px; }
}


/* ---------------------------------------------------------------------
 * 5.3 KEY RULES (overlaps the bottom of the hero)
 * --------------------------------------------------------------------- */
#lh-guide .lhg-keyrules { margin-top: -48px; position: relative; }
#lh-guide .lhg-keyrules__card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px var(--lhg-space-7);
  border: 1px solid var(--lhg-line);
  border-radius: 18px;
  background: var(--lhg-white);
  box-shadow: 0 10px 30px rgba(22, 40, 61, 0.07);
}
#lh-guide .lhg-keyrules__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--lhg-space-2) var(--lhg-space-4);
}
#lh-guide .lhg-keyrules__title { font-size: 24px; color: var(--lhg-navy); }
#lh-guide .lhg-keyrules__hint { font-size: 14px; color: #56606B; }
#lh-guide .lhg-keyrules__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--lhg-space-4);
}
#lh-guide .lhg-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: 14px;
  background: var(--lhg-cream);
}
#lh-guide .lhg-fact__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--lhg-teal);
}
#lh-guide .lhg-fact__value {
  font-family: var(--lhg-font-heading);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--lhg-navy);
}
#lh-guide .lhg-fact__detail { font-size: 15px; line-height: 1.5; color: var(--lhg-text-muted); }

@media (max-width: 980px) {
  #lh-guide .lhg-keyrules__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #lh-guide .lhg-keyrules { margin-top: -40px; }
  #lh-guide .lhg-keyrules__card { padding: var(--lhg-space-5); gap: var(--lhg-space-4); }
  #lh-guide .lhg-keyrules__title { font-size: 22px; }
}
@media (max-width: 480px) {
  #lh-guide .lhg-keyrules__facts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  #lh-guide .lhg-fact { padding: 14px 16px; }
}


/* ---------------------------------------------------------------------
 * 5.4 STAGES ("Step by step") - tabs, summary card, steps
 * Tabs: one row of five on wide screens; a two-column grid of tiles below
 * 760px (the fifth tile spans both columns), so every stage is visible.
 * --------------------------------------------------------------------- */
#lh-guide .lhg-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 2px solid var(--lhg-line-strong);
}
#lh-guide .lhg-tab {
  --lhg-btn-direction: column;
  --lhg-btn-align-items: flex-start;
  --lhg-btn-justify: flex-start;
  --lhg-btn-text-align: left;
  --lhg-btn-gap: 2px;
  --lhg-btn-min-height: 64px;
  --lhg-btn-padding: 12px 10px 14px;
  --lhg-btn-radius: 0;
  --lhg-btn-border-width: 0 0 3px 0;
  --lhg-btn-border: transparent;
  --lhg-btn-fg: #56606B;
  --lhg-btn-width: 100%;
  margin-bottom: -2px !important;
}
#lh-guide .lhg-tab:hover { --lhg-btn-fg: var(--lhg-navy); --lhg-btn-border: var(--lhg-line-strong); }
#lh-guide .lhg-tab[aria-selected="true"] {
  --lhg-btn-fg: var(--lhg-navy);
  --lhg-btn-border: var(--lhg-teal);
}
#lh-guide .lhg-tab__number {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
#lh-guide .lhg-tab[aria-selected="true"] .lhg-tab__number { color: var(--lhg-teal); }
#lh-guide .lhg-tab__title {
  font-family: var(--lhg-font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}

@media (max-width: 760px) {
  #lh-guide .lhg-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border-bottom: 0;
  }
  #lh-guide .lhg-tab {
    --lhg-btn-min-height: 68px;
    --lhg-btn-padding: 12px 14px;
    --lhg-btn-radius: var(--lhg-radius-sm);
    --lhg-btn-border-width: 1.5px;
    --lhg-btn-border: var(--lhg-control-border);
    --lhg-btn-bg: var(--lhg-white);
    --lhg-btn-fg: var(--lhg-navy);
    margin-bottom: 0 !important;
  }
  #lh-guide .lhg-tab:last-child { grid-column: 1 / -1; }
  #lh-guide .lhg-tab:hover { --lhg-btn-border: var(--lhg-teal); }
  #lh-guide .lhg-tab[aria-selected="true"] {
    --lhg-btn-bg: var(--lhg-navy);
    --lhg-btn-fg: var(--lhg-on-dark);
    --lhg-btn-border: var(--lhg-navy);
    --lhg-focus: var(--lhg-navy);
  }
  #lh-guide .lhg-tab[aria-selected="true"] .lhg-tab__number { color: var(--lhg-teal-light); }
  #lh-guide .lhg-tab__title { font-size: 18px; }
}

#lh-guide .lhg-stages__body {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: var(--lhg-space-7);
  align-items: start;
}
#lh-guide .lhg-stages__summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: 18px;
  background: var(--lhg-navy);
  color: var(--lhg-on-dark);
}
#lh-guide .lhg-stages__number {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--lhg-teal-light);
}
#lh-guide .lhg-stages__title { font-size: 28px; line-height: 1.15; color: var(--lhg-on-dark); }
#lh-guide .lhg-stages__intro { font-size: 16px; line-height: 1.6; color: var(--lhg-on-dark-muted); }
#lh-guide .lhg-stages__care {
  padding-top: 14px;
  border-top: 1px solid var(--lhg-navy-line);
  font-size: 15px;
  font-style: italic;
  line-height: 1.55;
  color: var(--lhg-teal-mist);
}
#lh-guide .lhg-stages__main {
  display: flex;
  flex-direction: column;
  gap: var(--lhg-space-5);
  min-width: 0;
}
#lh-guide .lhg-stages__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--lhg-space-3);
}
#lh-guide .lhg-stages__next { margin-left: auto !important; }

/* One step */
#lh-guide .lhg-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#lh-guide .lhg-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
  border: 1px solid var(--lhg-line);
  border-radius: var(--lhg-radius-md);
  background: var(--lhg-white);
}
#lh-guide .lhg-step__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--lhg-space-2) var(--lhg-space-3);
}
#lh-guide .lhg-step__title {
  flex: 1 1 260px;
  font-size: 19px;
  line-height: 1.3;
  color: var(--lhg-navy);
}
#lh-guide .lhg-step__body { font-size: 16px; line-height: 1.62; color: var(--lhg-text-body); }
#lh-guide .lhg-step__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 18px;
}
#lh-guide .lhg-step__when {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--lhg-target);
  font-size: 15px;
  font-weight: 700;
  color: var(--lhg-amber-text);
}
#lh-guide .lhg-step__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: var(--lhg-target);
  font-size: 15px;
  font-weight: 700;
}

/* Category tags on steps */
#lh-guide .lhg-tag {
  flex-shrink: 0;
  padding: 5px 11px;
  border-radius: var(--lhg-radius-pill);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
#lh-guide .lhg-tag--legal { background: #E3ECF6; color: #1C3F66; }
#lh-guide .lhg-tag--practical,
#lh-guide .lhg-tag--money { background: #F4EAD9; color: #7A4A10; }
#lh-guide .lhg-tag--ceremonial { background: #EDE6F4; color: #4B2E6E; }
#lh-guide .lhg-tag--sentimental { background: #F6E5E3; color: #7C2E26; }
#lh-guide .lhg-tag--emotional { background: #E2F1EF; color: #1D5957; }
#lh-guide .lhg-tag--wellbeing { background: #E8F0E0; color: #3A5A1F; }

@media (max-width: 980px) {
  #lh-guide .lhg-stages__body { grid-template-columns: minmax(0, 1fr); gap: var(--lhg-space-5); }
  #lh-guide .lhg-stages__summary { padding: var(--lhg-space-6); }
}
@media (max-width: 640px) {
  #lh-guide .lhg-stages__summary { padding: var(--lhg-space-5); gap: 10px; }
  #lh-guide .lhg-stages__title { font-size: 24px; }
  #lh-guide .lhg-step { padding: 18px var(--lhg-space-4); }
  #lh-guide .lhg-step__title { font-size: 18px; flex-basis: 100%; }
  /* Previous / Next stack as full-width buttons */
  #lh-guide .lhg-stages__nav { flex-direction: column; }
  #lh-guide .lhg-stages__nav .lhg-btn { --lhg-btn-width: 100%; }
  #lh-guide .lhg-stages__next { margin-left: 0 !important; }
}


/* ---------------------------------------------------------------------
 * 5.5 TOPICS - cards are disclosure buttons. guide.js moves the shared
 * panel into the grid, after the last card, so the content opens below
 * all the cards. Grid: 3 columns, 2 below 980px, 1 below 640px.
 * --------------------------------------------------------------------- */
#lh-guide .lhg-topics__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lhg-space-5);
  align-items: stretch;
}
#lh-guide .lhg-topic-card {
  --lhg-btn-direction: column;
  --lhg-btn-align-items: flex-start;
  --lhg-btn-justify: flex-start;
  --lhg-btn-text-align: left;
  --lhg-btn-gap: 6px;
  --lhg-btn-width: 100%;
  --lhg-btn-min-height: 0;
  --lhg-btn-padding: 18px 22px;
  --lhg-btn-radius: var(--lhg-radius-md);
  --lhg-btn-bg: var(--lhg-white);
  --lhg-btn-border: var(--lhg-control-border);
  --lhg-btn-fg: var(--lhg-navy);
  --lhg-btn-font-weight: 400;
}
#lh-guide .lhg-topic-card:hover { --lhg-btn-border: var(--lhg-teal); }
#lh-guide .lhg-topic-card[aria-expanded="true"] {
  --lhg-btn-bg: var(--lhg-navy);
  --lhg-btn-border: var(--lhg-navy);
  --lhg-btn-fg: var(--lhg-on-dark);
  --lhg-btn-shadow: 0 10px 24px rgba(22, 40, 61, 0.22);
  --lhg-focus: var(--lhg-navy);
}
#lh-guide .lhg-topic-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
#lh-guide .lhg-topic-card__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--lhg-teal);
}
#lh-guide .lhg-topic-card__title {
  font-family: var(--lhg-font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
#lh-guide .lhg-topic-card__summary {
  font-size: 15px;
  line-height: 1.45;
  color: var(--lhg-text-muted);
}
#lh-guide .lhg-topic-card__state {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
  font-size: 14px;
  white-space: nowrap;
  font-weight: 700;
  color: var(--lhg-teal);
}
#lh-guide .lhg-topic-card__chevron { transition: transform 0.2s ease; }
#lh-guide .lhg-topic-card[aria-expanded="true"] .lhg-topic-card__kicker,
#lh-guide .lhg-topic-card[aria-expanded="true"] .lhg-topic-card__state { color: var(--lhg-teal-light); }
#lh-guide .lhg-topic-card[aria-expanded="true"] .lhg-topic-card__summary { color: var(--lhg-on-dark-muted); }
#lh-guide .lhg-topic-card[aria-expanded="true"] .lhg-topic-card__chevron { transform: rotate(180deg); }

/* The open topic's content */
#lh-guide .lhg-topic-panel {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 36px;
  border: 1px solid var(--lhg-line-strong);
  border-top: 5px solid var(--lhg-navy);
  border-radius: var(--lhg-radius-lg);
  background: var(--lhg-white);
}
#lh-guide .lhg-topic-panel__header {
  display: flex;
  flex-direction: column;
  gap: var(--lhg-space-2);
  max-width: 780px;
}
#lh-guide .lhg-topic-panel__title { font-size: clamp(26px, calc(18px + 1.6vw), 32px); color: var(--lhg-navy); }
#lh-guide .lhg-topic-panel__intro { font-size: 17px; line-height: 1.6; color: var(--lhg-text-muted); }
#lh-guide .lhg-topic-panel__sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--lhg-space-5) 40px;
}
#lh-guide .lhg-topic-panel__section,
#lh-guide .lhg-topic-panel__sources {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--lhg-line);
}
#lh-guide .lhg-topic-panel__subheading { font-size: 19px; color: var(--lhg-navy); }
#lh-guide .lhg-topic-panel__sources-title {
  font-family: var(--lhg-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--lhg-teal);
}
#lh-guide .lhg-topic-panel__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#lh-guide .lhg-topic-panel__close { align-self: flex-start; }

@media (max-width: 980px) {
  #lh-guide .lhg-topics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lhg-space-4); }
  #lh-guide .lhg-topic-panel { padding: 28px; }
}
@media (max-width: 640px) {
  #lh-guide .lhg-topics__grid { grid-template-columns: minmax(0, 1fr); gap: var(--lhg-space-3); }
  #lh-guide .lhg-topic-card { --lhg-btn-min-height: 0; --lhg-btn-padding: 14px 18px; }
  #lh-guide .lhg-topic-card__title { font-size: 21px; }
  #lh-guide .lhg-topic-panel {
    gap: var(--lhg-space-5);
    margin-top: calc(var(--lhg-space-1) * -1);
    padding: var(--lhg-space-5) var(--lhg-space-4);
  }
  #lh-guide .lhg-topic-panel__sections { grid-template-columns: minmax(0, 1fr); gap: var(--lhg-space-4); }
  #lh-guide .lhg-topic-panel__links { flex-direction: column; }
  #lh-guide .lhg-topic-panel__links .lhg-btn,
  #lh-guide .lhg-topic-panel__close { --lhg-btn-width: 100%; }
  #lh-guide .lhg-topic-panel__close { align-self: stretch; }
}


/* ---------------------------------------------------------------------
 * 5.6 MONEY AT A GLANCE
 * --------------------------------------------------------------------- */
#lh-guide .lhg-money__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lhg-space-5);
}
#lh-guide .lhg-money__item { display: flex; }
#lh-guide .lhg-money__card {
  display: flex;
  flex-direction: column;
  gap: var(--lhg-space-2);
  width: 100%;
  padding: 22px;
  border: 1px solid var(--lhg-line);
  border-radius: var(--lhg-radius-md);
  background: var(--lhg-white);
  color: var(--lhg-text) !important;
  text-decoration: none !important;
}
#lh-guide .lhg-money__card:hover { border-color: var(--lhg-teal); }
#lh-guide .lhg-money__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--lhg-teal);
}
#lh-guide .lhg-money__figure {
  font-family: var(--lhg-font-heading);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--lhg-navy);
}
#lh-guide .lhg-money__detail { font-size: 15px; line-height: 1.55; color: var(--lhg-text-muted); }

@media (max-width: 980px) {
  #lh-guide .lhg-money__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lhg-space-4); }
}
@media (max-width: 640px) {
  #lh-guide .lhg-money__grid { grid-template-columns: minmax(0, 1fr); gap: var(--lhg-space-3); }
  #lh-guide .lhg-money__card { padding: 18px; }
  #lh-guide .lhg-money__figure { font-size: 24px; }
}


/* ---------------------------------------------------------------------
 * 5.7 CHECKLIST (static list in four stage cards)
 * --------------------------------------------------------------------- */
#lh-guide .lhg-checklist__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--lhg-space-6) var(--lhg-space-7);
}
#lh-guide .lhg-checklist__tip {
  display: flex;
  align-items: center;
  gap: var(--lhg-space-3);
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--lhg-teal-pale);
  color: var(--lhg-teal-dark);
  font-size: 15px;
  line-height: 1.45;
}
#lh-guide .lhg-checklist__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--lhg-space-5);
  align-items: start;
}
#lh-guide .lhg-checklist__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lhg-line);
  border-radius: 18px;
  background: var(--lhg-white);
}
#lh-guide .lhg-checklist__card-header {
  display: flex;
  flex-direction: column;
  gap: var(--lhg-space-1);
  padding: 18px 22px;
  background: var(--lhg-navy);
  color: var(--lhg-on-dark);
}
#lh-guide .lhg-checklist__number {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--lhg-teal-light);
}
#lh-guide .lhg-checklist__title { font-size: 22px; color: var(--lhg-on-dark); }
#lh-guide .lhg-checklist__count { font-size: 14px; color: var(--lhg-on-dark-soft); }
#lh-guide .lhg-checklist__items {
  display: flex;
  flex-direction: column;
  padding: 6px 22px 14px;
}
#lh-guide .lhg-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--lhg-space-3);
  padding: var(--lhg-space-3) 0;
  border-bottom: 1px solid var(--lhg-sand);
  font-size: 16px;
  line-height: 1.45;
  color: var(--lhg-text);
}
#lh-guide .lhg-checklist__item:last-child { border-bottom: 0; }
#lh-guide .lhg-checklist__box { margin-top: 1px; color: var(--lhg-teal); }

@media (max-width: 1100px) {
  #lh-guide .lhg-checklist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #lh-guide .lhg-checklist__grid { grid-template-columns: minmax(0, 1fr); gap: var(--lhg-space-4); }
  #lh-guide .lhg-checklist__tip { max-width: none; width: 100%; }
  #lh-guide .lhg-checklist__card-header { padding: var(--lhg-space-4) 18px; }
  #lh-guide .lhg-checklist__items { padding: var(--lhg-space-1) 18px var(--lhg-space-2); }
}


/* ---------------------------------------------------------------------
 * 5.8 SUPPORT (crisis box, filters, organisations)
 * --------------------------------------------------------------------- */
#lh-guide .lhg-support__header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--lhg-space-6) var(--lhg-space-8);
  align-items: end;
}
#lh-guide .lhg-crisis {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--lhg-space-5) 22px;
  border-radius: var(--lhg-radius-md);
  background: var(--lhg-cream);
  color: var(--lhg-text);
}
#lh-guide .lhg-crisis__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--lhg-alert);
}
#lh-guide .lhg-crisis__text { font-size: 16px; line-height: 1.6; }
#lh-guide .lhg-crisis__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lhg-space-2);
  margin-top: var(--lhg-space-2);
}

#lh-guide .lhg-support__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lhg-space-5);
}
#lh-guide .lhg-org {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--lhg-navy-line);
  border-radius: var(--lhg-radius-md);
  background: var(--lhg-navy-raised);
}
#lh-guide .lhg-org__name { font-size: 20px; color: var(--lhg-on-dark); }
#lh-guide .lhg-org__description {
  flex-grow: 1;
  font-size: 15px;
  line-height: 1.55;
  color: var(--lhg-on-dark-muted);
}
#lh-guide .lhg-org__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--lhg-space-2) 14px;
}
#lh-guide .lhg-org__website {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: var(--lhg-target);
  padding: 0 4px;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 980px) {
  #lh-guide .lhg-support__header { grid-template-columns: minmax(0, 1fr); align-items: start; }
  #lh-guide .lhg-support__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lhg-space-4); }
}
@media (max-width: 640px) {
  #lh-guide .lhg-support__grid { grid-template-columns: minmax(0, 1fr); gap: var(--lhg-space-3); }
  #lh-guide .lhg-org { padding: 18px; }
  #lh-guide .lhg-crisis { padding: 18px; }
  #lh-guide .lhg-crisis__actions { flex-direction: column; }
  #lh-guide .lhg-crisis__actions .lhg-btn,
  #lh-guide .lhg-today__help .lhg-btn { --lhg-btn-width: 100%; }
  #lh-guide .lhg-today__help { align-items: stretch; }
}


/* ---------------------------------------------------------------------
 * 5.9 FAQs (accordion)
 * --------------------------------------------------------------------- */
#lh-guide .lhg-faqs__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#lh-guide .lhg-faq {
  border: 1px solid var(--lhg-control-border);
  border-radius: 14px;
  background: var(--lhg-white);
}
#lh-guide .lhg-faq__question { font-size: inherit; }
#lh-guide .lhg-faq__toggle {
  --lhg-btn-width: 100%;
  --lhg-btn-justify: space-between;
  --lhg-btn-text-align: left;
  --lhg-btn-gap: 16px;
  --lhg-btn-min-height: 60px;
  --lhg-btn-padding: 16px 20px;
  --lhg-btn-radius: 14px;
  --lhg-btn-border-width: 0;
  --lhg-btn-fg: var(--lhg-navy);
  --lhg-btn-font: var(--lhg-font-heading);
  --lhg-btn-font-size: 18px;
  --lhg-btn-font-weight: 600;
  --lhg-btn-line-height: 1.35;
}
#lh-guide .lhg-faq__toggle:hover { --lhg-btn-bg: var(--lhg-cream); }
#lh-guide .lhg-faq__sign {
  flex-shrink: 0;
  font-size: 26px;
  line-height: 1;
  color: var(--lhg-teal);
}
#lh-guide .lhg-faq__answer {
  padding: 0 20px 18px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--lhg-text-body);
}

@media (max-width: 640px) {
  #lh-guide .lhg-faq__toggle { --lhg-btn-padding: 14px 16px; --lhg-btn-font-size: 17px; }
  #lh-guide .lhg-faq__answer { padding: 0 16px 16px; }
}


/* ---------------------------------------------------------------------
 * 5.10 GLOSSARY
 * --------------------------------------------------------------------- */
#lh-guide .lhg-glossary__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lhg-space-6) var(--lhg-space-5);
}
#lh-guide .lhg-glossary__entry {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: var(--lhg-space-3);
  border-top: 2px solid var(--lhg-navy);
}
#lh-guide .lhg-glossary__term {
  font-family: var(--lhg-font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--lhg-navy);
}
#lh-guide .lhg-glossary__meaning { font-size: 15px; line-height: 1.55; color: var(--lhg-text-muted); }

@media (max-width: 980px) {
  #lh-guide .lhg-glossary__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #lh-guide .lhg-glossary__grid { grid-template-columns: minmax(0, 1fr); gap: var(--lhg-space-5); }
}


/* ---------------------------------------------------------------------
 * 5.11 LEGACY HUB CALL TO ACTION
 * --------------------------------------------------------------------- */
#lh-guide .lhg-cta { padding: 0 0 80px; }
#lh-guide .lhg-cta__card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: var(--lhg-space-8);
  border-radius: 24px;
  background: var(--lhg-teal);
  color: var(--lhg-on-dark);
}
#lh-guide .lhg-cta__title {
  max-width: 760px;
  font-size: clamp(25px, calc(16px + 2.6vw), 40px);
  line-height: 1.12;
  color: var(--lhg-on-dark);
}
#lh-guide .lhg-cta__text {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.6;
  color: #E4F2F0;
}
#lh-guide .lhg-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

@media (max-width: 640px) {
  #lh-guide .lhg-cta { padding-bottom: var(--lhg-space-8); }
  #lh-guide .lhg-cta__card { padding: 28px var(--lhg-space-5); border-radius: var(--lhg-radius-lg); }
  #lh-guide .lhg-cta__actions { flex-direction: column; }
  #lh-guide .lhg-cta__actions .lhg-btn { --lhg-btn-width: 100%; }
}


/* ---------------------------------------------------------------------
 * 5.12 FOOTER (contact, official links, disclaimer)
 * --------------------------------------------------------------------- */
#lh-guide .lhg-footer {
  padding: var(--lhg-space-8) 0;
  background: var(--lhg-navy-deep);
  color: var(--lhg-on-dark-soft);
  font-size: 15px;
  line-height: 1.55;
}
#lh-guide .lhg-footer .lhg-stack { gap: var(--lhg-space-6); }
#lh-guide .lhg-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lhg-space-7);
}
#lh-guide .lhg-footer__brand { display: flex; flex-direction: column; gap: 10px; }
#lh-guide .lhg-footer__name {
  font-family: var(--lhg-font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--lhg-on-dark);
}
#lh-guide .lhg-footer__heading {
  margin-bottom: var(--lhg-space-1);
  font-size: 17px;
  font-weight: 700;
  color: var(--lhg-on-dark);
}
#lh-guide .lhg-footer__links { display: flex; flex-direction: column; }
#lh-guide .lhg-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--lhg-target);
}
#lh-guide .lhg-footer__hours { margin-top: var(--lhg-space-1); }
#lh-guide .lhg-footer__disclaimer {
  padding-top: var(--lhg-space-5);
  border-top: 1px solid #22364D;
  font-size: 14px;
  line-height: 1.6;
  color: var(--lhg-on-dark-faint);
}

@media (max-width: 760px) {
  #lh-guide .lhg-footer__grid { grid-template-columns: minmax(0, 1fr); gap: var(--lhg-space-6); }
}

/* Shown only if JavaScript is off */
#lh-guide .lhg-noscript {
  padding: var(--lhg-space-6) var(--lhg-gutter);
  background: #FFF4E5;
  color: var(--lhg-text);
  text-align: center;
}


/* =====================================================================
 * 6. PRINT AND REDUCED MOTION
 * ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  #lh-guide *,
  #lh-guide *::before,
  #lh-guide *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  #lh-guide .lhg-guidenav { display: none; }
  #lh-guide .lhg-keyrules { margin-top: 0; }
  #lh-guide .lhg-today,
  #lh-guide .lhg-keyrules__card { box-shadow: none; }
  #lh-guide .lhg-checklist__card,
  #lh-guide .lhg-step,
  #lh-guide .lhg-org { break-inside: avoid; }
}
