/* =====================================================================
   Editorial pages: The Academy, Youth Teams, News, news stories, First Team.
   Builds on programme-pages.css tokens (--pp-*) and the site typefaces.
   ===================================================================== */

:root {
  --ed-head: var(--_typography---headings--font-family);
  --ed-body: var(--_typography---paragraphs--font-family);
  --ed-ink: var(--pp-green);
  --ed-paper: var(--pp-white);
  --ed-red: var(--pp-red);
  --ed-muted: rgba(231, 230, 226, .62);
  --ed-line: rgba(231, 230, 226, .14);
  --ed-ink-muted: rgba(12, 12, 13, .62);
  --ed-ink-line: rgba(12, 12, 13, .14);
  --ed-radius: 6px;
}

.ed-shell { width: var(--pp-width); margin: 0 auto; }

/* ---------- statement ---------- */
.ed-statement {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: end;
}
.ed-statement h2 {
  margin: 0;
  font-family: var(--ed-head);
  font-size: clamp(2.6rem, 5.4vw, 5.6rem);
  line-height: .9;
  text-transform: uppercase;
  color: var(--ed-ink);
}
.ed-statement h2 em { font-style: normal; color: var(--ed-red); }
.ed-statement p { margin: 0 0 1em; max-width: 36ch; font-size: 17px; line-height: 1.7; color: var(--ed-ink-muted); }
.ed-statement p:last-child { margin-bottom: 0; }

/* ---------- alternating feature rows ---------- */
.ed-features { display: grid; gap: clamp(72px, 10vw, 150px); }
.ed-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
}
.ed-feature--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.ed-feature--flip .ed-feature-media { order: 2; }
.ed-feature-media {
  position: relative;
  margin: 0;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--ed-radius);
  background: #1a1a1c;
}
.ed-feature-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ed-feature-index {
  display: block;
  margin-bottom: 22px;
  font-family: var(--ed-head);
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ed-red);
}
.ed-feature h3 {
  margin: 0 0 24px;
  font-family: var(--ed-head);
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  line-height: .9;
  text-transform: uppercase;
}
.ed-feature p { margin: 0 0 1em; max-width: 44ch; font-size: 17px; line-height: 1.75; color: var(--ed-ink-muted); }
.pp-section--dark .ed-feature p { color: var(--ed-muted); }

/* ---------- pathway ---------- */
.ed-pathway-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.ed-pathway-head h2 { margin: 0; }
.ed-pathway-head p { margin: 0; max-width: 40ch; line-height: 1.7; color: var(--ed-muted); }
.ed-pathway {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ed-line);
}
.ed-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 34px 28px 30px 0;
  color: inherit;
  text-decoration: none;
}
.ed-step + .ed-step { padding-left: 28px; border-left: 1px solid var(--ed-line); }
.ed-step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--ed-red);
  transition: width .6s var(--pp-ease);
}
.ed-step:hover::before { width: 100%; }
.ed-step-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ed-muted); }
.ed-step h3 {
  margin: 18px 0 14px;
  font-family: var(--ed-head);
  font-size: clamp(1.9rem, 2.6vw, 2.7rem);
  line-height: .92;
  text-transform: uppercase;
}
.ed-step p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ed-muted); }
.ed-step-go {
  margin-top: auto;
  padding-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.ed-step-go svg { width: 16px; height: 16px; fill: currentColor; transition: transform .4s var(--pp-ease); }
.ed-step:hover .ed-step-go svg { transform: translateX(5px); }
.ed-step--final { background: var(--ed-red); color: var(--ed-ink); padding-left: 28px; }
.ed-step--final .ed-step-label, .ed-step--final p { color: rgba(12, 12, 13, .72); }
.ed-step--final::before { display: none; }

/* ---------- closing call to action ---------- */
.ed-cta {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(86vh, 820px);
  padding: clamp(48px, 8vw, 110px) 0;
  overflow: hidden;
  color: var(--ed-paper);
  background: var(--ed-ink);
}
.ed-cta-media { position: absolute; inset: 0; margin: 0; }
.ed-cta-media img { width: 100%; height: 100%; object-fit: cover; }
.ed-cta::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 12, 13, .92) 0%, rgba(12, 12, 13, .35) 55%, rgba(12, 12, 13, .15) 100%);
}
.ed-cta .ed-shell { position: relative; z-index: 1; }
.ed-cta h2 {
  margin: 0 0 28px;
  font-family: var(--ed-head);
  font-size: clamp(3.4rem, 8vw, 8.4rem);
  line-height: .86;
  text-transform: uppercase;
}
.ed-cta p { margin: 0 0 34px; max-width: 42ch; font-size: 18px; line-height: 1.6; color: rgba(231, 230, 226, .8); }

