/* GCM theme, direction B "Clear Route": an informational guide publication.
   Per-site values come only from theme.json, which the design tokens and gcm_theme_options set:
   the palette (presets, plus --wp--custom--color--* when the control service sends a full
   palette), the heading and body fonts, and the radius scale. Without a full palette every
   shade is mixed from the five preset colors. */

:root {
  --c-base: var(--wp--preset--color--base, #fff);
  --c-ink: var(--wp--custom--color--ink, var(--wp--preset--color--contrast, #10221f));
  --c-primary: var(--wp--custom--color--primary, var(--wp--preset--color--primary, #0e7c6b));
  --c-primary-strong: var(--wp--custom--color--primary-strong, color-mix(in oklab, var(--c-primary) 82%, var(--c-ink)));
  --c-primary-deep: var(--wp--custom--color--primary-deep, color-mix(in oklab, var(--c-primary) 50%, var(--c-ink)));
  --c-primary-soft: var(--wp--custom--color--primary-soft, color-mix(in oklab, var(--c-primary) 11%, var(--c-base)));
  --c-primary-tint: var(--wp--custom--color--primary-tint, color-mix(in oklab, var(--c-primary) 5%, var(--c-base)));
  --c-text: var(--wp--custom--color--text, color-mix(in oklab, var(--c-ink) 86%, var(--c-base)));
  --c-muted: var(--wp--custom--color--muted, color-mix(in oklab, var(--c-ink) 70%, var(--c-base)));
  --c-line: var(--wp--custom--color--line, color-mix(in oklab, var(--c-ink) 10%, var(--c-base)));
  --c-line-strong: color-mix(in oklab, var(--c-line), var(--c-ink) 9%);
  --c-surface-alt: var(--wp--custom--color--surface-alt, color-mix(in oklab, var(--c-primary) 3%, color-mix(in oklab, var(--c-ink) 2%, var(--c-base))));
  --c-footer: var(--wp--custom--color--footer, color-mix(in oklab, var(--c-primary) 14%, color-mix(in oklab, var(--c-ink) 92%, #000)));
  --c-footer-text: color-mix(in oklab, var(--c-base) 76%, var(--c-footer));
  --c-footer-head: color-mix(in oklab, var(--c-base) 62%, var(--c-footer));

  /* Topic tints: background and text pairs that pass AA. The first follows the brand. */
  --t1-bg: var(--c-primary-soft); --t1-fg: var(--c-primary-strong);
  --t2-bg: #ebeefe; --t2-fg: #3c46b8;
  --t3-bg: #e3f1fa; --t3-fg: #0b5f8f;
  --t4-bg: #fdf1de; --t4-fg: #8a4b06;

  --font-body: var(--wp--preset--font-family--body, ui-sans-serif, system-ui, sans-serif);
  --font-heading: var(--wp--preset--font-family--heading, var(--font-body));
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.375rem, 1.1rem + 0.9vw, 1.625rem);
  --fs-2xl: clamp(1.625rem, 1.25rem + 1.4vw, 2.125rem);
  --fs-3xl: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --fs-4xl: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);

  --sp-3: 0.75rem; --sp-4: 1rem; --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem;
  --sp-9: clamp(4rem, 3rem + 4vw, 6.5rem);

  /* The token radius is the middle step; a full scale from gcm_theme_options wins. */
  --r-md: var(--wp--custom--radii--md, var(--wp--custom--radius, 12px));
  --r-sm: var(--wp--custom--radii--sm, calc(var(--r-md) * 0.67));
  --r-lg: var(--wp--custom--radii--lg, calc(var(--r-md) * 1.5));
  --r-xl: var(--wp--custom--radii--xl, calc(var(--r-md) * 2.17));
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(16 34 31 / 6%);
  --shadow-md: 0 1px 2px rgb(16 34 31 / 5%), 0 8px 24px -12px rgb(16 34 31 / 16%);
  --shadow-lg: 0 2px 4px rgb(16 34 31 / 4%), 0 24px 48px -20px color-mix(in oklab, var(--c-primary-deep) 30%, transparent);

  --w-wide: 1180px;
  --w-article: 1010px;
  --w-content: 700px;
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2rem);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-md); font-weight: 400; line-height: 1.65; color: var(--c-text); background: var(--c-base); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--c-ink); line-height: 1.2; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: var(--c-primary-strong); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--c-primary-deep); }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; border-radius: 6px; }
ul, ol { padding: 0; margin: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 100; padding: 0.6rem 1rem; border-radius: var(--r-sm); background: var(--c-ink); color: #fff; font-weight: 700; }
.skip-link:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { color: #fff; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Block layout: the theme spaces its own sections; only article text uses the block gap. */
/* As specific as WordPress's own flow rule, and later, so any rule below wins over both. */
:where(.wp-site-blocks) > *, :where(.site-main) > *, :where(.site-main) .wp-block-group > *, :where(.site-main) .wp-block-query > * { margin-block: 0; }
.container { width: 100%; max-width: calc(var(--w-wide) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--article { max-width: calc(var(--w-article) + var(--gutter) * 2); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--sp-9); }
.section--tint { background: var(--c-surface-alt); border-block: 1px solid var(--c-line); }
.section--list { padding-block: var(--sp-7) var(--sp-9); }
.section + .section:not(.section--tint), .section + .gcm-ad-slot[hidden] + .section:not(.section--tint) { padding-top: 0; }
.section--tint + .section:not(.section--tint), .section--tint + .gcm-ad-slot[hidden] + .section:not(.section--tint) { padding-top: var(--sp-9); }
/* Two tinted bands in a row read as one: the second goes white, as the approved design alternates. */
.section--tint + .section--tint, .section--tint + .gcm-ad-slot[hidden] + .section--tint { background: var(--c-base); border-top: 0; }
.site-main > .gcm-ad-slot { max-width: calc(var(--w-wide) + var(--gutter) * 2); margin: var(--sp-6) auto; padding-inline: var(--gutter); }

.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-primary-strong); }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-5); margin-bottom: var(--sp-7); }
.section-head__text { display: flex; align-items: center; gap: var(--sp-4); min-width: 0; }
.section-head h2 { font-size: var(--fs-2xl); margin-top: 0.5rem; }
.section-head p { color: var(--c-muted); margin-top: 0.6rem; max-width: 52ch; }
.section-title { font-size: var(--fs-2xl); margin-bottom: var(--sp-6); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; font-size: var(--fs-sm); font-weight: 700; text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform 0.15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 44px; padding: 0.7rem 1.2rem; border: 1px solid transparent; border-radius: var(--r-pill); font: inherit; font-size: var(--fs-sm); font-weight: 700; text-decoration: none; cursor: pointer; }
.btn--primary { background: var(--c-primary-strong); color: #fff; }
.btn--primary:hover { background: var(--c-primary-deep); color: #fff; }

/* ---------- Header ---------- */
.site-header-part { position: sticky; top: 0; z-index: 50; }
.site-header { background: rgb(255 255 255 / 94%); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--c-line); }
.site-header__inner { display: flex; align-items: center; gap: var(--sp-6); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; flex-shrink: 0; min-width: 0; color: var(--c-ink); text-decoration: none; }
.brand:hover { color: var(--c-ink); }
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand__tile { fill: var(--c-primary); }
.brand__glyph { fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.brand__name { font-family: var(--font-heading); font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__name span { color: var(--c-primary-strong); }
.primary-nav { margin-left: auto; min-width: 0; }
.primary-nav ul { display: flex; gap: 0.25rem; list-style: none; }
.primary-nav a { display: block; padding: 0.5rem 0.85rem; border-radius: var(--r-pill); color: var(--c-text); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover { background: var(--c-primary-tint); color: var(--c-primary-strong); }
.primary-nav a[aria-current], .primary-nav a.is-active { background: var(--c-primary-soft); color: var(--c-primary-strong); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.primary-nav + .header-actions { margin-left: 0; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: transparent; color: var(--c-ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--c-line-strong); background: var(--c-surface-alt); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }
.primary-nav { overflow: hidden; }
.primary-nav li:nth-child(n + 6) { display: none; }
.nav-6 .menu-toggle { display: inline-grid; }
@media (max-width: 1180px) {
  .primary-nav li:nth-child(n + 5) { display: none; }
  .nav-5 .menu-toggle { display: inline-grid; }
}

.gcm-popover { position: fixed; inset: var(--header-h) 0 auto 0; width: 100%; max-width: none; margin: 0; padding: var(--sp-5) 0; border: 0; border-bottom: 1px solid var(--c-line); background: var(--c-base); color: var(--c-text); box-shadow: 0 20px 30px -20px rgb(16 34 31 / 25%); }
.gcm-popover::backdrop { background: rgb(16 34 31 / 18%); }
.menu-panel { padding: var(--sp-3) var(--gutter) var(--sp-5); }
.menu-panel ul { display: grid; gap: 2px; list-style: none; }
.menu-panel a { display: block; padding: 0.85rem 1rem; border-radius: var(--r-md); color: var(--c-ink); font-weight: 600; text-decoration: none; }
.menu-panel a:hover, .menu-panel a[aria-current] { background: var(--c-primary-soft); color: var(--c-primary-strong); }

.search-form label { display: block; margin-bottom: 0.6rem; color: var(--c-ink); font-size: var(--fs-sm); font-weight: 700; }
.search-form__field { display: flex; align-items: center; gap: 0.5rem; max-width: 640px; padding: 0.3rem 0.3rem 0.3rem 1rem; border: 1px solid var(--c-line-strong); border-radius: var(--r-pill); background: #fff; }
.search-form__field:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-soft); }
.search-form__field svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--c-muted); }
.search-form input { flex: 1; min-width: 0; padding: 0.55rem 0; border: 0; outline: 0; background: transparent; color: var(--c-ink); font: inherit; font-size: max(16px, 1em); }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header__inner { gap: var(--sp-4); }
  .primary-nav { display: none; }
  /* The hidden nav is still the actions' neighbour, so the rule above would leave them by the logo. */
  .primary-nav + .header-actions { margin-left: auto; }
  .header-actions { gap: 0.375rem; }
  .menu-toggle { display: inline-grid; }
}

/* ---------- Pills, icons, chips ---------- */
.pill { display: inline-flex; align-items: center; align-self: flex-start; padding: 0.2rem 0.65rem; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 700; line-height: 1.45; text-decoration: none; }
a.pill:hover { text-decoration: underline; }
.t1 { background: var(--t1-bg); color: var(--t1-fg); }
.t2 { background: var(--t2-bg); color: var(--t2-fg); }
.t3 { background: var(--t3-bg); color: var(--t3-fg); }
.t4 { background: var(--t4-bg); color: var(--t4-fg); }
a.t1:hover { color: var(--t1-fg); } a.t2:hover { color: var(--t2-fg); } a.t3:hover { color: var(--t3-fg); } a.t4:hover { color: var(--t4-fg); }
.icon-pill { display: inline-grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; }
.icon-pill svg { width: 24px; height: 24px; }
.icon-pill--lg { width: 60px; height: 60px; border-radius: 18px; }
.icon-pill--lg svg { width: 30px; height: 30px; }
.icon-pill--sm { width: 32px; height: 32px; border-radius: 9px; }
.icon-pill--sm svg { width: 16px; height: 16px; }
.icon-pill--xs { width: 24px; height: 24px; border-radius: 7px; }
.icon-pill--xs svg { width: 14px; height: 14px; }

/* ---------- Photos and drawn fallbacks ---------- */
.gcm-img { width: 100%; height: 100%; object-fit: cover; }
.media-t1 { background: linear-gradient(140deg, var(--c-primary-tint), var(--c-primary-soft)); color: var(--c-primary); }
.media-t2 { background: linear-gradient(140deg, #eef0fe, #dde2fb); color: #4650c9; }
.media-t3 { background: linear-gradient(140deg, #e8f3fb, #d4e8f6); color: #0d6ea6; }
.media-t4 { background: linear-gradient(140deg, #fdf4e4, #f8e6c6); color: #a4600f; }
.has-photo { background: var(--c-surface-alt); }
.line-art { width: 100%; height: 100%; }
.gcm-photo-credit { margin-top: 0.6rem; color: var(--c-muted); font-size: var(--fs-xs); line-height: 1.5; }
.gcm-photo-credit a { color: inherit; }

/* ---------- Front page ---------- */
/* The band: a soft tint from the brand color, the headline, and the featured story on its photo. */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3rem, 2rem + 3vw, 4.5rem); background: radial-gradient(900px 420px at 85% -10%, color-mix(in oklab, var(--c-primary) 13%, var(--c-base)) 0%, color-mix(in oklab, var(--c-primary) 0%, transparent) 70%), radial-gradient(700px 380px at -10% 110%, color-mix(in oklab, var(--c-primary) 7%, var(--c-base)) 0%, color-mix(in oklab, var(--c-primary) 0%, transparent) 70%), var(--c-base); border-bottom: 1px solid var(--c-line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: var(--sp-8); align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; max-width: 100%; padding: 0.35rem 0.85rem 0.35rem 0.4rem; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: #fff; box-shadow: var(--shadow-sm); color: var(--c-text); font-size: var(--fs-xs); font-weight: 600; line-height: 1.4; text-decoration: none; }
.hero__badge b { flex-shrink: 0; padding: 0.1rem 0.55rem; border-radius: var(--r-pill); background: var(--c-primary-strong); color: #fff; font-weight: 700; }
a.hero__badge:hover { border-color: var(--c-primary); color: var(--c-primary-strong); }
.hero h1 { max-width: 15ch; margin-top: var(--sp-5); font-size: var(--fs-4xl); letter-spacing: -0.035em; line-height: 1.1; }
.hero h1.is-long { max-width: 19ch; font-size: var(--fs-3xl); line-height: 1.15; }
.hero h1 em { color: var(--c-primary); font-style: normal; }
.hero__lede { max-width: 48ch; margin-top: var(--sp-5); color: var(--c-muted); font-size: var(--fs-lg); line-height: 1.55; }
.hero__topics { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.5rem; margin-top: var(--sp-6); color: var(--c-muted); font-size: var(--fs-xs); }
.hero__topics a { padding: 0.25rem 0.7rem; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: rgb(255 255 255 / 80%); color: var(--c-text); font-weight: 600; text-decoration: none; }
.hero__topics a:hover { border-color: var(--c-primary); color: var(--c-primary-strong); }

.hero__art { position: relative; aspect-ratio: 5 / 4.4; }
.hero__photo { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: var(--r-xl); background: linear-gradient(155deg, var(--c-primary-tint) 0%, var(--c-primary-soft) 100%); box-shadow: var(--shadow-lg); }
.hero__photo img { transition: transform 0.4s ease; }
.lead-story:hover .hero__photo img { transform: scale(1.02); }
.hero__check { position: absolute; top: var(--sp-5); left: var(--sp-5); display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.9rem 0.55rem 0.55rem; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-md); color: var(--c-muted); font-size: var(--fs-xs); line-height: 1.35; }
.hero__check strong { display: block; color: var(--c-ink); font-size: 0.875rem; }
.hero__card { position: absolute; left: var(--sp-5); right: var(--sp-5); bottom: var(--sp-5); display: flex; flex-direction: column; gap: 0.55rem; padding: var(--sp-5); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); }
.hero__card-label { color: var(--c-muted); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero__card .pill { position: absolute; top: var(--sp-5); right: var(--sp-5); z-index: 1; }
.lead-story__title { font-size: var(--fs-xl); line-height: 1.25; letter-spacing: -0.025em; }
.lead-story__title a { color: var(--c-ink); text-decoration: none; }
.lead-story__title a::after { content: ""; position: absolute; inset: 0; }
.lead-story__title a:hover { color: var(--c-primary-strong); }
.hero__card .card__meta { padding-top: 0; }
.hero__card--note { flex-direction: row; align-items: center; gap: var(--sp-4); }
.hero__card--note strong { display: block; color: var(--c-ink); }
.hero__card--note p { color: var(--c-muted); font-size: var(--fs-sm); }
.hero__art > .gcm-photo-credit { position: absolute; top: 100%; left: 0; margin-top: 0.6rem; }

.hero .topics { margin-top: clamp(3rem, 2.25rem + 2.5vw, 4.5rem); }

.path { --steps: 4; position: relative; display: grid; grid-template-columns: repeat(var(--steps), minmax(0, 1fr)); gap: var(--sp-5); list-style: none; }
.path::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background-image: linear-gradient(90deg, var(--c-primary) 50%, transparent 50%); background-size: 12px 2px; opacity: 0.45; }
.path__step { position: relative; }
.path__num { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--c-primary); border-radius: 50%; background: #fff; color: var(--c-primary-strong); font-weight: 800; box-shadow: 0 0 0 6px var(--c-surface-alt); }
.path__step:first-child .path__num { background: var(--c-primary-strong); border-color: var(--c-primary-strong); color: #fff; }
.path__card { margin-top: var(--sp-5); }
.path__card h3 { font-size: var(--fs-lg); }
.path__card p { margin-top: 0.4rem; color: var(--c-muted); font-size: var(--fs-sm); }
.path__card a { display: inline-block; margin-top: 0.75rem; font-size: var(--fs-sm); font-weight: 700; text-decoration: none; }
.path__card a:hover { text-decoration: underline; }

.list-links { list-style: none; border-top: 1px solid var(--c-line); }
.list-links li { border-bottom: 1px solid var(--c-line); }
.list-links a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--sp-4); align-items: center; padding: 1.1rem 0.25rem; color: var(--c-ink); text-decoration: none; }
.list-links__title { display: block; color: var(--c-ink); font-size: var(--fs-md); font-weight: 650; letter-spacing: -0.01em; line-height: 1.35; transition: color 0.15s; }
.list-links a:hover .list-links__title { color: var(--c-primary-strong); }
.list-links small { display: block; margin-top: 0.15rem; color: var(--c-muted); font-size: var(--fs-xs); font-weight: 500; }
.list-links .icon-pill { width: 40px; height: 40px; border-radius: 11px; }
.list-links .icon-pill svg { width: 20px; height: 20px; }
.chev { width: 20px; height: 20px; color: var(--c-muted); }


/* ---------- Cards and lists ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); list-style: none; }
.card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; transition: border-color 0.15s ease, box-shadow 0.2s ease; }
.card:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 0.65rem; padding: var(--sp-5); }
.card__title { font-size: 1.1875rem; line-height: 1.3; }
.card__title a { color: var(--c-ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__title a:hover { color: var(--c-primary-strong); }
.card .pill, .row-card .pill { position: relative; z-index: 1; }
.card__excerpt { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.6; }
.card__meta { margin-top: auto; padding-top: 0.3rem; color: var(--c-muted); font-size: var(--fs-xs); font-weight: 500; }

.article-rows { display: grid; gap: var(--sp-3); list-style: none; }
.row-card { position: relative; display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: var(--sp-5); align-items: center; padding: var(--sp-3); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; transition: border-color 0.15s, box-shadow 0.2s; }
.row-card:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-md); }
.row-card__media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-md); }
.row-card__body { display: flex; flex-direction: column; gap: 0.4rem; padding-right: var(--sp-3); }
.row-card .card__title { font-size: var(--fs-lg); }
.row-card .card__meta { margin-top: 0.1rem; padding-top: 0; }

.topics { --tiles: 4; display: grid; grid-template-columns: repeat(var(--tiles), minmax(0, 1fr)); gap: var(--sp-4); list-style: none; }
.topics > li { display: flex; min-width: 0; }
.topic-tile { position: relative; display: flex; flex: 1; flex-direction: column; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; color: inherit; text-decoration: none; transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.topic-tile:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
.topic-tile__media { aspect-ratio: 16 / 8; overflow: hidden; }
.topic-tile > .icon-pill { position: relative; z-index: 1; margin: -26px 0 0 var(--sp-5); box-shadow: 0 0 0 4px #fff; }
.topic-tile__body { padding: var(--sp-4) var(--sp-5) 0; }
.topic-tile h2, .topic-tile h3 { font-size: var(--fs-lg); }
.topic-tile p { margin-top: 0.35rem; color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.55; }
.topic-tile__foot { display: flex; justify-content: space-between; align-items: center; margin: auto var(--sp-5) var(--sp-5); padding-top: var(--sp-3); border-top: 1px dashed var(--c-line); color: var(--c-muted); font-size: var(--fs-xs); font-weight: 600; }
.topic-tile__body + .topic-tile__foot { margin-top: auto; }
.topic-tile__body { margin-bottom: var(--sp-4); }
.topic-tile__foot span:last-child { color: var(--c-primary-strong); font-weight: 700; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); list-style: none; }
.trust__item { display: flex; align-items: flex-start; gap: var(--sp-4); }
.trust__item .icon-pill { width: 44px; height: 44px; border-radius: 12px; }
.trust__item .icon-pill svg { width: 22px; height: 22px; }
.trust__item h3 { font-size: var(--fs-md); }
.trust__item p { margin-top: 0.3rem; color: var(--c-muted); font-size: var(--fs-sm); }
.about-strip__more { margin-top: var(--sp-6); }

.container--list { max-width: calc(900px + var(--gutter) * 2); }
.hub-empty { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-4); align-items: start; margin-bottom: var(--sp-5); padding: var(--sp-5); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; }
.hub-empty h3 { font-size: var(--fs-lg); }
.hub-empty p { margin-top: 0.35rem; max-width: 60ch; color: var(--c-muted); font-size: var(--fs-sm); }

.pagination { margin-top: var(--sp-6); gap: 0.5rem; font-size: var(--fs-sm); font-weight: 700; }
.pagination a, .pagination .current { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding-inline: 0.75rem; border: 1px solid var(--c-line); border-radius: var(--r-pill); text-decoration: none; }
.pagination .current { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.wp-block-query-pagination-numbers, .pagination ul { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; }
.empty-state { padding: var(--sp-6); border: 1px dashed var(--c-line-strong); border-radius: var(--r-lg); color: var(--c-muted); text-align: center; }

/* ---------- Breadcrumbs ---------- */
.gcm-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; color: var(--c-muted); font-size: var(--fs-xs); font-weight: 600; }
.gcm-breadcrumbs li { display: inline-flex; align-items: center; gap: 0.35rem; }
.gcm-breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; margin-right: 0.2rem; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.6; }
.gcm-breadcrumbs a { color: var(--c-muted); text-decoration: none; }
.gcm-breadcrumbs a:hover { color: var(--c-primary-strong); text-decoration: underline; }
.gcm-breadcrumbs [aria-current] { color: var(--c-ink); }

/* ---------- Page heads ---------- */
.page-hero { padding-block: var(--sp-7) var(--sp-6); border-bottom: 1px solid var(--c-line); background: linear-gradient(180deg, var(--c-primary-tint), var(--c-base)); }
.page-hero h1 { max-width: 24ch; margin-top: var(--sp-5); font-size: var(--fs-3xl); letter-spacing: -0.03em; }
.page-hero .icon-pill { margin-top: var(--sp-5); }
.page-hero .icon-pill + h1 { margin-top: var(--sp-4); }
.page-hero .wp-block-term-description, .page-hero__lede, .page-hero .standfirst { max-width: 60ch; margin-top: var(--sp-4); color: var(--c-muted); font-size: var(--fs-lg); line-height: 1.55; }
.page-hero .search-form, .page-hero .gcm-finder { margin-top: var(--sp-5); }
.page-body { padding-block: var(--sp-7) var(--sp-8); }

.hub-hero { padding-block: var(--sp-7) var(--sp-8); border-bottom: 1px solid var(--c-line); background: linear-gradient(180deg, var(--c-primary-tint), var(--c-base)); }
.hub-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--sp-8); align-items: center; }
.hub-hero__text .icon-pill { margin-top: var(--sp-6); }
.hub-hero h1 { margin-top: var(--sp-4); font-size: var(--fs-3xl); letter-spacing: -0.03em; }
.hub-hero .standfirst { max-width: 54ch; }
.hub-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--sp-6); }
.chip { padding: 0.3rem 0.8rem; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: #fff; color: var(--c-text); font-size: var(--fs-xs); font-weight: 600; }
.hero-media { margin: 0; }
.hero-media img, .hero-media .line-art { border-radius: var(--r-lg); }
.hero-media--hub img, .hero-media--hub .line-art { aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.hero-media--art { overflow: hidden; border-radius: var(--r-lg); }
.hub-intro { padding-block: var(--sp-7); }
.hub-intro:has(.prose:empty) { display: none; }
.hub-intro .prose { max-width: 760px; color: var(--c-muted); font-size: var(--fs-lg); line-height: 1.6; }
.aside-card > .icon-pill { margin-bottom: var(--sp-3); }
.hub-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--sp-7); align-items: start; }
.aside-stack { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--sp-5); }
.aside-card { padding: var(--sp-5); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; }
.aside-card--tint { border-color: color-mix(in oklab, var(--c-primary) 18%, var(--c-base)); background: var(--c-primary-tint); }
.aside-card h2 { font-size: var(--fs-md); }
.aside-card p { margin-top: 0.4rem; color: var(--c-muted); font-size: var(--fs-sm); }
.aside-card p + p { margin-top: var(--sp-3); }
.aside-card ul { margin-top: var(--sp-3); list-style: none; }
.aside-card li a { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; border-top: 1px solid var(--c-line); color: var(--c-ink); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
.aside-card li:first-child a { border-top: 0; }
.aside-card li a:hover { color: var(--c-primary-strong); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--sp-8); align-items: start; padding-block: var(--sp-7) var(--sp-8); }
.about-grid .page-body { padding: 0; }

