/* ============================================================
   THE 1957 NEWS — PHASE 1: FOUNDATION
   Tokens · Reset · Chrome · Shared components · Responsive
   ============================================================ */

/* ─── 1. Design tokens ────────────────────────────────────── */
:root {
  /* Brand palette */
  --red:    #CE1126;
  --navy:   #0F1B36;
  --yellow: #FFD400;
  --green:  #006B3F;
  --npp:    #1F4FA8;
  --ndc:    #006B3F;

  /* Ink scale */
  --ink:       #101014;
  --grey-body: #3d3d45;
  --grey-mid:  #54545d;
  --grey-meta: #8a8a90;

  /* Surfaces */
  --bg:      #ffffff;
  --surface: #f4f4f2;
  --border:  #e2e2de;

  /* Type stacks */
  --sans:  'Archivo', system-ui, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
  --ui:    'Poppins', system-ui, sans-serif;

  /* Horizontal box padding: 32px gutter until viewport is wider than 1280px */
  --box: max(32px, calc((100% - 1280px) / 2));
}

/* ─── 2. Reset + base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
input, textarea, select { font-family: inherit; }
figure { margin: 0; }

/* Accessibility helper */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ─── 3. Utility bar ──────────────────────────────────────── */
/* Design: 34px tall, #101014 bg, date + weather + FX left, links + sign-in right */
.utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--box);
  height: 34px;
  background: var(--ink);
  color: #c9c9cf;
  font-size: 11.5px;
  letter-spacing: .04em;
}
.utility-bar__left,
.utility-bar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.utility-bar__date { font-weight: 700; color: #ffffff; }
.utility-bar a { color: #c9c9cf; }
.utility-bar a:hover { color: #ffffff; }

/* ─── 4. Masthead ─────────────────────────────────────────── */
/* Design: logo left, search + subscribe right, border-bottom 1px */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--box) 14px;
  border-bottom: 1px solid var(--border);
}
.masthead__logo { height: 38px; width: auto; display: block; }
.masthead__actions { display: flex; align-items: center; gap: 10px; }

.masthead__search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d5d5d0;
  padding: 8px 14px;
  width: 250px;
  color: var(--grey-meta);
  font-size: 13px;
  cursor: pointer;
  background: var(--bg);
  transition: border-color .15s;
}
.masthead__search:hover { border-color: var(--ink); }
.masthead__search-icon { font-weight: 700; color: var(--ink); }
.masthead__search input {
  border: none; outline: none;
  width: 100%; background: transparent;
  font-size: 13px; color: var(--ink);
}
.masthead__search input::placeholder { color: var(--grey-meta); }
.masthead__search-label { color: var(--grey-meta); }

/* ─── 5. Primary navigation ───────────────────────────────── */
/* Design: 44px, border-bottom 3px #101014, cats left, Live TV/Podcasts right */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--box);
  height: 44px;
  border-bottom: 3px solid var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
}
.site-nav__primary {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav__primary a { color: var(--ink); }
.site-nav__primary a:hover,
.site-nav__primary .current-menu-item > a,
.site-nav__primary a[aria-current="page"] { color: var(--red); }

.site-nav__mp-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green) !important;
}
.site-nav__mp-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  display: block; flex: none;
}
.site-nav__secondary {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--grey-mid);
  font-weight: 600;
}
.site-nav__secondary a { color: var(--grey-mid); }
.site-nav__secondary a:hover { color: var(--ink); }

/* ─── 6. Live ticker ──────────────────────────────────────── */
/* Design: #101014 bg, red "Live" badge left, scrolling white text, "Live" label right */
.live-ticker {
  display: flex;
  align-items: stretch;
  background: var(--ink);
  overflow: hidden;
}
.live-ticker__label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #ffffff;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  flex: none;
  white-space: nowrap;
}
.live-ticker__dot {
  width: 8px; height: 8px;
  background: #ffffff;
  border-radius: 50%;
  display: block; flex: none;
}
.live-ticker__track {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 38px;
}
.live-ticker__inner {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}
.live-ticker__track:hover .live-ticker__inner { animation-play-state: paused; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.live-ticker__item {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 0 22px;
  border-right: 1px solid #33333b;
  display: inline-block;
}
.live-ticker__updated {
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--grey-meta);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  flex: none;
  border-left: 1px solid #33333b;
  white-space: nowrap;
}

/* ─── 7. Slim header (article / directory / profile) ──────── */
/* Design: 56px, logo + active section kicker left, subscribe right */
.slim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--box);
  height: 56px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 200;
}
.slim-header--dark { border-bottom: 3px solid var(--ink); }

.slim-header__left {
  display: flex;
  align-items: center;
  gap: 26px;
}
.slim-header__logo { height: 28px; width: auto; display: block; }
.slim-header__nav-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--grey-mid);
}
.slim-header__nav-link:hover { color: var(--red); }
.slim-header__nav-link.active-section { color: var(--red); font-weight: 800; }
.slim-header__nav-link--green { color: var(--green) !important; font-weight: 800; }
.slim-header__right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.article-header__share {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.article-header__share:hover { color: var(--red); }

/* ─── 8. Reading progress ─────────────────────────────────── */
/* Design: 3px track (#eeeeea), red fill; sticky so it stays at viewport top */
.reading-progress {
  position: sticky;
  top: 0;
  z-index: 300;
  height: 3px;
  background: #eeeeea;
}
.reading-progress__bar {
  height: 3px;
  width: 0;
  background: var(--red);
  transition: width .08s linear;
}

/* ─── 9. Footer ───────────────────────────────────────────── */
/* Design: #101014 bg, logo+tagline left, 3-col links right */
.site-footer {
  background: var(--ink);
  color: #9a9aa2;
  padding: 34px var(--box);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.site-footer__brand { max-width: 300px; }
.site-footer__logo {
  height: 26px; width: auto;
  display: block;
  filter: invert(1) grayscale(1) brightness(2);
}
.site-footer__tagline {
  font-size: 12.5px;
  line-height: 1.5;
  margin-top: 12px;
}
.site-footer__cols {
  display: flex;
  gap: 56px;
  font-size: 12.5px;
  line-height: 2;
  flex-shrink: 0;
}
.site-footer__col-head {
  display: block;
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
  margin-bottom: 6px;
}
.site-footer a { color: #9a9aa2; }
.site-footer a:hover { color: #ffffff; }
.site-footer { flex-wrap: wrap; }
/* Built-in logo file has wide transparent margins: artwork spans x 143–329 of 430, y 6–91 of 97 */
.site-footer__logo.is-default-logo {
  height: 34px;
  width: calc(34px * 186 / 85);
  object-fit: cover;
  object-position: 58.6% 50%;
}
.site-footer__bottom {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  border-top: 1px solid #2a2a33;
  padding-top: 16px;
  font-size: 12px;
}

/* ─── 10. Shared components ───────────────────────────────── */

/* Share rail buttons (38×38 bordered squares) */
.share-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
  text-decoration: none;
  transition: border-color .12s, background .12s;
}
.share-btn:hover {
  border-color: var(--grey-mid);
  background: var(--surface);
  color: var(--ink);
}
.share-btn--dark { background: var(--ink); border-color: var(--ink); }
.share-btn--dark:hover { background: #2a2a32; border-color: #2a2a32; }

/* Breaking / category labels */
.label-breaking {
  background: var(--red);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 8px;
  display: inline-block;
  white-space: nowrap;
}

/* Timestamp */
.timestamp { font-size: 12px; color: var(--grey-meta); }

/* Kicker (section name above headline) */
.kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--red);
}
.kicker:hover { color: var(--red); }

/* Person chip (MP related chip) */
.person-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 16px 5px 5px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: background .12s, border-color .12s;
}
.person-chip:hover { background: #eeeeea; border-color: #b5b5b0; color: var(--ink); }
.person-chip__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex: none;
}

/* Profile action buttons */
.profile-action-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  border-radius: 0;
  transition: border-color .12s, background .12s;
}
.profile-action-btn:hover { border-color: var(--grey-mid); background: var(--surface); color: var(--ink); }
.profile-action-btn--dark { background: var(--ink); border-color: var(--ink); }
.profile-action-btn--dark:hover { background: #2a2a32; border-color: #2a2a32; }

/* Mobile share strip (hidden on desktop, shown at 900px) */
.article-share-mobile {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.article-share-mobile__label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey-meta);
  flex: 1;
}
.article-share-mobile .share-btn { flex-shrink: 0; }


/* ============================================================
   PAGE STYLES — rebuilt phase by phase
   ============================================================ */

/* ─── PHASE 2: Homepage ───────────────────────────────────── */

/* ── Hero split layout (desktop homepage) ─────────────────── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 16px;
  height: 420px;
  padding: 20px var(--box);
  border-bottom: 1px solid var(--border);
}
.hero-main {
  position: relative;
  overflow: hidden;
}
.hero-main__link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.hero-main__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-main__img--empty {
  width: 100%;
  height: 100%;
  background: var(--surface);
}
.hero-main__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 80px 32px 28px;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 45%, transparent 100%);
  pointer-events: none;
}
.hero-main__overlay a { pointer-events: auto; }
.hero-main__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.hero-main__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  background: rgba(255,255,255,.15);
  padding: 3px 9px;
  border-radius: 4px;
}
.hero-main__kicker:hover { background: rgba(255,255,255,.25); }
.hero-main__time { font-size: 12px; color: rgba(255,255,255,.55); }
.hero-main__hed {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.022em;
  color: #fff;
  text-wrap: pretty;
  margin: 0 0 12px;
}
.hero-main__hed a { color: inherit; text-decoration: none; }
.hero-main__hed a:hover { text-decoration: underline; }
.hero-main__dek {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
  margin: 0;
  max-width: 60ch;
}

/* ── Hero aside: 2×2 card grid ────────────────────────────── */
.hero-aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid var(--border);
  overflow: hidden;
}
.hero-card {
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
  transition: background .12s;
}
.hero-card:nth-child(even) { border-right: none; }
.hero-card:nth-last-child(-n+2) { border-bottom: none; }
.hero-card:hover { background: var(--surface); }
.hero-card:hover .hero-card__hed { color: var(--red); }
.hero-card__n {
  font-size: 11px;
  font-weight: 800;
  color: var(--grey-meta);
  letter-spacing: .06em;
}
.hero-card__author {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-card__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.hero-card__author-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-card__hed {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--ink);
  text-wrap: pretty;
  transition: color .12s;
  flex: 1;
}
.hero-card__meta {
  font-size: 11px;
  color: var(--grey-meta);
  margin-top: 2px;
}