/* ---------- FAQ (reuses information-pages accordion behaviour) ---------- */
.ed-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); }
.ed-faq .info-faq-answer p { padding-left: 0; }

/* =====================================================================
   NEWS
   ===================================================================== */
.news-page { background: var(--ed-ink); }

.news-lead {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding: 160px 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
  color: var(--ed-paper);
  text-decoration: none;
  isolation: isolate;
}
.news-lead-media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.news-lead-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  animation: news-settle 2.4s var(--pp-ease) forwards;
}
@keyframes news-settle { to { transform: scale(1); } }
.news-lead::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(12, 12, 13, .96) 0%, rgba(12, 12, 13, .55) 42%, rgba(12, 12, 13, .1) 75%),
    linear-gradient(to right, rgba(12, 12, 13, .55), transparent 60%);
}
.news-lead-copy { max-width: 980px; }
.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 22px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ed-muted);
}
.news-tag {
  display: inline-block;
  padding: 6px 10px 5px;
  border-radius: 3px;
  background: var(--ed-red);
  color: var(--ed-ink);
  font-family: var(--ed-head);
  font-size: 13px;
  letter-spacing: .06em;
  line-height: 1;
}
.news-lead h1 {
  margin: 0 0 24px;
  font-family: var(--ed-head);
  font-size: clamp(3.2rem, 7.6vw, 8rem);
  line-height: .86;
  text-transform: uppercase;
}
.news-lead p { margin: 0 0 30px; max-width: 54ch; font-size: 18px; line-height: 1.6; color: rgba(231, 230, 226, .82); }
.news-read {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 15px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
}
.news-read svg { width: 16px; height: 16px; fill: currentColor; transition: transform .4s var(--pp-ease); }
.news-lead:hover .news-read svg, .news-card:hover .news-read svg { transform: translateX(5px); }

.news-index { padding: clamp(72px, 9vw, 130px) 0 clamp(90px, 11vw, 160px); color: var(--ed-paper); }
.news-index-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ed-line);
}
.news-index-head h2 {
  margin: 0;
  font-family: var(--ed-head);
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: .88;
  text-transform: uppercase;
}
.news-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.news-filter {
  padding: 10px 16px 9px;
  border: 1px solid var(--ed-line);
  border-radius: 999px;
  background: transparent;
  color: var(--ed-muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color .3s, border-color .3s, background .3s;
}
.news-filter:hover { color: var(--ed-paper); border-color: rgba(231, 230, 226, .4); }
.news-filter.is-active { background: var(--ed-paper); border-color: var(--ed-paper); color: var(--ed-ink); }

/* masonry */
.news-masonry { column-count: 3; column-gap: 28px; }
.news-card {
  display: block;
  break-inside: avoid;
  margin: 0 0 44px;
  color: var(--ed-paper);
  text-decoration: none;
}
.news-card[hidden] { display: none; }
.news-card-media {
  position: relative;
  margin: 0 0 22px;
  overflow: hidden;
  border-radius: var(--ed-radius);
  background: #1a1a1c;
}
.news-card-media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1.2s var(--pp-ease), filter 1.2s var(--pp-ease);
  filter: saturate(.92) contrast(1.04);
}
.news-card-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 12, 13, .55), transparent 45%);
  opacity: .7;
  transition: opacity .8s var(--pp-ease);
}
.news-card:hover .news-card-media img { transform: scale(1.045); filter: saturate(1.05) contrast(1.06); }
.news-card:hover .news-card-media::after { opacity: .25; }
.news-card .news-tag { position: absolute; left: 16px; top: 16px; z-index: 1; }
.news-card .news-meta { margin-bottom: 12px; }
.news-card h3 {
  margin: 0 0 12px;
  font-family: var(--ed-head);
  font-size: clamp(1.7rem, 2.3vw, 2.4rem);
  line-height: .95;
  text-transform: uppercase;
  transition: color .3s;
}
.news-card:hover h3 { color: #fff; }
.news-card p { margin: 0 0 16px; font-size: 15px; line-height: 1.65; color: var(--ed-muted); }
.news-card .news-read { font-size: 14px; color: var(--ed-paper); border-bottom-color: rgba(231, 230, 226, .35); }

/* overlay variant: text sits on the photo */
.news-card--overlay .news-card-media { margin: 0; }
.news-card--overlay .news-card-media::after {
  background: linear-gradient(to top, rgba(12, 12, 13, .94) 0%, rgba(12, 12, 13, .4) 50%, transparent 80%);
  opacity: 1;
}
.news-card--overlay:hover .news-card-media::after { opacity: .92; }
.news-card--overlay .news-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 26px;
}
.news-card--overlay p { color: rgba(231, 230, 226, .78); }