/* ---------- Article ---------- */
.article-head { padding-block: var(--sp-7) var(--sp-6); }
.article-head > * { max-width: 820px; }
.article-head .pill { margin-top: var(--sp-5); }
.article-head h1 { margin-top: var(--sp-4); font-size: var(--fs-3xl); letter-spacing: -0.03em; }
.standfirst { max-width: 62ch; margin-top: var(--sp-4); color: var(--c-muted); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); line-height: 1.55; }
.byline { display: flex; align-items: center; gap: 0.75rem; margin-top: var(--sp-5); color: var(--c-muted); font-size: var(--fs-sm); }
.byline__avatar .brand__mark { width: 32px; height: 32px; }
.byline__meta { display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.45rem; }
.byline__meta a { color: var(--c-ink); font-weight: 700; text-decoration: none; }
.byline__meta a:hover { text-decoration: underline; }
.byline .dot { opacity: 0.5; }
.article-hero .hero-media img, .article-hero .line-art { aspect-ratio: 16 / 9; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, var(--w-content)); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; padding-block: var(--sp-7) var(--sp-8); }
.article-layout:not(:has(.toc)) { grid-template-columns: minmax(0, var(--w-content)); justify-content: center; }
.tool-wrap { padding-bottom: var(--sp-5); }

.toc { position: sticky; top: calc(var(--header-h) + 28px); }
.toc__label { display: block; margin-bottom: var(--sp-3); color: var(--c-muted); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.toc ol { border-left: 2px solid var(--c-line); list-style: none; }
.toc li a { display: block; margin-left: -2px; padding: 0.4rem 0 0.4rem 1rem; border-left: 2px solid transparent; color: var(--c-muted); font-size: var(--fs-sm); font-weight: 500; line-height: 1.4; text-decoration: none; }
.toc li a:hover { color: var(--c-ink); }
.toc li a[aria-current] { border-left-color: var(--c-primary); color: var(--c-primary-strong); font-weight: 700; }
.toc__share { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: var(--fs-xs); }
.toc__share a { font-weight: 700; }
.toc__mobile { display: none; }
.toc__mobile summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; list-style: none; cursor: pointer; }
.toc__mobile summary::-webkit-details-marker { display: none; }
.toc__mobile summary .toc__label { margin: 0; }
.toc__mobile summary::after { content: "+"; color: var(--c-primary-strong); font-size: 1.25rem; font-weight: 700; line-height: 1; }
.toc__mobile[open] summary::after { content: "–"; }
.toc__mobile[open] ol { margin-top: 0.5rem; }