/* ── Most-read strip below hero ───────────────────────────── */
.most-read-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
  width: 100%;
  overflow: hidden;
}
.most-read-strip__label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
  padding: 0 18px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex: none;
}
.most-read-strip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-left: 1px solid var(--border);
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}
.most-read-strip__n {
  font-size: 18px;
  font-weight: 900;
  color: var(--border-mid);
  line-height: 1;
  flex-shrink: 0;
}
.most-read-strip__hed {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
}
.most-read-strip__hed:hover { color: var(--red); }

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 476px 300px;
  border-bottom: 1px solid var(--border);
}
.lead-grid__main {
  padding: 24px 24px 28px var(--box);
  border-right: 1px solid var(--border);
}
.lead-grid__second {
  padding: 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lead-grid__rail {
  padding: 24px var(--box) 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Lead story image link wrapper */
.lead-story__img-link { display: block; }

/* Lead story */
.lead-story__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--surface);
}
.lead-story__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.lead-story__time { font-size: 12px; color: var(--grey-meta); }
.lead-story__hed {
  margin: 10px 0 0;
  font-size: 44px;
  line-height: 1.03;
  letter-spacing: -.022em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: pretty;
}
.lead-story__dek {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.5;
  color: var(--grey-body);
  max-width: 62ch;
  text-wrap: pretty;
}
.lead-story__related {
  display: flex;
  gap: 22px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.lead-story__related-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 50%;
}
.lead-story__related-bar {
  width: 3px;
  background: var(--ink);
  align-self: stretch;
  flex: none;
}
.lead-story__related-hed {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.lead-story__related-meta { font-size: 12px; color: var(--grey-meta); margin-top: 5px; }

/* Second column story */
.col2-story__img {
  width: 100%;
  height: 172px;
  object-fit: cover;
  display: block;
  background: var(--surface);
}
.col2-story__kicker {
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); margin-top: 12px;
}
.col2-story__hed {
  margin: 6px 0 0;
  font-size: 24px; line-height: 1.12;
  letter-spacing: -.015em; font-weight: 800;
  color: var(--ink); text-wrap: pretty;
}
.col2-story__dek {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 15px; line-height: 1.48;
  color: var(--grey-mid);
}
.col2-story__time { font-size: 12px; color: var(--grey-meta); margin-top: 8px; }
.col2-divider { height: 1px; background: var(--border); }

/* Col-2 list items */
.col2-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid #eeeeea;
}
.col2-item__body { flex: 1; }
.col2-item__kicker {
  font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red);
}
.col2-item__hed {
  font-size: 17px; font-weight: 700;
  line-height: 1.2; color: var(--ink);
  margin-top: 5px; text-wrap: pretty;
}
.col2-item__meta { font-size: 12px; color: var(--grey-meta); margin-top: 6px; }
.col2-item__thumb {
  width: 88px; height: 66px;
  object-fit: cover;
  background: var(--surface);
  flex: none;
}

/* Right rail */
.rail-section-head {
  border-top: 3px solid var(--ink);
  padding-top: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.rail-section-head--red { border-top-color: var(--red); }
.rail-section-head--green { border-top-color: var(--green); color: var(--green); }

/* Most read */
.most-read-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid #eeeeea;
}
.most-read-item__n {
  font-size: 22px; font-weight: 800;
  color: #d5d5d0; line-height: 1;
  width: 22px; flex: none;
}
.most-read-item__hed {
  font-size: 14.5px; font-weight: 600;
  line-height: 1.28; color: var(--ink);
  text-wrap: pretty;
}

/* MP directory promo block */
.mp-promo {
  background: var(--surface);
  border-top: 3px solid var(--green);
  padding: 18px;
}
.mp-promo__head {
  font-size: 12px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--green);
}
.mp-promo__hed {
  font-size: 19px; font-weight: 800;
  line-height: 1.15; margin-top: 8px;
  color: var(--ink); text-wrap: pretty;
}
.mp-promo__sub {
  font-size: 13.5px; color: var(--grey-mid);
  line-height: 1.45; margin-top: 7px;
}
.mp-promo__chips { display: flex; gap: 6px; margin-top: 14px; }
.mp-promo__chip {
  color: #ffffff;
  font-size: 11px; font-weight: 700;
  padding: 4px 9px;
}
.mp-promo__cta {
  margin-top: 14px;
  background: var(--ink);
  color: #ffffff;
  text-align: center;
  font-size: 12.5px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 11px;
  display: block;
}
.mp-promo__cta:hover { background: #2a2a32; color: #ffffff; }

/* Socials rail */
.socials-rail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.socials-rail__reel {
  aspect-ratio: 9/16;
  background: var(--surface);
  display: block;
}
.socials-rail__count {
  font-size: 12.5px; color: var(--grey-mid);
  margin-top: 9px; font-weight: 600;
}

/* Section strip (Politics, Business, etc.) */
.section-strip { padding: 26px var(--box) 30px; }
.section-strip__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 3px solid var(--red);
  padding-top: 10px;
}
.section-strip__name {
  font-size: 19px; font-weight: 800;
  letter-spacing: -.01em; color: var(--ink);
}
.section-strip__all {
  font-size: 12.5px; font-weight: 700; color: var(--red);
}
.section-strip__all:hover { color: var(--ink); }
.section-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 18px;
}
.strip-card__img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  background: var(--surface);
}
.strip-card__hed {
  font-size: 16.5px; font-weight: 700;
  line-height: 1.22; margin-top: 11px;
  color: var(--ink); text-wrap: pretty;
}
.strip-card__meta { font-size: 12px; color: var(--grey-meta); margin-top: 7px; }


/* ─── PHASE 8: Mobile extras ──────────────────────────────── */
/* All hidden on desktop; shown inside @media (max-width: 900px) below */
.mob-home { display: none; }
.mob-nav  { display: none; }

/* ─── PHASE 3: Article ────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 700px) 300px;
  gap: 48px;
  padding: 0 var(--box) 44px;
  align-items: start;
}
.article-share-rail { display: none; }

/* Breadcrumb */
.article-breadcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--grey-meta);
  padding: 18px 0 14px;
}
.article-breadcrumb a { color: inherit; text-decoration: none; }
.article-breadcrumb a:hover { color: var(--ink); }
.article-breadcrumb__sep { color: var(--grey-ui); }

/* Article body */
.article-body__kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-body__hed {
  margin: 12px 0 0;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -.026em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: pretty;
}
.article-body__dek {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.45;
  color: var(--grey-body);
  text-wrap: pretty;
}
.article-mob-hero { display: none; }

.article-body__byline {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.article-body__byline-left { display: flex; align-items: center; gap: 10px; }
.article-body__avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.article-body__author-name { font-size: 13.5px; font-weight: 700; color: var(--ink); display: block; }
.article-body__byline-meta { font-size: 12px; color: var(--grey-meta); display: block; margin-top: 1px; }
.article-body__byline-share { display: flex; align-items: center; gap: 4px; }
.byline-share-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--border); background: #fff;
  color: var(--ink); text-decoration: none; cursor: pointer;
  transition: background .12s, border-color .12s;
}
.byline-share-btn:hover { background: var(--surface); border-color: var(--grey-mid); }
.byline-share-btn.copied { background: var(--ink); color: #fff; border-color: var(--ink); }
.article-body__hero {
  width: 100%; display: block;
  margin-top: 22px;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--surface);
}
.article-body__caption {
  font-size: 12.5px; color: var(--grey-meta);
  margin: 8px 0 0; line-height: 1.4;
}
.article-body__content {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.62;
  color: #22222a;
  margin-top: 24px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.article-body__content img { max-width: 100%; height: auto; display: block; border-radius: 4px; }
.article-body__content p { margin: 0 0 20px; }
.article-body__content blockquote {
  border-left: 3px solid var(--red);
  padding: 2px 0 2px 20px;
  margin: 26px 0;
}
.article-body__content blockquote p {
  font-size: 26px; line-height: 1.25;
  font-weight: 600; color: var(--ink);
  letter-spacing: -.012em; margin: 0;
}
.article-body__content blockquote cite {
  display: block;
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 700;
  color: var(--grey-mid); margin-top: 10px;
  text-transform: uppercase; letter-spacing: .07em;
  font-style: normal;
}

/* Related people chips */
.article-related { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); }
.article-related__label {
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--grey-meta);
}
.article-related__chips {
  display: flex; flex-wrap: wrap;
  gap: 10px; margin-top: 12px;
}

/* Article right rail */
.article-rail {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 72px;
  position: sticky;
  top: 60px;
  align-self: start;
}

/* "More in" section */
.rail-more-section__head {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 3px solid var(--red);
  padding-top: 8px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 6px;
}
.rail-more-section__arrow { color: var(--red); font-size: 16px; text-decoration: none; }
.rail-more-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}
.rail-more-card {
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: var(--ink);
}
.rail-more-card:hover .rail-more-card__hed { color: var(--red); }
.rail-more-card__img-wrap {
  width: 100%; aspect-ratio: 16/10;
  border-radius: 6px; overflow: hidden; background: var(--surface);
}
.rail-more-card__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.rail-more-card__img--empty { width: 100%; height: 100%; background: var(--surface); }
.rail-more-card__hed {
  font-size: 12.5px; font-weight: 700;
  line-height: 1.3; color: var(--ink); text-wrap: pretty;
  transition: color .12s;
}
.rail-more-card__date { font-size: 11px; color: var(--grey-meta); }

/* Trending section */
.rail-trending__head {
  display: flex; align-items: center; gap: 7px;
  border-top: 3px solid var(--ink);
  padding-top: 8px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 4px;
}
.rail-trending-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--border-light);
  text-decoration: none; color: var(--ink);
}
.rail-trending-item:hover .rail-trending-item__hed { color: var(--red); }
.rail-trending-item__n {
  font-size: 20px; font-weight: 800;
  color: var(--border-mid); line-height: 1;
  width: 20px; flex: none; padding-top: 2px;
}
.rail-trending-item__hed {
  font-size: 13.5px; font-weight: 600;
  line-height: 1.28; text-wrap: pretty;
  transition: color .12s;
}
.rail-trending__more {
  display: block; font-size: 12.5px; font-weight: 700;
  color: var(--ink); text-decoration: none;
  padding-top: 10px;
}
.rail-trending__more:hover { color: var(--red); }

/* ─── PHASE 4: MP Directory ───────────────────────────────── */
.directory-body {
  display: grid;
  grid-template-columns: 238px 1fr;
  border-top: 1px solid var(--border);
  padding: 0 var(--box);
}

/* Directory header */
.directory-head {
  border-bottom: 1px solid var(--border);
}
.directory-head__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: stretch;
  min-height: 148px;
}
.directory-head__left {
  padding: 26px var(--box) 0;
}
.directory-head__right {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.directory-head__parl-img {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(0,107,63,.55) 0%, rgba(15,27,54,.82) 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0px, rgba(255,255,255,.04) 1px, transparent 1px, transparent 20px);
  background-size: cover;
}
.directory-head__parl-caption {
  position: relative; z-index: 1;
  padding: 20px 22px;
  font-size: 18px; font-weight: 800;
  line-height: 1.22; letter-spacing: -.012em;
  color: #ffffff;
  height: 100%;
  display: flex; align-items: flex-end;
}
.directory-head__sup {
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green);
}
.directory-head__title {
  margin: 7px 0 0;
  font-size: 38px; font-weight: 800;
  letter-spacing: -.02em; color: var(--ink);
}
.directory-head__sub {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: 16.5px; color: var(--grey-mid);
  max-width: 64ch;
}
.directory-search-row {
  display: flex;
  gap: 10px; padding: 16px var(--box);
  align-items: center;
  border-top: 1px solid var(--border);
}
.directory-search-input {
  flex: 1;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--ink);
  padding: 12px 14px;
  font-size: 14px; color: var(--grey-meta);
  background: var(--bg);
  cursor: text;
}
.directory-search-input__icon { font-weight: 700; color: var(--ink); }
.directory-search-input__field {
  border: none; outline: none;
  flex: 1; font-size: 14px;
  font-family: inherit; color: var(--ink);
  background: transparent;
}
.directory-search-input__field::placeholder { color: var(--grey-meta); }
.directory-search-btn {
  background: var(--ink); color: #ffffff;
  font-size: 12.5px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 13px 22px; border: none; cursor: pointer;
  font-family: inherit;
}
.directory-search-btn:hover { background: #2a2a32; }
.directory-view-btn {
  border: 1px solid #d5d5d0;
  padding: 12px 16px;
  font-size: 13.5px; font-weight: 700;
  color: var(--ink); cursor: pointer;
  background: var(--bg); font-family: inherit;
}
.directory-view-btn.on {
  background: var(--ink); color: #ffffff;
  border-color: var(--ink);
}
.directory-view-btn:hover:not(.on) { border-color: var(--grey-mid); }

/* Filter rail */
.directory-filter {
  padding: 22px 20px 40px;
  border-right: 1px solid var(--border);
}
.directory-filter__head {
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink);
  border-top: 3px solid var(--ink);
  padding-top: 8px;
}
.directory-filter__group { margin-top: 22px; }
.directory-filter__group-head {
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--grey-meta);
}
.directory-filter__items {
  display: flex; flex-direction: column;
  gap: 9px; margin-top: 10px;
}
.directory-filter__item {
  display: flex; align-items: center;
  gap: 9px; font-size: 13.5px; color: var(--ink);
  cursor: pointer;
}
.directory-filter__check {
  width: 14px; height: 14px;
  border: 1.5px solid #b5b5b0;
  flex: none;
}
.directory-filter__dot {
  width: 9px; height: 9px;
  flex: none;
}
.directory-filter__label { font-weight: 600; }
.directory-filter__count { margin-left: auto; color: var(--grey-meta); font-size: 12px; }
.directory-filter__chips {
  display: flex; flex-wrap: wrap;
  gap: 6px; margin-top: 10px;
}
.directory-filter__chip {
  border: 1px solid #d5d5d0;
  padding: 5px 9px;
  font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  background: var(--bg);
}
.directory-filter__chip.on {
  background: var(--ink); color: #ffffff; border-color: var(--ink);
}

