/* Station redesign v2: practical, accessible railway information service.
   Scoped to .station-seo-page and printed after dist/styles.css, so the
   brand tokens and performance-page rules stay untouched.
   Typography scale: hero h1 28-40px, section h2 24-28px, section spacing
   32-48px. WCAG 2.2 AA: all text pairs >= 4.5:1, focus is always visible,
   status is never conveyed by colour alone. */

/* ---------- Global guardrails ---------- */
.station-seo-page { max-width: 100%; }
.station-seo-page :is(h2, h3, h4) { letter-spacing: -0.015em; }
.station-seo-page .performance-eyebrow { color: #087f37; }
.station-seo-page h2,
.station-seo-page .rail-performance-section-head h2,
.station-seo-page .station-live-heading h2,
.station-seo-page .station-map-section h2,
.station-seo-page .rail-performance-method h2 {
  margin: .25rem 0 0;
  font-size: clamp(1.5rem, 2.7vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.station-seo-page .rail-performance-section-head > p:last-child,
.station-seo-page .rail-performance-section-head + p { color: #4e5b68; }
.station-seo-page :is(a, button, input, summary):focus-visible {
  outline: 3px solid #0f7a37;
  outline-offset: 2px;
}
.station-seo-page [id] { scroll-margin-top: 5.5rem; }

/* ---------- Compact hero ---------- */
.station-seo-page .station-seo-hero {
  position: relative;
  min-height: 0;
  display: block;
  padding: 8rem clamp(1.25rem, 5vw, 4rem) clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden;
  background: radial-gradient(circle at 82% 12%, rgba(20,207,81,.14), transparent 42%), linear-gradient(145deg, #041E58 0%, #10233D 62%, #0d2440 100%);
  color: #fff;
}
.station-seo-page .station-seo-hero-inner { position: relative; z-index: 2; width: min(1100px, 100%); }
.station-seo-page .station-seo-hero .performance-eyebrow { color: #8cf2aa; }
.station-seo-page .station-seo-hero h1 {
  margin: .4rem 0 0;
  max-width: 22em;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
}
.station-seo-page .station-seo-deck {
  max-width: 640px;
  margin: .8rem 0 1.2rem;
  color: rgba(255,255,255,.84);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.6;
}
.station-seo-page .station-seo-orbit { display: none; }
@media (max-width: 760px) {
  .station-seo-page .station-seo-hero { padding: 7rem 1.15rem 1.75rem; }
  .station-seo-page .station-seo-hero h1 { font-size: clamp(1.75rem, 7vw, 2rem); }
}

/* ---------- Station search widget (hero, both directory and profile) ---------- */
.station-seo-page .station-directory-search { position: relative; max-width: 520px; }
.station-seo-page .station-seo-hero .station-directory-search > label { color: #dbe4f0; }
.station-seo-page .station-directory-search > label {
  display: block;
  margin-bottom: .4rem;
  color: #4e5b68;
  font-size: .8rem;
  font-weight: 700;
}
.station-seo-page .station-directory-search > input {
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  padding: .8rem 1rem;
  border: 1px solid #d9dfe5;
  border-radius: 12px;
  background: #fff;
  color: #18212b;
  font: inherit;
}
.station-seo-page .station-suggest-empty { margin: 0; padding: .75rem .8rem; color: #4e5b68; }

/* ---------- Jump pills ---------- */
.station-seo-page .ltuk-station-jumps { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.1rem 0 0; }
.station-seo-page .ltuk-station-jumps a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .5rem .9rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  color: #fff;
}
.station-seo-page .ltuk-station-jumps a:first-child { color: #0f1f33; background: #14cf51; border-color: #14cf51; }
.station-seo-page .ltuk-station-jumps a:first-child:focus-visible { outline-color: #8cf2aa; }
.station-seo-page .ltuk-station-jumps a:focus-visible { outline: 3px solid #8cf2aa; outline-offset: 2px; }

/* ---------- Section spacing (32-48px) ---------- */
.station-seo-page .station-seo-section { padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 5vw, 4rem); }
.station-seo-page .station-live-section,
.station-seo-page .station-disruption-section,
.station-seo-page .station-map-section { padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 5vw, 4rem); }
.station-seo-page .rail-performance-section-head { margin: 0 auto clamp(1.25rem, 2.5vw, 2rem); }

/* ---------- Directory v2.2 (2026-11-25 redesign): hub header, browse, letter pages ---------- */
/* ---------- Breadcrumbs ---------- */
.station-seo-page .ltuk-breadcrumbs { margin: 0 0 .75rem; }
.station-seo-page .ltuk-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0; padding: 0; list-style: none; }
.station-seo-page .ltuk-breadcrumbs li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: #4e5b68; }
.station-seo-page .ltuk-breadcrumbs li + li::before { content: "›"; color: #94a3b8; }
.station-seo-page .ltuk-breadcrumbs a { color: #10233d; }
.station-seo-page .ltuk-breadcrumbs a:hover { text-decoration: underline; }
.station-seo-page .ltuk-breadcrumbs a:focus-visible { outline: 3px solid #0f7a37; outline-offset: 2px; }


/* ---------- Search form (combobox without JS submits to /stations/search/) ---------- */
.station-seo-page .station-directory-search { display: block; }
.station-seo-page .station-directory-search > input { flex: 1 1 240px; }
.station-seo-page .station-search-submit {
  min-height: 52px;
  padding: .8rem 1.2rem;
  border: 1px solid #10233d;
  border-radius: 12px;
  background: #10233d;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.station-seo-page .station-search-submit:hover { background: #14cf51; border-color: #14cf51; color: #0f1f33; }
.station-seo-page .station-suggest-status { min-height: 1.2em; margin: .4rem 0 0; color: #4e5b68; font-size: .8rem; }

/* Suggestion entries: highlighted option is identified by background AND weight, not colour alone. */
.station-seo-page .station-suggestions .station-suggestion { min-height: 44px; }
.station-seo-page .station-suggestions .station-suggestion.is-active { background: #eef6f0; border-color: #0f7a37; }

/* ---------- Nearby stations (geolocation only after explicit click) ---------- */
.station-seo-page .station-nearby-button {
  min-height: 48px;
  padding: .7rem 1.2rem;
  border: 1px solid #10233d;
  border-radius: 12px;
  background: #fff;
  color: #10233d;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.station-seo-page .station-nearby-button:hover { background: #10233d; color: #fff; }
.station-seo-page .station-nearby-button:disabled { color: #94a3b8; border-color: #94a3b8; background: #f2f4f6; cursor: default; }
.station-seo-page .station-nearby-status { margin: .8rem 0 0; color: #4e5b68; line-height: 1.55; }
.station-seo-page .station-nearby-note { margin: .2rem 0 .6rem; color: #566270; font-size: .85rem; }
.station-seo-page .station-nearby-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.station-seo-page .station-nearby-list a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem .8rem; padding: .7rem .9rem; border: 1px solid rgba(16,35,61,.14); border-radius: 12px; background: #fff; color: inherit; text-decoration: none; min-height: 44px; }
.station-seo-page .station-nearby-list a:hover { border-color: #10233d; }
.station-seo-page .station-nearby-list a > span { color: #566270; font-size: .85rem; }


/* ---------- A-Z navigation ---------- */
.station-seo-page .station-az-nav { max-width: 1100px; margin: 0 auto; }
.station-seo-page .station-az-nav ul { display: flex; flex-wrap: wrap; gap: .4rem .45rem; margin: 0; padding: 0; list-style: none; }
.station-seo-page .station-az-nav a,
.station-seo-page .station-az-nav .station-az-nav-empty {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  padding: .35rem .5rem;
  border: 1px solid rgba(16,35,61,.16);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}
.station-seo-page .station-az-nav a { background: #fff; }
.station-seo-page .station-az-nav a:hover { border-color: #10233d; }
.station-seo-page .station-az-nav .station-az-nav-empty { color: #b6c0ca; border-color: #e3e8ee; background: #fbfcfd; }
.station-seo-page .station-az-nav a.is-current { background: #10233d; border-color: #10233d; color: #fff; }
.station-seo-page .station-az-nav a.is-current::after { content: " (" attr(data-count) ")"; font-weight: 600; font-size: .72rem; }
.station-seo-page .station-az-nav-note { margin: .6rem 0 0; color: #566270; font-size: .85rem; }

/* ---------- Contextual list ---------- */

/* ---------- Letter listing + search fallback pages ---------- */
.station-seo-page .station-directory-shell { max-width: 1100px; margin: 0 auto; padding: clamp(7rem, 16vw, 8rem) clamp(1.25rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); }
.station-seo-page .station-directory-head { margin-bottom: 1.25rem; }
.station-seo-page .station-directory-head h1 { margin: .3rem 0 .4rem; font-size: clamp(1.6rem, 3.6vw, 2.125rem); letter-spacing: -0.015em; }
.station-seo-page .station-directory-head p { color: #4e5b68; }
.station-seo-page .station-directory-rows { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; gap: .4rem; }
@media (min-width: 700px) { .station-seo-page .station-directory-rows { grid-template-columns: 1fr 1fr; } }
.station-seo-page .station-directory-rows a {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .8rem;
  min-height: 44px;
  padding: .55rem .7rem;
  border: 1px solid rgba(16,35,61,.1);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}
.station-seo-page .station-directory-rows a:hover { border-color: #10233d; background: #fff; }
.station-seo-page .station-directory-rows a > span { color: #566270; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.station-seo-page .station-directory-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 1.25rem 0; }
.station-seo-page .station-directory-pagination a,
.station-seo-page .station-directory-pagination .station-page-current {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  padding: .35rem .6rem;
  border: 1px solid rgba(16,35,61,.16);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}
.station-seo-page .station-directory-pagination a:hover { border-color: #10233d; }
.station-seo-page .station-directory-pagination .station-page-current { background: #10233d; border-color: #10233d; color: #fff; }
.station-seo-page .station-directory-pagination a.prev,
.station-seo-page .station-directory-pagination a.next { padding: .35rem 1rem; }
.station-seo-page .station-directory-foot { margin-top: 1.25rem; }
.station-seo-page .station-search-form { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; margin: 0 0 1.25rem; }
.station-seo-page .station-search-form label { flex: 0 0 100%; color: #4e5b68; font-size: .8rem; font-weight: 700; }
.station-seo-page .station-search-form input { flex: 1 1 240px; min-height: 52px; padding: .8rem 1rem; border: 1px solid #d9dfe5; border-radius: 12px; background: #fff; color: #18212b; font: inherit; }
.station-seo-page .station-search-form button { min-height: 52px; padding: .8rem 1.2rem; border: 1px solid #10233d; border-radius: 12px; background: #10233d; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.station-seo-page .station-search-form button:hover { background: #14cf51; border-color: #14cf51; color: #0f1f33; }
.station-seo-page .station-search-count { color: #4e5b68; }

/* ---------- Rankings cards (kept from v2) ---------- */
.station-seo-page .station-directory-card { padding: .85rem 1rem; border-radius: 14px; box-shadow: 0 8px 22px rgba(16,35,61,.04); }
.station-seo-page .station-directory-card small { margin-top: .12rem; color: #566270; }
.station-seo-page .rail-performance-empty { padding: 1.25rem 1.5rem; border-radius: 14px; }
.station-seo-page .rail-performance-empty h3 { font-size: 1.3rem; }
.station-seo-page .rail-performance-empty p { color: #566270; }

/* ---------- Live board: toolbar, tabs, refresh ---------- */
.station-seo-page .station-live-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; max-width: 1220px; margin: 0 auto 1.1rem; }
.station-seo-page .station-live-heading h2 { margin: .15rem 0 0; }
.station-seo-page .station-live-heading > p { max-width: 430px; margin: 0; color: #4e5b68; line-height: 1.6; }

.station-seo-page .station-board-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 1rem;
  max-width: 1220px;
  margin: 0 auto 1rem;
}
.station-seo-page .station-board-tabs { display: inline-flex; flex-wrap: wrap; gap: .5rem; }
.station-seo-page .station-board-tabs .ltuk-tab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .55rem 1.1rem;
  border: 1px solid #10233d;
  border-radius: 999px;
  background: #fff;
  color: #10233d;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
}
.station-seo-page .station-board-tabs .ltuk-tab.is-active,
.station-seo-page .station-board-tabs .ltuk-tab:has(input:checked) { background: #14cf51; border-color: #14cf51; color: #0f1f33; }
.station-seo-page .station-board-tabs input[type="radio"] { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.station-seo-page .station-board-tabs .ltuk-tab input:focus-visible + span { outline: 3px solid #0f7a37; outline-offset: 2px; border-radius: 999px; }
.station-seo-page .station-board-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; }
.station-seo-page .station-live-status { margin: 0; color: #4e5b68; font-size: .85rem; }
.station-seo-page .station-refresh {
  min-height: 44px;
  padding: .55rem 1.1rem;
  border: 1px solid #10233d;
  border-radius: 999px;
  background: #fff;
  color: #10233d;
  font: inherit;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
}
.station-seo-page .station-refresh:hover { background: #10233d; color: #fff; }
.station-seo-page .station-refresh:focus-visible { outline: 3px solid #0f7a37; outline-offset: 2px; }

/* ---------- Board panels ---------- */
.station-seo-page .station-board-card {
  max-width: 1220px;
  margin: 0 auto;
  border: 1px solid rgba(16,35,61,.09);
  border-radius: 16px;
  background: #10233d;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(16,35,61,.07);
}
.station-seo-page .station-board-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .3rem 1rem;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.station-seo-page .station-board-head h3 { margin: 0; padding: 0; font-size: 1.05rem; line-height: 1.3; }
.station-seo-page .station-board-clock { margin: 0; color: #8cf2aa; font-size: .78rem; font-weight: 700; }
.station-seo-page .station-board-empty { margin: 0; padding: 1.25rem 1.25rem 1.5rem; color: #c3cbd6; }

.station-seo-page .station-board-list { display: grid; font-variant-numeric: tabular-nums; }
.station-seo-page .station-board-header {
  display: grid;
  grid-template-columns: 58px minmax(0, 1.9fr) minmax(0, 1fr) 76px minmax(120px, 130px);
  gap: .75rem;
  padding: .55rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
  margin: 0;
  color: #aeb9c6;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.station-seo-page .station-board-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1.9fr) minmax(0, 1fr) 76px minmax(120px, 130px);
  gap: .75rem;
  align-items: start;
  padding: .8rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.station-seo-page .station-board-row:last-child { border-bottom: 0; }
.station-seo-page .station-board-row time { font-size: 1.05rem; font-weight: 800; white-space: nowrap; }
.station-seo-page .station-board-dest { min-width: 0; }
.station-seo-page .station-board-dest strong,
.station-seo-page .station-board-op small {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}
.station-seo-page .station-board-dest strong { line-height: 1.35; }
.station-seo-page .station-board-op { min-width: 0; }
.station-seo-page .station-board-op small { color: rgba(255,255,255,.75); font-size: .85rem; line-height: 1.3; }
.station-seo-page .station-board-plat { color: #dbe4f0; font-size: .95rem; font-weight: 700; white-space: normal; }
.station-seo-page .station-board-status {
  justify-self: end;
  text-align: right;
  color: #9cf5b5;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.35;
}
.station-seo-page .station-board-status .board-countdown { display: block; font-style: normal; font-weight: 700; color: #fff; }
.station-seo-page .station-board-row.is-cancelled { background: #2a253b; }
.station-seo-page .station-board-row.is-cancelled > time { text-decoration: line-through; text-decoration-thickness: 2px; }
.station-seo-page .station-board-row.is-cancelled .station-board-status { color: #ffb3b3; }
.station-seo-page .station-board-row[hidden] { display: none !important; }
.station-seo-page .station-board-card[hidden] { display: none !important; }

/* Board filter + show-more (JS-inserted controls) */
.station-seo-page .ltuk-board-filter { display: grid; gap: .35rem; padding: .75rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.station-seo-page .ltuk-board-filter label { font-size: .85rem; font-weight: 600; color: #c3cbd6; }
.station-seo-page .ltuk-board-filter input { width: 100%; box-sizing: border-box; border: 1px solid #64748b; border-radius: .5rem; padding: .65rem; background: #fff; color: #18212b; font: inherit; }
.station-seo-page .ltuk-board-filter-status { margin: 0; font-size: .85rem; color: #ffb3b3; }
.station-seo-page .ltuk-board-more {
  display: block;
  margin: .75rem auto;
  min-height: 44px;
  padding: .55rem 1.1rem;
  border: 1px solid #64748b;
  border-radius: .5rem;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.station-seo-page .ltuk-board-more[hidden] { display: none !important; }
.station-seo-page .ltuk-board-more:focus-visible { outline: 3px solid #8cf2aa; outline-offset: 3px; }
.station-seo-page .ltuk-board-filter input:focus-visible { outline-color: #8cf2aa; }

/* ---------- Same-day overview ---------- */
.station-seo-page .station-today { max-width: 1220px; margin: 1.25rem auto 0; padding: 1.1rem 1.25rem; border: 1px solid rgba(16,35,61,.1); border-radius: 14px; background: #fff; }
.station-seo-page .station-today h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.station-seo-page .station-today > p { margin: .2rem 0 .8rem; color: #4e5b68; font-size: .9rem; }
.station-seo-page .station-today h4 { margin: .9rem 0 .35rem; font-size: .95rem; }
.station-seo-page .station-today .station-metric-grid { max-width: none; margin: 0; gap: .6rem; }
.station-seo-page .station-today > p:last-child { margin-bottom: 0; }

.station-seo-page .station-operator-strip { border-radius: 14px; margin-top: 1rem; padding: .75rem 1rem; }
.station-seo-page .station-operator-strip > span { color: #566270; font-size: .72rem; }

/* ---------- Facilities / disruption ---------- */
.station-seo-page .station-disruption-list article { padding: 1rem 1.1rem; border-radius: 12px; }
.station-seo-page .station-disruption-list p { color: #566270; }
.station-seo-page .station-seo-section > p,
.station-seo-section.station-seo-page section,
.station-seo-page #station-facilities > p { color: #4e5b68; }

/* ---------- Map ---------- */
.station-seo-page .station-map-section { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 1.5rem; align-items: center; max-width: 1220px; margin: 0 auto; }
.station-seo-page .station-map-section > div:first-child p { color: #4e5b68; }
.station-seo-page .station-map-frame { min-height: 300px; border-radius: 16px; }

/* ---------- Reliability ---------- */
.station-seo-page .station-metric-grid { gap: .75rem; max-width: 1220px; margin: 0 auto; }
.station-seo-page .station-metric-grid article { min-height: 0; padding: 1rem 1.1rem; border-radius: 14px; box-shadow: 0 8px 22px rgba(16,35,61,.04); }
.station-seo-page .station-metric-grid article > strong { display: block; margin-top: .45rem; font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.1; letter-spacing: -0.02em; }
.station-seo-page .station-metric-grid span { color: #566270; font-size: .8rem; }
.station-seo-page .station-metric-grid p { margin: .5rem 0 0; color: #4e5b68; font-size: .85rem; line-height: 1.5; }
.station-seo-page .station-method-note { max-width: 760px; margin: .8rem 0 0; color: #4e5b68; font-size: .9rem; }
.station-seo-page .station-connections { max-width: 1220px; margin: 1.5rem auto 0; }
.station-seo-page .station-connection-list { border-top: 1px solid rgba(16,35,61,.1); }
.station-seo-page .station-connection-row { padding: .8rem 0; gap: .75rem; }
@media (max-width: 900px) {
  .station-seo-page .station-metric-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .station-seo-page .station-metric-grid { grid-template-columns: 1fr; }
}

/* ---------- Related links, tips ---------- */
.station-seo-page .ltuk-related-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .75rem; }
.station-seo-page .ltuk-related-links a { display: flex; justify-content: space-between; gap: .5rem; border: 1px solid #94a3b8; border-radius: 12px; padding: .9rem; text-decoration: none; color: inherit; background: #fff; }
.station-seo-page .ltuk-related-links a:hover { text-decoration: underline; }
.station-seo-page .ltuk-related-links a:focus-visible { outline: 3px solid #16803a; outline-offset: 3px; }

/* ---------- Compact app promotion ---------- */
.station-seo-page .station-app-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  max-width: 1220px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  border: 1px solid rgba(16,35,61,.1);
  border-radius: 14px;
  background: #fff;
}
.station-seo-page .station-app-compact h2 { margin: 0; font-size: 1.05rem; }
.station-seo-page .station-app-compact p { margin: .2rem 0 0; color: #4e5b68; font-size: .9rem; line-height: 1.5; }
.station-seo-page .station-app-compact .rail-performance-cta { flex: 0 0 auto; padding: .7rem 1.1rem; font-size: .9rem; }

/* ---------- Methodology ---------- */
.station-seo-page .station-seo-method { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 1.25rem 3rem; padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 5vw, 4rem); background: #10233d; color: #fff; }
.station-seo-page .station-seo-method h2 { margin: .2rem 0 0; font-size: clamp(1.5rem, 2.7vw, 1.75rem); }
.station-seo-page .station-seo-method p { color: #c3cbd6; line-height: 1.65; }
.station-seo-page .station-seo-method .rail-performance-cta { display: inline-flex; padding: .75rem 1rem; border-radius: 999px; background: #14cf51; color: #041e58; text-decoration: none; font-weight: 800; }
.station-seo-page .station-seo-method :is(a, button):focus-visible { outline-color: #8cf2aa; }

/* ---------- Responsive board rows ---------- */
@media (min-width: 900px) {
  .station-seo-page .station-board-header[hidden],
  .station-seo-page .station-board-row { grid-template-columns: 58px minmax(0, 1.9fr) minmax(0, 1fr) 76px minmax(120px, 130px); }
}
@media (max-width: 899px) {
  .station-seo-page .station-board-header {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .station-seo-page .station-board-row {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "time plat"
      "dest dest"
      "op op"
      "status status";
    gap: .3rem .75rem;
  }
  .station-seo-page .station-board-row > time { grid-area: time; }
  .station-seo-page .station-board-dest { grid-area: dest; }
  .station-seo-page .station-board-op { grid-area: op; }
  .station-seo-page .station-board-plat { grid-area: plat; justify-self: end; text-align: right; white-space: nowrap; }
  .station-seo-page .station-board-status { grid-area: status; justify-self: start; text-align: left; }
  .station-seo-page .station-board-status .board-countdown { display: inline; }
  .station-seo-page .station-map-section { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .station-seo-page .station-live-heading { align-items: start; }
  .station-seo-page .station-board-toolbar { align-items: stretch; flex-direction: column; }
  .station-seo-page .station-board-tools { justify-content: space-between; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .station-seo-page * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Legacy/secondary selectors kept from v1 ---------- */
.station-seo-page [id^="live-"], .station-seo-page #station-reliability, .station-seo-page #station-facilities, .station-seo-page #station-location { scroll-margin-top: 6rem; }
.station-seo-page .ltuk-facility-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .75rem; margin: 1rem 0; }
.station-seo-page .ltuk-facility-grid > div { border: 1px solid #94a3b8; border-radius: 12px; padding: .9rem; min-width: 0; }
.station-seo-page .ltuk-facility-grid dt { font-weight: 600; font-size: .88rem; }
.station-seo-page .ltuk-facility-grid dd { margin: .35rem 0 0; overflow-wrap: anywhere; }
.station-seo-page .ltuk-guide-note { font-size: .85rem; }

/* ---------- Directory v2.3 (2026-11-25 hub correction): the stations landing page
   becomes a Level 1 discovery hub: navy search hero with quick links, off-white
   Browse stations cards, photographic featured stations, one performance banner.
   Reference palette: hero #092143, body #F5F7FA, accent #10E565 (actions and
   icons only, never large surfaces), icon green #08C65A, green button text
   #071A15, card borders #D9DEE5, dividers #E2E8F0, banner #081D38. ---------- */

/* Hero */
.station-seo-page .station-hub-hero {
  position: relative;
  overflow: hidden;
  background: #092143;
  color: #fff;
  padding: clamp(7rem, 16vw, 8rem) 0 clamp(2.4rem, 5vw, 3.4rem);
}
.station-seo-page .station-hub-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}
.station-seo-page .station-hub-hero-inner {
  position: relative;
  z-index: 2;
  max-width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.station-hub-hero .ltuk-breadcrumbs { margin: 0 0 1rem; }
.station-hub-hero .ltuk-breadcrumbs li { color: #cbd5e1; }
.station-hub-hero .ltuk-breadcrumbs li + li::before { color: #7d8ea3; }
.station-hub-hero .ltuk-breadcrumbs a { color: #fff; }
.station-seo-page .station-hero-eyebrow {
  margin: 0;
  color: #10e565;
  font-size: clamp(.85rem, 1.1vw, .95rem);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.station-hub-hero h1 {
  margin: .55rem 0 .5rem;
  max-width: 16em;
  color: #f8fafc;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.station-seo-page .station-hero-intro {
  max-width: 780px;
  margin: .35rem 0 1.6rem;
  color: #cbd5e1;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
}

/* Integrated white search container with the green pill button */
.station-seo-page .station-hero-search {
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  min-height: 72px;
  margin: 0;
  padding: .6rem .7rem .6rem 1.15rem;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(4, 16, 34, .22);
}
.station-seo-page .station-hero-search-icon { flex: 0 0 auto; color: #081a32; }
.station-seo-page .station-hero-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.station-seo-page .station-hero-search > input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 44px;
  padding: .4rem .25rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #101828;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
}
.station-seo-page .station-hero-search > input::placeholder { color: #7c8798; }
.station-seo-page .station-hero-search .station-search-submit {
  flex: 0 0 auto;
  min-height: 48px;
  min-width: 135px;
  padding: .75rem 1.4rem;
  border: 1px solid #10e565;
  border-radius: 999px;
  background: #10e565;
  color: #071a15;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.station-seo-page .station-hero-search .station-search-submit:hover { background: #14cf51; border-color: #14cf51; color: #071a15; }
.station-seo-page .station-hero-search .station-suggest-status { margin: .6rem 0 0; color: #cbd5e1; font-size: .85rem; }

/* Autocomplete dropdown: opaque white, above the hero artwork and the light body */
.station-seo-page .station-hero-search .station-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 70;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid #d9dee5;
  border-radius: 14px;
  background: #fff;
  color: #101820;
  box-shadow: 0 12px 30px rgba(4, 16, 34, .18);
}
.station-seo-page .station-hero-search .station-suggestion {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: .7rem 1rem;
  border-bottom: 1px solid #eef1f4;
}
.station-seo-page .station-hero-search .station-suggestion:last-child { border-bottom: 0; }

/* Popular station quick links */
.station-seo-page .station-hero-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  margin-top: 1.15rem;
}
.station-seo-page .station-hero-quick-label { color: #cbd5e1; font-size: .9rem; }
.station-seo-page .station-hero-quick-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.station-seo-page .station-hero-quick-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: .45rem 1.1rem;
  border: 1px solid rgba(203, 213, 225, .48);
  border-radius: 999px;
  background: rgba(7, 33, 70, .55);
  color: #fff;
  font-size: .92rem;
  text-decoration: none;
}
.station-seo-page .station-hero-quick-list a:hover { border-color: #10e565; text-decoration: underline; }
.station-seo-page .station-hero-quick-list a:focus-visible { outline: 3px solid #8cf2aa; outline-offset: 2px; }

/* Off-white body with the Browse / featured / banner sections */
.station-seo-page .station-hub-body {
  background: #f5f7fa;
  color: #101820;
  padding: clamp(2.2rem, 4.5vw, 3.2rem) 0 clamp(2.4rem, 4.5vw, 3.5rem);
}
.station-hub-body .station-hub-note,
.station-hub-body .station-browse-section,
.station-hub-body .station-featured-section,
.station-hub-body .station-photo-credits {
  max-width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  box-sizing: border-box;
}
.station-hub-body .rail-performance-section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.station-hub-body .rail-performance-section-head > p:last-child { color: #475569; }

/* Browse stations: four white cards, whole card is the control */
.station-seo-page .station-browse-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.station-seo-page .station-browse-card,
.station-seo-page .station-browse-card-button {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 158px;
  padding: 1.5rem;
  border: 1px solid #d9dee5;
  border-radius: 15px;
  background: #fff;
  color: #101820;
  text-decoration: none;
  position: relative;
  gap: .35rem;
}
.station-seo-page .station-browse-card-button { width: 100%; text-align: left; font: inherit; cursor: pointer; }
.station-seo-page .station-browse-card > svg { flex: 0 0 auto; }
.station-seo-page .station-browse-card strong { margin-top: .55rem; font-size: 1.05rem; line-height: 1.3; }
.station-seo-page .station-browse-card span { color: #475569; font-size: .93rem; line-height: 1.5; }
.station-seo-page .station-browse-card:hover,
.station-seo-page .station-browse-card-button:hover { border-color: #08c65a; }
.station-seo-page .station-browse-card:disabled {
  color: #7c8798;
  border-color: #e3e8ee;
  background: #fbfcfd;
  cursor: default;
}
.station-seo-page .station-browse-chevron { position: absolute; right: 1.25rem; bottom: 1.25rem; color: #101820; }
.station-seo-page .station-browse-nearby-status { max-width: none; }

/* Thin divider between Browse stations and Popular stations */
.station-seo-page .station-hub-divider {
  max-width: calc(min(1280px, 100%) - 2 * clamp(1.25rem, 4vw, 3rem));
  margin: clamp(1.6rem, 3.2vw, 2.2rem) auto;
  border: 0;
  border-top: 1px solid #e2e8f0;
}

/* Featured stations: genuine photographs, caption over a bottom gradient */
.station-seo-page .station-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.station-seo-page .station-featured-card {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 13px;
  overflow: hidden;
  text-decoration: none;
}
.station-seo-page .station-featured-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.station-seo-page .station-featured-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: 1rem;
  padding-top: 2.1rem;
  color: #fff;
  background: linear-gradient(to top, rgba(3, 10, 20, .85) 0%, rgba(3, 10, 20, .55) 55%, rgba(3, 10, 20, 0) 100%);
}
.station-seo-page .station-featured-caption strong {
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.station-seo-page .station-featured-caption svg { flex: 0 0 auto; }

/* Station performance banner */
.station-seo-page .station-perf-banner {
  box-sizing: border-box;
  max-width: calc(min(1280px, 100%) - 2 * clamp(1.25rem, 4vw, 3rem));
  margin: clamp(3rem, 5vw, 4rem) auto 0;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border-radius: 15px;
  background: #081d38;
  color: #fff;
}
.station-seo-page .station-perf-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.1rem, 2.5vw, 2rem);
}
.station-seo-page .station-perf-banner-inner > svg { flex: 0 0 auto; }
.station-perf-banner .station-perf-banner-text { flex: 1 1 260px; min-width: 0; }
.station-perf-banner .station-perf-banner-text h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  line-height: 1.25;
}
.station-perf-banner .station-perf-banner-text p {
  max-width: 56ch;
  margin: .4rem 0 0;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
}
.station-seo-page .station-perf-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .8rem 1.5rem;
  border: 1px solid #10e565;
  border-radius: 999px;
  background: #10e565;
  color: #071a15;
  font-weight: 700;
  text-decoration: none;
}
.station-seo-page .station-perf-cta:hover { background: #14cf51; border-color: #14cf51; }

/* Photo credits (required by the reuse licences) */
.station-seo-page .station-photo-credits { margin-top: clamp(1.9rem, 4vw, 2.8rem); color: #475569; font-size: .86rem; }
.station-seo-page .station-photo-credits h2 { margin: .2rem 0 .45rem; font-size: 1rem; }
.station-seo-page .station-photo-credits p { margin: 0 0 .5rem; max-width: 78ch; }
.station-seo-page .station-photo-credits ul { margin: 0; padding: 0 0 0 1.2rem; }
.station-seo-page .station-photo-credits li + li { margin-top: .3rem; }
.station-seo-page .station-photo-credits a { color: #10233d; }

/* Subtle vertical divider inside the banner: only where the layout is wide
   enough for the icon and text to sit side by side. */
@media (min-width: 761px) {
  .station-perf-banner .station-perf-banner-inner > svg {
    padding-right: 1.4rem;
    border-right: 1px solid rgba(203, 213, 225, .28);
  }
}

/* Hub landscape tablet: two-column grids */
@media (max-width: 1023px) {
  .station-seo-page .station-browse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .station-seo-page .station-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Hub mobile: hero artwork hidden, banner stacks, CTA full width */
@media (max-width: 760px) {
  .station-seo-page .station-hub-hero-art { display: none; }
  .station-seo-page .station-hub-hero { padding: clamp(7rem, 22vw, 8rem) 0 2.2rem; }
  .station-seo-page .station-hero-search { min-height: 64px; padding: .55rem .6rem .55rem 1rem; border-radius: 16px; }
  .station-seo-page .station-hero-search .station-search-submit { min-width: 0; width: auto; padding: .7rem 1.05rem; }
  .station-seo-page .station-browse-card,
  .station-seo-page .station-browse-card-button { min-height: 0; padding: 1rem; }
  .station-seo-page .station-perf-cta { flex: 1 1 100%; }
  .station-seo-page .station-photo-credits { overflow-wrap: anywhere; }
}

/* Very narrow viewports and large text: single column */
@media (max-width: 420px) {
  .station-seo-page .station-browse-grid { grid-template-columns: 1fr; }
  .station-seo-page .station-featured-grid { grid-template-columns: 1fr; }
}

/* Region index (/stations/regions/): eight region cards with honest counts */
.station-seo-page .station-region-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: .75rem;
}
.station-seo-page .station-region-list a {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .4rem .8rem;
  min-height: 56px;
  box-sizing: border-box;
  padding: .9rem 1rem;
  border: 1px solid #d9dfe5;
  border-radius: 12px;
  background: #fff;
  color: #10233d;
  text-decoration: none;
}
.station-seo-page .station-region-list a:hover { border-color: #10233d; }
.station-seo-page .station-region-list a > span { color: #566270; font-size: .85rem; font-weight: 700; }
.station-seo-page .station-region-note { margin: .35rem 0 0; color: #566270; font-size: .85rem; }