.prose { color: var(--c-text); font-size: 1.125rem; line-height: 1.75; }
.prose > * + * { margin-block-start: 1.25em; }
.prose h2 { margin-block-start: 2.2em; font-size: var(--fs-2xl); letter-spacing: -0.025em; }
.prose h3 { margin-block-start: 1.8em; font-size: var(--fs-xl); }
.prose > :first-child { margin-block-start: 0; }
.prose h2 + *, .prose h3 + * { margin-block-start: 0.7em; }
.prose strong { color: var(--c-ink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.5em; }
.prose ul li::marker { color: var(--c-primary); }
.prose ol li::marker { color: var(--c-primary-strong); font-weight: 700; }
.prose a { font-weight: 600; text-decoration-color: color-mix(in oklab, var(--c-primary) 45%, transparent); text-decoration-thickness: 2px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose figure { margin-inline: 0; }
.prose figure img { border-radius: var(--r-lg); }
.prose figcaption { margin-top: 0.7rem; color: var(--c-muted); font-size: var(--fs-xs); line-height: 1.5; }
.prose blockquote { margin-inline: 0; padding: var(--sp-5); border: 1px solid color-mix(in oklab, var(--c-primary) 18%, var(--c-base)); border-radius: var(--r-lg); background: var(--c-primary-tint); }
.prose .wp-block-table { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.5; }
.prose .wp-block-table thead, .prose .wp-block-table tfoot { border: 0; }
.prose th, .prose td, .prose .wp-block-table th, .prose .wp-block-table td { padding: 0.8rem var(--sp-4); border: 0; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.prose .wp-block-table tbody tr:last-child td { border-bottom: 0; }
.prose thead th { background: var(--c-surface-alt); color: var(--c-muted); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; }
.prose tbody tr:last-child > * { border-bottom: 0; }
.prose .gcm-ad-slot { margin-block: 2em; }
.prose h2[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.sources, .gcm-sources { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: var(--fs-sm); }
.gcm-sources h2 { margin-bottom: 0.5rem; font-size: var(--fs-md); }
.gcm-sources ul { padding-left: 1.2em; }
.gcm-sources li + li { margin-top: 0.3rem; }
.article-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: var(--fs-sm); }
.article-foot a { font-weight: 700; }

/* Facts: key figures as a definition list. */
.gcm-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--sp-5); margin: 0 0 var(--sp-6); padding: var(--sp-3) var(--sp-5); border: 1px solid color-mix(in oklab, var(--c-primary) 18%, var(--c-base)); border-radius: var(--r-lg); background: var(--c-primary-tint); }
.gcm-facts > div { padding-block: 0.75rem; border-top: 1px solid color-mix(in oklab, var(--c-primary) 14%, var(--c-base)); }
.gcm-facts > div:nth-child(-n + 2) { border-top: 0; }
.gcm-facts dt { color: var(--c-muted); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.gcm-facts dd { margin: 0.2rem 0 0; color: var(--c-ink); font-weight: 700; overflow-wrap: anywhere; }
.gcm-data-source { margin: -1rem 0 var(--sp-6); color: var(--c-muted); font-size: var(--fs-xs); }

/* ---------- Lessons ---------- */
.gcm-lesson-list { display: grid; gap: var(--sp-3); list-style: none; }
.lesson-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--sp-4); align-items: center; padding: var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; color: var(--c-ink); text-decoration: none; }
.lesson-step:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-md); }
.steps__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-primary-soft); color: var(--c-primary-strong); font-weight: 800; }
.lesson-step__title { display: block; font-size: var(--fs-lg); font-weight: 700; }
.lesson-step small { color: var(--c-muted); font-size: var(--fs-xs); }
.gcm-lesson-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); margin-top: var(--sp-7); }
.gcm-lesson-nav p { grid-column: 1 / -1; color: var(--c-muted); font-size: var(--fs-sm); }
.gcm-lesson-nav__previous, .gcm-lesson-nav__next { display: block; padding: var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r-lg); color: var(--c-ink); font-weight: 700; text-decoration: none; }
.gcm-lesson-nav__next { grid-column: 2; text-align: right; }
.gcm-lesson-nav small { display: block; color: var(--c-muted); font-size: var(--fs-xs); font-weight: 600; }
.gcm-lesson-nav a:hover { border-color: var(--c-primary); }