/* Range slider (visual) */
.directory-range { margin-top: 12px; height: 3px; background: var(--border); position: relative; }
.directory-range__fill {
  position: absolute; top: 0; bottom: 0;
  background: var(--ink);
}
.directory-range__labels {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--grey-meta);
  margin-top: 7px;
}

/* Directory results bar */
.directory-results-bar {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.directory-results-bar__left {
  display: flex; gap: 8px; align-items: center;
}
.directory-results-count { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.directory-active-filter {
  color: #ffffff;
  font-size: 11.5px; font-weight: 700;
  padding: 4px 9px;
  display: flex; gap: 6px; align-items: center;
  cursor: pointer;
}
.directory-clear { font-size: 12.5px; color: var(--grey-meta); font-weight: 600; cursor: pointer; }
.directory-clear:hover { color: var(--ink); }
.directory-sort { font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; }

/* Directory results area */
.directory-results { padding: 20px 0 40px 20px; }

/* MP grid (card view) */
.mp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mp-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  display: block;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .12s;
}
.mp-card:hover { border-color: var(--grey-mid); color: var(--ink); }
.mp-card__portrait-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.mp-card__portrait {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.mp-card__party-pill {
  position: absolute;
  top: 10px; right: 10px;
  color: #ffffff;
  font-size: 10px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}
.mp-card__body {
  padding: 12px 14px 14px;
  display: flex; flex-direction: column; flex: 1;
}
.mp-card__name {
  font-size: 14px; font-weight: 700;
  line-height: 1.2; color: var(--ink);
}
.mp-card__const {
  font-size: 12px; color: var(--grey-meta);
  margin-top: 4px; line-height: 1.3;
}
.mp-card__role {
  font-size: 11.5px; color: var(--grey-mid);
  margin-top: 3px; line-height: 1.3;
}
.mp-card__view {
  margin-top: 12px;
  font-size: 12.5px; font-weight: 700;
  color: var(--ink);
}
.mp-card:hover .mp-card__view { text-decoration: underline; }

/* MP list (list view) */
.mp-list-header {
  display: grid;
  grid-template-columns: 44px 1fr 160px 110px 90px 120px;
  gap: 10px;
  padding: 7px 12px;
  border-bottom: 2px solid var(--ink);
  font-size: 10px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--grey-meta);
}
.mp-list-row {
  display: grid;
  grid-template-columns: 44px 1fr 160px 110px 90px 120px;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid #eeeeea;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  transition: background .1s;
}
.mp-list-row:hover { background: var(--surface); }
.mp-list-thumb {
  width: 34px; height: 34px;
  object-fit: cover;
  background: var(--surface);
  border-radius: 50%;
  flex: none;
}
.mp-list-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.mp-list-const-name { font-size: 12px; font-weight: 600; color: var(--ink); }
.mp-list-const-region { font-size: 11px; color: var(--grey-meta); margin-top: 1px; }
.mp-list-party-badge {
  color: #ffffff;
  font-size: 10px; font-weight: 700;
  padding: 3px 7px;
  display: inline-block;
}
.mp-list-role { font-size: 11px; color: var(--grey-meta); }
.mp-list-years { font-size: 11px; color: var(--grey-meta); }
.mp-list-actions { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }

/* ─── PHASE 5: MP Profile ─────────────────────────────────── */
.profile-breadcrumb {
  padding: 12px var(--box);
  font-size: 12.5px;
  color: var(--grey-meta);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.profile-breadcrumb a { color: var(--grey-meta); font-weight: 600; }
.profile-breadcrumb a:hover { color: var(--ink); }
.profile-breadcrumb .current { color: var(--ink); font-weight: 700; }

.profile-layout {
  display: grid;
  grid-template-columns: 340px 1fr 300px;
  padding: 0 var(--box);
}
.profile-mobile-extra { display: none; }
.profile-col-left {
  padding: 28px 24px 32px 0;
  border-right: 1px solid var(--border);
}
.profile-portrait-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.profile-portrait {
  width: 100%; height: 100%;
  object-fit: cover;
}
.profile-party-border {
  position: absolute;
  top: 0; left: 0;
  width: 6px; bottom: 0;
  display: block;
}
.profile-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.at-a-glance {
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--grey-meta);
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.glance-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid #eeeeea;
  font-size: 13px;
}
.glance-key { color: var(--grey-meta); font-weight: 600; flex: none; }
.glance-val { color: var(--ink); font-weight: 700; text-align: right; }

.profile-col-main { padding: 28px 28px 40px; }
.profile-party-badge {
  color: #ffffff;
  font-size: 11px; font-weight: 800;
  letter-spacing: .08em;
  padding: 4px 10px;
  display: inline-block;
}
.profile-parliament-label {
  font-size: 12px; color: var(--grey-meta);
  margin-left: 8px;
}
.profile-name {
  font-size: 42px; line-height: 1.06;
  letter-spacing: -.02em; font-weight: 800;
  color: var(--ink); margin-top: 10px;
  text-wrap: pretty;
}
.profile-role {
  font-size: 15px; color: var(--grey-mid);
  margin-top: 6px; line-height: 1.45;
}
.profile-bio {
  font-family: var(--serif);
  font-size: 17px; line-height: 1.6;
  color: var(--grey-body); margin-top: 16px;
}

/* Profile tabs */
.profile-tabs {
  display: flex;
  gap: 0;
  margin-top: 28px;
  border-bottom: 2px solid var(--border);
}
.profile-tab {
  font-size: 13.5px; font-weight: 700;
  color: var(--grey-mid);
  padding: 10px 16px 10px 0;
  margin-right: 20px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .12s, border-color .12s;
}
.profile-tab:hover { color: var(--ink); }
.profile-tab.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Coverage items */
.coverage-item {
  display: flex; gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.coverage-item__thumb {
  width: 80px; height: 60px;
  object-fit: cover;
  background: var(--surface);
  flex: none;
}
.coverage-item__kicker {
  font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red);
}
.coverage-item__hed {
  font-size: 15px; font-weight: 700;
  line-height: 1.25; color: var(--ink);
  margin-top: 4px; text-wrap: pretty;
}
.coverage-item__hed a { color: inherit; }
.coverage-item__hed a:hover { color: var(--red); }
.coverage-item__meta { font-size: 11.5px; color: var(--grey-meta); margin-top: 4px; }

/* Profile right col */
.profile-col-right {
  padding: 28px 0 40px 24px;
  border-left: 1px solid var(--border);
}
.constituency-label {
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--grey-meta);
}
.constituency-name {
  font-size: 20px; font-weight: 800;
  line-height: 1.15; margin-top: 5px;
  color: var(--ink);
}
.constituency-map {
  width: 100%;
  aspect-ratio: 1;
  background: var(--surface);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Election result bar */
.election-result-bar {
  height: 5px;
  background: var(--border);
  margin-top: 5px;
  overflow: hidden;
}
.election-result-fill {
  display: block;
  height: 100%;
}

/* Neighbour MP links */
.neighbour-mp {
  display: flex; gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #eeeeea;
  color: var(--ink);
}
.neighbour-mp:hover { color: var(--red); }
.neighbour-mp__thumb {
  width: 40px; height: 40px;
  object-fit: cover;
  flex: none;
}

/* MP Profile — mobile view (hidden on desktop) */
.profile-mob-view { display: none; }

/* Mobile-only masthead actions (hidden on desktop) */
.mob-masthead-actions { display: none; }

/* Category mobile MP widget (hidden on desktop) */
.category-mp-lookup-mobile { display: none; }

/* ─── PHASE 6: Category ───────────────────────────────────── */
.category-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
}
.category-main { padding: 24px var(--box) 40px var(--box); border-right: 1px solid var(--border); }
.category-rail { padding: 24px 32px 40px 22px; }
.category-head {
  padding: 24px var(--box) 0;
  border-bottom: 3px solid var(--red);
}
.category-head__title {
  margin: 0;
  font-size: 40px; font-weight: 800;
  letter-spacing: -.022em; color: var(--ink);
}
.category-tabs {
  display: flex; gap: 20px;
  margin-top: 14px; padding-bottom: 14px;
  font-size: 13.5px; font-weight: 700;
  color: var(--grey-mid);
  overflow-x: auto; white-space: nowrap;
}
.category-tab { cursor: pointer; text-decoration: none; color: inherit; flex: none; }
.category-tab.active { color: var(--red); }
.category-tab:hover { color: var(--ink); }

.category-lead-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.category-lead__img-link { display: block; }
.category-lead__img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; display: block; background: var(--surface);
}
.category-lead__img--empty { width: 100%; aspect-ratio: 16/9; background: var(--surface); }
.category-lead__kicker {
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); margin-top: 12px;
}
.category-lead__hed {
  margin: 6px 0 0;
  font-size: 32px; line-height: 1.08;
  letter-spacing: -.02em; font-weight: 800;
  color: var(--ink); text-wrap: pretty;
}
.category-lead__hed a { color: inherit; text-decoration: none; }
.category-lead__hed a:hover { text-decoration: underline; }
.category-lead__dek {
  margin: 9px 0 0;
  font-family: var(--serif);
  font-size: 16.5px; line-height: 1.5;
  color: var(--grey-dek); max-width: 56ch;
}
.category-lead__meta { font-size: 12px; color: var(--grey-meta); margin-top: 9px; }

.category-aside { display: flex; flex-direction: column; gap: 0; }
.category-aside-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.category-aside-item:first-child { padding-top: 0; }
.category-aside-item__kicker {
  font-size: 10.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red);
}
.category-aside-item__hed {
  font-size: 17px; font-weight: 700;
  line-height: 1.22; color: var(--ink);
  margin-top: 5px; text-wrap: pretty;
}
.category-aside-item__hed a { color: inherit; text-decoration: none; }
.category-aside-item__hed a:hover { text-decoration: underline; }
.category-aside-item__meta { font-size: 11.5px; color: var(--grey-meta); margin-top: 5px; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 22px;
}
.cat-card__img-link { display: block; }
.cat-card__img {
  width: 100%; aspect-ratio: 3/2;
  object-fit: cover; display: block; background: var(--surface);
}
.cat-card__img--empty { width: 100%; aspect-ratio: 3/2; background: var(--surface); }
.cat-card__body { margin-top: 10px; }
.cat-card__kicker {
  font-size: 10.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--red);
}
.cat-card__hed {
  font-size: 17px; font-weight: 700;
  line-height: 1.22; color: var(--ink);
  margin-top: 5px; text-wrap: pretty;
}
.cat-card__hed a { color: inherit; text-decoration: none; }
.cat-card__hed a:hover { text-decoration: underline; }
.cat-card__meta { font-size: 11.5px; color: var(--grey-meta); margin-top: 6px; }

