:root {
  --ink: #072b3a;
  --ink-deep: #031f2c;
  --ink-soft: #16495a;
  --paper: #fffdf7;
  --white: #ffffff;
  --mist: #eef6f3;
  --line: #c9d9d4;
  --line-dark: #315362;
  --muted: #56717b;
  --sun: #ffc33d;
  --sun-deep: #e59d00;
  --teal: #009b83;
  --coral: #ff725e;
  --blue: #2e9df4;
  --violet: #7868e9;
  --shadow: 0 24px 70px rgba(7, 43, 58, .16);
  --shadow-small: 0 10px 30px rgba(7, 43, 58, .1);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select { font: inherit; color: inherit; }
button, a, label { touch-action: manipulation; }
svg, img { max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -.038em; }
h1 { font-size: clamp(3rem, 6vw, 6.2rem); line-height: .94; }
h2 { font-size: clamp(2.45rem, 4.3vw, 4.5rem); line-height: .98; }
h3 { font-size: 1.45rem; line-height: 1.08; }
p { max-width: 72ch; }
.wrap { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; z-index: 300; left: 16px; top: -60px; padding: 10px 15px; background: var(--sun); color: var(--ink); font-weight: 850; }
.skip:focus { top: 12px; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: .75rem; font-weight: 900; letter-spacing: .145em; text-transform: uppercase; }
.button, .secondary, .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 17px; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); color: white; font-weight: 850; text-decoration: none; cursor: pointer; }
.button:hover, .button:focus-visible { background: var(--ink-soft); }
.secondary { background: white; color: var(--ink); }
.secondary:hover, .secondary:focus-visible { background: var(--mist); }
.text-button { min-height: auto; padding: 7px 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; }