/* =====================================================================
   NEWS STORY
   ===================================================================== */
.story-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 88svh;
  padding: 160px 0 clamp(44px, 6vw, 80px);
  overflow: hidden;
  color: var(--ed-paper);
  background: var(--ed-ink);
  isolation: isolate;
}
.story-hero-media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.story-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.story-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(12, 12, 13, .95) 0%, rgba(12, 12, 13, .45) 45%, rgba(12, 12, 13, .12) 80%);
}
.story-hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--ed-head);
  font-size: clamp(3rem, 7vw, 7.4rem);
  line-height: .86;
  text-transform: uppercase;
}
.story-back {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--ed-muted);
  text-decoration: none;
}
.story-back:hover { color: var(--ed-paper); }
.story-back svg { width: 15px; height: 15px; fill: currentColor; transform: rotate(180deg); }

.story-body { padding: clamp(64px, 8vw, 120px) 0; background: var(--ed-paper); color: var(--ed-ink); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 680px) minmax(0, 1fr); gap: 40px; }
.story-aside { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ed-ink-muted); line-height: 2; }
.story-aside strong { display: block; color: var(--ed-ink); letter-spacing: 0; text-transform: none; font-size: 15px; }
.story-text .story-standfirst { margin: 0 0 1.4em; font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.45; color: var(--ed-ink); }
.story-text p { margin: 0 0 1.3em; font-size: 18px; line-height: 1.8; color: rgba(12, 12, 13, .78); }
.story-text blockquote {
  margin: 1.8em 0;
  padding: 0 0 0 28px;
  border-left: 3px solid var(--ed-red);
  font-family: var(--ed-head);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: .98;
  text-transform: uppercase;
  color: var(--ed-ink);
}
.story-figure { margin: 2.2em 0; }
.story-figure img { display: block; width: 100%; height: auto; border-radius: var(--ed-radius); }
.story-figure figcaption { margin-top: 12px; font-size: 13px; color: var(--ed-ink-muted); }
.story-more { padding: clamp(72px, 9vw, 120px) 0; color: var(--ed-paper); background: var(--ed-ink); }
.story-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.story-more-grid .news-card { margin: 0; }
.story-more-grid .news-card-media { aspect-ratio: 4 / 3; }
.story-more-grid .news-card-media img { height: 100%; object-fit: cover; }

/* =====================================================================
   FIRST TEAM FIXTURES
   ===================================================================== */