/* MP lookup block in rail */
.mp-lookup {
  background: var(--surface);
  border-top: 3px solid var(--green);
  padding: 16px;
}
.mp-lookup__head {
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--green);
}
.mp-lookup__title {
  font-size: 18px; font-weight: 800;
  line-height: 1.15; margin-top: 7px;
  color: var(--ink);
}
.mp-lookup__input {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border-mid);
  padding: 10px 12px; margin-top: 11px;
}
.mp-lookup__icon { font-weight: 700; color: var(--ink); }
.mp-lookup__field {
  border: none; outline: none;
  font-size: 13px; font-family: inherit;
  flex: 1; background: transparent; color: var(--ink);
}
.mp-lookup__field::placeholder { color: var(--grey-meta); }

.cat-most-read { margin-top: 24px; }
.cat-most-read__head {
  border-top: 3px solid var(--ink);
  padding-top: 8px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink);
}

/* ─── PHASE 6: Search ─────────────────────────────────────── */
.search-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 32px var(--box) 60px; }
.search-rail { padding-top: 8px; }
.search-head { margin-bottom: 24px; }
.search-head__query {
  font-size: 32px; font-weight: 800;
  letter-spacing: -.02em; color: var(--ink);
}
.search-head__count { font-size: 14px; color: var(--grey-meta); margin-top: 4px; }
.search-item {
  display: flex; gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.search-item__body { flex: 1; }
.search-item__kicker {
  font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red);
}
.search-item__hed {
  font-size: 22px; font-weight: 800;
  line-height: 1.15; color: var(--ink);
  margin-top: 5px; text-wrap: pretty;
}
.search-item__hed a { color: inherit; }
.search-item__hed a:hover { color: var(--red); }
.search-item__dek {
  font-family: var(--serif);
  font-size: 15px; line-height: 1.5;
  color: var(--grey-mid); margin-top: 6px;
}
.search-item__meta { font-size: 12px; color: var(--grey-meta); margin-top: 7px; }
.search-item__thumb {
  width: 120px; height: 90px;
  object-fit: cover; background: var(--surface);
  flex: none;
}
.search-people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.search-person-card {
  border: 1px solid var(--border); background: var(--bg);
  display: block; color: var(--ink);
}
.search-person-card:hover { border-color: var(--grey-mid); color: var(--ink); }
.search-person-card__img {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; background: var(--surface);
}
.search-person-card__body { padding: 8px 10px 10px; }
.search-person-card__name { font-size: 13px; font-weight: 700; }
.search-person-card__sub { font-size: 11px; color: var(--grey-meta); margin-top: 2px; }

/* ============================================================
   RESPONSIVE — Phase 1 Foundation
   ============================================================ */

/* 1280px: wider than reference, tighten grid */
@media (max-width: 1280px) {
  .lead-grid { grid-template-columns: 1fr 400px 260px; }
  .mp-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1100px) {
  .lead-grid { grid-template-columns: 1fr 360px 260px; }
  .mp-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 900px: tablet / large mobile */
@media (max-width: 900px) {
  /* Desktop broadsheet markup (desktop-a.css) never shows on mobile */
  .desk-only { display: none !important; }
  /* Foundation chrome */
  .utility-bar { display: none; }
  .masthead { padding: 10px 20px 14px; }
  .masthead__search { display: none; }
  .mob-menu-btn { display: none; }
  .mob-masthead-actions { display: flex; gap: 10px; align-items: center; }
  .site-nav { display: none; }
  .live-ticker { display: none; }
  .slim-header { padding: 0 16px; height: 52px; }

  /* Mobile masthead icon circles */
  .mob-icon-circle {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    position: relative;
    flex: none;
  }
  .mob-icon-circle--mp .mob-icon-circle__dot {
    position: absolute;
    top: 9px; right: 10px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--red);
    border: 2px solid var(--surface);
    display: block;
  }

  .site-footer { flex-direction: column; gap: 24px; padding: 28px 16px; }
  .site-footer__cols { gap: 32px; flex-wrap: wrap; }

  /* Article */
  .article-layout { grid-template-columns: 1fr; padding: 0 20px 40px; gap: 0; }
  .article-share-rail { display: none; }
  .article-rail { display: none; position: static; padding-top: 0; }
  .article-body { max-width: none; }
  .article-breadcrumb { padding: 14px 0 10px; }
  .article-body__hed { font-size: 28px; line-height: 1.08; letter-spacing: -.018em; }
  .article-body__dek { font-size: 17px; }

  /* Slim header: show hamburger on mobile */
  .slim-header .mob-menu-btn { display: flex; }

  /* Mobile hero — full bleed, replaces desktop hero */
  .article-mob-hero { display: block; margin: 0 -20px; }
  .article-mob-hero__img { width: 100%; height: 220px; object-fit: cover; display: block; object-position: center top; }
  .article-hero-wrap { display: none; }

  /* Byline on mobile — single row */
  .article-body__byline { flex-wrap: nowrap; gap: 8px; }
  .article-body__byline-left { flex: 1; min-width: 0; gap: 8px; }
  .article-body__author-name { font-size: 12px; }
  .article-body__byline-meta { font-size: 11px; }
  .article-body__byline-share { gap: 4px; flex-shrink: 0; }
  .byline-share-btn { width: 30px; height: 30px; }
  .byline-share-btn svg { width: 13px; height: 13px; }

  /* Lead grid — hidden on mobile, mob-home takes over */
  .lead-grid { display: none; }
  .hero-split { display: none; }
  .most-read-strip { display: none; }
  .lead-story__hed { font-size: 28px; }

  /* ── Phase 8: Mobile home ───────────────────────────────── */
  .mob-home { display: block; }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }

  /* Topic circles */
  .mob-topics { padding: 4px 0 2px; }
  .mob-topics__scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 20px 12px;
    scrollbar-width: none;
  }
  .mob-topics__scroll::-webkit-scrollbar { display: none; }
  .mob-topic {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: none;
    text-decoration: none;
  }
  .mob-topic__ring {
    width: 62px; height: 62px;
    border-radius: 50%;
    border: 2.5px solid var(--tc, var(--red));
    padding: 3px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mob-topic__img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
  }
  .mob-topic__initial {
    width: 100%; height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
  }
  .mob-topic__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink);
    text-align: center;
    max-width: 68px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Carousel */
  .mob-carousel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 10px;
  }
  .mob-carousel-head > div { display: flex; align-items: baseline; gap: 10px; }
  .mob-carousel-head__title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--ink);
  }
  .mob-carousel-head__see-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
  }
  .mob-carousel-head__dots {
    display: flex;
    gap: 5px;
    align-items: center;
  }
  .mob-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--border);
    display: block;
    flex: none;
    transition: background .2s, width .2s;
  }
  .mob-dot.on {
    background: var(--red);
    width: 18px;
    border-radius: 4px;
  }
  .mob-carousel { overflow: hidden; }
  .mob-carousel__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px 16px;
    scrollbar-width: none;
  }
  .mob-carousel__track::-webkit-scrollbar { display: none; }
  .mob-card {
    flex: 0 0 318px;
    scroll-snap-align: start;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #ececea;
    box-shadow: 0 6px 18px rgba(16,16,20,.06);
  }
  .mob-card a { display: block; text-decoration: none; color: var(--ink); }
  .mob-card__img {
    width: 100%;
    height: 172px;
    object-fit: cover;
    display: block;
  }
  .mob-card__img--empty { height: 172px; background: var(--surface); }
  .mob-card__body { padding: 12px 14px 14px; }
  .mob-card__meta-row {
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .mob-card__badge57 {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--ink);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
  }
  .mob-card__kicker {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
  }
  .mob-card__trending-pill {
    background: var(--red);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
  }
  .mob-card__card-time {
    margin-left: auto;
    font-size: 11.5px;
    color: var(--grey-meta);
  }
  .mob-card__hed {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.18;
    color: var(--ink);
    margin-top: 9px;
    text-wrap: pretty;
  }
  .mob-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 11.5px;
    color: var(--grey-meta);
  }

  /* Category filter pills */
  .mob-cats {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 20px 12px;
    scrollbar-width: none;
  }
  .mob-cats::-webkit-scrollbar { display: none; }
  .mob-cat {
    flex: none;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--grey-mid);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background .12s, border-color .12s, color .12s;
  }
  .mob-cat.on {
    background: var(--red);
    border-color: var(--red);
    color: #ffffff;
  }

  /* Feed list */
  .mob-feed-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 20px;
    border-bottom: 1px solid #f1f1ee;
    text-decoration: none;
    color: var(--ink);
  }
  .mob-feed-item__body { flex: 1; min-width: 0; }
  .mob-feed-item__meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
  }
  .mob-feed-item__dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--surface);
    display: block;
    flex: none;
  }
  .mob-feed-item__kicker {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
  }
  .mob-feed-item__time { font-size: 11.5px; color: var(--grey-meta); }
  .mob-feed-item__hed {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.22;
    color: var(--ink);
    text-wrap: pretty;
  }
  .mob-feed-item__thumb {
    width: 84px; height: 74px;
    object-fit: cover;
    border-radius: 12px;
    flex: none;
  }

  /* Bottom nav — floating dark pill */
  .mob-nav {
    display: flex;
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: 16px; right: 16px;
    height: 60px;
    background: var(--ink);
    border-radius: 999px;
    z-index: 500;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
  }
  .mob-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px;
    text-decoration: none;
    color: var(--grey-mid);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: color .12s;
    position: relative;
    border-radius: 999px;
  }
  .mob-nav__item svg { display: block; }
  .mob-nav__item.on {
    background: #ffffff;
    color: var(--ink);
    flex-direction: row;
    gap: 6px;
    padding: 10px 16px;
    flex: none;
    font-size: 13.5px;
  }
  .mob-nav__item--menu {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }
  .mob-nav__live-dot {
    width: 7px; height: 7px;
    background: var(--red);
    border-radius: 50%;
    position: absolute;
    top: 6px;
    right: calc(50% - 20px);
    border: 1.5px solid var(--ink);
  }

  /* Section strips — hidden on mobile */
  .section-strip { display: none; }

  /* Category */
  .category-layout { grid-template-columns: 1fr; }
  .category-rail { display: none; }
  .category-head { padding: 14px 20px 0; }
  .category-head__title { font-size: 30px; }
  .category-tabs { gap: 16px; font-size: 13px; padding-bottom: 10px; }

  .category-lead-grid { grid-template-columns: 1fr; gap: 0; border-bottom: none; padding-bottom: 0; }
  .category-lead { padding: 14px 20px 0; }
  .category-lead__img { aspect-ratio: unset; height: 196px; }
  .category-lead__img--empty { aspect-ratio: unset; height: 196px; }
  .category-lead__hed { font-size: 25px; }
  .category-lead__dek { font-size: 15px; }
  .category-aside { display: none; }

  .category-main { padding: 0; border-right: none; }
  .category-grid {
    display: flex; flex-direction: column; gap: 0;
    margin-top: 6px; padding: 0 20px;
  }
  .cat-card {
    display: flex; flex-direction: row-reverse;
    gap: 12px; align-items: flex-start;
    padding: 13px 0; border-top: 1px solid var(--border);
  }
  .cat-card__img-link { flex: none; width: 92px; height: 70px; overflow: hidden; }
  .cat-card__img { width: 92px; height: 70px; aspect-ratio: unset; }
  .cat-card__img--empty { width: 92px; height: 70px; aspect-ratio: unset; }
  .cat-card__body { flex: 1; margin-top: 0; }
  .cat-card__hed { font-size: 16px; }

  .category-mp-lookup-mobile {
    display: block;
    margin: 12px 20px 18px;
    background: var(--surface);
    border-top: 3px solid var(--green);
    padding: 14px;
  }

  /* Directory */
  .directory-body { grid-template-columns: 1fr; padding: 0; }
  .directory-filter { display: none; }
  .directory-results { padding: 12px 16px 40px; }
  .directory-head__inner { grid-template-columns: 1fr; }
  .directory-head__left { padding: 20px 16px 14px; }
  .directory-head__right { display: none; }
  .directory-head__title { font-size: 26px; }
  .directory-search-row { padding: 12px 16px; }

  /* MP grid → compact horizontal list on mobile */
  .mp-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .mp-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 10px 16px;
  }
  .mp-card:hover { border-color: var(--border); background: var(--surface); }
  .mp-card__portrait-wrap {
    width: 46px;
    height: 46px;
    aspect-ratio: 1;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .mp-card__party-bar { width: 3px; border-radius: 0 0 0 0; top: 0; left: 0; bottom: 0; height: auto; }
  .mp-card__body { flex: 1; padding: 0; min-width: 0; }
  .mp-card__name { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mp-card__const { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mp-card__region { display: none; }
  .mp-card__chips { margin-top: 4px; gap: 4px; }
  .mp-card__party-badge { font-size: 10px; padding: 2px 6px; }
  .mp-card__years { font-size: 10px; padding: 2px 6px; }
  .mp-card__role { display: none; }

  /* MP Profile — hide desktop layout, show mobile view */
  .profile-breadcrumb { display: none; }
  .profile-layout     { display: none; }
  .profile-mobile-extra { display: none; }

  .profile-mob-view {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 100svh;
    background: #ffffff;
  }

  /* Full-bleed portrait */
  .profile-mob-portrait {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 330px;
    overflow: hidden;
    background: var(--surface);
  }
  .profile-mob-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
  }
  .profile-mob-portrait-placeholder {
    width: 100%; height: 100%;
  }

  /* Floating top bar */
  .profile-mob-topbar {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 8px;
  }
  .profile-mob-circle-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    text-decoration: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .profile-mob-circle-btn:hover { background: #ffffff; }

  /* Bottom sheet */
  .profile-mob-sheet {
    position: relative;
    z-index: 2;
    margin-top: 206px;
    flex: 1;
    background: #ffffff;
    border-radius: 28px 28px 0 0;
    padding: 22px 20px 80px;
  }

  /* Badge row */
  .profile-mob-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .profile-mob-party-pill {
    border-radius: 999px;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    padding: 4px 10px;
  }
  .profile-mob-sitting {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--grey-meta);
  }

  /* Name & role */
  .profile-mob-name {
    font-size: 27px;
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.024em;
    color: var(--ink);
    margin: 9px 0 0;
  }
  .profile-mob-role {
    font-size: 14px;
    color: var(--grey-dek);
    margin-top: 6px;
    font-weight: 600;
    line-height: 1.3;
  }

  /* Stats tiles */
  .profile-mob-stats {
    display: flex;
    gap: 10px;
    margin-top: 16px;
  }
  .profile-mob-stat {
    flex: 1;
    background: var(--surface);
    border-radius: 14px;
    padding: 12px 14px;
  }
  .profile-mob-stat__val {
    display: block;
    font-size: 19px;
    font-weight: 800;
    color: var(--ink);
  }
  .profile-mob-stat__lbl {
    display: block;
    font-size: 11px;
    color: var(--grey-meta);
    font-weight: 600;
    margin-top: 2px;
  }

  /* CTA row */
  .profile-mob-cta-row {
    display: flex;
    gap: 9px;
    margin-top: 14px;
    align-items: center;
  }
  .profile-mob-cta-pill {
    flex: 1;
    background: var(--ink);
    color: #ffffff;
    border-radius: 999px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-family: var(--font-ui);
  }
  .profile-mob-icon-btn {
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    background: #ffffff;
  }

  /* Bio */
  .profile-mob-bio {
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--grey-dek);
  }

  /* Tabs */
  .profile-mob-tabs {
    display: flex;
    margin-top: 18px;
    border-bottom: 1px solid var(--border-light);
    font-size: 13.5px;
    font-weight: 700;
  }
  .profile-mob-tab {
    padding: 10px 14px 9px;
    color: var(--grey-meta);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
  }
  .profile-mob-tab.active {
    color: var(--ink);
    border-bottom-color: var(--red);
  }

  /* Coverage items */
  .profile-mob-cov-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 13px 0;
    border-bottom: 1px solid #f1f1ee;
  }
  .profile-mob-cov-thumb {
    width: 84px; height: 66px;
    flex: none;
    border-radius: 12px;
    object-fit: cover;
    background: var(--surface);
  }
  .profile-mob-cov-kicker {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
  }
  .profile-mob-cov-hed {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.22;
    color: var(--ink);
    margin-top: 4px;
  }
  .profile-mob-cov-hed a { color: inherit; }
  .profile-mob-cov-hed a:hover { color: var(--red); }
  .profile-mob-cov-meta { font-size: 11.5px; color: var(--grey-meta); margin-top: 5px; }
  .profile-mob-empty { color: var(--grey-meta); font-size: 14px; margin-top: 20px; }

  /* Facts tab */
  .profile-mob-facts { margin-top: 6px; }
  .profile-mob-fact-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
  }
  .profile-mob-fact-key { color: var(--grey-meta); font-weight: 600; }
  .profile-mob-fact-val { color: var(--ink); font-weight: 700; text-align: right; }
  .profile-mob-election-head {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--grey-meta);
    margin: 20px 0 12px;
  }

  /* Constituency tab */
  .profile-mob-const-panel { margin-top: 6px; }
  .profile-mob-const-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    margin-top: 12px;
  }
  .profile-mob-const-region {
    font-size: 14px;
    color: var(--grey-meta);
    font-weight: 600;
    margin-top: 4px;
  }
  .profile-mob-neighbours-head {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--grey-meta);
    margin: 22px 0 4px;
    padding-top: 16px;
    border-top: 2px solid var(--ink);
  }

  /* Search */
  .search-layout { grid-template-columns: 1fr; padding: 20px 16px 40px; }
  .search-rail { display: none; }
  .search-people-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 600px: phone */