/* Header */
.site-header { position: sticky; z-index: 120; top: 0; background: rgba(255, 253, 247, .97); border-bottom: 1px solid rgba(7, 43, 58, .14); backdrop-filter: blur(14px); }
.reading-progress { position: absolute; bottom: -1px; left: 0; width: var(--reading-progress, 0); height: 3px; background: linear-gradient(90deg, var(--teal), var(--sun), var(--coral)); transition: width .12s linear; }
.header-row { min-height: 76px; display: grid; grid-template-columns: minmax(164px, auto) minmax(0, 1fr) auto auto; align-items: center; gap: clamp(18px, 2.5vw, 38px); padding-block: 8px; transition: min-height .2s ease; }
.is-compact .header-row { min-height: 64px; }
.is-compact { box-shadow: 0 8px 24px rgba(7, 43, 58, .07); }
.brand-lockup, .v8-brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; text-decoration: none; }
.brand-lockup strong, .v8-brand strong { font: 700 1.78rem/1 var(--serif); letter-spacing: -.055em; }
.brand-lockup small, .v8-brand small { display: inline-flex; align-items: center; min-height: 23px; padding: 2px 8px 1px; border-radius: 5px; background: var(--sun); font-size: .58rem; font-weight: 950; letter-spacing: .105em; }
.main-nav { min-width: 0; justify-self: center; display: flex; align-items: center; gap: 26px; }
.slm-primary-menu { min-width: 0; display: flex; align-items: center; justify-content: center; gap: clamp(15px, 1.75vw, 28px); margin: 0; padding: 0; list-style: none; }
.slm-primary-menu > li { min-width: 0; margin: 0; padding: 0; list-style: none; }
.slm-primary-menu > li::marker { content: ""; }
.main-nav a { position: relative; padding: 9px 0; font-size: .86rem; font-weight: 800; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 3px; border-radius: 3px; background: var(--teal); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a[aria-current="page"]::after, .main-nav .current-menu-item > a::after, .main-nav .current-menu-ancestor > a::after { right: 0; }
.nav-mobile-cta { display: none; }
.header-tool { display: inline-flex; align-items: stretch; min-height: 44px; border: 1px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--sun); color: var(--ink); text-decoration: none; box-shadow: 0 4px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.header-tool:hover, .header-tool:focus-visible { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.cta-label { display: flex; align-items: center; padding: 0 15px; font-size: .83rem; }
.cta-label::after { content: "↘"; margin-left: 9px; font-size: 1rem; }
.cta-time { display: flex; align-items: center; padding: 0 11px; border-left: 1px solid rgba(7, 43, 58, .32); font-size: .75rem; font-weight: 950; }
.menu-toggle { display: none; width: 44px; height: 42px; padding: 0; border: 1px solid var(--ink); border-radius: 8px; background: white; cursor: pointer; }
.menu-toggle span { display: block; width: 19px; height: 2px; margin: 5px auto; background: var(--ink); }

/* Home hero */
.hero-v9 { position: relative; overflow: hidden; padding: 44px 0 94px; background: var(--sun); }
.hero-v9::after { content: ""; position: absolute; right: -8vw; bottom: -13vw; width: 35vw; height: 35vw; border: max(3.2vw, 28px) solid rgba(255, 255, 255, .22); border-radius: 50%; pointer-events: none; }
.hero-v10-grid { position: relative; z-index: 1; }
.hero-v10-title .eyebrow { color: var(--ink); }
.hero-v10-title h1 { margin: 0; font-size: clamp(3.8rem, 5vw, 4.95rem); line-height: .93; }
.hero-v10-title h1 span { display: block; white-space: nowrap; }
.hero-v10-copy { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-top: 24px; padding: 3px 0 3px 20px; border-left: 4px solid var(--ink); }
.hero-v10-copy p { max-width: 720px; margin: 0; font-size: 1rem; font-weight: 680; line-height: 1.45; }
.hero-v10-copy > div { display: flex; flex-wrap: wrap; gap: 7px; }
.hero-v10-copy > div span { padding: 5px 8px; border: 1px solid rgba(7, 43, 58, .34); border-radius: 5px; background: rgba(255, 255, 255, .28); font-size: .75rem; font-weight: 850; }

/* Bilan Nuit */
.night-tool { position: relative; z-index: 3; margin-top: -57px; padding: 0 0 106px; background: linear-gradient(180deg, transparent 0 57px, var(--mist) 57px 100%); }
.tool-shell { overflow: hidden; border: 1px solid rgba(7, 43, 58, .18); border-radius: 14px; background: white; box-shadow: var(--shadow); }
.tool-head { min-height: 69px; display: grid; grid-template-columns: 280px 1fr auto; align-items: center; gap: 24px; padding: 12px 22px; background: var(--ink-deep); color: white; }
.tool-head > div { display: flex; align-items: center; gap: 11px; }
.tool-status { width: 12px; height: 12px; border: 3px solid var(--sun); border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 195, 61, .15); }
.tool-head strong { font: 700 1.5rem/1 var(--serif); letter-spacing: -.03em; }
.tool-explainer { margin: 0; color: #d8e7e3; font-size: .88rem; }
.tool-privacy { color: #d4e2df; font-size: .82rem; font-weight: 750; }
.tool-progress { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: #f5f8f6; }
.tool-progress > span { position: relative; min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 16px; color: #60787f; font-size: .88rem; font-weight: 800; }
.tool-progress > span + span { border-left: 1px solid var(--line); }
.tool-progress b { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #dfe9e6; font-size: .75rem; }
.tool-progress i { font-style: normal; }
.tool-progress .is-active { background: white; color: var(--ink); }
.tool-progress .is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--teal); }
.tool-progress .is-active b { background: var(--sun); }
.tool-progress .is-done b { background: var(--teal); color: white; }
.assistant-form { padding: 31px 34px 0; }
.screen-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .44fr); gap: 12px 55px; align-items: end; margin-bottom: 23px; }
.screen-head > p { grid-column: 1; margin: 0; color: var(--teal); font-size: .8rem; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.screen-head > h2 { grid-column: 1; margin: 0; font-size: clamp(2.1rem, 3vw, 3rem); line-height: 1; text-wrap: balance; }
.screen-head > span { grid-column: 2; grid-row: 1 / 3; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.issue-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.issue-card { --card-accent: var(--sun); position: relative; min-height: 154px; display: grid; grid-template-columns: 52px minmax(0, 1fr); align-content: start; gap: 10px 14px; padding: 20px 44px 18px 18px; border: 1px solid #b9ccc6; border-radius: 11px; background: #f8fbfa; cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.issue-card:nth-child(2) { --card-accent: var(--coral); }
.issue-card:nth-child(3) { --card-accent: var(--blue); }
.issue-card:nth-child(4) { --card-accent: var(--violet); }
.issue-card:nth-child(5) { --card-accent: var(--teal); }
.issue-card:nth-child(6) { --card-accent: #f39a35; }
.issue-card:hover, .issue-card:focus-within { z-index: 1; transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 10px 24px rgba(7, 43, 58, .11); }
.issue-card > input { position: absolute; opacity: 0; pointer-events: none; }
.issue-card-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 49px; height: 49px; border-radius: 11px; background: var(--card-accent); color: var(--ink); }
.issue-card-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.issue-card-copy { display: grid; align-content: start; gap: 6px; }
.issue-card-copy b { font: 760 1rem/1.22 var(--sans); letter-spacing: -.015em; }
.issue-card-copy small { color: var(--muted); font-size: .86rem; line-height: 1.42; }
.issue-arrow { position: absolute; right: 14px; top: 16px; color: #66818a; transition: transform .18s ease; }
.issue-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.issue-card:hover .issue-arrow { transform: translateX(3px); }
.issue-card:has(input:checked) { transform: translateY(-3px); border-color: var(--ink); background: var(--ink); color: white; box-shadow: 0 13px 28px rgba(7, 43, 58, .2), inset 0 0 0 2px white; }
.issue-card:has(input:checked)::after { content: "✓"; position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: var(--sun); color: var(--ink); font: 950 .78rem/1 var(--sans); }
.issue-card:has(input:checked) .issue-card-icon { box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.issue-card:has(input:checked) .issue-card-copy small, .issue-card:has(input:checked) .issue-arrow { color: #c8dcda; }
.selection-preview { min-height: 62px; display: flex; align-items: center; gap: 13px; margin-top: 13px; padding: 12px 15px; border: 1px dashed #a8bcb7; border-radius: 9px; background: #fbfdfc; color: var(--muted); transition: background .2s ease, border-color .2s ease; }
.selection-preview:not(.is-visible) { display: none; }
.selection-preview > span { display: grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; border-radius: 50%; background: #dfe9e6; font-weight: 950; }
.selection-preview p { display: grid; gap: 2px; margin: 0; font-size: .9rem; }
.selection-preview b { color: var(--ink); }
.selection-preview.is-visible { border-style: solid; border-color: #76cbb9; background: #e9f8f3; color: #295f5a; }
.selection-preview.is-visible > span { background: var(--teal); color: white; }
.wizard-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 17px; padding: 17px 0 22px; border-top: 1px solid var(--line); }
.wizard-actions > span, .wizard-actions > p { margin: 0; color: var(--muted); font-size: .88rem; }
.wizard-next, .wizard-back, .result-actions button, .tool-secondary button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 8px; font-weight: 850; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.wizard-next { margin-left: auto; background: var(--sun); box-shadow: 0 3px 0 var(--ink); }
.wizard-next:not(:disabled):hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--ink); }
.wizard-next:disabled { border-color: #aebfba; background: #e1e8e4; color: #657b75; box-shadow: none; cursor: not-allowed; }
.wizard-back { background: white; }
.issue-footnote { margin: 0 0 20px; padding: 11px 14px; border-left: 4px solid var(--teal); background: #edf7f4; color: #3f6366; font-size: .82rem; }
.question-stack { display: grid; gap: 22px; }
.question-stack fieldset, .compare-criterion { margin: 0; padding: 0 0 22px; border: 0; border-bottom: 1px solid var(--line); }
.question-stack legend, .compare-criterion legend { width: 100%; margin-bottom: 12px; font: 700 1.25rem/1.2 var(--serif); }
.question-stack legend > span { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 7px; background: var(--sun); font: 900 .75rem/1 var(--sans); }
.answer-grid, .family-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 9px; }
.answer-card, .family-choice { display: flex; gap: 9px; padding: 15px; border: 1px solid var(--line); border-radius: 9px; background: #f8fbfa; cursor: pointer; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.answer-card:hover, .family-choice:hover { border-color: var(--teal); }
.answer-card > span { display: grid; gap: 4px; }
.answer-card small { display: block; color: var(--muted); font-size: .79rem; line-height: 1.35; }
.answer-card input, .family-choice input { margin-top: 3px; accent-color: var(--teal); }
.answer-card:has(input:checked), .family-choice:has(input:checked) { border-color: var(--teal); background: #e7f7f2; box-shadow: inset 0 0 0 2px var(--teal); }
.family-choice > span { display: flex; align-items: center; gap: 10px; }
.family-choice svg { width: 25px; height: 25px; fill: none; stroke: var(--teal); stroke-width: 1.6; }
.compare-picker { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: end; gap: 14px; }
.compare-picker label { display: grid; gap: 7px; }
.compare-picker label > span { font-size: .79rem; font-weight: 850; }
.compare-picker select { width: 100%; min-height: 50px; padding: 10px 12px; border: 1px solid #a9c0ba; border-radius: 8px; background: white; }
.compare-picker button { display: grid; place-items: center; width: 64px; height: 50px; border: 1px solid var(--line); border-radius: 8px; background: var(--mist); cursor: pointer; }
.compare-picker button svg { width: 25px; height: 25px; fill: none; stroke: var(--ink); }
.compare-picker button span { display: none; }
.compare-warning { margin: 11px 0 0; padding: 10px 12px; border-left: 4px solid var(--coral); background: #fff4f1; color: var(--ink); font-size: .79rem; font-weight: 800; }
.compare-warning[hidden] { display: none; }
.tool-secondary { display: flex; align-items: center; justify-content: flex-end; gap: 9px; padding: 13px 18px; border-top: 1px solid var(--line); background: #e8f1ee; }
.tool-secondary > span { margin-right: auto; color: var(--muted); font-size: .86rem; }
.tool-secondary button { min-height: 42px; padding: 9px 13px; background: white; font-size: .84rem; }
.tool-secondary button:hover, .tool-secondary button.is-active { background: var(--ink); color: white; }
.tool-secondary button svg { width: 19px; height: 19px; fill: none; stroke: var(--teal); stroke-width: 1.7; }
.assistant-result[hidden] { display: none; }
.assistant-result { padding: 32px; }
.result-answer { display: grid; grid-template-columns: 1fr 1.35fr; gap: 14px; }
.result-answer > header, .result-answer > aside { min-height: 220px; padding: 25px; border-radius: 11px; }
.result-answer > header { background: var(--ink); color: white; }
.result-answer > aside { border: 1px solid var(--line); background: var(--mist); }
.result-answer > header > p, .result-answer > aside > p { margin-bottom: 9px; color: var(--sun); font-size: .75rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.result-answer > aside > p { color: var(--teal); }
.result-answer > header > span { color: #bcd5d1; font-size: .8rem; }
.result-answer h2 { margin: 14px 0 0; font-size: clamp(2.15rem, 3.4vw, 3.4rem); }
.result-answer > aside > span { display: block; font-size: 1.03rem; }
.result-answer > aside > em { display: block; margin-top: 16px; padding: 12px; border-left: 4px solid var(--coral); background: white; }
.result-test-v5, .result-table-block, .result-checks, .result-solutions, .result-reading { padding: 24px 0; border-bottom: 1px solid var(--line); }
.result-section-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 15px; }
.result-section-title p { margin: 0; font: 700 1.48rem/1.1 var(--serif); }
.result-section-title span { color: var(--muted); font-size: .79rem; }
.result-test-v5 > div:last-child { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.result-test-v5 article { padding: 18px; border-radius: 9px; background: var(--mist); }
.result-test-v5 article > span { color: var(--teal); font-weight: 950; }
.result-checks > div:last-child { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.result-check { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbfa; cursor: pointer; }
.result-check input { position: absolute; opacity: 0; }
.result-check > span { flex: 0 0 19px; width: 19px; height: 19px; margin-top: 2px; border: 1px solid var(--teal); border-radius: 4px; background: white; }
.result-check:has(input:checked) { background: #e7f7f2; }
.result-check:has(input:checked) > span { background: var(--teal); box-shadow: inset 0 0 0 4px white; }
.result-solutions > div:last-child, .result-reading > div:last-child { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.named-product, .result-reading a { display: grid; gap: 5px; padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: white; text-decoration: none; }
.named-product:hover, .result-reading a:hover { border-color: var(--teal); box-shadow: var(--shadow-small); }
.named-product > span, .result-reading a > span { color: var(--teal); font-size: .75rem; font-weight: 950; letter-spacing: .07em; text-transform: uppercase; }
.named-product > small { color: var(--muted); }
.named-product > b { margin-top: 5px; }
.compare-table { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; }
.compare-table > div { display: grid; grid-template-columns: 180px repeat(2, 1fr); }
.compare-table > div > * { padding: 12px; border-bottom: 1px solid var(--line); }
.compare-table > div > * + * { border-left: 1px solid var(--line); }
.compare-table > div:first-child { background: var(--ink); color: white; }
.compare-table > div:last-child > * { border-bottom: 0; }
.compare-table .same { background: #e5f6ef; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 22px; }
.result-actions button { background: white; }
.result-actions button:first-child { background: var(--sun); }
#result-status { margin-left: 8px; color: var(--teal); font-weight: 800; }

/* Home editorial rhythm */
.section { padding: 104px 0; }
.section-lead, .section-head, .duel-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); gap: 10px 70px; align-items: end; margin-bottom: 36px; }
.section-lead > p, .section-head > p, .duel-heading > p { grid-column: 1; margin: 0; color: var(--teal); font-size: .75rem; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.section-lead > h2, .section-head > h2, .duel-heading > h2 { grid-column: 1; margin: 0; text-wrap: balance; }
.section-lead > span, .section-head > span, .duel-heading > span, .section-lead > p:last-child, .section-head > p:last-child { grid-column: 2; grid-row: 1 / 3; align-self: end; margin: 0; color: var(--muted); }

/* Interactive semantic routes */
.pathfinder-section { overflow: hidden; background: var(--paper); }
.pathfinder-intro { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(320px, .68fr); gap: 10px 78px; align-items: end; margin-bottom: 42px; }
.pathfinder-intro > p { grid-column: 1; margin: 0; color: var(--teal); font-size: .78rem; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.pathfinder-intro > h2 { grid-column: 1; max-width: 870px; margin: 0; text-wrap: balance; }
.pathfinder-intro > span { grid-column: 2; grid-row: 1 / 3; color: var(--muted); font-size: 1rem; }
.pathfinder-shell { display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: 470px; overflow: hidden; border: 1px solid var(--ink); border-radius: 16px; background: var(--ink-deep); box-shadow: var(--shadow-small); }
.pathfinder-tabs { display: grid; align-content: stretch; border-right: 1px solid #355461; background: #062838; }
.pathfinder-tabs button { position: relative; display: grid; grid-template-columns: 35px 1fr; align-items: center; gap: 10px; min-height: 76px; padding: 14px 19px; border: 0; border-bottom: 1px solid #274956; background: transparent; color: #d2e2df; text-align: left; cursor: pointer; transition: background .18s ease, color .18s ease, padding .18s ease; }
.pathfinder-tabs button:last-child { border-bottom: 0; }
.pathfinder-tabs button:hover, .pathfinder-tabs button:focus-visible { background: #0b3545; color: white; }
.pathfinder-tabs button[aria-selected="true"] { padding-left: 24px; background: var(--sun); color: var(--ink); font-weight: 900; }
.pathfinder-tabs button[aria-selected="true"]::after { content: ""; position: absolute; right: -12px; width: 24px; height: 24px; background: var(--sun); transform: rotate(45deg); }
.pathfinder-tabs button span { font-size: .72rem; font-weight: 950; letter-spacing: .1em; opacity: .7; }
.pathfinder-panels { min-width: 0; display: grid; }
.pathfinder-panel { min-width: 0; display: grid; grid-template-rows: 1fr auto; padding: 42px 42px 29px; color: white; }
.pathfinder-panel[hidden] { display: none; }
.pathway { align-self: center; display: grid; grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr) 38px minmax(0, 1fr); gap: 12px; align-items: center; }
.pathway > div { min-height: 210px; display: flex; flex-direction: column; padding: 23px; border: 1px solid #365967; border-radius: 13px; background: #0b3444; }
.pathway > div:nth-of-type(2) { border-color: var(--sun); background: #103e4c; }
.pathway small { margin-bottom: 30px; color: #80cdbf; font-size: .76rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.pathway > div:nth-of-type(2) small { color: var(--sun); }
.pathway strong { font: 700 clamp(1.3rem, 1.7vw, 1.75rem)/1.08 var(--serif); letter-spacing: -.025em; }
.pathway p { margin: auto 0 0; padding-top: 20px; color: #bdd1cd; font-size: .88rem; line-height: 1.45; }
.pathway > i { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #56737e; border-radius: 50%; color: var(--sun); font-style: normal; }
.pathfinder-panel footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #355461; }
.pathfinder-panel footer span { color: #c8d8d5; font-size: .9rem; }
.pathfinder-panel footer a { color: var(--sun); font-weight: 900; text-underline-offset: 5px; }

/* Editorial accountability */
.trust-section { padding: 82px 0; background: var(--sun); }
.trust-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 88px; align-items: start; }
.trust-statement > p { margin: 0 0 18px; font-size: .78rem; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.trust-statement h2 { margin: 0 0 30px; font-size: clamp(2.55rem, 4vw, 4.4rem); }
.trust-statement a { font-weight: 950; }
.trust-points { margin: 0; border-top: 2px solid var(--ink); }
.trust-points > div { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 25px 0; border-bottom: 1px solid rgba(7, 43, 58, .35); }
.trust-points dt { font: 700 1.28rem/1.15 var(--serif); }
.trust-points dd { margin: 0; line-height: 1.55; }
.cocoon-doors { background: var(--paper); }
.door-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.door-card { --door-accent: var(--sun); grid-column: span 5; min-height: 255px; position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-content: start; gap: 11px 17px; padding: 27px; border: 1px solid var(--line); border-top: 5px solid var(--door-accent); border-radius: 12px; background: #f6faf8; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.door-card-wide { grid-column: span 7; }
.door-card:nth-child(2) { --door-accent: var(--coral); }
.door-card:nth-child(3) { --door-accent: var(--blue); }
.door-card:nth-child(4) { --door-accent: var(--teal); }
.door-card:first-child { background: var(--ink); color: white; }
.door-card:hover, .door-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-small); }
.door-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 10px; background: var(--door-accent); color: var(--ink); }
.door-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.door-card > div { grid-column: 2; }
.door-card > div > p { margin: 0 0 7px; color: var(--teal); font-size: .75rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.door-card:first-child > div > p { color: var(--sun); }
.door-card h3 { max-width: 660px; margin: 0; font-size: clamp(1.5rem, 2.1vw, 2rem); text-wrap: balance; }
.door-card ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.door-card li { padding: 4px 7px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: .75rem; }
.door-card:first-child li { border-color: #3c5c68; color: #c7dad7; }
.door-card > b { grid-column: 2; align-self: end; margin-top: 18px; font-size: .81rem; }
.door-card > b span { display: inline-block; transition: transform .2s ease; }
.door-card:hover > b span { transform: translateX(5px); }
.duel-section { position: relative; overflow: hidden; background: var(--ink-deep); color: white; }
.duel-section::after { content: ""; position: absolute; right: -150px; top: -190px; width: 420px; height: 420px; border: 60px solid rgba(0, 155, 131, .12); border-radius: 50%; }
.duel-section .wrap { position: relative; z-index: 1; }
.duel-heading > p { color: var(--sun); }
.duel-heading > span { color: #bcd0cc; }
.duel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.duel-card { min-height: 270px; display: grid; align-content: space-between; gap: 19px; padding: 24px; border: 1px solid #345463; border-radius: 11px; background: #0b3444; color: white; text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.duel-card:hover, .duel-card:focus-visible { transform: translateY(-5px); border-color: var(--sun); background: #103e4f; }
.duel-card-thumb { height: 132px; display: block; margin: -24px -24px 0; overflow: hidden; border-radius: 10px 10px 0 0; background: #123f4d; }
.duel-card-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .28s ease; }
.duel-card:hover .duel-card-thumb img, .duel-card:focus-visible .duel-card-thumb img { transform: scale(1.035); }
.duel-card header { display: flex; justify-content: space-between; color: #8bd2c6; font-size: .75rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.duel-card header b { color: #6f929c; }
.duel-card h3 { margin: 0; font-size: clamp(1.55rem, 2vw, 2rem); }
.duel-card h3 i { display: block; margin: 7px 0; color: #8ba6ad; font: italic 1rem/1 var(--serif); }
.duel-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.duel-facts span { padding: 5px 7px; border: 1px solid #42616d; border-radius: 4px; color: #c7d8d5; font-size: .75rem; }
.duel-card > strong { color: var(--sun); font-size: .81rem; }
.duel-card > strong span { display: inline-block; transition: transform .2s ease; }
.duel-card:hover > strong span { transform: translateX(6px); }
.magazine-section { background: white; }
.editorial-lead { margin-bottom: 36px; }
.magazine-grid { display: grid; grid-template-columns: .86fr 1.14fr; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.magazine-feature { min-height: 390px; display: flex; flex-direction: column; overflow: hidden; background: var(--teal); color: white; }
.magazine-feature-image { height: 220px; display: block; flex: 0 0 auto; overflow: hidden; background: #086c61; }
.magazine-feature-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease; }
.magazine-feature-image:hover img { transform: scale(1.025); }
.magazine-feature-body { min-height: 390px; display: flex; flex: 1 1 auto; flex-direction: column; padding: 34px; }
.magazine-feature-body > span { font-size: .75rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.magazine-index { margin: 48px 0 7px; color: #c8eee7; font-size: .75rem; }
.magazine-feature h2 { max-width: 590px; margin: 0 0 13px; font-size: clamp(2.65rem, 4vw, 4.2rem); }
.magazine-feature-body > p { margin-bottom: 20px; color: #e0f2ef; }
.magazine-feature-body > a { margin-top: auto; color: white; font-weight: 900; }
.magazine-stack { padding: 25px 31px; }
.magazine-stack-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid var(--line); font-size: .8rem; font-weight: 850; }
.magazine-stack-subhead { margin-top: 4px; padding-top: 18px; }
.magazine-stack > a { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.magazine-stack > a.has-thumbnail { grid-template-columns: 82px minmax(0, 1fr) auto; gap: 4px 15px; }
.magazine-stack > a:last-child { border-bottom: 0; }
.magazine-stack > a > .magazine-item-label { color: var(--teal); font-size: .75rem; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.magazine-stack > a h3 { grid-column: 1; margin: 0; font-size: 1.3rem; }
.magazine-stack > a b { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--muted); font-size: .75rem; }
.magazine-stack > a.has-thumbnail > .magazine-item-label, .magazine-stack > a.has-thumbnail h3 { grid-column: 2; }
.magazine-stack > a.has-thumbnail b { grid-column: 3; }
.magazine-list-thumb { grid-column: 1; grid-row: 1 / 3; width: 82px; height: 62px; display: block; overflow: hidden; border-radius: 7px; background: var(--mist); }
.magazine-list-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.magazine-stack > a:hover .magazine-list-thumb img { transform: scale(1.04); }
.magazine-stack > a:hover h3 { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; }
.method-strip { padding: 31px 0; background: var(--sun); }
.method-strip-inner { display: grid; grid-template-columns: 155px 1fr auto; align-items: center; gap: 35px; }
.method-strip p { margin: 0; font-size: .75rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.method-strip h2 { margin: 0; font-size: clamp(2rem, 3vw, 3.1rem); }
.method-strip a { font-weight: 900; }

/* Generic internal pages */
.page-hero { padding: 72px 0 56px; background: linear-gradient(115deg, #fff0ba, #e5f5ef); }
.page-hero h1 { max-width: 980px; margin: 0 0 24px; font-size: clamp(3.2rem, 6vw, 6rem); }
.breadcrumbs { margin-bottom: 28px; color: var(--muted); font-size: .79rem; }
.breadcrumbs a { font-weight: 800; }
.lede { max-width: 780px; color: var(--ink-soft); font-size: 1.16rem; }
.content-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 66px; padding: 72px 0 105px; }
.side-nav { position: sticky; top: 100px; align-self: start; display: grid; gap: 3px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.side-nav a { padding: 9px 11px; border-radius: 6px; font-size: .82rem; font-weight: 780; text-decoration: none; }
.side-nav a:hover { background: var(--mist); }
.content section { scroll-margin-top: 100px; margin-bottom: 75px; }
.content h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); }
.content h3 { font-size: 1.55rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.card { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.card p { color: var(--muted); }
.notice { padding: 18px 20px; border-left: 5px solid var(--sun); background: #fff3ca; }
.search-bar { display: grid; grid-template-columns: 1fr 190px; gap: 10px; margin: 22px 0; }
.field { display: grid; gap: 7px; margin-bottom: 15px; }
.field label { font-size: .8rem; font-weight: 850; }
.field input, .field select, .search-bar input, .search-bar select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #a9c0ba; border-radius: 8px; background: white; }
.product-list { display: grid; gap: 7px; }
.product-row { display: grid; grid-template-columns: minmax(210px, 1.5fr) 1fr .8fr auto; align-items: center; gap: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.product-row div { display: grid; }
.product-row span { color: var(--muted); font-size: .81rem; }
.product-focus { margin: 25px 0; padding: 25px; border-radius: 10px; background: var(--mist); }
.product-focus dl { display: grid; grid-template-columns: 150px 1fr; }
.product-focus dt, .product-focus dd { margin: 0; padding: 9px; border-bottom: 1px solid var(--line); }

/* Planner */
.planner-page { padding-bottom: 95px; }
.planner-panel { display: grid; grid-template-columns: .76fr 1.24fr; gap: 24px; }
.schedule-panel, .planner-panel form { padding: 28px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.days { display: flex; flex-wrap: wrap; gap: 7px; }
.days label { padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; }
.schedule-list { display: grid; gap: 9px; }
.schedule-list article { display: flex; justify-content: space-between; padding: 13px; border-radius: 7px; background: var(--mist); }
.actions, .entity-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.planner-note, .source-note { color: var(--muted); font-size: .82rem; }
.pill, .status-tag { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: #d8f3eb; color: #066754; font-size: .75rem; font-weight: 900; }

/* Product and comparison pages */
.entity-hero { padding: 62px 0 66px; background: linear-gradient(115deg, #fff0b8 0 63%, #e5f5ef 63%); }
.entity-hero h1 { max-width: 980px; margin: 12px 0 21px; font-size: clamp(3.1rem, 5.7vw, 5.8rem); }
.entity-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 23px; color: var(--muted); font-size: .81rem; }
.entity-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(270px, .55fr); gap: 56px; padding: 72px 0 105px; }
.entity-layout main section { margin-bottom: 60px; }
.entity-layout h2, .compare-page h2 { font-size: clamp(2.15rem, 3.7vw, 3.65rem); }
.entity-layout aside { position: sticky; top: 100px; align-self: start; padding: 24px; border-radius: 11px; background: var(--ink); color: white; }
.entity-layout aside a { color: var(--sun); }
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fact-card { padding: 19px; border: 1px solid var(--line); border-radius: 9px; background: var(--mist); }
.fact-card small { display: block; color: var(--teal); font-size: .75rem; font-weight: 950; text-transform: uppercase; }
.fact-card strong { display: block; margin-top: 5px; font: 700 1.18rem/1.2 var(--serif); }
.check-list { padding-left: 0; list-style: none; }
.check-list li { position: relative; padding: 12px 0 12px 31px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 11px; color: var(--teal); font-weight: 950; }
.compare-page { padding: 68px 0 105px; }
.compare-page > header { max-width: 900px; margin-bottom: 46px; }
.compare-page h1 { font-size: clamp(3.1rem, 6vw, 6.2rem); }
.compare-summary { padding: 25px; border-left: 6px solid var(--sun); background: #fff2c6; font-size: 1.08rem; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0; }
.comparison-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.comparison-grid h2 { font-size: 2.05rem; }
.comparison-table { width: 100%; margin: 25px 0 50px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table th { width: 23%; background: var(--mist); }
.verdict { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.verdict article { padding: 25px; border-radius: 11px; background: var(--ink); color: white; }
.verdict article + article { background: var(--teal); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-grid a { padding: 18px; border: 1px solid var(--line); border-radius: 9px; background: white; font-weight: 800; text-decoration: none; }

/* Symptom hubs */
.hub-hero { padding: 62px 0 72px; background: var(--sun); }
.hub-hero .breadcrumbs { margin-bottom: 35px; color: #294b58; }
.hub-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 72px; align-items: end; }
.hub-hero h1 { max-width: 890px; margin: 0; font-size: clamp(3.2rem, 5.7vw, 6rem); }
.hub-hero-copy { padding-left: 22px; border-left: 4px solid var(--ink); }
.hub-hero-copy p { margin: 0 0 18px; font-size: 1.05rem; font-weight: 650; }
.hub-hero-copy a { font-weight: 950; }
.hub-main { padding: 70px 0 100px; }
.hub-route { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 78px; overflow: hidden; border: 1px solid var(--ink); border-radius: 13px; background: white; }
.hub-route > div { min-height: 180px; padding: 25px; }
.hub-route > div + div { border-left: 1px solid var(--line); }
.hub-route > div:nth-child(2) { background: var(--ink); color: white; }
.hub-route small { display: block; margin-bottom: 27px; color: var(--teal); font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.hub-route > div:nth-child(2) small { color: var(--sun); }
.hub-route strong { display: block; font: 700 1.5rem/1.1 var(--serif); letter-spacing: -.025em; }
.hub-route p { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.hub-route > div:nth-child(2) p { color: #c2d5d1; }
.hub-article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; }
.hub-article-main { min-width: 0; }
.hub-article-main section { margin-bottom: 62px; scroll-margin-top: 100px; }
.hub-article-main h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 3.7vw, 3.8rem); }
.hub-article-main h3 { margin-top: 30px; }
.hub-article-main p { font-size: 1.02rem; }
.hub-checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; padding: 0; list-style: none; }
.hub-checklist li { position: relative; min-height: 88px; padding: 17px 17px 17px 48px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.hub-checklist li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 17px; height: 17px; border: 2px solid var(--teal); border-radius: 4px; }
.hub-entities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.hub-entity { min-height: 145px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--mist); text-decoration: none; }
.hub-entity small { color: var(--teal); font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.hub-entity strong { margin: 8px 0; font: 700 1.28rem/1.1 var(--serif); }
.hub-entity span { margin-top: auto; color: var(--muted); font-size: .82rem; }
.hub-entity:hover { border-color: var(--teal); box-shadow: var(--shadow-small); }
.hub-side { position: sticky; top: 92px; align-self: start; overflow: hidden; border: 1px solid var(--ink); border-radius: 11px; background: white; }
.hub-side > strong { display: block; padding: 17px 19px; background: var(--ink); color: white; }
.hub-side nav { display: grid; padding: 9px; }
.hub-side nav a { padding: 10px; border-radius: 6px; font-size: .86rem; font-weight: 800; text-decoration: none; }
.hub-side nav a:hover { background: var(--mist); }
.hub-side .button { margin: 10px 18px 19px; }
.hub-medical { margin-top: 32px; padding: 17px 19px; border-left: 5px solid var(--teal); background: #e8f5f1; color: #294f55; }
.hub-related { padding: 65px 0; background: var(--ink-deep); color: white; }
.hub-related h2 { max-width: 720px; margin-bottom: 30px; }
.hub-related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.hub-related-links a { min-height: 135px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; border: 1px solid #345665; border-radius: 9px; background: #0a3444; color: white; text-decoration: none; }
.hub-related-links a.has-thumbnail { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 7px 16px; padding: 12px; }
.hub-related-links a .hub-related-label { color: var(--sun); font-size: .77rem; font-weight: 950; text-transform: uppercase; }
.hub-related-links a strong { font: 700 1.3rem/1.15 var(--serif); }
.hub-related-links a.has-thumbnail .hub-related-label, .hub-related-links a.has-thumbnail strong, .hub-related-links a.has-thumbnail small { grid-column: 2; }
.hub-related-thumb { grid-column: 1; grid-row: 1 / 4; width: 104px; height: 100%; min-height: 111px; display: block; overflow: hidden; border-radius: 7px; background: #123f4d; }
.hub-related-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.hub-related-links a:hover .hub-related-thumb img, .hub-related-links a:focus-visible .hub-related-thumb img { transform: scale(1.035); }

/* Footer */
.site-footer { padding: 56px 0 26px; background: var(--ink-deep); color: white; }
.footer-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 31px; border-bottom: 1px solid var(--line-dark); }
.footer-brand-row .brand-lockup strong, .footer-name { font: 700 1.85rem/1 var(--serif); letter-spacing: -.04em; }
.footer-brand-row .brand-lockup small { background: var(--sun); color: var(--ink); }
.footer-brand-row p { margin: 0; color: #b9ceca; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; padding: 35px 0; }
.footer-grid, .home .footer-grid { grid-template-columns: repeat(3, 1fr); }
.footer-grid h3, .footer-grid h4, .footer-grid > div > strong { display: block; margin: 0 0 13px; color: #7fc9bc; font: 950 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.footer-grid a { display: block; margin: 8px 0; color: #d6e3e0; font-size: .83rem; text-decoration: none; }
.footer-grid a:hover { color: var(--sun); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 21px; border-top: 1px solid var(--line-dark); color: #8fa9a6; font-size: .75rem; }
.footer-bottom a { color: inherit; }

@media (max-width: 1120px) {
  .header-row { gap: 22px; }
  .main-nav { gap: 14px; }
  .slm-primary-menu { gap: 14px; }
  .main-nav a { font-size: .8rem; }
  .hero-v10-title h1 { font-size: clamp(3.45rem, 5.7vw, 4.55rem); }
  .issue-cards { grid-template-columns: repeat(2, 1fr); }
  .pathfinder-shell { grid-template-columns: 245px minmax(0, 1fr); }
  .pathfinder-panel { padding: 31px 28px 25px; }
  .pathway { grid-template-columns: 1fr; gap: 10px; }
  .pathway > div { min-height: auto; }
  .pathway small { margin-bottom: 13px; }
  .pathway p { margin-top: 12px; }
  .pathway > i { width: 30px; height: 30px; transform: rotate(90deg); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .wrap { width: min(100% - 34px, 1240px); }
  .header-row { min-height: 66px; grid-template-columns: 1fr auto auto; padding-block: 6px; }
  .is-compact .header-row { min-height: 62px; }
  .main-nav { position: fixed; inset: 66px 0 auto; display: none; gap: 0; padding: 18px; border-top: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .main-nav.is-open, body.menu-open .main-nav { display: grid; }
  .slm-primary-menu { width: 100%; display: grid; justify-content: stretch; gap: 0; }
  .slm-primary-menu > li + li { border-top: 1px solid var(--line); }
  .main-nav a { display: block; padding: 13px; font-size: .93rem; }
  .main-nav a::after { display: none; }
  .nav-mobile-cta { display: block; margin-top: 8px; border-radius: 7px; background: var(--sun); }
  .menu-toggle { display: block; }
  .hero-v9 { padding: 44px 0 96px; }
  .screen-head, .section-lead, .section-head, .duel-heading, .entity-layout, .pathfinder-intro, .trust-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-v10-copy { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-v10-title h1 span { white-space: normal; }
  .screen-head > p, .screen-head > h2, .screen-head > span, .section-lead > p, .section-lead > h2, .section-lead > span, .section-head > p, .section-head > h2, .section-head > span, .duel-heading > p, .duel-heading > h2, .duel-heading > span, .pathfinder-intro > p, .pathfinder-intro > h2, .pathfinder-intro > span { grid-column: 1; grid-row: auto; }
  .tool-head { grid-template-columns: 1fr auto; }
  .tool-explainer { display: none; }
  .assistant-form { padding: 26px 22px 0; }
  .answer-grid, .family-choice-grid { grid-template-columns: repeat(2, 1fr); }
  .pathfinder-shell { grid-template-columns: 1fr; }
  .pathfinder-tabs { grid-template-columns: repeat(3, 1fr); border-right: 0; border-bottom: 1px solid #355461; }
  .pathfinder-tabs button { grid-template-columns: 26px 1fr; min-height: 70px; padding: 11px 13px; border-right: 1px solid #274956; }
  .pathfinder-tabs button[aria-selected="true"] { padding-left: 13px; }
  .pathfinder-tabs button[aria-selected="true"]::after { display: none; }
  .pathfinder-panel footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .door-card, .door-card-wide { grid-column: span 6; }
  .duel-grid { grid-template-columns: 1fr; }
  .duel-card { min-height: 220px; }
  .magazine-grid { grid-template-columns: 1fr; }
  .magazine-feature { min-height: 340px; }
  .magazine-feature-body { min-height: 340px; }
  .content-layout { grid-template-columns: 1fr; gap: 30px; }
  .side-nav { position: static; display: flex; overflow: auto; }
  .planner-panel { grid-template-columns: 1fr; }
  .entity-layout aside { position: static; }
  .hub-hero-grid, .hub-article { grid-template-columns: 1fr; gap: 35px; }
  .hub-side { position: static; }
  .hub-related-links { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 70px; }
  .wrap { width: min(100% - 24px, 1240px); }
  .brand-lockup strong, .v8-brand strong { font-size: 1.45rem; }
  .brand-lockup small, .v8-brand small { min-height: 20px; padding-inline: 6px; font-size: .49rem; }
  .header-tool { min-height: 41px; }
  .cta-label { padding: 0 11px; font-size: .75rem; }
  .cta-label::after { display: none; }
  .cta-time { display: none; }
  .hero-v9 { padding: 34px 0 84px; }
  .hero-v9::after { display: none; }
  .hero-v10-title h1 { font-size: 2.65rem; line-height: .95; }
  .hero-v10-title h1 span { white-space: normal; }
  .hero-v10-copy { padding-left: 15px; }
  .hero-v10-copy p { font-size: .95rem; }
  .night-tool { margin-top: -47px; padding-bottom: 75px; background: linear-gradient(180deg, transparent 0 47px, var(--mist) 47px 100%); }
  .tool-shell { border-radius: 10px; }
  .tool-head { min-height: 61px; padding: 11px 13px; }
  .tool-head strong { font-size: 1.3rem; }
  .tool-privacy { font-size: .75rem; }
  .tool-progress > span { min-height: 49px; gap: 5px; padding: 9px 4px; font-size: .75rem; }
  .tool-progress b { width: 20px; height: 20px; }
  .assistant-form { padding: 22px 13px 0; }
  .screen-head h2 { font-size: 2rem; }
  .issue-cards, .answer-grid, .family-choice-grid, .result-test-v5 > div:last-child, .result-checks > div:last-child, .result-solutions > div:last-child, .result-reading > div:last-child, .cards, .comparison-grid, .verdict, .related-grid, .fact-grid { grid-template-columns: 1fr; }
  .issue-card { min-height: 116px; }
  .selection-preview { align-items: flex-start; }
  .wizard-actions { align-items: stretch; flex-direction: column; }
  .wizard-next, .wizard-back { width: 100%; margin-left: 0; }
  .tool-secondary { align-items: stretch; flex-direction: column; }
  .tool-secondary > span { margin: 0; }
  .tool-secondary button { width: 100%; }
  .compare-picker { grid-template-columns: 1fr; }
  .compare-picker button { width: 100%; }
  .result-answer { grid-template-columns: 1fr; }
  .result-answer > header, .result-answer > aside { min-height: auto; }
  .assistant-result { padding: 18px 13px; }
  .result-section-title { display: grid; gap: 5px; }
  .compare-table { overflow: auto; }
  .compare-table > div { min-width: 620px; }
  .section { padding: 74px 0; }
  .section h2 { font-size: 2.55rem; }
  .pathfinder-intro { margin-bottom: 28px; }
  .pathfinder-tabs { grid-template-columns: 1fr 1fr; }
  .pathfinder-tabs button { min-height: 62px; }
  .pathfinder-tabs button span { display: none; }
  .pathfinder-panel { padding: 24px 18px 22px; }
  .pathway > div { padding: 19px; }
  .pathway strong { font-size: 1.35rem; }
  .trust-section { padding: 65px 0; }
  .trust-points > div { grid-template-columns: 1fr; gap: 8px; }
  .door-card, .door-card-wide { grid-column: 1 / -1; min-height: 225px; padding: 21px; }
  .door-card { grid-template-columns: 49px minmax(0, 1fr); }
  .door-icon { width: 44px; height: 44px; }
  .door-card h3 { font-size: 1.55rem; }
  .duel-card { min-height: 230px; }
  .duel-card-thumb { height: 120px; }
  .magazine-feature { min-height: 0; }
  .magazine-feature-image { height: 180px; }
  .magazine-feature-body { min-height: 360px; padding: 25px; }
  .magazine-stack { padding: 20px; }
  .magazine-stack > a.has-thumbnail { grid-template-columns: 68px minmax(0, 1fr); gap: 6px 13px; }
  .magazine-list-thumb { width: 68px; height: 54px; }
  .magazine-stack > a.has-thumbnail b { display: none; }
  .magazine-stack > a h3 { font-size: 1.13rem; }
  .method-strip-inner { grid-template-columns: 1fr; gap: 10px; }
  .page-hero { padding: 48px 0; }
  .page-hero h1 { font-size: 3.15rem; }
  .content-layout { padding: 48px 0 74px; }
  .search-bar, .form-grid { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: 1fr; gap: 5px; }
  .product-focus dl { grid-template-columns: 1fr; }
  .product-focus dt { font-weight: 850; }
  .planner-panel form, .schedule-panel { padding: 19px; }
  .entity-hero { padding: 45px 0; background: #fff0b8; }
  .entity-hero h1, .compare-page h1 { font-size: 3.1rem; }
  .entity-layout, .compare-page { padding: 48px 0 74px; }
  .hub-hero { padding: 40px 0 52px; }
  .hub-hero h1 { font-size: 3rem; }
  .hub-main { padding: 48px 0 70px; }
  .hub-route, .hub-checklist, .hub-entities, .hub-related-links { grid-template-columns: 1fr; }
  .hub-route > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .hub-route > div { min-height: auto; }
  .comparison-table { display: block; overflow-x: auto; font-size: .83rem; }
  .comparison-table th, .comparison-table td { padding: 10px; }
  .footer-brand-row, .footer-bottom { display: grid; gap: 18px; }
  .footer-grid, .home .footer-grid { grid-template-columns: 1fr 1fr; gap: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .tool-secondary, .result-actions, .method-strip { display: none !important; }
  body { background: white; color: black; }
  .night-tool { margin: 0; background: white; }
  .tool-shell { box-shadow: none; }
  .assistant-form { display: none; }
  .assistant-result { display: block !important; }
}

/* WordPress editorial layer */
.brand-lockup.has-custom-logo { width: clamp(148px, 12vw, 190px); height: 54px; overflow: hidden; }
.brand-lockup.has-custom-logo .custom-logo { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; object-position: center; }
.brand-lockup.has-custom-logo.has-padded-logo .custom-logo { transform: scale(2.05); transform-origin: center; }
.brand-lockup-footer.has-custom-logo { height: 58px; }
.rank-math-breadcrumb p { margin: 0; }
.wp-content { width: min(780px, calc(100% - 64px)); margin: 0 auto; padding: 78px 0 105px; }
.wp-content > :first-child { margin-top: 0; }
.wp-content > :last-child { margin-bottom: 0; }
.wp-content h2 { margin: 2.2em 0 .65em; font-size: clamp(2.1rem, 4vw, 3.6rem); }
.wp-content h3 { margin: 1.8em 0 .55em; font-size: clamp(1.45rem, 2.3vw, 2rem); }
.wp-content p, .wp-content li { font-size: 1.04rem; line-height: 1.72; }
.wp-content blockquote { margin: 2rem 0; padding: 20px 24px; border-left: 5px solid var(--sun); background: #fff3ca; font: 700 1.28rem/1.45 var(--serif); }
.wp-content img { height: auto; border-radius: 10px; }
.wp-content .alignwide { width: min(1040px, calc(100vw - 64px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.wp-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.article-hero { padding: 68px 0 60px; background: linear-gradient(115deg, #fff0b8 0 64%, #e5f5ef 64%); }
.article-head { max-width: 1080px; }
.article-head h1 { max-width: 1030px; margin: 10px 0 22px; font-size: clamp(3.2rem, 5.7vw, 5.8rem); }
.article-byline { display: flex; flex-wrap: wrap; gap: 8px; margin: 23px 0 12px; color: var(--muted); font-size: .84rem; font-weight: 800; }
.slm-author-credit { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.slm-author-credit a { color: inherit; font-weight: 900; text-decoration-color: var(--teal); text-decoration-thickness: 2px; }
.slm-author-credit small { padding: 2px 6px; border: 1px solid rgba(7, 43, 58, .23); border-radius: 4px; color: var(--ink-soft); font-size: .65rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.article-cover { margin-top: 44px; }
.article-cover img { width: 100%; height: auto; border-radius: 14px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 780px) 270px; gap: 70px; align-items: start; }
.article-layout .wp-content { width: 100%; }
.article-aside { position: sticky; top: 105px; margin-top: 78px; padding: 21px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.article-aside > strong { font: 700 1.35rem/1.1 var(--serif); }
.article-aside p { color: var(--muted); font-size: .9rem; }
.archive-main { padding: 78px 0 105px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.archive-card { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: white; }
.archive-card-image { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.archive-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.archive-card:hover .archive-card-image img { transform: scale(1.025); }
.archive-card > div { padding: 23px; }
.archive-card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: -2px 0 13px; color: var(--muted); font-size: .73rem; font-weight: 800; }
.archive-card-meta > * + *::before { content: "•"; margin-right: 14px; color: var(--teal); }
.archive-card h2 { margin: 0 0 11px; font-size: 1.8rem; }
.archive-card h2 a { text-decoration: none; }
.archive-card p { color: var(--muted); }
.pagination { grid-column: 1 / -1; margin-top: 25px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { min-width: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; text-align: center; text-decoration: none; }
.page-numbers.current { border-color: var(--ink); background: var(--ink); color: white; }
.empty-state { grid-column: 1 / -1; padding: 45px; border: 1px solid var(--line); border-radius: 12px; background: white; text-align: center; }
.error-page { min-height: 67vh; display: grid; align-items: center; }
.error-page form, .page-hero form { max-width: 600px; display: flex; gap: 8px; margin-top: 28px; }
.error-page input[type="search"], .page-hero input[type="search"] { flex: 1; min-height: 46px; padding: 10px 12px; border: 1px solid var(--ink); border-radius: 7px; background: white; }
.error-page input[type="submit"], .page-hero input[type="submit"] { padding: 10px 17px; border: 1px solid var(--ink); border-radius: 7px; background: var(--ink); color: white; font-weight: 850; }

/* Signatures éditoriales */
.slm-author-box { --author-accent: var(--teal); display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 25px; align-items: start; margin: 62px 0 0; padding: 25px; border: 1px solid var(--line); border-top: 5px solid var(--author-accent); border-radius: 12px; background: white; box-shadow: var(--shadow-small); }
.slm-author-box--sun { --author-accent: var(--sun-deep); }
.slm-author-box img { display: block; width: 132px; height: 132px; border-radius: 18px; object-fit: cover; }
.slm-author-box .eyebrow { margin-bottom: 6px; color: var(--author-accent); }
.slm-author-box h2, .wp-content .slm-author-box h2 { margin: 0 0 4px; font-size: 2rem; line-height: 1; }
.slm-author-box h2 a { text-decoration: none; }
.slm-author-box strong { display: block; margin-bottom: 10px; color: var(--ink-soft); font-size: .86rem; }
.slm-author-box p, .wp-content .slm-author-box p { margin: 0 0 12px; color: var(--muted); font-size: .91rem; line-height: 1.55; }
.slm-author-box .text-button { font-size: .8rem; }
.slm-legacy-author, .slm-entity-author { padding-top: 20px; padding-bottom: 86px; }
.slm-entity-author .slm-author-box, .slm-legacy-author .slm-author-box { max-width: 920px; margin-inline: auto; }

.author-profile { --author-accent: var(--teal); }
.author-profile--sun { --author-accent: var(--sun-deep); }
.author-profile-hero { position: relative; overflow: hidden; padding: 47px 0 80px; background: linear-gradient(118deg, #e6f5f0 0 68%, #fff0b8 68%); }
.author-profile--sun .author-profile-hero { background: linear-gradient(118deg, #fff0b8 0 68%, #e6f5f0 68%); }
.author-profile-hero::after { content: ""; position: absolute; right: -120px; bottom: -230px; width: 480px; height: 480px; border: 55px solid rgba(255, 255, 255, .27); border-radius: 50%; pointer-events: none; }
.author-profile-hero .breadcrumbs { position: relative; z-index: 2; margin-bottom: 45px; }
.author-profile-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 240px minmax(0, 760px); gap: clamp(38px, 6vw, 76px); align-items: center; }
.author-profile-avatar { display: block; width: 240px; height: 240px; border: 10px solid white; border-radius: 34px; object-fit: cover; box-shadow: var(--shadow); transform: rotate(-2deg); }
.author-profile--sun .author-profile-avatar { transform: rotate(2deg); }
.author-profile-hero h1 { margin: 0 0 10px; font-size: clamp(4.2rem, 7vw, 7rem); }
.author-profile-role { margin: 0 0 22px; color: var(--ink-soft); font-size: 1rem; font-weight: 900; }
.author-profile-hero .lede { max-width: 760px; margin-bottom: 0; font-size: 1.05rem; line-height: 1.62; }
.author-profile-main { padding: 92px 0 105px; }
.author-profile-grid { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: clamp(50px, 8vw, 112px); align-items: start; }
.author-profile-copy { display: grid; gap: 58px; }
.author-profile-copy section + section { padding-top: 57px; border-top: 1px solid var(--line); }
.author-profile-copy h2 { margin: 0 0 20px; font-size: clamp(2.4rem, 4vw, 4rem); }
.author-profile-copy p, .author-profile-list li { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.72; }
.author-profile-list { display: grid; gap: 10px; margin: 23px 0 0; padding: 0; list-style: none; }
.author-profile-list li { position: relative; padding: 13px 15px 13px 42px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.author-profile-list li::before { content: ""; position: absolute; left: 15px; top: 20px; width: 12px; height: 12px; border: 3px solid var(--author-accent); border-radius: 50%; }
.author-profile-aside { position: sticky; top: 105px; display: grid; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow-small); }
.author-profile-aside span { color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.author-profile-aside strong { margin-top: 6px; font: 700 1.28rem/1.24 var(--serif); }
.author-profile-aside hr { width: 100%; margin: 21px 0; border: 0; border-top: 1px solid var(--line); }
.author-profile-aside .text-button { margin-top: 25px; font-size: .78rem; }
.author-profile-articles { padding: 94px 0 112px; background: var(--mist); }
.author-profile-articles > .wrap > h2 { margin: 0 0 37px; font-size: clamp(2.7rem, 4.5vw, 4.6rem); }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .article-layout { grid-template-columns: 1fr; gap: 0; }
  .article-aside { position: static; margin: 0 0 70px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .author-profile-hero-grid { grid-template-columns: 190px minmax(0, 1fr); gap: 35px; }
  .author-profile-avatar { width: 190px; height: 190px; }
  .author-profile-grid { grid-template-columns: 1fr; }
  .author-profile-aside { position: static; }
}

@media (max-width: 680px) {
  .wp-content { width: min(100% - 28px, 780px); padding: 52px 0 74px; }
  .article-hero { padding: 44px 0; background: #fff0b8; }
  .article-head h1 { font-size: 3rem; }
  .archive-main { padding: 52px 0 74px; }
  .archive-grid { grid-template-columns: 1fr; }
  .slm-author-box { grid-template-columns: 82px minmax(0, 1fr); gap: 17px; padding: 18px; }
  .slm-author-box > div { display: contents; }
  .slm-author-box img { width: 82px; height: 82px; border-radius: 12px; }
  .slm-author-box .eyebrow, .slm-author-box h2, .slm-author-box strong { grid-column: 2; }
  .slm-author-box p, .slm-author-box .text-button { grid-column: 1 / -1; }
  .author-profile-hero { padding: 36px 0 58px; background: #e6f5f0; }
  .author-profile--sun .author-profile-hero { background: #fff0b8; }
  .author-profile-hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .author-profile-avatar { width: 132px; height: 132px; border-width: 6px; border-radius: 22px; }
  .author-profile-hero h1 { font-size: 4rem; }
  .author-profile-main { padding: 65px 0 78px; }
  .author-profile-copy { gap: 42px; }
  .author-profile-copy section + section { padding-top: 42px; }
  .author-profile-articles { padding: 66px 0 82px; }
  .error-page form, .page-hero form { display: grid; }
  .footer-grid, .home .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .header-row { grid-template-columns: 1fr auto; gap: 10px; }
  .header-tool { display: none; }
  .brand-lockup.has-custom-logo { width: 145px; }
}

/* Category hubs */
.category-hub { --hub-accent: var(--teal); --hub-accent-2: var(--sun); --hub-soft: #edf7f3; --hub-hero: #e5f4ef; }
.category-hub [id] { scroll-margin-top: 92px; }
.category-hub--room { --hub-accent: #e69b00; --hub-accent-2: var(--coral); --hub-soft: #fff7de; --hub-hero: #fff0ba; }
.category-hub--culture { --hub-accent: var(--sun); --hub-accent-2: #7fc9bc; --hub-soft: #f2eee5; --hub-hero: var(--ink-deep); }
.category-hub--products { --hub-accent: var(--teal); --hub-accent-2: var(--coral); --hub-soft: #e9f5f1; --hub-hero: var(--sun); }
.category-hub .eyebrow { color: var(--hub-accent); }

.category-hub-hero { position: relative; overflow: hidden; padding: 48px 0 68px; background: var(--hub-hero); }
.category-hub-hero::after { content: ""; position: absolute; right: -80px; bottom: -140px; width: 390px; height: 390px; border: 62px solid rgba(255, 255, 255, .24); border-radius: 50%; pointer-events: none; }
.category-hub--room .category-hub-hero::after { right: 5vw; bottom: -230px; width: 470px; height: 470px; border-width: 1px; border-color: rgba(7, 43, 58, .18); box-shadow: 0 0 0 46px rgba(255, 255, 255, .18), 0 0 0 92px rgba(255, 255, 255, .12); }
.category-hub--culture .category-hub-hero { color: white; }
.category-hub--culture .category-hub-hero::after { right: -90px; bottom: -290px; width: 620px; height: 620px; border: 1px solid rgba(255, 195, 61, .55); box-shadow: 0 0 0 62px rgba(255, 195, 61, .04), 0 0 0 124px rgba(255, 195, 61, .025); }
.category-hub--products .category-hub-hero::after { width: 330px; height: 330px; border-color: rgba(7, 43, 58, .11); }
.category-hub-hero .breadcrumbs { position: relative; z-index: 1; margin-bottom: 38px; }
.category-hub--culture .category-hub-hero .breadcrumbs { color: #bcd0cc; }
.category-hub-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(290px, .52fr); gap: clamp(45px, 8vw, 120px); align-items: end; }
.category-hub-heading h1 { max-width: 920px; margin: 0 0 24px; font-size: clamp(3.35rem, 5.35vw, 5.4rem); line-height: .96; text-wrap: balance; }
.category-hub--culture .category-hub-heading h1 { max-width: 800px; color: white; font-style: italic; }
.category-hub-lede { max-width: 790px; margin: 0; color: var(--ink-soft); font-size: clamp(1.02rem, 1.25vw, 1.18rem); line-height: 1.62; }
.category-hub--culture .category-hub-lede { color: #d6e4e1; }
.category-hub-orientation { padding: 22px 0 6px 23px; border-left: 4px solid var(--hub-accent); }
.category-hub-orientation > span { display: inline-block; margin-bottom: 12px; color: var(--ink); font-size: .72rem; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.category-hub-orientation p { margin: 0 0 18px; font-size: .94rem; line-height: 1.55; }
.category-hub-orientation a { font-size: .82rem; font-weight: 900; text-decoration-color: var(--hub-accent); text-decoration-thickness: 3px; }
.category-hub--culture .category-hub-orientation > span, .category-hub--culture .category-hub-orientation a { color: white; }

.category-hub-paths { padding: 80px 0 92px; background: var(--paper); }
.category-section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .55fr); gap: 60px; align-items: end; margin-bottom: 34px; }
.category-section-head h2 { max-width: 820px; margin: 0; font-size: clamp(2.55rem, 4vw, 4.1rem); text-wrap: balance; }
.category-section-head > p { margin: 0 0 6px; color: var(--muted); font-size: .95rem; }
.category-path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--line); gap: 1px; }
.category-path-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.category-path { position: relative; min-height: 250px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr auto; gap: 13px; padding: 23px; background: white; text-decoration: none; transition: color .2s ease, background .2s ease, transform .2s ease; }
.category-path::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--hub-accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.category-path:hover, .category-path:focus-visible { z-index: 1; background: var(--hub-soft); color: var(--ink); outline: 2px solid var(--ink); outline-offset: -2px; }
.category-path:hover::before, .category-path:focus-visible::before { transform: scaleX(1); }
.category-path-number { align-self: center; color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .12em; }
.category-path-icon { justify-self: end; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--hub-soft); color: var(--ink); }
.category-path-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.category-path > strong { grid-column: 1 / -1; font: 700 1.42rem/1.08 var(--serif); letter-spacing: -.025em; }
.category-path > small { grid-column: 1 / -1; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.category-path > i { grid-column: 2; justify-self: end; align-self: end; color: var(--hub-accent); font-style: normal; font-weight: 900; }
.category-hub--room .category-path { min-height: 230px; }
.category-hub--culture .category-path-grid { border-color: var(--ink); background: var(--ink); }
.category-hub--culture .category-path:nth-child(even) { background: #f2eee5; }
.category-hub--products .category-path { border-top: 5px solid var(--hub-accent); }
.category-hub--products .category-path::before { display: none; }

.category-hub-feature-section { padding: 80px 0 96px; background: var(--hub-soft); }
.category-hub-feature-section > .wrap > .eyebrow { margin-bottom: 18px; }
.category-feature-card { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr); min-height: 460px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow-small); }
.category-feature-image { display: block; min-height: 460px; overflow: hidden; background: var(--ink); }
.category-feature-image img { width: 100%; height: 100%; min-height: 460px; display: block; object-fit: cover; transition: transform .35s ease; }
.category-feature-card:hover .category-feature-image img { transform: scale(1.025); }
.category-feature-image--empty { display: grid; place-items: center; color: white; }
.category-feature-image--empty span { max-width: 360px; font: italic 700 3.5rem/1 var(--serif); text-align: center; }
.category-feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(36px, 5vw, 68px); }
.category-card-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-bottom: 20px; color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.category-card-meta span + span::before { content: "•"; margin-right: 18px; color: var(--hub-accent); }
.category-feature-copy h2 { margin: 0 0 20px; font-size: clamp(2.45rem, 3.75vw, 4rem); text-wrap: balance; }
.category-feature-copy h2 a { text-decoration: none; }
.category-feature-copy p { margin: 0 0 29px; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.category-read-link { margin-top: auto; font-size: .86rem; font-weight: 950; text-decoration-color: var(--hub-accent); text-decoration-thickness: 4px; }
.category-hub--culture .category-hub-feature-section { background: var(--paper); }
.category-hub--culture .category-feature-card { grid-template-columns: minmax(350px, .7fr) minmax(0, 1.3fr); border: 0; border-radius: 0; background: var(--ink-deep); color: white; box-shadow: none; }
.category-hub--culture .category-feature-image { order: 2; }
.category-hub--culture .category-feature-copy { order: 1; }
.category-hub--culture .category-feature-copy p, .category-hub--culture .category-card-meta { color: #c4d5d2; }
.category-hub--products .category-feature-card { border: 0; background: var(--ink-deep); color: white; }
.category-hub--products .category-feature-copy p, .category-hub--products .category-card-meta { color: #c4d5d2; }

.category-hub-cocoons { padding: 92px 0 105px; background: var(--paper); }
.category-hub--culture .category-hub-cocoons { background: #f2eee5; }
.category-cocoon-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.category-cocoon-card { grid-column: span 3; min-height: 255px; display: flex; flex-direction: column; padding: 27px; border: 1px solid var(--line); border-radius: 10px; background: white; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.category-cocoon-card:hover, .category-cocoon-card:focus-visible { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow-small); }
.category-cocoon-card > span { margin-bottom: auto; color: var(--hub-accent); font: italic 700 1.05rem/1 var(--serif); }
.category-cocoon-card h3 { margin: 28px 0 12px; font-size: 1.55rem; }
.category-cocoon-card p { margin: 0 0 22px; color: var(--muted); font-size: .84rem; }
.category-cocoon-card > strong { margin-top: auto; font-size: .78rem; }
.category-hub--room .category-cocoon-card:nth-child(1) { grid-column: span 6; background: var(--ink-deep); color: white; }
.category-hub--room .category-cocoon-card:nth-child(1) p { color: #c3d6d2; }
.category-hub--room .category-cocoon-card:nth-child(4) { grid-column: span 12; min-height: 205px; }
.category-hub--culture .category-cocoon-card { border-radius: 0; }
.category-hub--culture .category-cocoon-card:nth-child(1), .category-hub--culture .category-cocoon-card:nth-child(4) { grid-column: span 4; }
.category-hub--culture .category-cocoon-card:nth-child(2), .category-hub--culture .category-cocoon-card:nth-child(3) { grid-column: span 2; }
.category-hub--products .category-cocoon-card { border-top: 6px solid var(--hub-accent); }

.category-hub-entities { padding: 78px 0; background: var(--ink-deep); color: white; }
.category-hub--culture .category-hub-entities { background: var(--sun); color: var(--ink); }
.category-hub--products .category-hub-entities { background: #007e6e; }
.category-entity-layout { display: grid; grid-template-columns: minmax(290px, .72fr) minmax(0, 1.28fr); gap: clamp(55px, 9vw, 130px); align-items: center; }
.category-entity-heading h2 { max-width: 500px; margin: 0; color: inherit; font-size: clamp(2.5rem, 4vw, 4rem); }
.category-hub-entities .eyebrow { color: var(--hub-accent-2); }
.category-hub--culture .category-hub-entities .eyebrow { color: var(--teal); }
.category-entity-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .25); }
.category-hub--culture .category-entity-list { border-color: rgba(7, 43, 58, .3); }
.category-entity-list > div { min-height: 100px; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 20px; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.category-entity-list > div:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .25); }
.category-hub--culture .category-entity-list > div { border-color: rgba(7, 43, 58, .3); }
.category-entity-list strong { font: 700 1.25rem/1.15 var(--serif); }
.category-entity-list span { color: #b9cfcb; font-size: .75rem; }
.category-hub--culture .category-entity-list span { color: var(--ink-soft); }

.category-hub-more { padding: 94px 0 105px; background: var(--paper); }
.category-article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.category-article-card { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: white; transition: transform .2s ease, box-shadow .2s ease; }
.category-article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-small); }
.category-article-image { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.category-article-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.category-article-card:hover .category-article-image img { transform: scale(1.025); }
.category-article-card > div { padding: 25px; }
.category-article-card h3 { margin: 0 0 13px; font-size: 1.7rem; }
.category-article-card h3 a { text-decoration: none; }
.category-article-card p { color: var(--muted); font-size: .9rem; }
.category-article-card > div > a { font-size: .8rem; font-weight: 900; text-decoration-color: var(--hub-accent); text-decoration-thickness: 3px; }

.category-hub-method { padding: 45px 0; background: var(--sun); }
.category-hub--culture .category-hub-method { background: #dfeee9; }
.category-method-grid { display: grid; grid-template-columns: .35fr 1.1fr .8fr auto; gap: 34px; align-items: center; }
.category-method-grid .eyebrow { margin: 0; color: var(--ink); }
.category-method-grid h2 { margin: 0; font-size: clamp(1.85rem, 2.6vw, 2.8rem); }
.category-method-grid > p:not(.eyebrow) { margin: 0; font-size: .85rem; }
.category-method-grid > a { white-space: nowrap; font-size: .8rem; font-weight: 900; }

.category-hub-cross { padding: 83px 0 92px; background: var(--paper); }
.category-cross-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.category-cross-grid > a { position: relative; min-height: 170px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 48px 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.category-cross-grid > a + a { padding-left: 24px; border-left: 1px solid var(--line); }
.category-cross-grid span { margin-bottom: 13px; color: var(--teal); font-size: .68rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.category-cross-grid strong { max-width: 320px; font: 700 1.35rem/1.13 var(--serif); }
.category-cross-grid i { position: absolute; right: 18px; top: 25px; color: var(--hub-accent); font-style: normal; }
.category-cross-grid > a:hover strong { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 4px; text-underline-offset: 5px; }

.category-hub-tool-cta { padding: 55px 0; background: var(--ink-deep); color: white; }
.category-hub-tool-cta > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.category-hub-tool-cta .eyebrow { margin-bottom: 8px; color: var(--sun); }
.category-hub-tool-cta h2 { margin: 0; color: white; font-size: clamp(2.2rem, 3.4vw, 3.5rem); }
.category-hub-tool-cta .button { flex: 0 0 auto; background: var(--sun); color: var(--ink); }

@media (max-width: 1120px) {
  .category-path-grid, .category-path-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-path { min-height: 225px; }
  .category-cocoon-card, .category-hub--culture .category-cocoon-card:nth-child(n) { grid-column: span 6; }
  .category-method-grid { grid-template-columns: .35fr 1fr .75fr; }
  .category-method-grid > a { grid-column: 2; }
}

@media (max-width: 900px) {
  .category-hub-hero { padding: 38px 0 55px; }
  .category-hub-hero-grid, .category-section-head, .category-entity-layout { grid-template-columns: 1fr; gap: 30px; }
  .category-hub-heading h1 { font-size: clamp(3rem, 8.5vw, 4.9rem); }
  .category-hub-orientation { max-width: 600px; }
  .category-hub-paths, .category-hub-feature-section, .category-hub-cocoons, .category-hub-more { padding: 68px 0 76px; }
  .category-feature-card, .category-hub--culture .category-feature-card { grid-template-columns: 1fr; }
  .category-hub--culture .category-feature-image, .category-hub--culture .category-feature-copy { order: initial; }
  .category-feature-image, .category-feature-image img { min-height: 360px; }
  .category-feature-copy { min-height: 380px; }
  .category-entity-list { max-width: 760px; }
  .category-article-grid { grid-template-columns: repeat(2, 1fr); }
  .category-method-grid { grid-template-columns: 1fr 1fr; }
  .category-method-grid .eyebrow { grid-column: 1 / -1; }
  .category-method-grid > a { grid-column: 2; grid-row: 2; justify-self: end; }
}

@media (max-width: 680px) {
  .category-hub-hero .breadcrumbs { margin-bottom: 28px; }
  .category-hub-heading h1 { margin-bottom: 20px; font-size: 2.75rem; }
  .category-hub-lede { font-size: .97rem; }
  .category-hub-orientation { padding: 16px 0 0 16px; }
  .category-hub-paths, .category-hub-feature-section, .category-hub-cocoons, .category-hub-more { padding: 54px 0 62px; }
  .category-section-head { margin-bottom: 25px; }
  .category-section-head h2 { font-size: 2.45rem; }
  .category-path-grid, .category-path-grid--5 { grid-template-columns: 1fr; }
  .category-path { min-height: 205px; }
  .category-feature-card { min-height: 0; border-radius: 10px; }
  .category-feature-image, .category-feature-image img { min-height: 250px; }
  .category-feature-copy { min-height: 350px; padding: 30px 24px; }
  .category-feature-copy h2 { font-size: 2.4rem; }
  .category-cocoon-grid { grid-template-columns: 1fr; }
  .category-cocoon-card, .category-hub--room .category-cocoon-card:nth-child(1), .category-hub--room .category-cocoon-card:nth-child(4), .category-hub--culture .category-cocoon-card:nth-child(n) { grid-column: auto; min-height: 220px; }
  .category-hub-entities { padding: 60px 0; }
  .category-entity-heading h2 { font-size: 2.55rem; }
  .category-entity-list { grid-template-columns: 1fr; }
  .category-entity-list > div:nth-child(odd) { border-right: 0; }
  .category-article-grid { grid-template-columns: 1fr; }
  .category-method-grid { grid-template-columns: 1fr; gap: 18px; }
  .category-method-grid > a { grid-column: 1; grid-row: auto; justify-self: start; }
  .category-cross-grid { grid-template-columns: 1fr; }
  .category-cross-grid > a, .category-cross-grid > a + a { min-height: 140px; padding: 22px 45px 22px 0; border-left: 0; }
  .category-hub-tool-cta > .wrap { align-items: flex-start; flex-direction: column; gap: 28px; }
}

/* Article decision-first — v1.3.0 */
.article-page { background: var(--paper); }
.article-page .article-hero { position: relative; overflow: hidden; padding: 50px 0 68px; border-bottom: 1px solid rgba(7, 43, 58, .12); background: #fff0b8; }
.article-page .article-hero::after { content: ""; position: absolute; right: -110px; bottom: -245px; width: 560px; height: 560px; border: 74px solid rgba(0, 155, 131, .11); border-radius: 50%; pointer-events: none; }
.article-page .article-head { position: relative; z-index: 1; }
.article-page .article-head .breadcrumbs { max-width: 1000px; margin-bottom: 30px; }
.article-page .article-kicker { color: var(--ink); }
.article-page .article-head h1 { max-width: 1180px; margin: 8px 0 22px; font-size: clamp(3.25rem, 5vw, 5.1rem); line-height: .96; letter-spacing: -.045em; text-wrap: balance; }
.article-page .article-deck { max-width: 880px; margin: 0 0 23px; color: #294f5b; font-size: clamp(1.08rem, 1.5vw, 1.28rem); font-weight: 620; line-height: 1.55; }
.article-page .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; color: #405f69; font-size: .84rem; font-weight: 760; }
.article-page .article-meta a { text-decoration-color: var(--teal); text-decoration-thickness: 2px; }
.article-page .article-meta + .entity-meta { margin-top: 17px; }

.article-opening { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, .55fr); margin-top: 44px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.article-opening--image-only { grid-template-columns: 1fr; max-width: 742px; box-shadow: var(--shadow-small); }
.article-opening .article-cover { position: relative; min-height: 350px; margin: 0; overflow: hidden; background: var(--mist); }
.article-opening .article-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.slm-entry-cover-shell { position: relative; z-index: 3; margin-top: -34px; pointer-events: none; }
.slm-entry-cover { max-width: 756px; aspect-ratio: 3 / 2; margin: 0 auto; overflow: hidden; border: 8px solid var(--paper); border-radius: 16px; background: var(--mist); box-shadow: var(--shadow); pointer-events: auto; }
.slm-entry-cover-image { width: 100%; height: 100%; display: block; object-fit: cover; }
.slm-compare-cover { max-width: 70%; aspect-ratio: 3 / 2; margin: 0 auto 46px; overflow: hidden; border-radius: 14px; background: var(--mist); box-shadow: var(--shadow-small); }
.slm-compare-cover .slm-entry-cover-image { width: 100%; height: 100%; object-fit: cover; }
.article-snapshot { display: flex; flex-direction: column; justify-content: center; padding: 34px 30px; background: var(--ink-deep); color: white; }
.article-snapshot .eyebrow { color: var(--sun); }
.article-snapshot h2 { margin: 0 0 26px; color: white; font-size: clamp(2rem, 2.8vw, 2.8rem); line-height: .98; }
.snapshot-list { display: grid; }
.snapshot-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 17px 0; border-top: 1px solid rgba(255, 255, 255, .17); }
.snapshot-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--sun); color: var(--ink); }
.snapshot-item--close .snapshot-icon { background: var(--coral); }
.snapshot-item--compromise .snapshot-icon { background: var(--teal); color: white; }
.snapshot-icon svg, .context-options svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.snapshot-item strong { display: block; font: 780 1rem/1.2 var(--sans); }
.snapshot-item p { margin: 5px 0 0; color: #ccdedb; font-size: .84rem; line-height: 1.42; }

.article-context-tool { margin-top: 68px; padding: 40px 0; border-block: 1px solid #bad2cb; background: var(--mist); }
.article-context-grid { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(410px, 1.25fr) minmax(260px, .75fr); gap: 32px; align-items: center; }
.article-context-grid header h2 { margin: 0 0 13px; font-size: clamp(2rem, 3vw, 3rem); }
.article-context-grid header > p:last-child { margin: 0; color: var(--muted); font-size: .9rem; }
.context-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.context-options button { min-height: 86px; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 11px; padding: 13px; border: 1px solid #a9c2bb; border-radius: 10px; background: white; color: var(--ink); text-align: left; cursor: pointer; transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease; }
.context-options button:hover, .context-options button:focus-visible { transform: translateY(-2px); border-color: var(--ink); }
.context-options button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: white; box-shadow: inset 0 0 0 2px white; }
.context-options button > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: #d9f2eb; color: var(--teal); }
.context-options button[aria-pressed="true"] > span { background: var(--sun); color: var(--ink); }
.context-options button strong { font-size: .86rem; line-height: 1.25; }
.context-result { min-height: 186px; display: flex; flex-direction: column; justify-content: center; padding: 23px; border-left: 6px solid var(--sun); border-radius: 9px; background: white; }
.context-result[data-context-result="open"] { border-color: var(--teal); }
.context-result[data-context-result="close"] { border-color: var(--coral); }
.context-result small { color: var(--teal); font-size: .72rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.context-result strong { display: block; margin-top: 8px; font: 700 1.45rem/1.12 var(--serif); }
.context-result p { margin: 11px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }

.article-page .article-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; justify-content: center; gap: 52px; align-items: start; padding: 76px 0 112px; }
.article-page .article-layout .wp-content { width: 100%; margin: 0; padding: 0; }
.article-page .wp-content > :first-child { margin-top: 0; }
.article-page .wp-content > p:first-child { color: #234955; font-size: 1.16rem; font-weight: 560; line-height: 1.68; }
.article-page .wp-content h2 { margin: 2.05em 0 .58em; font-size: clamp(2.15rem, 3.25vw, 3.25rem); scroll-margin-top: 105px; text-wrap: balance; }
.article-page .wp-content h3 { margin: 1.75em 0 .5em; font-size: clamp(1.45rem, 2vw, 1.85rem); scroll-margin-top: 105px; }
.article-page .wp-content p, .article-page .wp-content li { font-size: 1.04rem; line-height: 1.78; }
.article-page .wp-content li + li { margin-top: .48em; }
.article-page .wp-content a { font-weight: 720; text-decoration-color: var(--teal); text-decoration-thickness: 2px; }
.article-page .wp-content blockquote, .article-page .wp-content .slm-note { margin: 2.25rem 0; padding: 22px 25px; border: 0; border-left: 6px solid var(--sun); border-radius: 0 9px 9px 0; background: #fff2c6; font: 650 1.08rem/1.58 var(--sans); }
.article-page .wp-content blockquote p, .article-page .wp-content .slm-note p { margin: 0; font-size: inherit; }
.article-page .wp-content img { height: auto; border-radius: 10px; }
.article-page .wp-content table { width: 100%; margin: 30px 0 42px; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: white; }
.article-page .wp-content th, .article-page .wp-content td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-page .wp-content th { background: var(--ink); color: white; font-size: .84rem; }
.article-page .wp-content tr:last-child > * { border-bottom: 0; }
.article-page .wp-content details { margin: 10px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: white; }
.article-page .wp-content summary { position: relative; padding: 17px 46px 17px 18px; font-weight: 800; cursor: pointer; list-style: none; }
.article-page .wp-content summary::-webkit-details-marker { display: none; }
.article-page .wp-content summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--teal); font-size: 1.35rem; }
.article-page .wp-content details[open] summary::after { content: "−"; }
.article-page .wp-content details > p { margin: 0; padding: 0 18px 18px; color: var(--muted); font-size: .96rem; }
.article-page .wp-content .alignwide { width: min(1040px, calc(100vw - 64px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.article-page .wp-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.article-page .sources-article { margin-top: 70px; padding: 28px; border-top: 5px solid var(--teal); border-radius: 10px; background: var(--mist); }
.article-page .sources-article h2 { margin-top: 0; font-size: 2.35rem; }
.article-page .sources-article p, .article-page .sources-article li { font-size: .9rem; }

.article-aside { position: sticky; top: 94px; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 11px; background: white; box-shadow: var(--shadow-small); }
.article-toc-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 19px; border: 0; border-bottom: 1px solid var(--line); background: var(--ink); color: white; font: 870 .9rem/1.2 var(--sans); text-align: left; cursor: pointer; }
.article-toc-toggle > span:last-child { color: var(--sun); font-size: 1.25rem; transition: transform .18s ease; }
.article-toc-toggle[aria-expanded="false"] > span:last-child { transform: rotate(-90deg); }
.article-toc { max-height: min(52vh, 560px); overflow-y: auto; padding: 14px 18px 17px; }
.article-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.article-toc li { margin: 0; }
.article-toc li.is-h3 { padding-left: 13px; }
.article-toc a { display: block; padding: 7px 9px; border-left: 3px solid transparent; color: #4d6972; font-size: .78rem; font-weight: 720; line-height: 1.35; text-decoration: none; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.article-toc a:hover, .article-toc a:focus-visible, .article-toc a.is-active { border-color: var(--teal); background: var(--mist); color: var(--ink); }
.article-aside-action { padding: 19px; background: #f2f7f5; }
.article-aside-action > strong { font: 700 1.15rem/1.15 var(--serif); }
.article-aside-action p { margin: 8px 0 15px; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.article-aside-action .button { width: 100%; min-height: 42px; padding: 9px 11px; background: var(--sun); color: var(--ink); font-size: .78rem; }
.article-page + .hub-related .hub-related-links a small, .article-page .hub-related-links a small { color: #c8dcda; font-size: .75rem; font-weight: 780; }

@media (max-width: 1100px) {
  .article-opening { grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); }
  .article-context-grid { grid-template-columns: minmax(220px, .7fr) minmax(390px, 1.3fr); }
  .context-result { grid-column: 1 / -1; min-height: auto; }
  .article-page .article-layout { grid-template-columns: minmax(0, 700px) 245px; gap: 34px; }
}

@media (max-width: 900px) {
  .article-opening { grid-template-columns: 1fr; }
  .article-opening .article-cover { min-height: 280px; aspect-ratio: 16 / 9; }
  .article-context-grid { grid-template-columns: 1fr; }
  .context-result { grid-column: auto; }
  .article-page .article-layout { display: flex; flex-direction: column; gap: 0; }
  .article-aside { position: static; order: -1; width: 100%; margin: 0 0 40px; }
  .article-aside.is-collapsed .article-toc { display: none; }
}

@media (max-width: 680px) {
	.slm-entry-cover-shell { margin-top: -18px; }
	.slm-entry-cover-shell .wrap { width: min(100% - 24px, 1240px); }
	.slm-entry-cover { border-width: 4px; border-radius: 11px; }
	.slm-compare-cover { max-width: 100%; margin-bottom: 32px; border-radius: 10px; }
	.article-page .article-hero { padding: 38px 0 45px; }
  .article-page .article-hero::after { right: -150px; bottom: -190px; width: 370px; height: 370px; border-width: 48px; }
  .article-page .article-head .breadcrumbs { margin-bottom: 23px; }
  .article-page .article-head h1 { font-size: clamp(2.55rem, 12vw, 3.3rem); }
  .article-page .article-deck { font-size: 1.02rem; }
  .article-page .article-meta { gap: 5px 8px; font-size: .77rem; }
  .article-opening { width: min(100% - 28px, 1240px); margin-top: 27px; border-radius: 12px; }
  .article-opening .article-cover { min-height: 165px; }
  .article-snapshot { padding: 27px 20px 22px; }
  .article-snapshot h2 { font-size: 2rem; }
  .snapshot-item { grid-template-columns: 39px minmax(0, 1fr); gap: 11px; }
  .snapshot-icon { width: 38px; height: 38px; }
  .article-context-tool { margin-top: 45px; padding: 32px 0; }
  .context-options { grid-template-columns: 1fr; }
  .context-options button { min-height: 70px; }
  .article-page .article-layout { width: min(100% - 28px, 1240px); padding: 50px 0 75px; }
  .article-page .wp-content h2 { margin-top: 1.8em; font-size: 2.3rem; }
  .article-page .wp-content h3 { font-size: 1.5rem; }
  .article-page .wp-content p, .article-page .wp-content li { font-size: 1rem; line-height: 1.72; }
  .article-page .wp-content table { display: block; overflow-x: auto; font-size: .86rem; }
  .article-page .sources-article { padding: 21px; }
}
