:root {
  --ink: #102b36;
  --ink-soft: #49636c;
  --navy: #073b4c;
  --navy-deep: #062f3e;
  --teal: #007c69;
  --teal-mid: #009d85;
  --teal-bright: #52e0be;
  --mint: #e8f8f3;
  --blue: #e9f3ff;
  --lilac: #f1edff;
  --sand: #fff3dd;
  --paper: #fff;
  --cloud: #f4f8f7;
  --line: #d8e5e3;
  --danger: #c83d4b;
  --danger-deep: #8e2330;
  --danger-soft: #fff0f1;
  --warning: #996000;
  --warning-soft: #fff7df;
  --shadow: 0 22px 60px rgba(7, 59, 76, .12);
  --shadow-small: 0 10px 28px rgba(7, 59, 76, .09);
  --radius: 24px;
  --font-display: "Sitka Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: Aptos, "Segoe UI Variable Text", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }
p { line-height: 1.65; }
h1, h2 { font-family: var(--font-display); font-weight: 650; }
:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.container.narrow { width: min(820px, calc(100% - 40px)); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px;
  transform: translateY(-180%); border-radius: 8px; background: var(--paper);
  color: var(--navy); font-weight: 800; box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }

.safety-bar { background: var(--navy-deep); color: #e9fbf7; font-size: .82rem; }
.safety-inner {
  min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.safety-inner p { margin: 0; line-height: 1.35; }
.safety-inner strong { color: #fff; }
.safety-inner a { color: var(--teal-bright); font-weight: 800; white-space: nowrap; }

.site-header {
  position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(216,229,227,.85); backdrop-filter: blur(14px);
}
.nav-shell { min-height: 78px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 188px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark svg path:first-child { fill: var(--teal); }
.brand-mark svg .brand-pulse {
  fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round;
}
.brand b { display: block; color: var(--navy); font-size: 1.23rem; letter-spacing: -.04em; }
.brand small { display: block; margin-top: -1px; color: var(--ink-soft); font-size: .72rem; letter-spacing: .015em; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 27px; margin-left: auto; }
.site-nav a {
  position: relative; min-height: 44px; display: inline-flex; align-items: center;
  color: #294852; font-size: .9rem; font-weight: 700;
}
.site-nav a::after {
  content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 2px;
  transform: scaleX(0); background: var(--teal); transition: transform .2s ease;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--teal); }
.country-control {
  display: flex; align-items: center; gap: 8px; padding-left: 17px; border-left: 1px solid var(--line);
}
.country-control label { color: var(--ink-soft); font-size: .78rem; font-weight: 700; }
.country-control select {
  min-height: 44px; max-width: 176px; padding: 8px 30px 8px 10px;
  border: 1px solid var(--line); border-radius: 9px;
  background: #fff; color: var(--navy); font-size: .8rem; font-weight: 800;
}
.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff;
}
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--navy); }

.hero {
  position: relative; overflow: hidden; padding: 86px 0 70px;
  background:
    linear-gradient(rgba(7,59,76,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,59,76,.035) 1px, transparent 1px),
    #f4fbf8;
  background-size: 28px 28px;
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 55%; pointer-events: none;
  background: linear-gradient(110deg, transparent 0 32%, rgba(82,224,190,.15) 32% 33%, transparent 33% 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.14fr .86fr; align-items: center; gap: 72px; }
.eyebrow {
  margin: 0 0 18px; color: var(--teal); font-size: .76rem; font-weight: 850;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow span { display: inline-block; width: 22px; height: 2px; margin: 0 9px 3px 0; background: currentColor; }
.hero h1, .page-hero h1, .detail-hero h1 {
  margin: 0; color: var(--navy-deep); font-size: clamp(3rem, 5.8vw, 5.6rem);
  line-height: 1; letter-spacing: -.045em;
}
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-lead {
  max-width: 690px; margin: 28px 0 30px; color: var(--ink-soft);
  font-size: 1.12rem; line-height: 1.75;
}
.hero-search {
  display: grid; grid-template-columns: 23px 1fr auto; align-items: center; gap: 13px;
  max-width: 690px; padding: 8px 8px 8px 20px; border: 1px solid var(--line);
  border-radius: 16px; background: #fff; box-shadow: var(--shadow-small);
}
.hero-search svg { width: 22px; fill: none; stroke: #6a858d; stroke-width: 2; }
.hero-search input { min-width: 0; padding: 13px 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.hero-search button, .page-search button {
  padding: 13px 21px; border: 0; border-radius: 11px; background: var(--navy);
  color: #fff; font-size: .86rem; font-weight: 800; cursor: pointer;
}
.hero-search button:hover, .page-search button:hover { background: var(--teal); }
.quick-searches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; color: #506c75; font-size: .82rem; }
.quick-searches a { color: var(--navy); font-weight: 750; }
.quick-searches a:hover { color: var(--teal); }

.hero-route { position: relative; min-height: 430px; display: grid; place-items: center; }
.hero-route::before {
  content: ""; position: absolute; width: 76%; aspect-ratio: 1; border: 1px solid rgba(0,124,105,.16);
  border-radius: 50%;
}
.care-route {
  position: relative; width: min(390px, 100%); padding: 33px 34px 30px;
  border: 1px solid #b9dcd5; border-radius: 5px 5px 38px 5px;
  background: rgba(255,255,255,.96); box-shadow: 0 30px 70px rgba(7,59,76,.14);
}
.care-route::before {
  content: ""; position: absolute; top: 32px; bottom: 32px; left: -7px; width: 7px;
  border-radius: 7px 0 0 7px; background: var(--teal);
}
.care-route-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.care-route-header span {
  color: var(--teal); font-size: .73rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase;
}
.care-route-header svg { width: 96px; }
.care-route-header path {
  fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.care-route h2 {
  margin: 20px 0 25px; color: var(--navy); font-size: 1.72rem; line-height: 1.18; letter-spacing: -.025em;
}
.care-route-steps { margin: 0; padding: 0; list-style: none; }
.care-route-steps li {
  position: relative; display: grid; grid-template-columns: 40px 1fr; align-items: start; gap: 14px;
  padding: 0 0 20px;
}
.care-route-steps li:last-child { padding-bottom: 0; }
.care-route-steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 34px; bottom: 3px; left: 19px; width: 1px; background: #b9dcd5;
}
.route-number {
  position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid #b9dcd5; border-radius: 50%; background: #fff; color: var(--teal);
  font-size: .75rem; font-weight: 850;
}
.care-route-steps strong, .care-route-steps small { display: block; }
.care-route-steps strong { padding-top: 2px; color: var(--navy); font-size: .94rem; }
.care-route-steps small { margin-top: 3px; color: var(--ink-soft); font-size: .8rem; line-height: 1.45; }
.care-route-note {
  display: flex; align-items: center; gap: 9px; margin: 25px 0 0; padding-top: 18px;
  border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .78rem; line-height: 1.4;
}
.care-route-note span {
  flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 50%; background: var(--danger-soft); color: var(--danger-deep); font-weight: 900;
}

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { min-height: 105px; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { display: flex; align-items: center; justify-content: center; gap: 13px; border-right: 1px solid var(--line); }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { color: var(--teal); font-size: 1.55rem; letter-spacing: -.04em; }
.trust-grid span { color: var(--ink-soft); font-size: .86rem; font-weight: 700; }

.section { padding: 98px 0; }
.soft-section { background: var(--cloud); }
.section-heading { margin-bottom: 38px; }
.section-heading h2, .split-panel h2, .emergency-inner h2, .help-title-grid h1 {
  margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -.035em;
}
.split-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; }
.split-heading > p { max-width: 440px; margin: 0; color: var(--ink-soft); font-size: .95rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-card {
  min-height: 270px; display: flex; flex-direction: column; align-items: flex-start; padding: 30px;
  border: 1px solid var(--line); border-top: 4px solid var(--feature-accent, var(--teal));
  border-radius: 5px 5px 24px 5px; background: #fff;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
a.feature-card:hover { transform: translateY(-4px); border-color: var(--feature-accent, var(--teal)); box-shadow: var(--shadow-small); }
.mint-card { --feature-tint: var(--mint); --feature-accent: var(--teal); }
.blue-card { --feature-tint: var(--blue); --feature-accent: #2b6f9f; }
.lilac-card { --feature-tint: var(--lilac); --feature-accent: #6d55a8; }
.sand-card { --feature-tint: var(--sand); --feature-accent: #8a5a00; }
.feature-icon {
  min-width: 53px; height: 53px; display: inline-grid; padding-inline: 12px; place-items: center;
  border-radius: 50%; background: var(--feature-tint, var(--mint)); color: var(--feature-accent, var(--teal)); font-size: .95rem; font-weight: 850;
}
.card-label { margin: 25px 0 7px; color: var(--feature-accent, var(--teal)); font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.feature-card h3, .feature-card h2 { margin: 0; color: var(--navy); font-size: 1.4rem; letter-spacing: -.03em; }
.feature-card > p:not(.card-label) { max-width: 470px; margin: 12px 0 22px; color: var(--ink-soft); font-size: .9rem; line-height: 1.65; }
.card-link { margin-top: auto; color: var(--navy); font-size: .86rem; font-weight: 800; }
.card-link b { margin-left: 5px; color: var(--feature-accent, var(--teal)); }

.split-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.split-panel > div:first-child > p:not(.eyebrow) { max-width: 560px; margin: 23px 0 30px; color: var(--ink-soft); }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border: 1px solid transparent; border-radius: 11px;
  font-size: .82rem; font-weight: 820; cursor: pointer;
}
.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: var(--teal); }
.button-secondary { border-color: var(--line); background: #fff; color: var(--navy); }
.button-secondary:hover { border-color: var(--teal); color: var(--teal); }
.button-light { background: #fff; color: var(--navy); }
.button-large { min-height: 56px; padding-inline: 26px; font-size: .92rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.steps-card { padding: 10px 38px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-small); }
.steps-card ol { margin: 0; padding: 0; list-style: none; }
.steps-card li { display: flex; gap: 16px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.steps-card li:last-child { border: 0; }
.steps-card li > span {
  flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: var(--mint); color: var(--teal); font-size: .75rem; font-weight: 850;
}
.steps-card strong, .steps-card small { display: block; }
.steps-card strong { margin-bottom: 4px; color: var(--navy); font-size: .88rem; }
.steps-card small { color: var(--ink-soft); font-size: .8rem; }

.list-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.list-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 17px;
  min-height: 118px; padding: 20px 23px; border: 1px solid var(--line); border-radius: 17px; background: #fff;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.list-card:hover { transform: translateY(-2px); border-color: #a8dbd2; box-shadow: var(--shadow-small); }
.list-card-icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px;
  background: var(--mint); color: var(--teal); font-size: 1.1rem; font-weight: 850;
}
.list-card h3 { margin: 0 0 5px; color: var(--navy); font-size: 1rem; }
.list-card p { margin: 0; color: var(--ink-soft); font-size: .82rem; line-height: 1.5; }
.list-card > b { color: var(--teal); }
.center-action { display: flex; justify-content: center; margin-top: 32px; }
.text-link { color: var(--navy); font-size: .82rem; font-weight: 820; }
.text-link span { margin-left: 6px; color: var(--teal); }

.emergency-panel { padding: 60px 0; background: var(--navy-deep); color: #fff; }
.emergency-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.emergency-icon {
  width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; font-weight: 850;
}
.light-eyebrow { margin-bottom: 8px; color: var(--teal-bright); }
.emergency-inner h2 { color: #fff; font-size: 2rem; }
.emergency-inner > div:nth-child(2) > p:last-child { max-width: 690px; margin: 10px 0 0; color: #d4e4e6; font-size: .9rem; }
.emergency-action { min-width: 220px; padding: 17px 22px; border-left: 1px solid rgba(255,255,255,.18); }
.emergency-action small, .emergency-action strong, .emergency-action a { display: block; }
.emergency-action small { color: #bcd2d5; font-size: .74rem; }
.emergency-action strong { margin: 4px 0; color: #fff; font-size: 2.15rem; letter-spacing: -.04em; }
.emergency-action a { color: var(--teal-bright); font-size: .8rem; font-weight: 800; }

.page-hero, .detail-hero {
  position: relative; overflow: hidden; padding: 94px 0 82px;
  background:
    radial-gradient(circle at 90% 15%, rgba(41,211,177,.16), transparent 26%),
    linear-gradient(180deg, #f7fcfa, #f2f8f7);
}
.compact-hero { text-align: center; }
.compact-hero h1, .detail-hero h1 { font-size: clamp(2.7rem, 5vw, 4.6rem); }
.page-hero .container > p:last-of-type, .detail-lead {
  max-width: 720px; margin: 22px auto 0; color: var(--ink-soft); font-size: 1.05rem;
}
.page-search {
  max-width: 620px; display: grid; grid-template-columns: 1fr auto; gap: 8px;
  margin: 30px auto 0; padding: 7px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; box-shadow: var(--shadow-small);
}
.page-search input { min-width: 0; padding: 13px 14px; border: 0; outline: 0; background: transparent; }
.source-banner {
  max-width: 720px; display: grid; grid-template-columns: 1fr auto; gap: 5px 22px;
  margin: 28px auto 0; padding: 18px 20px; border: 1px solid #cceee4;
  border-radius: 14px; background: rgba(255,255,255,.88); text-align: left;
}
.source-banner strong { color: var(--navy); font-size: .9rem; }
.source-banner span { grid-column: 1; color: var(--ink-soft); font-size: .8rem; line-height: 1.5; }
.source-banner a {
  grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--teal);
  font-size: .8rem; font-weight: 800;
}

.directory-section { padding-top: 58px; }
.alphabet {
  position: sticky; z-index: 20; top: 78px; display: flex; flex-wrap: nowrap; justify-content: flex-start;
  gap: 8px; margin-inline: auto; padding: 14px 4px; overflow-x: auto;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.97); scrollbar-width: thin;
}
.alphabet a {
  flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line);
  border-radius: 9px; color: var(--navy); font-size: .8rem; font-weight: 800;
}
.alphabet a:hover { border-color: var(--teal); background: var(--mint); color: var(--teal); }
.directory-groups { width: min(940px, 100%); margin: 0 auto; }
.directory-group {
  display: grid; grid-template-columns: 85px 1fr; gap: 26px; padding: 56px 0;
  border-bottom: 1px solid var(--line); scroll-margin-top: 155px;
}
.directory-group > h2 { margin: 0; color: var(--teal); font-size: 2.5rem; }
.directory-items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.directory-item {
  min-height: 128px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
.directory-item:hover { border-color: #a8dbd2; box-shadow: var(--shadow-small); }
.directory-item h3 { margin: 0 0 7px; color: var(--navy); font-size: 1rem; }
.directory-item p { margin: 0; color: var(--ink-soft); font-size: .84rem; line-height: 1.5; }
.directory-item > span { color: var(--teal); font-weight: 800; }

.detail-grid { display: grid; grid-template-columns: 1fr 330px; align-items: end; gap: 80px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 35px; color: #58727a; font-size: .82rem; }
.breadcrumbs a { color: var(--teal); font-weight: 700; }
.detail-grid .eyebrow { margin-bottom: 13px; }
.detail-grid .detail-lead { margin: 22px 0 0; }
.tag {
  display: inline-block; margin-top: 20px; padding: 7px 11px; border-radius: 999px;
  background: var(--mint); color: var(--teal); font-size: .75rem; font-weight: 800;
}
.safety-note {
  padding: 26px; border: 1px solid #cceee4; border-radius: 19px; background: rgba(255,255,255,.85);
}
.safety-note strong { color: var(--navy); }
.safety-note p { margin: 9px 0 0; color: var(--ink-soft); font-size: .86rem; }
.danger-note { border-color: #f0c6cb; background: var(--danger-soft); }
.danger-note strong { color: var(--danger-deep); }
.detail-section { padding-top: 74px; }
.detail-content { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 85px; }
.detail-content article > h2, .prose h2 {
  margin: 0 0 15px; color: var(--navy); font-size: 1.7rem; letter-spacing: -.03em;
}
.detail-content article > p { color: var(--ink-soft); }
.next-step-card {
  position: sticky; top: 112px; padding: 27px; border-radius: 20px; background: var(--cloud);
}
.next-step-card h2 { margin: 0; color: var(--navy); font-size: 1.25rem; }
.next-step-card p { color: var(--ink-soft); font-size: .86rem; }
.next-step-card .button { width: 100%; margin: 10px 0 20px; }
.next-step-card .text-link { display: block; text-align: center; }
.related-list { display: grid; gap: 12px; margin-top: 25px; }
.related-list > a, .plain-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px; border: 1px solid var(--line); border-radius: 15px;
}
.related-list > a:hover { border-color: #a8dbd2; box-shadow: var(--shadow-small); }
.related-list h3 { margin: 7px 0 5px; color: var(--navy); font-size: 1.05rem; }
.related-list p, .plain-card p { margin: 0; color: var(--ink-soft); font-size: .82rem; }
.related-list > a > b { color: var(--teal); }
.urgency {
  display: inline-flex; padding: 5px 9px; border-radius: 999px;
  font-size: .72rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase;
}
.urgency-self-care { background: var(--mint); color: #08725f; }
.urgency-routine { background: var(--blue); color: #1b5e95; }
.urgency-urgent { background: var(--warning-soft); color: var(--warning); }
.urgency-emergency { background: var(--danger-soft); color: var(--danger-deep); }
.warning-box {
  margin-bottom: 40px; padding: 27px; border: 1px solid #efc1c7; border-left: 5px solid var(--danger);
  border-radius: 15px; background: var(--danger-soft);
}
.warning-box h2 { margin: 0; color: var(--danger-deep); font-size: 1.3rem; }
.warning-box p { color: #744149; }
.warning-box ul { margin: 15px 0 0; padding-left: 20px; }
.warning-box li { margin: 9px 0; color: #5e3037; font-size: .85rem; line-height: 1.5; }
.generic-name { color: var(--ink-soft); font-size: .9rem; }
.medicine-sections { display: grid; gap: 0; }
.medicine-sections section { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.detail-number { color: var(--teal); font-size: .75rem; font-weight: 850; }
.medicine-sections h2 { margin: 0 0 10px; color: var(--navy); font-size: 1.25rem; }
.medicine-sections p { margin: 0; color: var(--ink-soft); }
.england-notice {
  margin-bottom: 34px; padding: 20px 22px; border-left: 4px solid #2b73a6;
  border-radius: 10px; background: var(--blue);
}
.england-notice strong { color: var(--navy); font-size: .9rem; }
.england-notice p { margin: 5px 0 0; color: #365b70; font-size: .78rem; }
.nhs-content { display: grid; gap: 0; }
.nhs-content > section,
.medicine-sections .nhs-content > section {
  display: block; padding: 32px 0; border-bottom: 1px solid var(--line);
}
.nhs-content > section:first-child { padding-top: 0; }
.nhs-content h2,
.medicine-sections .nhs-content h2 {
  margin: 0 0 18px; color: var(--navy); font-size: 1.65rem; line-height: 1.25;
  letter-spacing: -.025em;
}
.nhs-content h3,
.medicine-sections .nhs-content h3 {
  margin: 25px 0 12px; color: var(--navy); font-size: 1.1rem; line-height: 1.35;
}
.nhs-copy { color: var(--ink-soft); overflow-wrap: anywhere; }
.nhs-copy p { margin: 0 0 16px; }
.nhs-copy p:last-child { margin-bottom: 0; }
.nhs-copy ul, .nhs-copy ol { margin: 13px 0 19px; padding-left: 23px; }
.nhs-copy li { margin: 9px 0; line-height: 1.6; }
.nhs-copy a, .content-attribution a, .prose a, .footer-licence a {
  color: #007f6d; text-decoration: underline; text-underline-offset: 2px;
}
.nhs-copy table {
  width: 100%; max-width: 100%; display: block; margin: 20px 0; overflow-x: auto;
  border-collapse: collapse; font-size: .86rem;
}
.nhs-copy th, .nhs-copy td {
  padding: 11px; border: 1px solid var(--line); text-align: left; vertical-align: top;
}
.nhs-copy th { background: var(--cloud); color: var(--navy); }
.nhs-alert {
  margin: 26px 0; padding: 25px !important; border: 1px solid transparent !important;
  border-left-width: 5px !important; border-radius: 14px;
}
.nhs-alert-urgent { border-color: #e5c06b !important; background: var(--warning-soft); }
.nhs-alert-emergency { border-color: #e6a5ad !important; background: var(--danger-soft); }
.content-attribution {
  margin-top: 38px; padding: 22px; border-radius: 13px; background: var(--cloud);
}
.content-attribution p { margin: 0; color: var(--ink-soft); font-size: .8rem; }
.content-attribution p + p { margin-top: 8px; }

.search-results { display: grid; gap: 13px; }
.result-count { margin: 0 0 20px; color: var(--ink-soft); font-size: .8rem; font-weight: 700; }
.search-results > a {
  position: relative; padding: 24px 58px 24px 24px; border: 1px solid var(--line); border-radius: 15px;
}
.search-results > a:hover { border-color: #a8dbd2; box-shadow: var(--shadow-small); }
.search-results > a > span { color: var(--teal); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.search-results h2 { margin: 7px 0; color: var(--navy); font-size: 1.1rem; }
.search-results p { margin: 0; color: var(--ink-soft); font-size: .86rem; }
.search-results b { position: absolute; top: 50%; right: 24px; transform: translateY(-50%); color: var(--teal); }
.empty-state { padding: 48px; border: 1px dashed #bad2ce; border-radius: 20px; background: var(--cloud); text-align: center; }
.empty-state h2 { margin: 0; color: var(--navy); font-size: 1.4rem; }
.empty-state p { color: var(--ink-soft); }
.empty-state .button-row { justify-content: center; }

.help-title-grid { display: grid; grid-template-columns: 1fr 310px; align-items: center; gap: 90px; }
.help-title-grid h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
.help-title-grid > div:first-child > p:last-child { margin: 22px 0 0; color: var(--ink-soft); }
.country-switch-card { padding: 25px; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: var(--shadow-small); }
.country-switch-card label, .country-switch-card small { display: block; }
.country-switch-card label { margin-bottom: 10px; color: var(--navy); font-size: .75rem; font-weight: 800; }
.country-switch-card select, .check-form select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.country-switch-card small { margin-top: 9px; color: var(--ink-soft); font-size: .75rem; }
.help-section { padding-top: 60px; }
.emergency-callout {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 17px;
  margin-bottom: 55px; padding: 22px 27px; border-radius: 17px; background: var(--danger-soft);
}
.emergency-callout .emergency-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--danger); }
.emergency-callout strong { color: var(--danger-deep); }
.emergency-callout p { margin: 2px 0 0; color: #75444a; font-size: .78rem; }
.emergency-callout > span { color: var(--danger-deep); font-size: 1.85rem; font-weight: 900; }
.help-category { margin-bottom: 60px; }
.help-category-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.help-category-title h2 { margin: 0; color: var(--navy); font-size: 1.55rem; }
.help-category-title span { color: var(--ink-soft); font-size: .78rem; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-card { min-height: 210px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 17px; }
.help-card:hover { transform: translateY(-2px); border-color: #a8dbd2; box-shadow: var(--shadow-small); }
.external-label { color: var(--teal); font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.help-card h3 { margin: 17px 0 8px; color: var(--navy); font-size: 1.08rem; }
.help-card p { margin: 0 0 18px; color: var(--ink-soft); font-size: .84rem; }
.help-card b { margin-top: auto; color: var(--teal); font-size: .8rem; }

.self-check-section { padding-top: 60px; }
.check-layout { display: grid; grid-template-columns: minmax(0, 760px) 260px; justify-content: center; align-items: start; gap: 40px; }
.check-form { padding: 38px; border: 1px solid var(--line); border-radius: 23px; background: #fff; box-shadow: var(--shadow-small); }
.check-intro { padding: 21px; border-radius: 13px; background: var(--danger-soft); }
.check-intro strong { color: var(--danger-deep); }
.check-intro p { margin: 7px 0 0; color: #75444a; font-size: .84rem; }
.check-form fieldset { margin: 0; padding: 32px 0; border: 0; border-bottom: 1px solid var(--line); }
.check-form legend { color: var(--navy); font-size: 1.06rem; font-weight: 830; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 17px; }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice-grid label { position: relative; cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid label > span {
  min-height: 82px; display: flex; flex-direction: column; justify-content: center;
  padding: 16px; border: 1px solid var(--line); border-radius: 12px;
}
.choice-grid input:checked + span { border-color: var(--teal); background: var(--mint); box-shadow: 0 0 0 2px rgba(0,157,133,.12); }
.choice-grid input:focus-visible + span { outline: 3px solid #ffbf47; outline-offset: 3px; }
.choice-grid b, .choice-grid small { display: block; }
.choice-grid b { color: var(--navy); font-size: .86rem; }
.choice-grid small { margin-top: 4px; color: var(--ink-soft); font-size: .76rem; }
.field-help { margin: 5px 0 15px; color: var(--ink-soft); font-size: .8rem; }
.warning-choices { display: grid; gap: 10px; }
.warning-choices label {
  display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start;
  padding: 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.warning-choices label:has(input:checked) { border-color: var(--danger); background: var(--danger-soft); }
.warning-choices input { margin-top: 3px; accent-color: var(--danger); }
.warning-choices span { color: var(--ink); font-size: .84rem; line-height: 1.45; }
.check-form > .button { margin-top: 30px; }
.privacy-card { padding: 24px; border-radius: 18px; background: var(--mint); }
.privacy-card > span { color: var(--teal); font-size: 1.8rem; }
.privacy-card h2 { margin: 12px 0 7px; color: var(--navy); font-size: 1.05rem; }
.privacy-card p { margin: 0; color: var(--ink-soft); font-size: .82rem; }
.result-panel { padding: 55px 0; color: #fff; }
.result-emergency { background: var(--danger-deep); }
.result-urgent { background: #875600; }
.result-routine { background: #185a88; }
.result-self-care { background: var(--navy); }
.result-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.result-level { margin: 0; color: rgba(255,255,255,.82); font-size: .75rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.result-inner h2 { margin: 8px 0; font-size: 2rem; }
.result-inner > div:first-child > p:last-child { max-width: 700px; margin: 0; color: rgba(255,255,255,.84); }
.result-actions { text-align: center; }
.result-actions span, .result-actions strong { display: block; }
.result-actions span { font-size: .75rem; text-transform: uppercase; }
.result-actions strong { font-size: 2.5rem; }

.product-notice { margin-bottom: 30px; padding: 22px 25px; border-left: 4px solid var(--teal); border-radius: 10px; background: var(--mint); }
.product-notice strong { color: var(--navy); }
.product-notice p { margin: 4px 0 0; color: var(--ink-soft); font-size: .8rem; }
.product-grid { grid-template-columns: repeat(3, 1fr); }
.product-grid .feature-card { min-height: 300px; border-color: var(--line); background: #fff; }
.product-grid ul { margin: 20px 0; padding-left: 18px; color: var(--ink-soft); font-size: .8rem; }
.product-grid li { margin: 8px 0; }
.status-pill {
  display: inline-flex; margin-top: auto; padding: 7px 10px; border-radius: 999px;
  background: var(--cloud); color: var(--ink-soft); font-size: .75rem; font-weight: 800;
}
.prose { width: min(780px, calc(100% - 40px)); }
.prose h2 { margin-top: 36px; }
.prose p { color: var(--ink-soft); }
.error-hero { min-height: 560px; display: grid; place-items: center; text-align: center; }
.error-hero .button-row { justify-content: center; }

.site-footer { padding: 68px 0 22px; background: #082f3b; color: #d9e7e9; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 60px; padding-bottom: 48px; }
.brand-footer .brand-mark svg path:first-child { fill: var(--teal-bright); }
.brand-footer b { color: #fff; }
.brand-footer small { color: #9db8bd; }
.footer-note { max-width: 400px; margin: 20px 0 0; color: #b1c7ca; font-size: .8rem; }
.footer-licence { max-width: 460px; margin: 14px 0 0; color: #b1c7ca; font-size: .76rem; }
.footer-licence a { color: var(--teal-bright); }
.footer-grid h2 { margin: 0 0 18px; color: #fff; font-family: var(--font-body); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) a { display: block; margin: 12px 0; color: #c9dadd; font-size: .84rem; }
.footer-grid > div:not(:first-child) a:hover { color: var(--teal-bright); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 30px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1); color: #adc3c7; font-size: .75rem;
}
.footer-bottom p { margin: 0; }
.cookie-settings {
  padding: 0; border: 0; background: transparent; color: var(--teal-bright);
  font: inherit; text-decoration: underline; cursor: pointer;
}
.cookie-banner {
  position: fixed; z-index: 1000; right: 20px; bottom: 20px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px;
  width: min(720px, calc(100% - 40px)); padding: 22px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 14px;
  background: #082f3b; color: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 6px 0 0; color: #d9e7e9; font-size: .86rem; }
.cookie-banner a { color: var(--teal-bright); }
.cookie-actions { display: flex; align-items: center; gap: 10px; }
.cookie-actions button {
  padding: 10px 14px; border: 1px solid #fff; border-radius: 8px;
  background: transparent; color: #fff; font: inherit; font-weight: 800; cursor: pointer;
}
.cookie-actions .cookie-accept { background: #fff; color: #082f3b; }

@media (max-width: 1050px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: .8rem; }
  .hero-grid { gap: 35px; }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 850px) {
  .nav-shell { min-height: 68px; flex-wrap: wrap; gap: 14px; padding-block: 10px; }
  .nav-toggle { display: block; margin-left: auto; }
  .country-control { border: 0; padding-left: 0; }
  .site-nav {
    order: 4; width: 100%; display: none; align-items: stretch; gap: 0; margin: 0;
    padding: 8px 0 4px; border-top: 1px solid var(--line);
  }
  .site-nav.is-open { display: grid; grid-template-columns: repeat(2, 1fr); }
  .site-nav a { padding: 12px; border-radius: 8px; }
  .site-nav a:hover { background: var(--mint); }
  .site-nav a::after { display: none; }
  .hero { padding-top: 65px; }
  .hero-grid, .detail-grid, .help-title-grid, .split-panel { grid-template-columns: 1fr; }
  .hero-route { min-height: 380px; }
  .alphabet { top: 68px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div { min-height: 80px; border-bottom: 1px solid var(--line); }
  .split-panel { gap: 45px; }
  .detail-grid, .help-title-grid { gap: 35px; }
  .detail-content { grid-template-columns: 1fr; gap: 40px; }
  .next-step-card { position: static; }
  .directory-items { grid-template-columns: 1fr; }
  .check-layout { grid-template-columns: 1fr; }
  .privacy-card { order: -1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 620px) {
  .container, .container.narrow, .prose { width: min(100% - 28px, 1180px); }
  .safety-inner { min-height: 44px; gap: 12px; }
  .safety-inner p { font-size: .75rem; }
  .safety-inner a { font-size: .75rem; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .country-control label { display: none; }
  .country-control select { width: 112px; max-width: 112px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4.1rem); }
  .hero-search { grid-template-columns: 19px 1fr; padding: 8px 12px; }
  .hero-search button { grid-column: 1 / -1; width: 100%; }
  .quick-searches { font-size: .78rem; }
  .hero-route { min-height: 370px; }
  .care-route { width: min(340px, 96%); padding: 28px 26px 25px; }
  .care-route h2 { font-size: 1.55rem; }
  .trust-grid strong { font-size: 1.3rem; }
  .trust-grid span { font-size: .78rem; }
  .section { padding: 72px 0; }
  .split-heading { display: block; }
  .split-heading > p { margin-top: 16px; }
  .feature-grid, .list-card-grid, .help-grid, .product-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 285px; }
  .list-card { grid-template-columns: auto 1fr; }
  .list-card > b { display: none; }
  .emergency-inner { grid-template-columns: auto 1fr; }
  .emergency-action { grid-column: 1 / -1; padding-left: 0; border: 0; }
  .page-hero, .detail-hero { padding: 68px 0 60px; }
  .page-hero h1, .detail-hero h1 { font-size: 2.7rem; }
  .page-search { grid-template-columns: 1fr; }
  .source-banner { grid-template-columns: 1fr; }
  .source-banner a { grid-column: 1; grid-row: auto; margin-top: 6px; }
  .alphabet { margin-inline: -14px; padding-inline: 14px; }
  .directory-group { grid-template-columns: 1fr; gap: 15px; }
  .directory-group > h2 { font-size: 2rem; }
  .emergency-callout { grid-template-columns: auto 1fr; }
  .emergency-callout > span { grid-column: 2; }
  .check-form { padding: 23px 18px; }
  .choice-grid, .choice-grid.three { grid-template-columns: 1fr; }
  .result-inner { grid-template-columns: 1fr; }
  .result-actions { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 8px; }
  .cookie-banner { grid-template-columns: 1fr; right: 14px; bottom: 14px; width: calc(100% - 28px); }
  .cookie-actions { align-items: stretch; }
  .cookie-actions button { flex: 1; }
}

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