/*
Theme Name: Evidence Health
Theme URI: https://todaypress.net/
Author: Evidence Health Editorial
Description: Accessible editorial theme for an evidence-led health information portal.
Version: 1.5.1
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: evidence-health
*/

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("assets/fonts/atkinson-next-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("assets/fonts/atkinson-next-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("assets/fonts/atkinson-next-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --eh-ink: #172b35;
  --eh-navy: #123b4c;
  --eh-navy-deep: #0b3040;
  --eh-teal: #087f74;
  --eh-teal-dark: #06675f;
  --eh-aqua: #dcefeb;
  --eh-ivory: #f8f5ed;
  --eh-white: #ffffff;
  --eh-sand: #f2efe7;
  --eh-gold: #c28b2c;
  --eh-gold-dark: #83570d;
  --eh-red: #b42318;
  --eh-red-soft: #fff0ed;
  --eh-muted: #5d6f79;
  --eh-line: #d5dedf;
  --eh-shadow: 0 18px 48px rgba(17, 57, 77, .10);
  --eh-radius: 18px;
  --eh-content: 1180px;
  --eh-reading: 740px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--eh-ink);
  background: var(--eh-ivory);
  font-family: "Atkinson Hyperlegible Next", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--eh-teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--eh-navy); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--eh-gold-dark); outline-offset: 3px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
  position: fixed !important; top: 16px; left: 16px; z-index: 9999; width: auto; height: auto;
  clip: auto; margin: 0; padding: 10px 16px; color: #fff; background: var(--eh-navy); border-radius: 8px;
}
.eh-container { width: min(calc(100% - 40px), var(--eh-content)); margin-inline: auto; }
.eh-reading { width: min(calc(100% - 40px), var(--eh-reading)); margin-inline: auto; }
.eh-serif, h1, h2, h3, h4 { font-family: "Newsreader", Georgia, serif; letter-spacing: -.032em; font-optical-sizing: auto; }
h1, h2, h3, h4 { color: var(--eh-navy-deep); line-height: 1.14; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); margin: 0 0 .35em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); margin: 1.5em 0 .55em; }
h3 { font-size: 1.45rem; margin: 1.4em 0 .5em; }
h4 { font-size: 1.12rem; }
p { margin: 0 0 1.15em; }
ul, ol { padding-left: 1.35em; }
li { margin-block: .32em; }
blockquote {
  margin: 1.5em 0; padding: 1.25em 1.5em; border-left: 5px solid var(--eh-gold);
  background: var(--eh-sand); color: var(--eh-navy); font-family: "Newsreader", Georgia, serif; font-size: 1.08em;
}
table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .92rem; }
th, td { padding: .8em; border: 1px solid var(--eh-line); text-align: left; vertical-align: top; }
th { color: #fff; background: var(--eh-navy); }

.eh-utility { padding: 6px 0; color: var(--eh-navy); background: var(--eh-aqua); font-size: .78rem; }
.eh-utility .eh-container { display: flex; justify-content: flex-end; gap: 22px; }
.eh-site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--eh-line); background: rgba(255,255,255,.98); }
.eh-header-inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.eh-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--eh-navy); text-decoration: none; }
.eh-brand-mark { display: block; width: 44px; height: 44px; flex: 0 0 44px; }
.eh-brand-name { font: 680 1.38rem/1 "Newsreader", Georgia, serif; letter-spacing: -.035em; }
.eh-primary-nav ul { display: flex; justify-content: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.eh-primary-nav a { color: var(--eh-navy); text-decoration: none; font-size: .9rem; font-weight: 700; }
.eh-primary-nav a:hover, .eh-primary-nav .current-menu-item > a { color: var(--eh-teal); }
.eh-search-toggle { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--eh-line); border-radius: 50%; background: var(--eh-ivory); color: var(--eh-navy); text-decoration: none; font-weight: 800; }