.ft-fixtures-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.ft-fixtures-panel {
  min-height: 320px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  background: rgba(255, 255, 255, .03);
  color: var(--ed-paper);
  overflow-x: auto;
}
.ft-fixtures-panel table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ft-fixtures-panel th, .ft-fixtures-panel td { padding: 14px 10px; border-bottom: 1px solid var(--ed-line); text-align: left; vertical-align: top; }
.ft-fixtures-panel th { font-family: var(--ed-head); font-weight: 400; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ed-muted); }
.ft-fixtures-panel a { color: var(--ed-paper); }
.ft-fixtures-empty h3 { margin: 0 0 14px; font-family: var(--ed-head); font-size: clamp(2rem, 3vw, 2.8rem); line-height: .95; text-transform: uppercase; }
.ft-fixtures-empty p { margin: 0 0 26px; max-width: 46ch; line-height: 1.7; color: var(--ed-muted); }

/* Fixtures and results from /admin (js/first-team-fixtures.js). Selectors
   start at the panel so they outrank ".pp-page main :is(p)" and friends. */
.ft-fixtures-panel.is-loaded { min-height: 0; }
.ft-fixtures-panel .ft-tabs { display: flex; gap: 6px; margin: 0 0 18px; padding: 4px; border: 1px solid var(--ed-line); border-radius: 100px; width: max-content; max-width: 100%; }
.ft-fixtures-panel .ft-tabs button {
  padding: 10px 22px 8px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: var(--ed-muted);
  font-family: var(--ed-head);
  font-size: 18px;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.ft-fixtures-panel .ft-tabs button:hover { color: var(--ed-paper); }
.ft-fixtures-panel .ft-tabs button[aria-selected="true"] { background: var(--ed-paper); color: var(--ed-ink); }
.ft-fixtures-panel .ft-list { margin: 0; padding: 0; list-style: none; }
.ft-fixtures-panel .ft-match {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--ed-line);
}
.ft-fixtures-panel .ft-match[hidden] { display: none; }
.ft-fixtures-panel .ft-match.is-off .ft-teams { opacity: .55; }
.ft-fixtures-panel .ft-date { display: flex; flex-direction: column; align-items: center; font-family: var(--ed-head); text-transform: uppercase; line-height: .9; }
.ft-fixtures-panel .ft-date-day { font-size: 34px; color: var(--ed-paper); }
.ft-fixtures-panel .ft-date-mon { margin-top: 4px; font-size: 15px; letter-spacing: .08em; color: var(--ed-red); }
.ft-fixtures-panel .ft-meta { margin: 0 0 6px; font-size: 13px; letter-spacing: .02em; color: var(--ed-muted); }
.ft-fixtures-panel .ft-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  color: var(--ed-muted);
}
.ft-fixtures-panel .ft-team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ft-fixtures-panel .ft-team--home { justify-content: flex-end; text-align: right; }
.ft-fixtures-panel .ft-team-name { min-width: 0; }
.ft-fixtures-panel .ft-crest { flex: none; width: 36px; height: 36px; object-fit: contain; }
.ft-fixtures-panel .ft-crest--blank {
  display: grid;
  place-items: center;
  border: 1px solid var(--ed-line);
  border-radius: 50%;
  font-family: var(--ed-head);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ed-muted);
}
.ft-fixtures-panel .ft-team--us { color: var(--ed-paper); font-weight: 700; }
.ft-fixtures-panel .ft-score, .ft-fixtures-panel .ft-vs { font-family: var(--ed-head); text-transform: uppercase; color: var(--ed-paper); white-space: nowrap; }
.ft-fixtures-panel .ft-score { display: inline-flex; gap: 6px; font-size: 30px; line-height: 1; }
.ft-fixtures-panel .ft-vs { font-size: 20px; color: var(--ed-muted); }
.ft-fixtures-panel .ft-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ft-fixtures-panel .ft-note { margin: 6px 0 0; font-size: 13px; text-align: center; color: var(--ed-muted); }
.ft-fixtures-panel .ft-tag {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--ed-line);
  border-radius: 100px;
  font-family: var(--ed-head);
  font-size: 17px;
  line-height: 1;
  color: var(--ed-muted);
}
.ft-fixtures-panel .ft-tag--w { border-color: var(--ed-red); background: var(--ed-red); color: #fff; }
.ft-fixtures-panel .ft-tag--d { border-color: rgba(231, 230, 226, .5); color: var(--ed-paper); }
.ft-fixtures-panel .ft-tag--off { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.ft-fixtures-panel .ft-none { margin: 18px 0; line-height: 1.7; color: var(--ed-muted); }
.ft-fixtures-panel .ft-more {
  margin-top: 18px;
  padding: 12px 22px 10px;
  border: 1px solid var(--ed-line);
  border-radius: 100px;
  background: transparent;
  color: var(--ed-paper);
  font-family: var(--ed-head);
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.ft-fixtures-panel .ft-more:hover { border-color: var(--ed-paper); }
.ft-fixtures-panel .ft-fulltime { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14px; color: var(--ed-muted); text-decoration: none; }
.ft-fixtures-panel .ft-fulltime:hover { color: var(--ed-paper); }
.ft-fixtures-panel .ft-fulltime svg { width: 13px; fill: currentColor; }
@media (max-width: 560px) {
  .ft-fixtures-panel .ft-match { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; }
  .ft-fixtures-panel .ft-date-day { font-size: 28px; }
  .ft-fixtures-panel .ft-teams { gap: 8px; font-size: 14px; }
  .ft-fixtures-panel .ft-team { gap: 8px; }
  .ft-fixtures-panel .ft-crest { width: 28px; height: 28px; }
  .ft-fixtures-panel .ft-crest--blank { font-size: 12px; }
  .ft-fixtures-panel .ft-score { font-size: 24px; gap: 4px; }
  .ft-fixtures-panel .ft-tag { min-width: 28px; height: 28px; font-size: 15px; }
  .ft-fixtures-panel .ft-tabs button { padding: 9px 16px 7px; font-size: 16px; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991px) {
  .ed-statement, .ed-faq, .ft-fixtures-layout { grid-template-columns: 1fr; }
  .ed-feature, .ed-feature--flip { grid-template-columns: 1fr; }
  .ed-feature--flip .ed-feature-media { order: 0; }
  .ed-pathway { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-step:nth-child(3) { padding-left: 0; border-left: 0; }
  .ed-step:nth-child(n + 3) { border-top: 1px solid var(--ed-line); }
  .ed-step--final:nth-child(n + 3) { padding-left: 28px; }
  .ed-pathway-head { flex-direction: column; align-items: start; }
  .news-masonry { column-count: 2; }
  .news-index-head { flex-direction: column; align-items: start; }
  .story-grid { grid-template-columns: 1fr; }
  .story-aside { display: flex; flex-wrap: wrap; gap: 8px 28px; }
  .story-more-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ed-pathway { grid-template-columns: 1fr; }
  .ed-step, .ed-step + .ed-step, .ed-step:nth-child(3) { min-height: 0; padding: 28px 0; border-left: 0; border-top: 1px solid var(--ed-line); }
  .ed-step--final, .ed-step--final:nth-child(n + 3) { padding: 28px 22px; }
  .news-masonry { column-count: 1; }
  .news-lead { min-height: 92svh; }
  .story-more-grid { grid-template-columns: 1fr; }
  .ed-feature p, .story-text p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .news-lead-media img { animation: none; transform: none; }
  .news-card-media img, .ed-step::before { transition: none; }
}

/* =====================================================================
   Specificity layer: programme-pages.css resets margins and base heading
   colours inside .pp-page main, so editorial spacing and colours are
   restated here with matching weight.
   ===================================================================== */
.pp-page main .ed-statement p { margin: 0 0 1em; }
.pp-page main .ed-statement p:last-child { margin-bottom: 0; }
.pp-page main .ed-feature h3 { margin: 0 0 26px; }
.pp-page main .ed-feature p { margin: 0 0 1.1em; }
.pp-page main .ed-step h3 { margin: 18px 0 14px; color: inherit; }
.pp-page main .ed-cta h2 { margin: 0 0 28px; color: var(--ed-paper); }
.pp-page main .ed-cta p { margin: 0 0 34px; }
.pp-page main .ed-pathway-head h2 { color: var(--ed-paper); }

.news-page main :is(h1, h2, h3) { color: var(--ed-paper); }
.pp-page main .news-lead h1 { margin: 0 0 24px; }
.pp-page main .news-lead p { margin: 0 0 30px; }
.pp-page main .news-card-media { margin: 0 0 22px; }
.pp-page main .news-card--overlay .news-card-media { margin: 0; }
.pp-page main .news-card h3 { margin: 0 0 12px; }
.pp-page main .news-card p { margin: 0 0 16px; }
.pp-page main .news-index-head h2 { margin: 0; }

.pp-page main .story-hero h1 { margin: 0; color: var(--ed-paper); }
.news-page main .story-body :is(h1, h2, h3) { color: var(--ed-ink); }
.pp-page main .story-text .story-standfirst { margin: 0 0 1.4em; }
.pp-page main .story-text p { margin: 0 0 1.3em; }
.pp-page main .story-text blockquote { margin: 1.8em 0; }
.pp-page main .story-figure { margin: 2.2em 0; }

.pp-page main .ft-fixtures-empty h3 { margin: 0 0 14px; color: var(--ed-paper); }
.pp-page main .ft-fixtures-empty p { margin: 0 0 26px; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.ct-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ct-way {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 30px 30px 28px;
  border: 1px solid var(--ed-ink-line);
  border-radius: var(--ed-radius);
  background: rgba(255, 255, 255, .35);
  color: var(--ed-ink);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--pp-ease), border-color .5s var(--pp-ease);
}
.ct-way::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--ed-ink);
  transform: translateY(101%);
  transition: transform .6s var(--pp-ease);
}
.ct-way:hover { color: var(--ed-paper); border-color: var(--ed-ink); }
.ct-way:hover::before { transform: translateY(0); }
.ct-way-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ed-red); }
.pp-page main .ct-way strong {
  display: block;
  margin: auto 0 0;
  padding-top: 40px;
  font-family: var(--ed-head);
  font-weight: 400;
  font-size: clamp(2rem, 2.9vw, 3rem);
  line-height: .95;
  text-transform: uppercase;
}
.ct-way-note { margin-top: 14px; font-size: 14px; line-height: 1.5; opacity: .65; }
.ct-way-arrow {
  position: absolute; top: 28px; right: 28px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .5;
  transition: transform .5s var(--pp-ease), opacity .5s;
}
.ct-way-arrow svg { width: 16px; height: 16px; fill: currentColor; transform: rotate(-45deg); }
.ct-way:hover .ct-way-arrow { opacity: 1; transform: rotate(45deg); }

/* enquiry */
.ct-enquiry { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.ct-enquiry-intro { position: sticky; top: 130px; }
.ct-enquiry-intro > p { max-width: 40ch; line-height: 1.7; color: var(--ed-muted); }
.pp-page main .ct-enquiry-intro > p { margin: 26px 0 0; }
.ct-next { margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ed-line); counter-reset: next; }
.ct-next li { display: grid; grid-template-columns: 56px 1fr; gap: 6px 0; padding: 22px 0; border-bottom: 1px solid var(--ed-line); counter-increment: next; }
.ct-next li::before { content: "0" counter(next); grid-row: span 2; font-family: var(--ed-head); font-size: 22px; color: var(--ed-red); line-height: 1; }
.ct-next strong { font-family: var(--ed-head); font-weight: 400; font-size: 22px; line-height: 1; text-transform: uppercase; color: var(--ed-paper); }
.ct-next span { font-size: 15px; line-height: 1.6; color: var(--ed-muted); }

.ct-card {
  padding: clamp(28px, 4vw, 56px);
  border-radius: 10px;
  background: var(--ed-paper);
  color: var(--ed-ink);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .35);
}
.pp-page main .ct-card h3 { margin: 0 0 8px; font-family: var(--ed-head); font-size: clamp(2rem, 3vw, 2.8rem); line-height: .95; text-transform: uppercase; color: var(--ed-ink); }
.pp-page main .ct-card > p { margin: 0 0 34px; color: var(--ed-ink-muted); line-height: 1.6; }
.ct-card .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.ct-card .field { display: flex; flex-direction: column; gap: 8px; }
.ct-card .field--full { grid-column: 1 / -1; }
.ct-card label { font-size: 13px; letter-spacing: .04em; color: var(--ed-ink-muted); }
.ct-card input[type="text"], .ct-card input[type="tel"], .ct-card input[type="email"], .ct-card select, .ct-card textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--ed-ink-line);
  border-radius: 6px;
  background: #fff;
  color: var(--ed-ink);
  font: inherit;
  font-size: 16px;
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none;
  appearance: none;
}
.ct-card select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230c0c0d' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.ct-card textarea { min-height: 140px; resize: vertical; }
.ct-card input::placeholder, .ct-card textarea::placeholder { color: rgba(12, 12, 13, .38); }
.ct-card input:focus, .ct-card select:focus, .ct-card textarea:focus { outline: none; border-color: var(--ed-ink); box-shadow: 0 0 0 3px rgba(236, 32, 41, .18); }
.ct-card .field-error, .ct-card .consent-error { display: none; font-size: 13px; color: var(--ed-red); }
.ct-card .field.is-invalid input, .ct-card .field.is-invalid select, .ct-card .field.is-invalid textarea { border-color: var(--ed-red); }
.ct-card .field.is-invalid .field-error { display: block; }
.ct-card .form-consent { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 0; font-size: 14px; line-height: 1.55; color: var(--ed-ink-muted); }
.ct-card .form-consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ed-red); }
.ct-card .form-consent a { color: var(--ed-ink); }
.ct-card .contact-form.consent-invalid .consent-error { display: block; margin-top: 8px; }
.ct-card .submit-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  width: 100%;
  margin-top: 30px;
  padding: 20px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--ed-red);
  color: #fff;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  transition: background .3s, transform .3s var(--pp-ease);
}
.ct-card .submit-button:hover { background: var(--ed-ink); }
.ct-card .submit-button svg { width: 18px; height: 18px; fill: currentColor; }
.pp-page main .ct-card .form-note { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--ed-ink-muted); }
.ct-card .form-status { margin-top: 18px; padding: 16px 18px; border-radius: 6px; background: rgba(37, 211, 102, .12); color: var(--ed-ink); display: grid; gap: 4px; font-size: 14px; }
.ct-card .form-status[hidden] { display: none; }

