/* =========================================================
   LondonBusDrivers.co.uk — site styles
   Palette taken from the banner: bus red, deep navy, white,
   with the blue/white swoosh used as a stripe accent.
   ========================================================= */
:root {
  --red: #d4111a;
  --red-dark: #a50d14;
  --navy: #0a1430;
  --navy-2: #13214a;
  --blue: #1f3f94;
  --ink: #141a2b;
  --muted: #5b6275;
  --line: #e3ded6;
  --paper: #ffffff;
  --cream: #f6f3ee;
  --led: #ffb81c;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(10, 20, 48, .06), 0 6px 20px rgba(10, 20, 48, .07);
  --display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: var(--red-dark); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--led); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--led); color: #000; padding: .6rem 1rem; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 1rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Banner ---------- */
.site-banner { background: var(--navy); line-height: 0; }
.site-banner a { display: block; }
.site-banner picture, .site-banner img {
  width: 100%;
  height: clamp(110px, 15vw, 270px);
  object-fit: cover;
  object-position: center;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  /* red / white / blue swoosh stripe */
  box-shadow: inset 0 -4px 0 var(--red), inset 0 -6px 0 #fff, inset 0 -9px 0 var(--blue);
}
.site-nav .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; padding-bottom: 9px; }
.brand {
  font-family: var(--display); color: #fff; text-decoration: none; font-size: 1.02rem;
  letter-spacing: .01em; white-space: nowrap; opacity: 0; transform: translateY(4px);
  transition: opacity .2s, transform .2s; pointer-events: none;
}
.brand span { color: var(--red); }
.site-nav.is-stuck .brand { opacity: 1; transform: none; pointer-events: auto; }
.nav-list { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav-list > li { position: relative; }
.nav-list a, .nav-list button.sub-toggle {
  display: flex; align-items: center; gap: .35rem;
  font-family: var(--cond); font-weight: 700; font-size: 1.02rem; letter-spacing: .03em; text-transform: uppercase;
  color: #fff; text-decoration: none; padding: .55rem .8rem; border-radius: 6px;
  background: none; border: 0; cursor: pointer;
}
.nav-list a:hover, .nav-list button.sub-toggle:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-list a[aria-current="page"], .nav-list .is-section > a { color: var(--led); }
.nav-list .cta { background: var(--red); margin-left: .4rem; }
.nav-list .cta:hover { background: var(--red-dark); }
.nav-list .cta[aria-current="page"] { color: #fff; }
.has-sub { display: flex; align-items: center; }
.has-sub > .sub-toggle { padding-left: 0 !important; padding-right: .5rem !important; }
.has-sub > a { padding-right: .3rem !important; }
.chev { width: 12px; height: 12px; transition: transform .2s; }
.submenu {
  list-style: none; margin: 0; padding: .45rem; position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
  background: #fff; border-radius: var(--radius); box-shadow: 0 14px 40px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s;
  border-top: 4px solid var(--red);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .chev, .has-sub.open .chev { transform: rotate(180deg); }
.submenu a { color: var(--ink); text-transform: none; font-family: var(--body); font-weight: 600; font-size: 1rem; letter-spacing: 0; padding: .55rem .7rem; }
.submenu a:hover { background: var(--cream); color: var(--red-dark); }
.submenu a[aria-current="page"] { color: var(--red); background: var(--cream); }
.submenu .num { font-family: var(--display); font-size: .78rem; background: var(--navy); color: var(--led); border-radius: 4px; padding: .1rem .38rem; min-width: 1.6rem; text-align: center; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid rgba(255,255,255,.3); color: #fff; border-radius: 8px; padding: .4rem .65rem; font: 700 .95rem var(--cond); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.nav-toggle svg { vertical-align: -3px; margin-right: .3rem; }

@media (max-width: 920px) {
  .brand { opacity: 1; transform: none; pointer-events: auto; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-list {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-2); padding: .5rem 12px 1rem; display: none; box-shadow: 0 20px 30px rgba(0,0,0,.3);
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .site-nav.menu-open .nav-list { display: flex; }
  .nav-list a, .nav-list button.sub-toggle { padding: .8rem .6rem; font-size: 1.08rem; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .has-sub > .sub-toggle { padding: .8rem !important; }
  .submenu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; background: rgba(255,255,255,.05); border-top: 0; border-left: 3px solid var(--red); border-radius: 0 8px 8px 0; margin: 0 0 .4rem .6rem; }
  .has-sub.open .submenu { display: block; }
  .has-sub:hover .submenu { display: none; }
  .has-sub.open:hover .submenu { display: block; }
  .submenu a { color: #fff; }
  .submenu a:hover, .submenu a[aria-current="page"] { background: rgba(255,255,255,.08); color: var(--led); }
  .nav-list .cta { margin: .5rem 0 0; justify-content: center; }
}

/* ---------- Page head: destination blind ---------- */
.page-head { background: linear-gradient(180deg, var(--navy) 0, var(--navy-2) 100%); color: #fff; padding: 2.4rem 0 2.8rem; position: relative; overflow: hidden; }
.page-head::after { /* subtle road-marking texture */
  content: ""; position: absolute; inset: auto 0 0 0; height: 6px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 40px, transparent 40px 70px);
}
.crumbs { font: 600 .9rem var(--cond); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 1.1rem; color: rgba(255,255,255,.7); }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: var(--led); }
.crumbs span[aria-hidden] { margin: 0 .45rem; opacity: .5; }
.blind {
  display: inline-flex; align-items: stretch; background: #050505; border-radius: 8px; overflow: hidden;
  box-shadow: 0 0 0 3px #22252e, 0 10px 28px rgba(0,0,0,.4); margin-bottom: 1.3rem; max-width: 100%;
}
.blind .route { background: var(--red); color: #fff; font-family: var(--display); font-size: 1.55rem; display: grid; place-items: center; padding: 0 1rem; min-width: 3.6rem; }
.blind .dest { padding: .55rem 1.1rem; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--led); font-size: 1.05rem; line-height: 1.25; text-shadow: 0 0 8px rgba(255,184,28,.45); }
.blind .dest small { display: block; color: #d8d8d8; font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-shadow: none; }
.page-head h1 { font-family: var(--display); font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.08; margin: 0 0 .7rem; letter-spacing: -.01em; max-width: 22ch; }
.page-head .lede { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: rgba(255,255,255,.86); max-width: 62ch; margin: 0; }

/* ---------- Layout ---------- */
.page-body { padding: 2.8rem 0 4rem; }
.with-toc { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 3rem; align-items: start; }
.side { align-self: stretch; }
.side-inner { position: sticky; top: 90px; display: grid; gap: 1rem; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: thin; }
.toc { background: #fff; border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); font-size: .95rem; }
.toc h2 { font: 700 .82rem var(--cond); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 .6rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--line); }
.toc a { display: block; padding: .3rem 0 .3rem .8rem; margin-left: -3px; border-left: 3px solid transparent; color: var(--ink); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--red-dark); }
.toc a.active { border-color: var(--red); color: var(--red-dark); font-weight: 600; }
.hot { background: #fff; border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); font-size: .95rem; border-top: 4px solid var(--red); }
.hot h2 { font: 700 .82rem var(--cond); text-transform: uppercase; letter-spacing: .1em; color: var(--red-dark); margin: 0 0 .6rem; display: flex; align-items: center; gap: .4rem; }
.hot .flame { width: 14px; height: 14px; background: var(--red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2s5 4.5 5 10a5 5 0 0 1-10 0c0-2 1-3.5 1-3.5S9 11 11 11c0-4 1-9 1-9z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2s5 4.5 5 10a5 5 0 0 1-10 0c0-2 1-3.5 1-3.5S9 11 11 11c0-4 1-9 1-9z'/%3E%3C/svg%3E") center/contain no-repeat; }
.hot ol { list-style: none; margin: 0; padding: 0; }
.hot li { padding: .55rem 0; border-bottom: 1px solid var(--line); line-height: 1.35; }
.hot li:last-child { border-bottom: 0; }
.hot li > a { color: var(--navy); font-weight: 600; text-decoration: none; display: block; }
.hot li > a:hover { color: var(--red-dark); }
.hot .meta { display: flex; flex-wrap: wrap; gap: .2rem .7rem; font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.hot .cat { display: inline-flex; align-items: center; gap: .3rem; }
.hot .cat i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.hot p { margin: 0 0 .6rem; color: var(--muted); line-height: 1.45; }
.hot .more { display: inline-block; margin-top: .5rem; font: 700 .85rem var(--cond); text-transform: uppercase; letter-spacing: .06em; color: var(--red-dark); text-decoration: none; }
.hot .more:hover { text-decoration: underline; }
@media (max-width: 980px) {
  .with-toc { grid-template-columns: 1fr; }
  .toc { display: none; }
  .side-inner { position: static; max-height: none; overflow: visible; }
}

.prose { max-width: 760px; }
.prose > section { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.4rem, 3vw, 2.2rem); margin-bottom: 1.5rem; scroll-margin-top: 90px; }
.prose h2 { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.15; margin: 0 0 .9rem; color: var(--navy); }
.prose h2::before { content: ""; display: block; width: 44px; height: 5px; background: var(--red); border-radius: 3px; margin-bottom: .8rem; }
.prose h3 { font-family: var(--cond); font-weight: 700; font-size: 1.28rem; margin: 1.6rem 0 .5rem; color: var(--navy); }
.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--navy); }

ul.ticks, ul.dots { list-style: none; padding: 0; margin: .4rem 0 1.2rem; }
ul.ticks li, ul.dots li { position: relative; padding: .42rem 0 .42rem 2rem; border-bottom: 1px dashed var(--line); }
ul.ticks li:last-child, ul.dots li:last-child { border-bottom: 0; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .72rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
ul.dots li::before { content: ""; position: absolute; left: .35rem; top: 1.02rem; width: .55rem; height: .55rem; border-radius: 2px; background: var(--navy); transform: rotate(45deg); }
ul li strong { color: var(--navy); }

/* Route-line steps (bus stops) */
ol.route-line { list-style: none; margin: 1rem 0 1.4rem; padding: 0; position: relative; counter-reset: stop; }
ol.route-line::before { content: ""; position: absolute; left: 15px; top: 14px; bottom: 14px; width: 6px; background: var(--red); border-radius: 3px; }
ol.route-line > li { position: relative; padding: .3rem 0 1.1rem 3.2rem; counter-increment: stop; }
ol.route-line > li:last-child { padding-bottom: 0; }
ol.route-line > li::before {
  content: counter(stop); position: absolute; left: 0; top: .15rem; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; border: 5px solid var(--red); display: grid; place-items: center;
  font: 800 .9rem var(--cond); color: var(--navy);
}
ol.route-line > li:last-child::before { background: var(--navy); color: #fff; border-color: var(--navy); }
ol.route-line .stop-title { display: block; font-weight: 700; color: var(--navy); font-size: 1.1rem; line-height: 1.3; }
ol.route-line .stop-meta { display: inline-block; font: 700 .78rem var(--cond); text-transform: uppercase; letter-spacing: .07em; background: var(--cream); color: var(--muted); padding: .05rem .5rem; border-radius: 4px; margin: .25rem .3rem 0 0; }
ol.route-line p { margin: .3rem 0 0; color: #33394a; }

/* Cards / grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--cream); border-radius: var(--radius); padding: 1.2rem 1.3rem; border: 1px solid var(--line); }
.card h3 { margin-top: 0; }
.card.pro { border-top: 5px solid #1f8a4c; }
.card.con { border-top: 5px solid var(--red); }
.card.pro h3 { color: #17703c; }
.card.con h3 { color: var(--red-dark); }

.callout { border-left: 5px solid var(--led); background: #fff8e6; padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.2rem 0; }
.callout.navy { border-color: var(--navy); background: #eef1f8; }
.callout p:last-child { margin: 0; }
.pull { font-family: var(--display); color: var(--navy); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.25; margin: 1.4rem 0 0; }
.pull span { color: var(--red); }

.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--red); color: #fff; text-decoration: none; font: 700 1rem var(--cond); text-transform: uppercase; letter-spacing: .05em; padding: .75rem 1.25rem; border-radius: 8px; border: 0; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: var(--led); color: #000; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

/* Next-stop pager */
.next-stop { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.next-stop a { flex: 1 1 260px; background: var(--navy); color: #fff; text-decoration: none; border-radius: var(--radius); padding: 1rem 1.3rem; transition: background .15s; }
.next-stop a:hover { background: var(--navy-2); color: #fff; }
.next-stop small { display: block; font: 700 .78rem var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--led); }
.next-stop strong, .prose .next-stop strong { color: inherit; font-family: var(--display); font-size: 1.15rem; font-weight: 400; }
.next-stop a.prev { text-align: left; background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.next-stop a.prev small { color: var(--muted); }
.next-stop a.next { text-align: right; }

/* ---------- About: audience cards ---------- */
.audience { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; }
.audience li { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.audience b { display: block; font-family: var(--cond); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--red-dark); }
.split-statement { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; margin-top: 1.4rem; }
.split-statement div { padding: 1.3rem 1.4rem; font-family: var(--display); font-size: 1.15rem; line-height: 1.3; }
.split-statement div:first-child { background: var(--cream); color: var(--muted); }
.split-statement div:last-child { background: var(--navy); color: #fff; }
.split-statement div:last-child em { color: var(--led); font-style: normal; }
@media (max-width: 640px) { .split-statement { grid-template-columns: 1fr; } }

/* Section path cards (home & become hub) */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.paths.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .paths, .paths.three { grid-template-columns: 1fr; } }
.path { display: flex; flex-direction: column; gap: .4rem; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); border-top: 5px solid var(--red); transition: transform .15s, box-shadow .15s; }
.path:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(10,20,48,.14); color: var(--ink); }
.path .num { align-self: flex-start; font-family: var(--display); background: var(--navy); color: var(--led); border-radius: 5px; padding: .1rem .5rem; font-size: .9rem; }
.path strong { font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: var(--navy); line-height: 1.2; }
.path span { color: var(--muted); font-size: .98rem; line-height: 1.45; }
.path .go { margin-top: auto; font: 700 .9rem var(--cond); text-transform: uppercase; letter-spacing: .06em; color: var(--red-dark); }

/* ---------- Recruitment: operator directory ---------- */
.depot-tools { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; margin: .5rem 0 1rem; }
.depot-search { flex: 1 1 260px; position: relative; }
.depot-search input { width: 100%; font: inherit; padding: .75rem 1rem .75rem 2.6rem; border: 2px solid var(--line); border-radius: 8px; background: #fff; }
.depot-search input:focus { border-color: var(--navy); outline: none; }
.depot-search svg { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.depot-count { font: 600 .95rem var(--cond); color: var(--muted); }
.operator { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; background: #fff; overflow: hidden; }
.operator summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .8rem; padding: .95rem 1.1rem; }
.operator summary::-webkit-details-marker { display: none; }
.operator summary:hover { background: var(--cream); }
.operator .op-name { font-family: var(--display); font-size: 1.1rem; color: var(--navy); flex: 1; }
.operator .op-count { font: 700 .85rem var(--cond); background: var(--navy); color: #fff; padding: .15rem .55rem; border-radius: 20px; white-space: nowrap; }
.operator .chev { width: 16px; height: 16px; color: var(--muted); }
.operator[open] .chev { transform: rotate(180deg); }
.operator[open] summary { border-bottom: 1px solid var(--line); }
.operator .op-body { padding: .6rem 1.1rem 1.1rem; }
.operator .portal { margin: .3rem 0 .8rem; }
.depots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .55rem; }
.depots li { background: var(--cream); border-radius: 8px; padding: .65rem .85rem; font-size: .95rem; line-height: 1.4; }
.depots li b { display: block; color: var(--navy); font-size: 1.02rem; }
.depots li a { font-size: .85rem; font-weight: 600; text-decoration: none; }
.depots li a:hover { text-decoration: underline; }
.depots li.hide, .operator.hide { display: none; }
.no-results { display: none; color: var(--muted); font-style: italic; }

/* ---------- News ---------- */
.news-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { font: 700 .92rem var(--cond); text-transform: uppercase; letter-spacing: .05em; padding: .45rem .9rem; border-radius: 30px; border: 2px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; }
.chip .n { opacity: .65; margin-left: .25rem; font-weight: 600; }
.updated { font-size: .92rem; color: var(--muted); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; }
.news-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(10,20,48,.14); }
.news-card .top { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1.1rem 0; gap: .5rem; }
.badge { font: 700 .75rem var(--cond); letter-spacing: .08em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 4px; color: #fff; background: var(--muted); }
.badge.bbc { background: #000; }
.badge.local { background: var(--blue); }
.badge.tfl { background: var(--red); }
.news-card time { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.news-card h3 { font-family: var(--cond); font-weight: 700; font-size: 1.22rem; line-height: 1.28; margin: .55rem 1.1rem .45rem; }
.news-card h3 a { color: var(--navy); text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.news-card { position: relative; }
.news-card h3 a:hover { color: var(--red-dark); }
.news-card p { margin: 0 1.1rem 1rem; color: #3d4354; font-size: .98rem; line-height: 1.5; }
.news-card .src { margin-top: auto; padding: .7rem 1.1rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); display: flex; justify-content: space-between; }
.news-card .src span:last-child { color: var(--red-dark); font-weight: 600; }
.news-card.hide { display: none; }
.empty { background: #fff; border-radius: var(--radius); padding: 2.5rem 1.5rem; text-align: center; box-shadow: var(--shadow); }
.empty .blind { margin: 0 auto 1rem; }
.disclaimer { margin-top: 2rem; font-size: .92rem; color: var(--muted); max-width: 70ch; }

/* ---------- Forum ---------- */
.forum-hero { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: center; margin-bottom: 1.5rem; position: relative; overflow: hidden; }
.forum-hero::before { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 30px solid rgba(212,17,26,.35); }
.forum-hero h2 { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 .5rem; line-height: 1.15; }
.forum-hero p { color: rgba(255,255,255,.85); margin: 0; }
.forum-hero .btn-row { margin-top: 0; justify-content: flex-end; position: relative; }
@media (max-width: 760px) { .forum-hero { grid-template-columns: 1fr; } .forum-hero .btn-row { justify-content: flex-start; } }
.forum-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .forum-cols { grid-template-columns: 1fr; } }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem 1.4rem; margin-bottom: 1.5rem; }
.panel h2 { font-family: var(--display); font-size: 1.3rem; color: var(--navy); margin: 0 0 .9rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.panel h2 a { font: 700 .85rem var(--cond); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.topics { list-style: none; margin: 0; padding: 0; }
.topics li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.topics li:last-child { border: 0; }
.topics a { font-weight: 700; color: var(--navy); text-decoration: none; line-height: 1.35; }
.topics a:hover { color: var(--red-dark); }
.topics .meta { grid-column: 1; font-size: .85rem; color: var(--muted); display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.topics .cat { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.topics .cat i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.topics .stats { grid-row: 1 / span 2; grid-column: 2; text-align: center; font: 700 1.1rem var(--cond); color: var(--navy); line-height: 1.1; align-self: center; }
.topics .stats small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.cat-list li { border-left: 5px solid var(--red); background: var(--cream); padding: .65rem .9rem; border-radius: 0 8px 8px 0; }
.cat-list b { display: block; color: var(--navy); }
.cat-list span { font-size: .93rem; color: var(--muted); line-height: 1.4; display: block; }
ol.rules { padding-left: 1.3rem; margin: 0; }
ol.rules li { padding: .3rem 0; }
ol.rules li::marker { font-family: var(--display); color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 2.6rem 0 1.4rem; font-size: .95rem; box-shadow: inset 0 4px 0 var(--red), inset 0 6px 0 #fff, inset 0 9px 0 var(--blue); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 1.4rem; } }
.site-footer h2 { font: 700 .85rem var(--cond); text-transform: uppercase; letter-spacing: .12em; color: var(--led); margin: 0 0 .7rem; }
.site-footer .f-brand { font-family: var(--display); color: #fff; font-size: 1.25rem; margin: 0 0 .5rem; }
.site-footer .f-brand span { color: var(--red); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .18rem 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--led); text-decoration: underline; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1.1rem; font-size: .85rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-nav, .toc, .site-footer, .next-stop { display: none; } .prose > section { box-shadow: none; } }