.eh-hero {
  position: relative; overflow: hidden; padding: clamp(52px, 7.5vw, 92px) 0 clamp(58px, 7vw, 88px);
  background: var(--eh-ivory);
}
.eh-hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 5px; background: var(--eh-gold); }
.eh-hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr); gap: clamp(38px, 6vw, 86px); align-items: center; }
.eh-hero-copy { position: relative; z-index: 1; max-width: 680px; }
.eh-hero-copy h1 { max-width: 650px; font-size: clamp(3rem, 5.6vw, 5.35rem); line-height: .98; letter-spacing: -.055em; }
.eh-hero-media { position: relative; margin: 0; min-height: 590px; }
.eh-hero-media::before { content: ""; position: absolute; z-index: 0; inset: 32px -24px -24px 38px; border-radius: 34px 12px 34px 12px; background: var(--eh-aqua); }
.eh-hero-media img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; border-radius: 12px 34px 12px 34px; filter: saturate(.98) contrast(1.02); box-shadow: var(--eh-shadow); }
.eh-hero-caption { position: absolute; z-index: 2; left: -28px; right: 28px; bottom: 24px; display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 18px 20px; color: #fff; background: rgba(11,48,64,.94); border-radius: 8px 18px 8px 18px; }
.eh-hero-caption strong { max-width: 280px; font: 620 1.08rem/1.2 "Newsreader", Georgia, serif; }
.eh-hero-caption small { max-width: 190px; color: rgba(255,255,255,.68); font-size: .68rem; text-align: right; }
.eh-hero-notes { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; color: var(--eh-muted); font-size: .8rem; }
.eh-hero-notes span { display: inline-flex; align-items: center; gap: 7px; }
.eh-hero-notes span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--eh-gold); }
.eh-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--eh-teal-dark); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eh-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--eh-gold); }
.eh-lede { max-width: 720px; color: #45606d; font-size: 1.18rem; }
.eh-search-form { display: flex; gap: 10px; max-width: 760px; margin-top: 30px; padding: 9px; border: 1px solid rgba(17,57,77,.14); border-radius: 16px; background: #fff; box-shadow: var(--eh-shadow); }
.eh-search-form label { display: flex; flex: 1; min-width: 0; }
.eh-search-form input[type="search"] { min-width: 0; flex: 1; border: 0; padding: 9px 12px; color: var(--eh-navy); background: transparent; }
.eh-button, .eh-search-form input[type="submit"], .eh-search-form button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 19px;
  border: 1px solid transparent; border-radius: 999px; color: #fff; background: var(--eh-teal); text-decoration: none; font-weight: 800; cursor: pointer;
}
.eh-button:hover, .eh-search-form input[type="submit"]:hover, .eh-search-form button:hover { color: #fff; background: var(--eh-teal-dark); }
.eh-button--secondary { color: var(--eh-navy); background: transparent; border-color: rgba(17,57,77,.25); }
.eh-button--secondary:hover { color: var(--eh-navy); background: #fff; }
.eh-mobile-nav { display: none; position: relative; }
.eh-mobile-nav summary { min-width: 44px; min-height: 44px; padding: 11px 14px; border: 1px solid var(--eh-line); border-radius: 999px; color: var(--eh-navy); background: var(--eh-ivory); font-weight: 800; cursor: pointer; list-style: none; }
.eh-mobile-nav summary::-webkit-details-marker { display: none; }
.eh-mobile-nav ul { position: absolute; z-index: 20; right: 0; top: calc(100% + 10px); width: min(82vw, 320px); margin: 0; padding: 14px; border: 1px solid var(--eh-line); border-radius: 14px; background: #fff; box-shadow: var(--eh-shadow); list-style: none; }
.eh-mobile-nav li + li { border-top: 1px solid var(--eh-line); }
.eh-mobile-nav a { display: block; padding: 12px; color: var(--eh-navy); text-decoration: none; font-weight: 700; }

.eh-trust-strip { color: #fff; background: var(--eh-navy); }
.eh-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.eh-trust-item { padding: 23px 28px; border-right: 1px solid rgba(255,255,255,.14); }
.eh-trust-item:last-child { border: 0; }
.eh-trust-item strong { display: block; font-family: "Newsreader", Georgia, serif; font-size: 1.08rem; }
.eh-trust-item span { color: rgba(255,255,255,.7); font-size: .82rem; }
.eh-section { padding: clamp(68px, 9vw, 110px) 0; }
.eh-section--white { background: #fff; }
.eh-section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.eh-section-head h2 { margin: 0; }
.eh-section-head p { max-width: 560px; color: var(--eh-muted); }
.eh-topic-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.eh-topic-grid--preview { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.eh-topic-card { min-height: 270px; overflow: hidden; border: 1px solid var(--eh-line); border-radius: var(--eh-radius); color: var(--eh-navy); background: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.eh-topic-card:hover { transform: translateY(-4px); box-shadow: var(--eh-shadow); }
.eh-topic-card-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--eh-aqua); }
.eh-topic-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,48,64,.2)); pointer-events: none; }
.eh-topic-card-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.98) contrast(1.02); transition: transform .45s ease; }
.eh-topic-card:hover .eh-topic-card-media img { transform: scale(1.025); }
.eh-topic-card-copy { display: block; padding: 20px 22px 23px; }
.eh-topic-card small { color: var(--eh-gold-dark); font-weight: 800; letter-spacing: .1em; }
.eh-topic-card strong { display: block; margin: 9px 0 7px; font: 680 1.2rem/1.18 "Newsreader", Georgia, serif; }
.eh-topic-card span { color: var(--eh-muted); font-size: .82rem; }
.eh-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.eh-card { padding: 26px; border: 1px solid var(--eh-line); border-radius: var(--eh-radius); background: #fff; }
.eh-card small { color: var(--eh-gold-dark); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eh-card h3 { margin-top: .3em; }
.eh-card a { font-weight: 800; }
.eh-promise { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; padding: 54px; border-radius: 26px; background: var(--eh-aqua); }
.eh-promise h2 { margin-top: 0; }
.eh-promise-list { display: grid; gap: 17px; }
.eh-promise-item { display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.eh-promise-item b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--eh-teal); }

.eh-page-hero { padding: 66px 0 52px; background: linear-gradient(135deg, #fff, var(--eh-aqua)); }
.eh-page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: clamp(38px, 6vw, 76px); align-items: center; }
.eh-page-hero-copy { min-width: 0; }
.eh-page-hero h1 { max-width: 980px; font-size: clamp(2.6rem, 5vw, 4.55rem); }
.eh-page-feature { position: relative; margin: 0; min-height: 360px; }
.eh-page-feature::after { content: ""; position: absolute; z-index: 0; inset: 18px -16px -16px 24px; border-radius: 24px 8px 24px 8px; background: rgba(8,127,116,.14); }
.eh-page-feature img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 8px 24px 8px 24px; filter: saturate(.97) contrast(1.01); box-shadow: var(--eh-shadow); }
.eh-page-feature figcaption { position: absolute; z-index: 2; right: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 7px 10px; border-radius: 7px; color: rgba(255,255,255,.86); background: rgba(11,48,64,.88); font: 600 .68rem/1.25 "Atkinson Hyperlegible Next", Arial, sans-serif; }
.eh-page-feature figcaption a { color: inherit; text-decoration: none; }
.eh-page-feature figcaption a:hover { color: #fff; text-decoration: underline; }
.eh-breadcrumbs { margin-bottom: 26px; color: var(--eh-muted); font-size: .82rem; }
.eh-breadcrumbs a { color: inherit; }
.eh-page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 52px; }
.eh-guide-list { display: grid; gap: 16px; }
.eh-guide-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 25px; border: 1px solid var(--eh-line); border-radius: 16px; background: #fff; }
.eh-guide-card h3 { margin: 0 0 7px; }
.eh-guide-card p { margin: 0; color: var(--eh-muted); font-size: .9rem; }
.eh-guide-card a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--eh-aqua); text-decoration: none; }