/* map */
.ct-map { position: relative; min-height: min(78vh, 720px); background: #d9d8d4; overflow: hidden; }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.08) brightness(.96); }
.ct-map-card {
  position: absolute;
  left: max(var(--_basic-variables---site--margin, 24px), calc((100vw - var(--pp-width)) / 2));
  bottom: clamp(24px, 5vw, 64px);
  z-index: 1;
  width: min(420px, calc(100% - 48px));
  padding: 34px;
  border-radius: 10px;
  background: var(--ed-ink);
  color: var(--ed-paper);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.pp-page main .ct-map-card h2 { margin: 14px 0 18px; font-family: var(--ed-head); font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: .92; text-transform: uppercase; color: var(--ed-paper); }
.pp-page main .ct-map-card p { margin: 0 0 26px; line-height: 1.7; color: var(--ed-muted); }

@media (max-width: 991px) {
  .ct-ways { grid-template-columns: 1fr; }
  .ct-way { min-height: 200px; }
  .ct-enquiry { grid-template-columns: 1fr; }
  .ct-enquiry-intro { position: static; }
}
@media (max-width: 600px) {
  .ct-card .form-grid { grid-template-columns: 1fr; }
  .ct-map { min-height: 0; display: flex; flex-direction: column; }
  .ct-map iframe { position: static; height: 360px; }
  .ct-map-card { position: static; width: auto; border-radius: 0; }
}