/* ---------- Finder, tools ---------- */
.gcm-finder { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--sp-4); max-width: 820px; }
.gcm-finder__field { flex: 1 1 200px; }
.gcm-finder label, .gcm-tool__label { display: block; margin-bottom: 0.35rem; color: var(--c-ink); font-size: var(--fs-sm); font-weight: 700; }
.gcm-finder input, .gcm-finder select, .gcm-tool__control { width: 100%; min-height: 44px; padding-inline: 0.75rem; border: 1px solid var(--c-line-strong); border-radius: var(--r-md); background: #fff; color: var(--c-ink); font: inherit; font-size: max(16px, 1em); }
.gcm-finder input:focus, .gcm-finder select:focus, .gcm-tool__control:focus { border-color: var(--c-primary); outline: 3px solid var(--c-primary-soft); outline-offset: 0; }

/* tools.php works out the reserved height from these numbers: one column, 16px padding and gaps. */
.gcm-tool { padding: 16px; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.gcm-tool__form, .gcm-tool__results { display: grid; gap: 16px; }
.gcm-tool__results { margin-top: 16px; }
.gcm-tool__field--boolean input { width: 24px; min-height: 24px; }
.gcm-tool__help, .gcm-tool-notice { font-size: var(--fs-sm); }
.gcm-tool__help { margin-block: 8px 0; color: var(--c-muted); }
.gcm-tool__problems { min-height: 1.65em; margin-block: 8px 0; color: #9a3412; font-size: var(--fs-sm); }
.gcm-tool__notice { display: none; }
.gcm-tool__output { padding: 8px 14px; border-radius: var(--r-md); background: var(--c-primary-tint); }
.gcm-tool__output-label { display: block; color: var(--c-muted); font-size: var(--fs-sm); font-weight: 600; }
.gcm-tool__value { display: block; color: var(--c-ink); font-size: 1.5rem; line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.gcm-tool-notice { margin-top: var(--sp-3); color: var(--c-muted); }
.gcm-tool-unavailable { padding: var(--sp-5); border: 1px dashed var(--c-line-strong); border-radius: var(--r-lg); color: var(--c-muted); }
.gcm-tool-embed { max-width: 100%; }
.gcm-tool-embed iframe { display: block; width: 100%; border: 1px solid var(--c-line); border-radius: var(--r-lg); }

/* ---------- Ads: no space at all until ads are on ---------- */
.gcm-ad-slot { display: block; width: 100%; max-width: 100%; overflow: hidden; contain: layout; }
.gcm-ad-slot[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--sp-8) var(--sp-6); background: var(--c-footer); color: var(--c-footer-text); font-size: var(--fs-sm); }
.site-footer a { color: color-mix(in oklab, var(--c-base) 88%, var(--c-footer)); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: var(--sp-7); }
.brand--footer, .brand--footer:hover { color: #fff; text-decoration: none; }
.brand--footer .brand__name span { color: color-mix(in oklab, var(--c-primary) 45%, #fff); }
.footer-brand p { max-width: 38ch; margin-top: var(--sp-4); line-height: 1.6; }
.footer-col h2 { color: var(--c-footer-head); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 0.55rem; margin-top: var(--sp-4); list-style: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-4); margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid rgb(255 255 255 / 12%); color: var(--c-footer-head); font-size: var(--fs-xs); }
.footer-disclaimer { color: var(--c-footer-text); font-weight: 600; }
.gcm-link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.site-footer .gcm-link-button { color: color-mix(in oklab, var(--c-base) 88%, var(--c-footer)); text-decoration: none; }

/* ---------- Consent ---------- */
.gcm-consent { position: fixed; left: 20px; bottom: 20px; z-index: 60; width: min(420px, calc(100% - 40px)); padding: var(--sp-5); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; color: var(--c-text); font-size: var(--fs-sm); box-shadow: 0 24px 50px -20px rgb(16 34 31 / 35%); }
.gcm-consent[hidden] { display: none; }
.gcm-consent__actions { display: flex; gap: 0.5rem; margin-top: var(--sp-4); }
.gcm-consent__actions button { flex: 1; min-height: 44px; border: 1px solid var(--c-line-strong); border-radius: var(--r-pill); background: #fff; color: var(--c-ink); font: inherit; font-weight: 700; cursor: pointer; }
.gcm-consent__actions button[data-gcm-consent="granted"] { border-color: var(--c-primary-strong); background: var(--c-primary-strong); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topics { grid-template-columns: repeat(min(var(--tiles), 2), minmax(0, 1fr)); }
  .hub-layout, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .aside-stack { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--w-content) + var(--gutter) * 2); gap: var(--sp-5); }
  .toc { position: static; }
  .toc__desktop { display: none; }
  .toc__mobile { display: block; padding: 0.4rem 1rem; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface-alt); }
  .toc__mobile[open] { padding-bottom: 0.8rem; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); }
  .hero__art { aspect-ratio: 16 / 10; }
  .trust { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
  .hub-hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--sp-7); }
  .path::before { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .section { padding-block: var(--sp-8); }
  .section-head { margin-bottom: var(--sp-5); }
  .hero h1, .hero h1.is-long { max-width: none; }
  .hero__lede { font-size: var(--fs-md); }
  .hero__badge { font-size: 0.75rem; }
  .hero__badge, .hero__badge b { white-space: nowrap; }
  .hero__badge { overflow: hidden; text-overflow: ellipsis; }
  .hero__art { aspect-ratio: auto; }
  .hero__photo { position: relative; aspect-ratio: 4 / 3; }
  .hero__check { top: var(--sp-4); left: var(--sp-4); }
  .hero__card { position: relative; inset: auto; margin: calc(var(--sp-7) * -1) var(--sp-4) 0; padding: var(--sp-4); }
  .hero__card .pill { position: static; }
  .hero__art > .gcm-photo-credit { position: static; }
  .lead-story__title { font-size: var(--fs-lg); }
  .topics { gap: var(--sp-3); }
  .topic-tile { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: var(--sp-4); padding: var(--sp-3); }
  .topic-tile__media { aspect-ratio: 1; border-radius: var(--r-md); }
  .topic-tile > .icon-pill, .topic-tile__foot { display: none; }
  .topic-tile__body { margin: 0; padding: 0; }
  .topic-tile p { margin-top: 0.2rem; }
  .card-grid, .topics { grid-template-columns: minmax(0, 1fr); }
  .card__body { padding: var(--sp-4); }
  .row-card { grid-template-columns: 96px minmax(0, 1fr); gap: var(--sp-4); align-items: start; }
  .row-card .card__title { font-size: var(--fs-md); }
  .row-card .card__excerpt, .row-card .pill { display: none; }
  .path { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .path__step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--sp-4); padding-bottom: var(--sp-6); }
  .path__step:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px; background-image: linear-gradient(180deg, var(--c-primary) 50%, transparent 50%); background-size: 2px 10px; opacity: 0.45; }
  .path__card { margin-top: 0.6rem; }
  .byline { align-items: flex-start; font-size: 0.875rem; }
  .prose { font-size: 1.0625rem; line-height: 1.72; }
  .gcm-facts { grid-template-columns: minmax(0, 1fr); }
  .gcm-facts > div:nth-child(2) { border-top: 1px solid color-mix(in oklab, var(--c-primary) 14%, var(--c-base)); }
  .gcm-lesson-nav { grid-template-columns: minmax(0, 1fr); }
  .gcm-lesson-nav__next { grid-column: 1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); }
  .footer-col--topics { grid-column: 1 / -1; }
  .gcm-consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: var(--sp-4); }
  .search-form__field .btn { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* The "guide" layout of gcm_theme_options: a calm page on a warm ground, with a drawn logo. Only
   sites that choose it get these rules. */
.logo__back { fill: var(--wp--custom--color--highlight, var(--c-primary-soft)); }
.logo__front { fill: var(--c-primary); }
.brand--footer .logo__back { fill: color-mix(in oklab, var(--c-primary) 35%, #fff); }
.brand--footer .logo__front { fill: #fff; }
.layout-guide { font-weight: 350; background: var(--c-base); }
.layout-guide .site-header { background: color-mix(in oklab, var(--c-base) 94%, transparent); }
.layout-guide h1, .layout-guide h2, .layout-guide h3, .layout-guide h4 { font-weight: 500; letter-spacing: -0.012em; }
.layout-guide strong, .layout-guide b, .layout-guide th { font-weight: 500; }
.layout-guide .brand { gap: 0.45rem; }
.layout-guide .brand__mark--logo { width: 32px; height: 32px; }
.layout-guide .brand__name { font-weight: 600; letter-spacing: -0.01em; color: var(--c-primary-strong); }
.layout-guide .brand--footer .brand__name, .layout-guide .brand--footer .brand__name span { color: #fff; }
.guide-home { padding-block: 0 var(--sp-6); }
.guide-home ul { list-style: none; margin: 0; padding: 0; }
.guide-home__line { margin: 0; padding-block: 0.9rem 1.4rem; font-family: var(--font-body); font-size: var(--fs-md); font-weight: 400; letter-spacing: 0; line-height: 1.5; color: var(--c-primary-strong); }
.guide-home__top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--sp-6); padding-bottom: var(--sp-6); }
.guide-lead__media { display: block; }
.guide-lead__media img { display: block; width: 100%; height: clamp(200px, 26vw, 320px); object-fit: cover; border-radius: var(--r-lg); }
.guide-lead__topic { margin: 0.9rem 0 0.1rem; font-size: var(--fs-sm); font-weight: 500; color: var(--c-primary-strong); }
.guide-lead h2 { margin: 0 0 0.35rem; font-size: var(--fs-2xl); line-height: 1.2; }
.guide-lead h2 a { color: var(--c-ink); text-decoration: none; }
.guide-lead h2 a:hover { color: var(--c-primary-strong); }
.guide-lead__text { margin: 0; }
.guide-side h2 { margin: 0 0 0.3rem; font-size: var(--fs-lg); }
.guide-side__list a { display: block; padding-block: 0.7rem; border-top: 1px solid var(--c-line); font-weight: 400; line-height: 1.4; color: var(--c-ink); text-decoration: none; }
.guide-side__list a:hover { color: var(--c-primary-strong); }
.guide-side__tools { margin-top: 0.8rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--c-primary-soft); }
.guide-side__tools h2 { font-size: var(--fs-md); }
.guide-side__tools a { display: block; padding-block: 0.2rem; font-size: var(--fs-sm); color: var(--c-ink); }
.guide-band { padding-block: 1.6rem 2rem; border-top: 1px solid var(--c-line); }
.guide-band h2 { margin: 0 0 0.9rem; font-size: var(--fs-xl); }
.guide-sources { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 0.75rem var(--sp-6); }
.guide-sources a { color: var(--c-text); text-decoration: none; }
.guide-sources strong { color: var(--c-primary-strong); }
.guide-sources a:hover strong { text-decoration: underline; }
.guide-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.1rem var(--sp-6); }
.guide-topics a { display: flex; align-items: center; gap: 0.9rem; color: var(--c-text); text-decoration: none; }
.guide-topics img { flex: none; width: 88px; height: 88px; object-fit: cover; border-radius: var(--r-md); }
.guide-topics strong { display: block; color: var(--c-ink); }
.guide-topics small { display: block; font-size: var(--fs-sm); }
.guide-topics a:hover strong { color: var(--c-primary-strong); }
@media (max-width: 860px) {
  .guide-home__top { grid-template-columns: minmax(0, 1fr); }
  .guide-topics img { width: 72px; height: 72px; }
}