@media (max-width: 600px) {
  .article-body__hed { font-size: 24px; }
  .lead-story__hed { font-size: 24px; }
  .section-strip__grid { grid-template-columns: 1fr; }
  .category-lead-grid { grid-template-columns: 1fr; }
  .profile-portrait-wrap { max-width: none; }
  .search-people-grid { grid-template-columns: repeat(2, 1fr); }
  .directory-search-row { flex-wrap: wrap; }
  .mp-list-header,
  .mp-list-row { grid-template-columns: 34px 1fr 90px; }
  .mp-list-const-region,
  .mp-list-role,
  .mp-list-years,
  .mp-list-actions { display: none; }
}

/* ============================================================
   MOBILE MENU & NAVBAR — Phase 9
   ============================================================ */

/* ── Hamburger button (hidden on desktop) ─────────────────── */
.mob-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 4px 20px rgba(0,0,0,.15),
    0 1px 3px rgba(0,0,0,.08),
    inset 0 1.5px 0 rgba(255,255,255,.95),
    inset 0 -1px 0 rgba(255,255,255,.3);
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s, background .2s, transform .15s;
}
/* specular top-left shine */
.mob-menu-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 70% 50% at 30% 20%, rgba(255,255,255,.55) 0%, transparent 70%);
  pointer-events: none;
}
/* bottom edge refraction line */
.mob-menu-btn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  pointer-events: none;
}
.mob-menu-btn:active {
  transform: scale(.93);
  box-shadow:
    0 2px 10px rgba(0,0,0,.15),
    inset 0 1px 0 rgba(255,255,255,.6),
    inset 0 2px 8px rgba(0,0,0,.06);
}
.mob-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(15,27,54,.82);
  border-radius: 2px;
  position: relative;
  z-index: 1;
  transition: transform .22s ease, opacity .22s ease, width .22s ease;
  transform-origin: center;
}
.mob-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mob-menu-btn.is-open span:nth-child(2) { opacity: 0; width: 0; }
.mob-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu overlay + panel ─────────────────────────── */
.mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 700;
}
.mob-menu.open { display: block; }
.mob-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: mob-overlay-in .25s ease both;
}
@keyframes mob-overlay-in { from { opacity: 0; } to { opacity: 1; } }

.mob-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(82vw, 340px);
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.32,.72,0,1);
  overscroll-behavior: contain;
}
.mob-menu.open .mob-menu__panel { transform: translateX(0); }

/* ── Panel head ───────────────────────────────────────────── */
.mob-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.mob-menu__logo-link { display: flex; align-items: center; }
.mob-menu__logo { height: 32px; width: auto; }
.mob-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 22px;
  line-height: 1;
  background: var(--surface);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink);
  transition: background .15s;
}
.mob-menu__close:hover { background: var(--border); }

/* ── Nav links ────────────────────────────────────────────── */
.mob-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.mob-menu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background .14s, border-color .14s, color .14s;
}
.mob-menu__link:hover {
  background: var(--surface);
  border-left-color: var(--red);
  color: var(--red);
}
.mob-menu__link--green { color: var(--green); }
.mob-menu__link--green:hover { border-left-color: var(--green); color: var(--green); }
.mob-menu__mp-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ── Divider ──────────────────────────────────────────────── */
.mob-menu__divider {
  height: 1px;
  background: var(--border);
  margin: 4px 20px;
}

/* ── Utility links ────────────────────────────────────────── */
.mob-menu__utils {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.mob-menu__utils a {
  padding: 10px 20px;
  font-size: 13px;
  color: var(--grey-mid);
  text-decoration: none;
  transition: color .14s;
}
.mob-menu__utils a:hover { color: var(--ink); }

/* ── Social icons row ─────────────────────────────────────── */
.mob-menu__social {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 18px 20px;
  padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
}
.mob-menu__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: background .14s, color .14s;
}
.mob-menu__social-btn:hover { background: var(--ink); color: #fff; }

/* ── Slim header on mobile ─────────────────────────────────── */
@media (max-width: 900px) {
  /* Slim header: hide section links, show hamburger */
  .slim-header__nav-link { display: none; }
  .slim-header__right { gap: 8px; }
  .masthead__actions { gap: 8px; }
}

/* ============================================================
   PAGE TEMPLATES — About, Contact, Advertise, Newsletters,
   Corrections, Tip, Generic
   ============================================================ */

/* ── Generic page ─────────────────────────────────────────── */
.generic-page { padding: var(--box); }
.generic-page__inner { max-width: 720px; margin: 48px auto; }
.generic-page__title {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.generic-page__intro {
  font-size: 18px;
  color: var(--grey-mid);
  margin-bottom: 32px;
}
.generic-page__content {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.72;
  color: var(--grey-body);
}
.generic-page__content h2 { font-family: var(--sans); font-size: 24px; font-weight: 700; margin: 40px 0 16px; }
.generic-page__content h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.generic-page__content p { margin: 0 0 20px; }
.generic-page__content ul, .generic-page__content ol { margin: 0 0 20px; padding-left: 24px; }
.generic-page__content li { margin-bottom: 8px; }

/* ── About: hero ──────────────────────────────────────────── */
.about-hero {
  background: var(--navy);
  color: #fff;
  padding: 80px var(--box) 0;
  position: relative;
  overflow: hidden;
}
.about-hero__inner { max-width: 740px; margin: 0 auto; position: relative; z-index: 1; }
.about-hero__kicker {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}
.about-hero__hed {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.about-hero__dek {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin-bottom: 52px;
}
.about-hero__stripe {
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--yellow) 50%, var(--green) 100%);
  margin-top: 0;
}

/* ── About: mission ───────────────────────────────────────── */
.about-mission {
  background: var(--surface);
  padding: 60px var(--box);
}
.about-mission__inner { max-width: 740px; margin: 0 auto; }
.about-mission__quote {
  font-family: var(--serif);
  font-size: clamp(20px, 2.8vw, 28px);
  font-style: italic;
  line-height: 1.55;
  color: var(--navy);
  border-left: 4px solid var(--red);
  padding-left: 28px;
  margin: 0 0 16px;
}
.about-mission__cite {
  font-family: var(--ui);
  font-size: 13px;
  color: var(--grey-meta);
  display: block;
  padding-left: 32px;
}

/* ── About: values ────────────────────────────────────────── */
.about-values { padding: 72px var(--box); }
.about-values__inner { max-width: 1160px; margin: 0 auto; }
.about-values__hed {
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
}
.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.about-value { display: flex; flex-direction: column; gap: 12px; }
.about-value__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}
.about-value__title { font-family: var(--sans); font-size: 18px; font-weight: 700; }
.about-value__body { font-size: 14px; line-height: 1.65; color: var(--grey-mid); }

