/* Guides for parents (/guides/) only: linked after pages.css by the page's front matter "css": ["p-guides"].
   AEO package Phase 3, 18 Nov 2026 (a5); round 2 (w2g): "Start with your question" in the hero, the topic cards and the
   stage band in one pine chapter. Tokens from style.css. The card list between the GUIDES markers is Run 4's
   (tools/guides.py) and keeps pages.css's .guides-grid styles; nothing here touches it. */

/* FAQ questions are h3s inside the summary (one heading per question for engines); they look exactly like the summary */
.faq-item summary h3 { margin: 0; font: inherit; color: inherit; letter-spacing: inherit; text-wrap: pretty; }

/* hero: the words on the left, the decisions the guides answer on the right */
.gd-hero .crumbs ol { color: rgba(251, 248, 242, .8); }   /* the current page's crumb: under 4.5:1 at .62 on the gradient's bright top */
.gd-map { margin: 34px 0 0; padding: clamp(20px, 2.2vw, 30px) clamp(20px, 2.2vw, 30px) 8px; border: 1px solid rgba(227, 207, 165, .32); border-radius: 12px; background: rgba(7, 39, 36, .38); max-width: 560px; }
.gd-map__title { margin: 0 0 6px; font: 700 12.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); }
.gd-map ol { list-style: none; margin: 0; padding: 0; }
.gd-map li + li { border-top: 1px solid rgba(227, 207, 165, .2); }
.gd-map a { display: grid; gap: 3px; padding: 13px 0 12px; color: var(--paper); text-decoration: none; }
.gd-map a span { font: 600 13px/1.3 var(--sans); letter-spacing: .04em; color: rgba(251, 248, 242, .78); }
.gd-map a b { font: 400 clamp(19px, 1.5vw, 22px)/1.25 var(--serif); text-wrap: balance; }
.gd-map a b::after { content: "\00a0→"; color: var(--gold-l); transition: margin .3s; }
.gd-map a:hover b, .gd-map a:focus-visible b { color: var(--gold-l); }
@media (min-width: 961px) {
  /* the map is taller than the words: the spare height goes to an empty row under the crumbs, so the kicker, h1 and
     lead keep their spacing and sit on the map's baseline */
  .gd-hero .phero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-rows: auto 1fr auto auto auto; column-gap: clamp(48px, 6vw, 110px); }
  .gd-hero .phero__in > * { grid-column: 1; }
  .gd-hero .phero__in > .crumbs { grid-row: 1; }
  .gd-hero .phero__in > .kicker { grid-row: 3; }
  .gd-hero .phero__in > h1 { grid-row: 4; }
  .gd-hero .phero__in > .phero__lead { grid-row: 5; }
  .gd-hero .gd-map { grid-column: 2; grid-row: 1 / -1; align-self: end; justify-self: end; width: 100%; margin: 0; }
}

/* the guides list: its heading and the line about the 2024 posts side by side */
#guides .sec__head > p { max-width: 50ch; }

/* one pine chapter: the four topic cards, then the stages by age */
.gd-topics { gap: 20px; }
.gd-topics a { min-height: 340px; }
/* the wash sits behind the words only: a light shade over the whole photo, and a dark band that starts 64 px above the
   words (whatever their length) and is full under them, so the gold label stays over 4.5:1 and the photo above reads */
.gd-topics a::before { background: linear-gradient(to top, rgba(7, 39, 36, .5) 0%, rgba(7, 39, 36, 0) 70%); }
.gd-t__txt { position: relative; }
.gd-t__txt > * { display: block; }
.gd-t__txt::before { content: ""; position: absolute; z-index: -1; inset: -64px -28px -28px; background: linear-gradient(to top, rgba(7, 39, 36, .93) 0%, rgba(7, 39, 36, .88) calc(100% - 64px), rgba(7, 39, 36, 0) 100%); }
@media (max-width: 760px) { .gd-t__txt::before { inset: -56px -24px -24px; } }
.gd-t--cur img { object-position: 50% 10%; }
.gd-t--incl img { object-position: 50% 20%; }
.gd-topics b { font-size: clamp(26px, 2.3vw, 34px); max-width: 18ch; text-wrap: balance; }
.gd-topics b::after { content: "\00a0→"; }
.gd-topics span { display: block; margin-top: 12px; max-width: 46ch; font-size: 15.5px; line-height: 1.5; color: rgba(251, 248, 242, .9); }
@media (max-width: 760px) { .gd-topics a { min-height: 300px; padding: 24px; } }

.gd-stage { margin-top: clamp(56px, 7vw, 96px); }
.gd-stage__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px clamp(40px, 6vw, 110px); align-items: end; margin-bottom: clamp(26px, 3vw, 40px); }
.gd-stage__title { margin: 0; font: 400 clamp(28px, 2.8vw, 40px)/1.12 var(--serif); color: var(--paper); }
.gd-stage__head p { margin: 0; max-width: 60ch; color: rgba(251, 248, 242, .8); }
.gd-stage__head a { color: var(--gold-l); font-weight: 600; text-underline-offset: 3px; }
.sec--pine .gd-stages dd a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--gold); }
.sec--pine .gd-stages dd a:hover { color: var(--gold-l); }
.gd-stages dt { font-size: 12.5px; }
@media (max-width: 960px) { .gd-stage__head { grid-template-columns: minmax(0, 1fr); } }