.eh-article-header { padding: 58px 0 42px; border-bottom: 1px solid var(--eh-line); background: #fff; }
.eh-article-header h1 { max-width: 980px; font-size: clamp(2.6rem, 5.8vw, 4.75rem); }
.eh-article-dek { max-width: 820px; color: #45606d; font-size: 1.15rem; }
.eh-review-card { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; max-width: 1000px; margin-top: 28px; padding: 18px 20px; border: 1px solid var(--eh-line); border-radius: 14px; background: var(--eh-ivory); font-size: .83rem; }
.eh-review-card span { display: block; color: var(--eh-muted); }
.eh-review-card strong { color: var(--eh-navy); }
.eh-status-pending { color: var(--eh-red) !important; }
.eh-article-layout { display: grid; grid-template-columns: 230px minmax(0, var(--eh-reading)) 230px; justify-content: space-between; gap: 38px; padding: 56px 0 100px; background: #fff; }
.eh-toc { position: sticky; top: 25px; align-self: start; font-size: .85rem; }
.eh-toc strong { color: var(--eh-navy); }
.eh-toc ul { padding-left: 18px; }
.eh-article-body { min-width: 0; font-family: "Newsreader", Georgia, serif; font-size: 1.12rem; line-height: 1.72; }
.eh-article-body h2, .eh-article-body h3, .eh-article-body h4 { scroll-margin-top: 30px; }
.eh-article-body > :first-child { margin-top: 0; }
.eh-article-body a { overflow-wrap: anywhere; }
.eh-related-reading { margin: 52px 0 0; padding: 28px 30px; border: 1px solid var(--eh-line); border-left: 5px solid var(--eh-teal); border-radius: 8px 18px 8px 18px; background: #f6fbfa; font-family: "Atkinson Hyperlegible Next", Arial, sans-serif; }
.eh-related-reading h2 { margin-top: 0; font-size: 1.55rem; }
.eh-related-reading ul { margin: 0; padding-left: 1.2rem; }
.eh-related-reading li + li { margin-top: 8px; }
.eh-related-reading a { font-weight: 700; }
.eh-summary { padding: 26px; border-left: 5px solid var(--eh-teal); background: var(--eh-aqua); font-family: "Atkinson Hyperlegible Next", sans-serif; }
.eh-urgent { margin: 30px 0; padding: 25px; border: 1px solid #efb7b0; border-radius: 14px; background: var(--eh-red-soft); font-family: "Atkinson Hyperlegible Next", sans-serif; }
.eh-urgent h2, .eh-urgent h3 { margin-top: 0; color: var(--eh-red); }
.eh-evidence-card { align-self: start; padding: 20px; border: 1px solid var(--eh-line); border-radius: 14px; font-size: .82rem; }
.eh-evidence-card strong { display: block; color: var(--eh-navy); }
.eh-update-log { padding: 20px; border-radius: 12px; background: var(--eh-sand); font-family: "Atkinson Hyperlegible Next", sans-serif; font-size: .88rem; }
.eh-pagination { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 25px; border-top: 1px solid var(--eh-line); }

.eh-search-page, .eh-archive-page { min-height: 65vh; }
.eh-search-results { display: grid; gap: 16px; }
.eh-search-result { padding: 24px; border: 1px solid var(--eh-line); border-radius: 14px; background: #fff; }
.eh-search-result h2 { margin: 0 0 .3em; font-size: 1.5rem; }
.eh-empty { padding: 36px; border: 1px solid var(--eh-line); border-radius: var(--eh-radius); background: #fff; }

.eh-site-footer { padding: 58px 0 26px; color: rgba(255,255,255,.74); background: var(--eh-navy-deep); }
.eh-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.eh-site-footer .eh-brand { color: #fff; }
.eh-site-footer h2, .eh-site-footer h3 { color: #fff; font-family: "Atkinson Hyperlegible Next", sans-serif; font-size: 1rem; letter-spacing: 0; }
.eh-site-footer ul { margin: 0; padding: 0; list-style: none; }
.eh-site-footer a { display: block; margin: 8px 0; color: rgba(255,255,255,.76); text-decoration: none; font-size: .85rem; }
.eh-footer-legal { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); font-size: .76rem; }
.alignwide { width: min(100%, var(--eh-content)); margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

@media (max-width: 1020px) {
  .eh-primary-nav { display: none; }
  .eh-mobile-nav { display: block; }
  .eh-header-inner { grid-template-columns: 1fr auto auto; }
  .eh-topic-grid { grid-template-columns: repeat(2, 1fr); }
  .eh-topic-grid--preview { grid-template-columns: repeat(2, 1fr); }
  .eh-card-grid { grid-template-columns: repeat(2, 1fr); }
  .eh-promise, .eh-page-layout { grid-template-columns: 1fr; }
  .eh-page-hero-grid { grid-template-columns: 1fr; }
  .eh-page-feature { min-height: 420px; }
  .eh-article-layout { grid-template-columns: minmax(0, 1fr); }
  .eh-hero-grid { grid-template-columns: 1fr; }
  .eh-hero-copy { max-width: 760px; }
  .eh-hero-media { min-height: 520px; }
  .eh-toc { position: static; }
  .eh-evidence-card { max-width: var(--eh-reading); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .eh-container, .eh-reading { width: min(calc(100% - 28px), var(--eh-content)); }
  .eh-utility { display: none; }
  .eh-header-inner { min-height: 68px; gap: 8px; }
  .eh-brand-mark { width: 39px; height: 39px; flex-basis: 39px; }
  .eh-brand-name { font-size: 1.22rem; }
  .eh-browse-link { padding: 9px 11px; font-size: .72rem; }
  .eh-hero-copy h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .eh-hero-media { min-height: 420px; }
  .eh-hero-media::before { inset: 18px -10px -14px 20px; }
  .eh-hero-caption { left: 12px; right: 12px; bottom: 14px; align-items: start; flex-direction: column; }
  .eh-hero-caption small { text-align: left; }
  .eh-search-form { flex-direction: column; }
  .eh-trust-grid, .eh-topic-grid, .eh-card-grid, .eh-footer-grid { grid-template-columns: 1fr; }
  .eh-trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .eh-section-head { align-items: start; flex-direction: column; }
  .eh-promise { padding: 30px; }
  .eh-page-feature { min-height: 320px; }
  .eh-review-card { align-items: flex-start; flex-direction: column; }
  table { display: block; max-width: 100%; overflow-x: auto; }
}

/* 1.5 public health library */
.eh-shell {
  width: min(calc(100% - 40px), var(--eh-content));
  margin-inline: auto;
}

body {
  color: #17323d;
  background: #fff;
}

.eh-serif,
h1,
h2,
h3,
h4,
.eh-brand-name,
.eh-article-body,
blockquote,
.eh-topic-card strong,
.eh-trust-item strong,
.eh-hero-caption strong,
.eh-ux-hero-media figcaption strong,
.eh-metric-grid dt {
  font-family: "Atkinson Hyperlegible Next", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.018em;
}

h1 { font-size: clamp(2.45rem, 4.6vw, 3.85rem); }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.65rem); }
h3 { font-size: 1.35rem; }

.eh-brand-name { font-size: 1.18rem; font-weight: 700; letter-spacing: -.025em; }
.eh-site-header { position: sticky; top: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
.eh-header-inner { min-height: 72px; }
.eh-primary-nav a { font-size: .85rem; }
.eh-browse-link { border-radius: 8px; color: #fff; background: var(--eh-navy); }
.eh-browse-link:hover { color: #fff; background: var(--eh-teal-dark); }
.eh-utility a { color: var(--eh-navy); font-weight: 700; }

.eh-library-home { overflow: hidden; background: #fff; }
.eh-library-hero {
  padding: clamp(52px, 7vw, 82px) 0;
  border-bottom: 1px solid var(--eh-line);
  background: #f1f8f6;
}
.eh-library-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
}
.eh-kicker {
  margin: 0 0 14px;
  color: var(--eh-teal-dark);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eh-library-intro h1 {
  max-width: 700px;
  margin: 0 0 20px;
  font-size: clamp(2.65rem, 4.2vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.eh-library-lede { max-width: 650px; margin: 0; color: #48636d; font-size: 1.12rem; }
.eh-search-panel {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(18,59,76,.15);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(17,57,77,.08);
}
.eh-home-search label { display: block; margin-bottom: 13px; color: var(--eh-navy); font-weight: 800; }
.eh-search-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.eh-search-row input {
  min-width: 0;
  min-height: 52px;
  padding: 10px 15px;
  border: 1px solid #b8c9cc;
  border-radius: 8px;
  color: var(--eh-ink);
  background: #fff;
}
.eh-search-row button {
  min-height: 52px;
  padding: 10px 22px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--eh-teal-dark);
  font-weight: 800;
  cursor: pointer;
}
.eh-search-row button:hover { background: var(--eh-navy); }
.eh-quick-links { display: flex; flex-wrap: wrap; gap: 6px 13px; margin: 15px 0 0; color: var(--eh-muted); font-size: .78rem; }
.eh-quick-links span { font-weight: 700; }
.eh-quick-links a { font-weight: 700; }

.eh-urgent-strip { color: #fff; background: #9a2e26; }
.eh-urgent-inner { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding-block: 17px; }
.eh-urgent-inner strong { font-size: .92rem; white-space: nowrap; }
.eh-urgent-inner p { margin: 0; color: rgba(255,255,255,.9); font-size: .86rem; }

.eh-library-section { padding: clamp(62px, 7vw, 92px) 0; }
.eh-section-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 30px; }
.eh-section-heading h2 { max-width: 740px; margin: 0; }
.eh-text-link { padding-bottom: 3px; font-size: .86rem; font-weight: 800; white-space: nowrap; }

.eh-featured-guides { background: #fff; }
.eh-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.eh-feature-card {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr);
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--eh-line);
  border-radius: 14px;
  background: #fff;
}
.eh-feature-image { display: block; min-height: 100%; overflow: hidden; background: #dbe6e4; }
.eh-feature-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.03); transition: transform .3s ease; }
.eh-feature-card:hover .eh-feature-image img { transform: scale(1.02); }
.eh-feature-copy { display: flex; flex-direction: column; padding: 25px; }
.eh-card-label { margin: 0 0 14px; color: var(--eh-gold-dark); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.eh-feature-copy h3 { margin: 0 0 12px; font-size: 1.35rem; line-height: 1.18; }
.eh-feature-copy h3 a { color: var(--eh-navy-deep); text-decoration: none; }
.eh-feature-copy > p:not(.eh-card-label) { margin: 0; color: var(--eh-muted); font-size: .85rem; line-height: 1.55; }
.eh-read-link { margin-top: auto; padding-top: 20px; font-size: .8rem; font-weight: 800; }

.eh-browse-needs { border-block: 1px solid var(--eh-line); background: #f7f6f1; }
.eh-need-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.eh-need-grid > a {
  display: flex;
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--eh-line);
  border-radius: 12px;
  flex-direction: column;
  color: var(--eh-navy);
  background: #fff;
  text-decoration: none;
}
.eh-need-grid > a:hover { border-color: var(--eh-teal); box-shadow: 0 8px 28px rgba(17,57,77,.08); }
.eh-need-number { color: var(--eh-gold-dark); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.eh-need-grid strong { margin: 45px 0 10px; font-size: 1.2rem; line-height: 1.2; }
.eh-need-grid small { margin-top: auto; color: var(--eh-muted); font-size: .82rem; line-height: 1.5; }

.eh-popular-guides { background: #fff; }
.eh-popular-layout { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); gap: clamp(48px, 8vw, 100px); align-items: start; }
.eh-popular-intro { position: sticky; top: 110px; }
.eh-popular-intro h2 { margin: 0 0 18px; }
.eh-popular-intro > p:last-child { max-width: 450px; color: var(--eh-muted); }
.eh-popular-list { border-top: 1px solid var(--eh-line); }
.eh-popular-list a { display: grid; grid-template-columns: 42px 1fr auto; gap: 16px; align-items: center; padding: 19px 0; border-bottom: 1px solid var(--eh-line); color: var(--eh-navy); text-decoration: none; }
.eh-popular-list a:hover strong { color: var(--eh-teal-dark); }
.eh-popular-list span { color: var(--eh-gold-dark); font-size: .72rem; font-weight: 800; }
.eh-popular-list strong { font-size: 1rem; }
.eh-popular-list i { font-style: normal; }

.eh-topic-library { color: rgba(255,255,255,.78); background: var(--eh-navy-deep); }
.eh-on-dark h2 { color: #fff; }
.eh-on-dark .eh-kicker { color: #9fd5cc; }
.eh-topic-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.16); }
.eh-topic-links a {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 20px;
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: #fff;
  text-decoration: none;
}
.eh-topic-links a:nth-child(odd) { padding-right: 30px; border-right: 1px solid rgba(255,255,255,.16); }
.eh-topic-links a:nth-child(even) { padding-left: 30px; }
.eh-topic-links span { grid-row: 1 / 3; color: #9fd5cc; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eh-topic-links strong { line-height: 1.25; }
.eh-topic-links small { color: rgba(255,255,255,.62); font-size: .78rem; }
.eh-topic-links i { grid-column: 3; grid-row: 1 / 3; align-self: center; font-style: normal; }
.eh-topic-links a:hover strong { color: #bfe6df; }

.eh-quality-section { background: #eef7f5; }
.eh-quality-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.eh-quality-grid article { padding: 24px; border-top: 3px solid var(--eh-teal); background: #fff; }
.eh-quality-grid span { color: var(--eh-gold-dark); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.eh-quality-grid h3 { margin: 34px 0 10px; font-size: 1.15rem; }
.eh-quality-grid p { margin: 0; color: var(--eh-muted); font-size: .82rem; }

.eh-page-hero { padding: 52px 0 42px; border-bottom: 1px solid var(--eh-line); background: #f3f8f7; }
.eh-page-hero h1 { font-size: clamp(2.35rem, 4.4vw, 3.7rem); line-height: 1.06; }
.eh-article-header { padding: 48px 0 36px; background: #f7faf9; }
.eh-article-header h1 { max-width: 900px; font-size: clamp(2.35rem, 4.6vw, 3.8rem); line-height: 1.06; }
.eh-article-body { font-size: 1.03rem; line-height: 1.72; }
.eh-article-body h2 { margin-top: 2.1em; font-size: clamp(1.65rem, 2.5vw, 2.15rem); }
.eh-article-body h3 { margin-top: 1.8em; font-size: 1.35rem; }
.eh-review-card { border-radius: 8px; background: #fff; }
.eh-article-layout { grid-template-columns: 205px minmax(0, 740px) 205px; gap: 30px; }
.eh-toc { max-height: calc(100vh - 70px); overflow: auto; }
.eh-toc-mobile { display: none; }
.eh-toc-mobile summary { color: var(--eh-navy); font-weight: 800; cursor: pointer; }
.eh-toc-mobile[open] summary { margin-bottom: 14px; }
.eh-toc a { color: var(--eh-muted); text-decoration: none; }
.eh-toc a:hover { color: var(--eh-teal-dark); text-decoration: underline; }
.eh-evidence-card { border-radius: 8px; background: #f7faf9; }
.eh-summary, .eh-urgent, .eh-related-reading { border-radius: 4px; }
.eh-guide-card { border-radius: 10px; }

@media (max-width: 1080px) {
  .eh-feature-card { grid-template-columns: 1fr; }
  .eh-feature-image { min-height: 220px; aspect-ratio: 16 / 9; }
  .eh-need-grid, .eh-quality-grid { grid-template-columns: repeat(2, 1fr); }
  .eh-article-layout { grid-template-columns: minmax(0, 1fr); }
  .eh-toc { position: static; max-height: none; }
  .eh-toc-desktop { display: none; }
  .eh-toc-mobile { display: block; padding: 16px 18px; border: 1px solid var(--eh-line); border-radius: 8px; background: #f7faf9; }
}

@media (max-width: 820px) {
  .eh-library-hero-inner, .eh-popular-layout { grid-template-columns: 1fr; }
  .eh-popular-intro { position: static; }
  .eh-topic-links { grid-template-columns: 1fr; }
  .eh-topic-links a:nth-child(odd), .eh-topic-links a:nth-child(even) { padding-inline: 0; border-right: 0; }
  .eh-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .eh-shell { width: min(calc(100% - 28px), var(--eh-content)); }
  .eh-site-header { position: relative; }
  .eh-library-hero { padding-block: 42px; }
  .eh-library-intro h1 { font-size: clamp(2.25rem, 10.5vw, 2.85rem); }
  .eh-search-panel { padding: 20px; }
  .eh-search-row { grid-template-columns: 1fr; }
  .eh-urgent-inner { grid-template-columns: 1fr; gap: 4px; }
  .eh-section-heading { align-items: flex-start; flex-direction: column; }
  .eh-need-grid, .eh-quality-grid { grid-template-columns: 1fr; }
  .eh-need-grid > a { min-height: 200px; }
  .eh-topic-links a { grid-template-columns: 72px 1fr auto; gap: 4px 12px; }
  .eh-feature-copy { padding: 22px; }
  .eh-feature-image { min-height: 200px; }
  .eh-article-header { padding-block: 38px 30px; }
  .eh-article-layout { padding-top: 36px; }
}
@media (max-width: 400px) {
  .eh-site-header .eh-brand-name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* 1.4 product-first homepage */
.eh-ux-hero {
  padding: clamp(54px, 7vw, 92px) 0 clamp(60px, 8vw, 104px);
  border-bottom: 1px solid var(--eh-line);
  background: #fff;
}
.eh-ux-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(430px, 1.07fr);
  gap: clamp(40px, 6vw, 82px);
  align-items: center;
}
.eh-ux-hero-copy h1 {
  max-width: 680px;
  margin-bottom: .32em;
  font-size: clamp(3.25rem, 6vw, 5.45rem);
  line-height: .96;
  letter-spacing: -.06em;
}
.eh-ux-hero-copy .eh-lede { max-width: 650px; font-size: 1.22rem; }
.eh-hero-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 30px; }
.eh-text-link { color: var(--eh-navy); font-weight: 800; text-decoration-thickness: 2px; }
.eh-question-shortcuts {
  display: flex; flex-wrap: wrap; gap: 9px; align-items: center;
  margin-top: 32px; color: var(--eh-muted); font-size: .82rem;
}
.eh-question-shortcuts > span { margin-right: 2px; font-weight: 700; }
.eh-question-shortcuts a {
  padding: 7px 11px; border: 1px solid var(--eh-line); border-radius: 999px;
  color: var(--eh-navy); background: var(--eh-ivory); text-decoration: none; font-weight: 700;
}
.eh-question-shortcuts a:hover { border-color: var(--eh-teal); background: var(--eh-aqua); }
.eh-ux-hero-media {
  position: relative; min-height: 570px; margin: 0; overflow: hidden;
  border-radius: 4px 32px 4px 32px; background: var(--eh-sand); box-shadow: var(--eh-shadow);
}
.eh-ux-hero-media::before {
  content: ""; position: absolute; z-index: 2; inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(11,48,64,.76)); pointer-events: none;
}
.eh-ux-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.eh-ux-hero-media figcaption {
  position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 22px;
  display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.84); font-size: .8rem;
}
.eh-ux-hero-media figcaption strong { color: #fff; font: 650 1.15rem/1.2 "Newsreader", Georgia, serif; }

.eh-safety-band { color: #fff; background: var(--eh-navy-deep); }
.eh-safety-band-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding-block: 18px; }
.eh-safety-band strong { color: #fff; }
.eh-safety-band p { margin: 0; color: rgba(255,255,255,.75); font-size: .88rem; }
.eh-safety-band a { color: #fff; font-size: .82rem; font-weight: 800; }

.eh-ux-section { padding: clamp(74px, 9vw, 116px) 0; }
.eh-ux-section--white { background: #fff; }
.eh-ux-section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 42px; align-items: end; margin-bottom: 38px;
}
.eh-ux-section-head h2 { max-width: 760px; margin: 0; }
.eh-ux-section-head p { margin: 0 0 5px; color: var(--eh-muted); }
.eh-path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.eh-path-card {
  display: flex; min-height: 330px; padding: 30px; border: 1px solid var(--eh-line); border-radius: 18px;
  flex-direction: column; color: var(--eh-navy); background: var(--eh-ivory); text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.eh-path-card:hover { transform: translateY(-3px); border-color: rgba(8,127,116,.5); box-shadow: var(--eh-shadow); }
.eh-path-card--accent { background: var(--eh-aqua); }
.eh-path-number { color: var(--eh-gold-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.eh-path-card h3 { margin: 38px 0 12px; font-size: 1.75rem; }
.eh-path-card p { color: var(--eh-muted); }
.eh-path-examples { margin: auto 0 18px; color: var(--eh-teal-dark); font-size: .82rem; font-weight: 700; }
.eh-path-card > strong { font-size: .88rem; }

.eh-status-section { padding: clamp(56px, 7vw, 84px) 0; color: #fff; background: var(--eh-navy); }
.eh-status-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.eh-status-section h2 { margin: 0 0 .45em; color: #fff; }
.eh-status-section p { max-width: 680px; color: rgba(255,255,255,.72); }
.eh-status-section .eh-eyebrow { color: #bfe6df; }
.eh-metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
.eh-metric-grid div { padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.06); }
.eh-metric-grid dt { font: 680 2.5rem/1 "Newsreader", Georgia, serif; color: #fff; }
.eh-metric-grid dd { margin: 8px 0 0; color: rgba(255,255,255,.68); font-size: .82rem; }

.eh-browse-link { width: auto; min-width: 0; padding: 10px 15px; border-radius: 999px; font-size: .78rem; white-space: nowrap; }
.eh-useful-section { scroll-margin-top: 24px; background: #fff; }
.eh-answer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.eh-answer-grid article { padding: 30px; border: 1px solid var(--eh-line); border-radius: 18px; background: var(--eh-ivory); }
.eh-answer-label { display: inline-flex; padding: 6px 9px; border-radius: 999px; color: var(--eh-teal-dark); background: var(--eh-aqua); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.eh-answer-grid h3 { margin: 22px 0 12px; font-size: 1.55rem; }
.eh-answer-grid p { margin-bottom: 0; color: var(--eh-muted); }
.eh-urgent-answer { display: grid; grid-template-columns: 1.25fr .75fr; gap: 38px; align-items: end; margin-top: 18px; padding: 30px; border-left: 6px solid #b9463c; border-radius: 4px 18px 18px 4px; color: #fff; background: var(--eh-navy-deep); }
.eh-urgent-answer .eh-eyebrow { color: #ffd5cf; }
.eh-urgent-answer h3 { margin: 6px 0 0; color: #fff; font-size: 1.42rem; }
.eh-urgent-answer p { margin: 0; color: rgba(255,255,255,.78); }
.eh-next-step-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-top: 18px; }
.eh-next-step-grid > div, .eh-source-card { padding: 28px 30px; border: 1px solid var(--eh-line); border-radius: 18px; background: #fff; }
.eh-next-step-grid h3 { margin: 8px 0 16px; }
.eh-next-step-grid ol { margin-bottom: 0; padding-left: 1.25em; }
.eh-next-step-grid li + li { margin-top: 8px; }
.eh-source-card { display: flex; flex-direction: column; background: var(--eh-aqua); }
.eh-source-card a { padding: 12px 0; border-bottom: 1px solid rgba(8,127,116,.2); color: var(--eh-navy); font-weight: 800; }
.eh-source-card p { margin: auto 0 0; padding-top: 18px; color: var(--eh-muted); font-size: .8rem; }

.eh-popular-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.eh-popular-card { display: flex; min-height: 300px; padding: 26px; border: 1px solid var(--eh-line); border-radius: 16px; flex-direction: column; background: #fff; }
.eh-card-meta { display: flex; justify-content: space-between; gap: 14px; align-items: center; color: var(--eh-gold-dark); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eh-status-pill { display: inline-flex; padding: 5px 8px; border-radius: 999px; color: var(--eh-teal-dark); background: var(--eh-aqua); font-size: .65rem; letter-spacing: .06em; white-space: nowrap; }
.eh-popular-card small, .eh-news-plan-grid small { margin-top: 34px; color: var(--eh-teal-dark); font-weight: 800; }
.eh-popular-card h3 { margin: 8px 0 12px; font-size: 1.55rem; }
.eh-popular-card p { color: var(--eh-muted); font-size: .9rem; }
.eh-popular-card a { margin-top: auto; font-size: .85rem; font-weight: 800; }

.eh-catalogue-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.eh-catalogue-card { scroll-margin-top: 24px; overflow: hidden; border: 1px solid var(--eh-line); border-radius: 20px; background: var(--eh-ivory); }
.eh-catalogue-card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; background: var(--eh-sand); }
.eh-catalogue-card-body { padding: 26px 28px 30px; }
.eh-catalogue-card h3 { margin: 16px 0 10px; font-size: 1.8rem; }
.eh-catalogue-card p { min-height: 3.4em; color: var(--eh-muted); font-size: .92rem; }
.eh-catalogue-card details { margin-top: 22px; border-top: 1px solid var(--eh-line); }
.eh-catalogue-card summary { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 0; color: var(--eh-navy); font-weight: 800; cursor: pointer; }
.eh-catalogue-card summary span { color: var(--eh-muted); font-size: .75rem; font-weight: 600; }
.eh-catalogue-card ol { margin: 16px 0 0; padding-left: 1.3em; color: var(--eh-ink); font-size: .88rem; }
.eh-catalogue-card li + li { margin-top: 8px; }

.eh-work-section { background: var(--eh-aqua); }
.eh-work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.eh-work-grid li { min-height: 280px; margin: 0; padding: 25px; border: 1px solid rgba(8,127,116,.2); border-radius: 16px; background: rgba(255,255,255,.74); }
.eh-work-grid li > span { color: var(--eh-gold-dark); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.eh-work-grid h3 { margin: 42px 0 12px; font-size: 1.45rem; }
.eh-work-grid p { color: var(--eh-muted); font-size: .86rem; }
.eh-review-note { display: grid; grid-template-columns: auto 1fr; gap: 24px; margin-top: 24px; padding: 22px 24px; border-left: 5px solid var(--eh-gold); background: #fff; }
.eh-review-note strong { color: var(--eh-navy); }
.eh-review-note p { margin: 0; color: var(--eh-muted); font-size: .88rem; }

.eh-news-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.eh-news-plan-grid article { padding: 26px; border: 1px solid var(--eh-line); border-radius: 16px; background: var(--eh-ivory); }
.eh-news-plan-grid h3 { margin: 8px 0 16px; font-size: 1.55rem; }
.eh-news-plan-grid p { color: var(--eh-muted); font-size: .85rem; }
.eh-boundaries-section { color: #fff; background: var(--eh-navy-deep); }
.eh-boundaries-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.eh-boundaries-section h2 { margin: 0; color: #fff; }
.eh-boundaries-section .eh-eyebrow { color: #bfe6df; }
.eh-boundaries-section ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.eh-boundaries-section li { position: relative; margin: 0; padding: 0 0 14px 28px; border-bottom: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.82); }
.eh-boundaries-section li::before { content: "—"; position: absolute; left: 0; color: var(--eh-gold); font-weight: 800; }

@media (max-width: 1020px) {
  .eh-ux-hero-grid { grid-template-columns: 1fr; }
  .eh-ux-hero-copy { max-width: 780px; }
  .eh-ux-hero-media { min-height: 520px; }
  .eh-path-grid, .eh-popular-grid, .eh-news-plan-grid { grid-template-columns: repeat(2, 1fr); }
  .eh-status-layout { grid-template-columns: 1fr; gap: 36px; }
  .eh-urgent-answer, .eh-next-step-grid { grid-template-columns: 1fr; }
  .eh-work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .eh-ux-hero { padding-top: 44px; }
  .eh-browse-link { padding: 9px 11px; font-size: .72rem; }
  .eh-ux-hero-copy h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .eh-ux-hero-copy .eh-lede { font-size: 1.05rem; }
  .eh-hero-actions { align-items: stretch; flex-direction: column; }
  .eh-hero-actions .eh-button { width: 100%; }
  .eh-ux-hero-media { min-height: 390px; }
  .eh-ux-hero-media figcaption { align-items: flex-start; flex-direction: column; }
  .eh-safety-band-inner { grid-template-columns: 1fr; gap: 7px; padding-block: 20px; }
  .eh-ux-section-head { grid-template-columns: 1fr; gap: 16px; }
  .eh-path-grid, .eh-popular-grid, .eh-catalogue-grid, .eh-news-plan-grid, .eh-work-grid, .eh-answer-grid { grid-template-columns: 1fr; }
  .eh-path-card { min-height: 300px; }
  .eh-metric-grid { grid-template-columns: repeat(2, 1fr); }
  .eh-catalogue-card-body { padding: 22px; }
  .eh-catalogue-card p { min-height: 0; }
  .eh-work-grid li { min-height: 230px; }
  .eh-review-note, .eh-boundaries-layout { grid-template-columns: 1fr; gap: 14px; }
}

/* Keep shared header controls consistent after legacy 1.4 compatibility rules. */
.eh-site-header .eh-browse-link { border-radius: 8px; color: #fff; background: var(--eh-navy); }
.eh-site-header .eh-browse-link:hover { color: #fff; background: var(--eh-teal-dark); }