/* ── About: timeline ──────────────────────────────────────── */
.about-timeline-section { background: var(--navy); color: #fff; padding: 72px var(--box); }
.about-timeline-section__inner { max-width: 740px; margin: 0 auto; }
.about-timeline-section__hed {
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 48px;
}
.about-timeline { position: relative; }
.about-timeline::before {
  content: '';
  position: absolute;
  left: 68px;
  top: 0; bottom: 0;
  width: 2px;
  background: rgba(255,255,255,.15);
}
.about-timeline__item {
  display: flex;
  gap: 28px;
  padding-bottom: 36px;
  position: relative;
}
.about-timeline__year {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  min-width: 56px;
  padding-top: 2px;
  text-align: right;
  flex-shrink: 0;
}
.about-timeline__body {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
  padding-left: 28px;
  border-left: 2px solid transparent;
  position: relative;
}
.about-timeline__body::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 5px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.about-timeline__body strong { color: #fff; }

/* ── About: team ──────────────────────────────────────────── */
.about-team { padding: 72px var(--box); }
.about-team__inner { max-width: 1160px; margin: 0 auto; }
.about-team__hed { font-family: var(--sans); font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.about-team__sub { color: var(--grey-mid); font-size: 15px; margin-bottom: 48px; }
.about-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.about-person { display: flex; flex-direction: column; gap: 10px; }
.about-person__img-wrap { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; }
.about-person__img-placeholder {
  width: 88px; height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
.about-person__name { font-family: var(--sans); font-size: 17px; font-weight: 700; }
.about-person__role { font-size: 13px; color: var(--red); font-weight: 600; }
.about-person__bio { font-size: 14px; color: var(--grey-mid); line-height: 1.6; }

/* ── About: funding ───────────────────────────────────────── */
.about-funding { background: var(--surface); padding: 72px var(--box); }
.about-funding__inner { max-width: 1160px; margin: 0 auto; }
.about-funding__hed { font-family: var(--sans); font-size: 28px; font-weight: 800; margin-bottom: 20px; }
.about-funding__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; }
.about-funding__col { display: flex; flex-direction: column; gap: 8px; }
.about-funding__pct {
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.about-funding__col p { font-size: 14px; color: var(--grey-mid); line-height: 1.6; margin: 0; }

/* ── About: CTA ───────────────────────────────────────────── */
.about-cta { background: var(--red); color: #fff; padding: 64px var(--box); text-align: center; }
.about-cta__inner { max-width: 640px; margin: 0 auto; }
.about-cta h2 { font-family: var(--sans); font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.about-cta p { font-size: 16px; opacity: .9; margin-bottom: 32px; }
.about-cta__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.about-cta__btn {
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .15s;
}
.about-cta__btn:hover { opacity: .88; color: inherit; }
.about-cta__btn--primary { background: #fff; color: var(--red); }
.about-cta__btn--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }

/* ── Contact page ─────────────────────────────────────────── */
.contact-page { padding: 52px var(--box) 80px; }
.contact-page__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 72px;
  align-items: flex-start;
}
.contact-page__kicker {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.contact-page__hed { font-family: var(--serif); font-size: 42px; font-weight: 800; letter-spacing: -.022em; margin-bottom: 14px; }
.contact-page__dek { font-size: 16px; color: var(--grey-mid); margin-bottom: 36px; }

.contact-notice {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 24px;
}
.contact-notice--success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.contact-notice--error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form__row--half { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form__field { display: flex; flex-direction: column; gap: 6px; }
.contact-form__label { font-family: var(--ui); font-size: 13px; font-weight: 600; }
.contact-form__label span { color: var(--red); }
.contact-form__input {
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  background: #fff;
  transition: border-color .15s;
  color: var(--ink);
  width: 100%;
}
.contact-form__input:focus { border-color: var(--navy); }
.contact-form__select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a90' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.contact-form__textarea { resize: vertical; min-height: 140px; }
.contact-form__submit {
  align-self: flex-start;
  padding: 13px 32px;
  background: var(--red);
  color: #fff;
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity .15s;
}
.contact-form__submit:hover { opacity: .88; }
.contact-form__note { font-size: 12px; color: var(--grey-meta); margin: 0; }

.contact-info-col { display: flex; flex-direction: column; gap: 36px; }
.contact-bureau__hed,
.contact-emails__hed { font-family: var(--sans); font-size: 16px; font-weight: 800; margin-bottom: 16px; border-bottom: 2px solid var(--red); padding-bottom: 8px; }
.contact-bureau__item { margin-bottom: 20px; font-size: 14px; line-height: 1.7; }
.contact-bureau__item address { font-style: normal; color: var(--grey-mid); }
.contact-bureau__item a { color: var(--navy); font-weight: 600; }
.contact-emails ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-emails li { font-size: 14px; }
.contact-emails a { color: var(--red); }

.contact-tip-box {
  background: var(--navy);
  color: #fff;
  padding: 22px;
  border-radius: 12px;
}
.contact-tip-box h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.contact-tip-box p { font-size: 13px; opacity: .8; margin-bottom: 16px; }
.contact-tip-box__btn {
  display: inline-block;
  padding: 10px 18px;
  background: var(--red);
  color: #fff;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity .15s;
}
.contact-tip-box__btn:hover { opacity: .88; color: #fff; }

/* ── Advertise page ───────────────────────────────────────── */
.adv-hero {
  background: var(--ink);
  color: #fff;
  padding: 80px var(--box) 72px;
  text-align: center;
}
.adv-hero__inner { max-width: 680px; margin: 0 auto; }
.adv-hero__kicker {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}
.adv-hero__hed { font-family: var(--serif); font-size: clamp(38px, 5vw, 64px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 20px; }
.adv-hero__dek { font-size: 17px; color: rgba(255,255,255,.75); margin-bottom: 36px; }
.adv-hero__cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--red);
  color: #fff;
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .15s;
}
.adv-hero__cta:hover { opacity: .88; color: #fff; }

.adv-stats { padding: 52px var(--box); background: var(--surface); }
.adv-stats__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.adv-stat { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.adv-stat__num { font-family: var(--sans); font-size: 32px; font-weight: 900; color: var(--navy); }
.adv-stat__label { font-size: 12px; color: var(--grey-mid); line-height: 1.4; }

.adv-profile { padding: 72px var(--box); }
.adv-profile__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: center; }
.adv-profile__text h2 { font-family: var(--sans); font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.adv-profile__text p { font-size: 15px; color: var(--grey-mid); line-height: 1.6; margin-bottom: 20px; }
.adv-profile__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.adv-profile__list li { font-size: 14px; padding-left: 20px; position: relative; }
.adv-profile__list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.adv-profile__bar-group { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.adv-profile__bar-label { font-size: 13px; font-weight: 600; width: 80px; text-align: right; }
.adv-profile__bar { flex: 1; height: 10px; background: var(--border); border-radius: 99px; overflow: hidden; }
.adv-profile__bar-fill { height: 100%; border-radius: 99px; transition: width .6s ease; }
.adv-profile__bar-pct { font-size: 13px; font-weight: 700; width: 36px; }

.adv-formats { padding: 72px var(--box); background: var(--surface); }
.adv-formats__inner { max-width: 1100px; margin: 0 auto; }
.adv-formats__hed { font-family: var(--sans); font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.adv-formats__sub { color: var(--grey-mid); font-size: 15px; margin-bottom: 48px; }
.adv-formats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-format-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s;
}
.adv-format-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,.09); }
.adv-format-card__badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--navy);
  color: #fff;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.adv-format-card__title { font-family: var(--sans); font-size: 18px; font-weight: 800; }
.adv-format-card__desc { font-size: 14px; color: var(--grey-mid); line-height: 1.6; flex: 1; }
.adv-format-card__specs { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.adv-format-card__specs li { font-size: 13px; font-weight: 600; padding-left: 16px; position: relative; }
.adv-format-card__specs li::before { content: '·'; position: absolute; left: 4px; color: var(--red); font-size: 18px; line-height: 1; top: -1px; }
.adv-format-card__link { font-family: var(--ui); font-size: 13px; font-weight: 700; color: var(--red); text-decoration: none; align-self: flex-start; }
.adv-format-card__link:hover { color: var(--navy); }

.adv-enquiry { padding: 72px var(--box); }
.adv-enquiry__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 360px 1fr; gap: 72px; align-items: flex-start; }
.adv-enquiry__text h2 { font-family: var(--sans); font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.adv-enquiry__text p { font-size: 15px; color: var(--grey-mid); line-height: 1.65; margin-bottom: 16px; }
.adv-enquiry__text a { color: var(--red); }
.adv-form { display: flex; flex-direction: column; gap: 20px; }

.adv-clients { padding: 48px var(--box); background: var(--surface); }
.adv-clients__inner { max-width: 1100px; margin: 0 auto; }
.adv-clients__label { font-family: var(--ui); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--grey-meta); text-align: center; margin-bottom: 28px; }
.adv-clients__logos { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.adv-client-logo {
  padding: 14px 24px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-mid);
  background: #fff;
}

/* ── Newsletters page ─────────────────────────────────────── */
.newsletters-page { padding: 0 var(--box) 80px; }
.newsletters-page__hero {
  text-align: center;
  padding: 72px 0 52px;
  max-width: 600px;
  margin: 0 auto;
}
.newsletters-page__kicker {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.newsletters-page__hed {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -.028em;
  line-height: 1.08;
  margin-bottom: 16px;
}
.newsletters-page__dek { font-size: 17px; color: var(--grey-mid); }

.newsletters-page__grid {
  max-width: 1100px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.nl-card {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .2s;
}
.nl-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,.09); }
.nl-card--featured {
  grid-column: span 3;
  background: var(--navy);
  color: #fff;
  border-color: transparent;
}
.nl-card--featured .nl-card__desc { color: rgba(255,255,255,.75); }
.nl-card--featured .nl-card__meta { color: rgba(255,255,255,.5); }
.nl-card--featured .nl-form__input { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.nl-card--featured .nl-form__input::placeholder { color: rgba(255,255,255,.4); }
.nl-card__badge {
  display: inline-block;
  padding: 3px 10px;
  color: #fff;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.nl-card__title { font-family: var(--sans); font-size: 20px; font-weight: 800; }
.nl-card--featured .nl-card__title { font-size: 26px; }
.nl-card__desc { font-size: 14px; color: var(--grey-mid); line-height: 1.65; flex: 1; }
.nl-card__meta { font-size: 12px; color: var(--grey-meta); display: flex; gap: 16px; }
.nl-form { display: flex; gap: 10px; }
.nl-form__input {
  flex: 1;
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s;
}
.nl-form__input:focus { border-color: var(--navy); }
.nl-form__btn {
  padding: 10px 18px;
  background: var(--red);
  color: #fff;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s;
}
.nl-form__btn:hover { opacity: .88; }

.newsletters-page__footer-note {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 13px;
  color: var(--grey-meta);
}
.newsletters-page__footer-note p { margin-bottom: 8px; }
.newsletters-page__footer-note a { color: var(--red); }
.nl-success {
  padding: 10px 14px;
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

/* ── Corrections page ─────────────────────────────────────── */
.corrections-page { padding: 52px var(--box) 80px; }
.corrections-page__inner { max-width: 820px; margin: 0 auto; }
.corrections-page__header { margin-bottom: 52px; }
.corrections-page__kicker {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.corrections-page__hed { font-family: var(--serif); font-size: 42px; font-weight: 800; letter-spacing: -.022em; margin-bottom: 16px; }
.corrections-page__dek { font-size: 17px; color: var(--grey-mid); line-height: 1.55; }

.corrections-policy { margin-bottom: 60px; }
.corrections-policy__hed { font-family: var(--sans); font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.corrections-policy__body { font-size: 15px; line-height: 1.72; color: var(--grey-body); }
.corrections-policy__body p { margin-bottom: 16px; }
.corrections-policy__body ul { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }

.corrections-log { margin-bottom: 60px; }
.corrections-log__hed { font-family: var(--sans); font-size: 22px; font-weight: 800; margin-bottom: 28px; }
.corrections-list { display: flex; flex-direction: column; gap: 24px; }
.correction-item {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.correction-item__meta { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.correction-item__type {
  padding: 3px 10px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.correction-item__type--correction { background: #fee2e2; color: #991b1b; }
.correction-item__type--clarification { background: #dbeafe; color: #1e40af; }
.correction-item__date { font-size: 13px; color: var(--grey-meta); }
.correction-item__article { font-family: var(--sans); font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.correction-item__error,
.correction-item__fixed { font-size: 14px; line-height: 1.65; color: var(--grey-body); margin-bottom: 8px; }

.corrections-none { color: var(--grey-meta); font-style: italic; }

.corrections-report {
  background: var(--navy);
  color: #fff;
  padding: 36px;
  border-radius: 14px;
  text-align: center;
}
.corrections-report h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.corrections-report p { font-size: 15px; opacity: .8; margin-bottom: 24px; }
.corrections-report__btn {
  display: inline-block;
  padding: 13px 28px;
  background: var(--red);
  color: #fff;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .15s;
}
.corrections-report__btn:hover { opacity: .88; color: #fff; }

/* ── Tip page ─────────────────────────────────────────────── */
.tip-page { padding: 52px var(--box) 80px; }
.tip-page__inner { max-width: 1100px; margin: 0 auto; }
.tip-page__header { text-align: center; margin-bottom: 56px; }
.tip-page__shield { font-size: 52px; margin-bottom: 16px; }
.tip-page__kicker {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.tip-page__hed { font-family: var(--serif); font-size: 42px; font-weight: 800; letter-spacing: -.022em; margin-bottom: 16px; }
.tip-page__dek { font-size: 17px; color: var(--grey-mid); max-width: 640px; margin: 0 auto; line-height: 1.6; }

.tip-page__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: flex-start;
}
.tip-security-box { margin-bottom: 48px; }
.tip-security-box h2 { font-family: var(--sans); font-size: 22px; font-weight: 800; margin-bottom: 28px; }
.tip-method { display: flex; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.tip-method:last-child { border-bottom: none; }
.tip-method__num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.tip-method__body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.tip-method__body p { font-size: 14px; color: var(--grey-mid); line-height: 1.65; margin-bottom: 8px; }
.tip-method__detail { background: var(--surface); padding: 12px 16px; border-radius: 8px; font-size: 13px !important; color: var(--ink) !important; }
.tip-method__detail a { color: var(--red); }
.tip-method__detail em { color: var(--grey-meta); }

.tip-form { border: 1.5px solid var(--border); border-radius: 14px; padding: 28px; }
.tip-form__hed { font-family: var(--sans); font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.tip-form__warning {
  font-size: 13px;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
}
.tip-form .contact-form__field { margin-bottom: 18px; }
.tip-form .contact-form__submit { margin-top: 4px; }

.tip-aside-box {
  background: var(--surface);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}
.tip-aside-box h3 { font-family: var(--sans); font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.tip-aside-box ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tip-aside-box li { font-size: 13px; color: var(--grey-mid); padding-left: 18px; position: relative; line-height: 1.5; }
.tip-aside-box li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.tip-aside-box p { font-size: 13px; color: var(--grey-mid); margin-top: 10px; }

/* ── Page templates: responsive ───────────────────────────── */
@media (max-width: 900px) {
  /* Consistent 16px mobile gutter for all page templates */
  .about-hero,
  .about-mission,
  .about-values,
  .about-timeline-section,
  .about-team,
  .about-funding,
  .about-cta { padding-left: 16px; padding-right: 16px; }

  .contact-page { padding-left: 16px; padding-right: 16px; }

  .adv-hero,
  .adv-stats,
  .adv-profile,
  .adv-formats,
  .adv-enquiry,
  .adv-clients { padding-left: 16px; padding-right: 16px; }

  .newsletters-page { padding-left: 16px; padding-right: 16px; }
  .corrections-page { padding-left: 16px; padding-right: 16px; }
  .tip-page { padding-left: 16px; padding-right: 16px; }
  .generic-page { padding-left: 16px; padding-right: 16px; }

  /* About */
  .about-values__grid { grid-template-columns: repeat(2, 1fr); }
  .about-team__grid { grid-template-columns: repeat(2, 1fr); }
  .about-funding__cols { grid-template-columns: 1fr; }
  .about-timeline::before { left: 62px; } /* clear 56px year label + 6px gap */
  .about-hero { padding-top: 48px; padding-bottom: 0; }
  .about-hero__hed { font-size: 40px; }
  .about-mission { padding-top: 36px; padding-bottom: 36px; }
  .about-values { padding-top: 48px; padding-bottom: 48px; }
  .about-timeline-section { padding-top: 48px; padding-bottom: 48px; }
  .about-team { padding-top: 48px; padding-bottom: 48px; }
  .about-cta { padding-top: 48px; padding-bottom: 48px; }

  /* Contact */
  .contact-page__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-form__row--half { grid-template-columns: 1fr; }
  .contact-info-col { order: -1; }

  /* Advertise */
  .adv-stats__inner { grid-template-columns: repeat(3, 1fr); }
  .adv-profile__inner { grid-template-columns: 1fr; }
  .adv-formats__grid { grid-template-columns: repeat(2, 1fr); }
  .adv-enquiry__inner { grid-template-columns: 1fr; }
  .adv-hero { padding-top: 48px; padding-bottom: 48px; }

  /* Newsletters: featured card keeps prominent styling on tablet */
  .nl-card--featured {
    grid-column: span 2;
  }
  .newsletters-page__grid { grid-template-columns: 1fr 1fr; }
  .nl-form { flex-direction: column; }

  /* Tip */
  .tip-page__layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .about-values__grid { grid-template-columns: 1fr; }
  .about-team__grid { grid-template-columns: 1fr 1fr; }
  .adv-stats__inner { grid-template-columns: repeat(2, 1fr); }
  .adv-formats__grid { grid-template-columns: 1fr; }
  .nl-card--featured { grid-column: span 1; }
  .newsletters-page__grid { grid-template-columns: 1fr; }
  .about-cta__btns { flex-direction: column; align-items: center; }
}

/* ── Pagination ───────────────────────────────────────────── */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  margin: 0 3px;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  transition: background .14s, border-color .14s;
}
.page-numbers:hover { background: var(--surface); border-color: var(--grey-mid); color: var(--ink); }
.page-numbers.current { background: var(--red); color: #fff; border-color: var(--red); }
.page-numbers.dots { border: none; background: none; cursor: default; }
nav.navigation.pagination { padding: 32px 0 8px; }

/* ============================================================
   SKIP NAV
   ============================================================ */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top .1s;
}
.skip-nav:focus { top: 0; outline: none; }

/* ============================================================
   DARK MODE TOGGLE
   ============================================================ */
.dark-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  color: var(--grey-mid);
  border-radius: 50%;
  padding: 0;
  flex-shrink: 0;
  transition: background .14s, color .14s;
  line-height: 1;
}
.dark-toggle:hover { background: var(--surface); color: var(--ink); }
.dark-toggle__sun  { display: none; }
.dark-toggle__moon { display: inline; }
html.dark-mode .dark-toggle__sun  { display: inline; }
html.dark-mode .dark-toggle__moon { display: none; }

/* ============================================================
   DARK MODE
   ============================================================ */
html.dark-mode {
  color-scheme: dark;
  --surface:      #1e1e26;
  --border:       #2a2a36;
  --border-light: #222230;
  --border-mid:   #383844;
  --border-faint: #444450;
  --grey-ui:      #58586a;
  --grey-light:   #404055;
  --grey-meta:    #8080a0;
  --grey-mid:     #9898b2;
  --grey-dek:     #aeaec8;
  --grey-dark:    #c8c8e0;
  --grey-body:    #c0c0d8;
}
html.dark-mode body {
  background: #13131a;
  color: #f0f0f4;
}

/* Structural */
html.dark-mode .utility-bar    { background: #0c0c14; border-bottom-color: #222230; color: #8080a0; }
html.dark-mode .utility-bar a  { color: #8080a0; }
html.dark-mode .utility-bar a:hover { color: #d8d8e8; }
html.dark-mode .masthead       { background: #13131a; border-bottom-color: #2a2a36; }
html.dark-mode .masthead__logo-text { color: #f0f0f4; }
html.dark-mode .site-nav       { background: #0c0c14; border-bottom-color: #2a2a36; }
html.dark-mode .site-nav__primary a { color: #d8d8e8; }
html.dark-mode .site-nav__primary a:hover { color: #fff; }
html.dark-mode .live-ticker    { background: #13131a; border-bottom-color: #2a2a36; }
html.dark-mode .slim-header    { background: #13131a; border-bottom-color: #2a2a36; }
html.dark-mode .slim-header--dark { background: #0c0c14; }
html.dark-mode .slim-header__nav-link { color: #c0c0d8; }
html.dark-mode .slim-header__nav-link:hover { color: #fff; }
html.dark-mode .reading-progress { background: #2a2a36; }
html.dark-mode .mob-menu__panel { background: #1a1a24; }
html.dark-mode .mob-menu__link  { color: #d8d8e8; border-bottom-color: #2a2a36; }
html.dark-mode .mob-nav         { background: #13131a; border-top-color: #2a2a36; }
html.dark-mode .mob-nav__item   { color: #c0c0d8; }
html.dark-mode .site-footer     { background: #0c0c14; }

/* Article */
html.dark-mode .article-body__hed   { color: #f0f0f4; }
html.dark-mode .article-body__dek   { color: #aeaec8; }
html.dark-mode .article-body__content { color: #c0c0d8; }
html.dark-mode .article-body__content blockquote p { color: #f0f0f4; }
html.dark-mode .article-body__content blockquote { border-left-color: var(--red); }
html.dark-mode .more-story { border-bottom-color: #2a2a36; }
html.dark-mode .more-story a { color: #d8d8e8; }
html.dark-mode .in-story-mp { border-bottom-color: #2a2a36; }
html.dark-mode .in-story-mp__name { color: #f0f0f4; }
html.dark-mode .author-box { border-top-color: #2a2a36; }
html.dark-mode .author-box__name { color: #f0f0f4; }
html.dark-mode .author-box__bio  { color: #9898b2; }

/* Related & cards */
html.dark-mode .related-section { background: #1a1a22; }
html.dark-mode .related-card__hed a { color: #f0f0f4; }
html.dark-mode .category-head  { background: #13131a; border-bottom-color: #2a2a36; }
html.dark-mode .category-head__title { color: #f0f0f4; }
html.dark-mode .category-lead__hed a { color: #f0f0f4; }
html.dark-mode .strip-card__hed a    { color: #f0f0f4; }
html.dark-mode .lead-story__hed      { color: #f0f0f4; }
html.dark-mode .lead-story__dek      { color: #aeaec8; }
html.dark-mode .section-strip__hed a { color: #f0f0f4; }
html.dark-mode .most-read-item__hed a { color: #f0f0f4; }
html.dark-mode .rail-section-head    { color: #f0f0f4; }

/* Author archive */
html.dark-mode .author-hero    { background: #0c0c14; }
html.dark-mode .author-archive { background: #13131a; }
html.dark-mode .author-card__hed a { color: #f0f0f4; }

/* 404 / error */
html.dark-mode .error-page { background: #13131a; }
html.dark-mode .error-page__hed { color: #f0f0f4; }
html.dark-mode .error-page__recent { background: #1a1a22; }
html.dark-mode .error-page__recent-hed a { color: #f0f0f4; }

/* Index fallback */
html.dark-mode .index-card__hed a { color: #f0f0f4; }

/* Empty image placeholders */
html.dark-mode .category-lead__img--empty,
html.dark-mode .strip-card__img--empty,
html.dark-mode .author-card__img--empty,
html.dark-mode .related-card__img--empty,
html.dark-mode .index-card__img--empty,
html.dark-mode .error-page__recent-img--empty { background: #2a2a36; }

/* Forms */
html.dark-mode input[type="text"],
html.dark-mode input[type="email"],
html.dark-mode input[type="search"],
html.dark-mode input[type="url"],
html.dark-mode textarea,
html.dark-mode select {
  background: #1e1e26;
  color: #f0f0f4;
  border-color: #2a2a36;
}
html.dark-mode input::placeholder,
html.dark-mode textarea::placeholder { color: #58586a; }

/* Comments */
html.dark-mode .article-comments { border-top-color: #2a2a36; }
html.dark-mode .article-comments__count { color: #f0f0f4; }
html.dark-mode .comment-item     { border-bottom-color: #2a2a36; }
html.dark-mode .comment-item__author a { color: #f0f0f4; }
html.dark-mode .comment-item__body { color: #c0c0d8; }

/* ============================================================
   404 ERROR PAGE
   ============================================================ */
.error-page {
  padding: 60px var(--box) 48px;
  min-height: 60vh;
}
.error-page__inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}
.error-page__code {
  font-family: var(--font-ui);
  font-size: 100px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--border-mid);
}
.error-page__hed {
  font-family: var(--font-ui);
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
}
.error-page__body {
  font-size: 16px;
  color: var(--grey-dek);
  line-height: 1.6;
  margin: 0 0 28px;
}
.error-page__search {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto 20px;
}
.error-page__input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border-mid);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  color: var(--ink);
  background: transparent;
  transition: border-color .14s;
}
.error-page__input:focus { border-color: var(--ink); }
.error-page__btn {
  height: 44px;
  padding: 0 20px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .14s;
}
.error-page__btn:hover { opacity: .85; }
.error-page__home {
  display: block;
  margin-bottom: 52px;
  font-size: 14px;
  color: var(--grey-mid);
  text-decoration: none;
}
.error-page__home:hover { color: var(--ink); }
.error-page__recent { max-width: 960px; margin: 0 auto; padding: 0 var(--box) 48px; }
.error-page__recent-head {
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey-meta);
  margin-bottom: 20px;
  text-align: left;
}
.error-page__recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.error-page__recent-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.error-page__recent-img--empty { width: 100%; aspect-ratio: 16/9; background: var(--border); border-radius: 4px; }
.error-page__recent-hed {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.28;
  margin: 10px 0 0;
}
.error-page__recent-hed a { color: var(--ink); text-decoration: none; }
.error-page__recent-hed a:hover { color: var(--red); }
.error-page__recent-meta { font-size: 12px; color: var(--grey-meta); margin-top: 5px; }
@media (max-width: 900px) {
  .error-page { padding: 40px 16px 32px; }
  .error-page__recent { padding: 0 16px 40px; }
  .error-page__recent-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   INDEX FALLBACK
   ============================================================ */
.index-fallback { padding: 32px var(--box) 56px; }
.index-fallback__inner { max-width: 1280px; margin: 0 auto; }
.index-fallback__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}
.index-card__img-link { display: block; overflow: hidden; border-radius: 4px; }
.index-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--border);
  transition: transform .22s ease;
}
.index-card__img-link:hover .index-card__img { transform: scale(1.03); }
.index-card__img--empty { width: 100%; aspect-ratio: 16/9; background: var(--border); border-radius: 4px; }
.index-card .kicker { display: block; margin-top: 10px; }
.index-card__hed {
  font-family: var(--font-ui);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
  margin: 6px 0 0;
  text-wrap: pretty;
}
.index-card__hed a { color: inherit; text-decoration: none; }
.index-card__hed a:hover { color: var(--red); }
.index-card__meta { font-size: 12px; color: var(--grey-meta); margin-top: 5px; }
.index-fallback__empty { font-family: var(--font-ui); font-size: 15px; color: var(--grey-mid); padding: 40px 0; }
@media (max-width: 900px) {
  .index-fallback { padding: 24px 16px 48px; }
  .index-fallback__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
}
@media (max-width: 600px) {
  .index-fallback__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TAG ARCHIVE
   ============================================================ */
.category-head__tag-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey-meta);
  margin-bottom: 6px;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.article-comments {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.article-comments__count {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 20px;
}
.article-comments__form-title {
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 32px 0 16px;
}
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}
.comment-item__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.comment-item__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
}
.comment-item__author { font-family: var(--font-ui); font-size: 14px; font-weight: 700; }
.comment-item__author a { color: var(--ink); text-decoration: none; }
.comment-item__date { font-size: 12px; color: var(--grey-meta); margin-top: 2px; }
.comment-item__body { font-size: 15px; line-height: 1.6; color: var(--grey-body); }
.comment-item__body p { margin: 0 0 8px; }
.comment-item__reply { margin-top: 8px; }
.comment-item__reply a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--grey-mid);
  text-decoration: none;
}
.comment-item__reply a:hover { color: var(--red); }
.comment-form__field { margin-bottom: 14px; }
.comment-form__field label {
  display: block;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--grey-mid);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.comment-form__field input,
.comment-form__field textarea,
.comment-form p input,
.comment-form p textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-mid);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
  transition: border-color .14s;
  box-sizing: border-box;
  resize: vertical;
}
.comment-form__field input:focus,
.comment-form__field textarea:focus,
.comment-form p input:focus,
.comment-form p textarea:focus { border-color: var(--ink); outline: none; }
.article-comments__submit-row { margin-top: 16px; }
.article-comments__closed { font-size: 14px; color: var(--grey-meta); padding: 12px 0; }
.comment-form__submit,
#submit {
  height: 44px;
  padding: 0 28px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .14s;
}
.comment-form__submit:hover,
#submit:hover { opacity: .85; }

/* ============================================================
   AUTHOR BOX — inline at bottom of article
   ============================================================ */
.author-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 2px solid var(--border);
}
.author-box__img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.author-box__body { flex: 1; min-width: 0; }
.author-box__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 8px;
}
.author-box__name {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}
.author-box__name:hover { color: var(--red); }
.author-box__role {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-mid);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.author-box__twitter {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--grey-mid);
  text-decoration: none;
}
.author-box__twitter:hover { color: var(--ink); }
.author-box__bio {
  font-size: 14px;
  line-height: 1.55;
  color: var(--grey-dek);
  margin: 0 0 10px;
}
.author-box__all-link {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
}
.author-box__all-link:hover { color: var(--ink); }

/* ============================================================
   RELATED ARTICLES — below article grid
   ============================================================ */
.related-section {
  background: var(--surface);
  padding: 40px var(--box) 48px;
  margin-top: 0;
}
.related-section__inner { max-width: 1280px; margin: 0 auto; }
.related-section__head {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey-meta);
  margin-bottom: 20px;
}
.related-section__head span { color: var(--red); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.related-card__img-link { display: block; overflow: hidden; border-radius: 4px; }
.related-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--border);
  transition: transform .22s ease;
}
.related-card__img-link:hover .related-card__img { transform: scale(1.03); }
.related-card__img--empty { width: 100%; aspect-ratio: 16/9; background: var(--border); border-radius: 4px; }
.related-card .kicker { margin-top: 12px; display: block; }
.related-card__hed {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
  margin: 6px 0 0;
  text-wrap: pretty;
}
.related-card__hed a { color: inherit; text-decoration: none; }
.related-card__hed a:hover { color: var(--red); }
.related-card__meta {
  font-size: 12.5px;
  color: var(--grey-meta);
  margin-top: 6px;
}
.related-section__more {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
}
.related-section__more:hover { color: var(--ink); }

/* ============================================================
   AUTHOR ARCHIVE PAGE
   ============================================================ */
.author-hero {
  background: var(--navy);
  padding: 48px var(--box) 52px;
}
.author-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  align-items: center;
}
.author-hero__img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 3px solid rgba(255,255,255,.18);
}
.author-hero__info { flex: 1; min-width: 0; }
.author-hero__label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 6px;
}
.author-hero__name {
  font-family: var(--font-ui);
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -.018em;
  line-height: 1.12;
  margin: 0 0 4px;
}
.author-hero__role {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  margin: 0 0 10px;
}
.author-hero__bio {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
  margin: 0 0 14px;
  max-width: 600px;
}
.author-hero__social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .14s;
}
.author-hero__social:hover { color: #ffffff; }

.author-archive { padding: 36px var(--box) 56px; }
.author-archive__inner { max-width: 1280px; margin: 0 auto; }
.author-archive__head {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey-meta);
  margin-bottom: 22px;
}
.author-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}
.author-card__img-link { display: block; overflow: hidden; border-radius: 4px; }
.author-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--border);
  transition: transform .22s ease;
}
.author-card__img-link:hover .author-card__img { transform: scale(1.03); }
.author-card__img--empty { width: 100%; aspect-ratio: 16/9; background: var(--border); border-radius: 4px; }
.author-card__hed {
  font-family: var(--font-ui);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
  margin: 6px 0 0;
  text-wrap: pretty;
}
.author-card__hed a { color: inherit; text-decoration: none; }
.author-card__hed a:hover { color: var(--red); }
.author-card__meta {
  font-size: 12px;
  color: var(--grey-meta);
  margin-top: 6px;
}
.author-archive__pagination { margin-top: 32px; }
.author-archive__empty {
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--grey-mid);
  padding: 40px 0;
}

@media (max-width: 900px) {
  /* Related */
  .related-section { padding: 32px 16px 40px; }
  .related-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Author hero */
  .author-hero { padding: 32px 16px 36px; }
  .author-hero__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .author-hero__img { width: 72px; height: 72px; }
  .author-hero__name { font-size: 26px; }

  /* Author archive */
  .author-archive { padding: 24px 16px 48px; }
  .author-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }

  /* Author box */
  .author-box { gap: 14px; }
}

@media (max-width: 600px) {
  .author-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
