/*
Theme Name: Ashton-on-Mersey Sports Club
Theme URI: https://aomsportsclub.co.uk/
Author: Ashton-on-Mersey Sports Club
Description: Custom theme for Ashton-on-Mersey Sports Club.
Version: 1.0.26
Text Domain: aom-sports-club
*/

:root {
  --navy: #0d1b2a;
  --navy-900: #071321;
  --navy-800: #0a1827;
  --gold: #cda434;
  --gold-light: #f0c75a;
  --white: #ffffff;
  --light-grey: #f5f5f5;
  --orange: #f55f39;
  --black: #000000;
  --teal: #26c6da;
  --header-height: 100px;
  --content-width: 1720px;
  --body-font: "Open Sans", "Segoe UI", Arial, sans-serif;
  --heading-font: Montserrat, "Arial Narrow", Haettenschweiler, Impact, "Arial Black", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--body-font);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.aom-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 2vw, 42px);
  min-height: var(--header-height);
  padding: 10px clamp(18px, 3vw, 54px);
  background: rgba(5, 15, 27, 0.96);
  border-bottom: 1px solid rgba(205, 164, 52, 0.18);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.aom-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.aom-brand__mark {
  width: clamp(64px, 6vw, 108px);
  height: auto;
  flex: 0 0 auto;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.7))
    drop-shadow(0 0 8px rgba(205, 164, 52, 0.34))
    drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45));
}

.aom-brand img {
  object-fit: contain;
}

.aom-brand__text {
  display: grid;
  gap: 2px;
  font-family: var(--heading-font);
  font-size: clamp(1.15rem, 1.75vw, 2rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0;
}

.aom-primary-nav {
  justify-self: center;
}

.aom-primary-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.aom-primary-nav__list li {
  position: relative;
}

.aom-primary-nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--light-grey);
  font-size: clamp(0.78rem, 0.75vw, 0.94rem);
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.aom-primary-nav__list a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--gold-light);
  border-radius: 999px;
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.aom-primary-nav__list a:hover,
.aom-primary-nav__list a:focus-visible,
.aom-primary-nav__list a.is-active,
.aom-primary-nav__list .current-menu-item > a,
.aom-primary-nav__list .current-menu-ancestor > a,
.aom-primary-nav__list .current_page_item > a,
.aom-primary-nav__list .current-page-ancestor > a,
.aom-primary-nav__list .current_page_ancestor > a {
  color: var(--gold-light);
}

.aom-primary-nav__list a:hover::after,
.aom-primary-nav__list a:focus-visible::after,
.aom-primary-nav__list a.is-active::after,
.aom-primary-nav__list .current-menu-item > a::after,
.aom-primary-nav__list .current-menu-ancestor > a::after,
.aom-primary-nav__list .current_page_item > a::after,
.aom-primary-nav__list .current-page-ancestor > a::after,
.aom-primary-nav__list .current_page_ancestor > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.aom-sub-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 190px;
  gap: 0;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: rgba(5, 15, 27, 0.98);
  border: 1px solid rgba(205, 164, 52, 0.34);
  border-radius: 8px;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.aom-menu-item-has-children {
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.aom-menu-item-has-children:hover .aom-sub-menu,
.aom-menu-item-has-children:focus-within .aom-sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.aom-sub-menu a {
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
}

.aom-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(205, 164, 52, 0.5);
  border-radius: 8px;
  cursor: pointer;
}

.aom-menu-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 30px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
}

.button:hover,
.button:active {
  transform: translateY(-1px);
}

.button--gold {
  color: var(--black);
  background: linear-gradient(180deg, #f4cf6a 0%, var(--gold) 100%);
  box-shadow: 0 14px 28px rgba(205, 164, 52, 0.22);
}

.button--gold:hover,
.button--gold:focus-visible {
  border-color: var(--gold-light);
  background: linear-gradient(180deg, #ffd979 0%, #dcb347 100%);
  box-shadow: 0 18px 32px rgba(205, 164, 52, 0.34);
}

.button--outline {
  color: var(--white);
  background: rgba(5, 15, 27, 0.58);
}

.button--outline:hover,
.button--outline:focus-visible {
  color: var(--black);
  background: var(--gold-light);
}

.aom-header-cta {
  min-width: 260px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  background: var(--navy);
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/hero-football-community.webp?v=4");
  background-position: center right;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 3% 55%, rgba(205, 164, 52, 0.28) 0 1px, transparent 1.5px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(5, 15, 27, 0.98) 0%, rgba(5, 15, 27, 0.92) 28%, rgba(5, 15, 27, 0.5) 58%, rgba(5, 15, 27, 0.12) 100%),
    linear-gradient(180deg, rgba(5, 15, 27, 0.2) 0%, rgba(5, 15, 27, 0.75) 100%);
  content: "";
}

.hero__content {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: clamp(40px, 6vh, 72px) clamp(20px, 3.2vw, 56px) 190px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: clamp(0.86rem, 1.1vw, 1.12rem);
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: min(1300px, calc(100vw - 80px));
  margin-bottom: 16px;
  font-family: var(--heading-font);
  font-size: clamp(3.4rem, 6.2vw, 6.7rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h1 span:last-child {
  color: var(--gold-light);
}

.gold-rule {
  width: 70px;
  height: 5px;
  margin-bottom: 22px;
  background: var(--gold-light);
  border-radius: 999px;
}

.hero__intro {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--light-grey);
  font-size: clamp(1rem, 1.2vw, 1.32rem);
  line-height: 1.42;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 28px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  max-width: 730px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  color: var(--light-grey);
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.trust-list li:not(:last-child) {
  padding-right: 26px;
  border-right: 1px solid rgba(205, 164, 52, 0.42);
}

.trust-list svg,
.value-strip svg {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--gold-light);
}

.feature-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(100% - 40px, var(--content-width));
  margin: -184px auto 0;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 224px;
  overflow: hidden;
  padding: 0;
  background: var(--navy-800);
  border: 1px solid rgba(205, 164, 52, 0.9);
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.feature-card::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center right;
  background-size: cover;
  content: "";
}

.feature-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 18, 31, 0.98) 0%, rgba(6, 18, 31, 0.88) 48%, rgba(6, 18, 31, 0.38) 100%),
    linear-gradient(180deg, rgba(6, 18, 31, 0.15), rgba(6, 18, 31, 0.4));
  content: "";
}

.feature-card--football::before {
  background-image: url("assets/hero-football-community.webp?v=4");
}

.feature-card--fitness::before {
  background-image: url("assets/community-fitness.webp");
}

.feature-card--events::before {
  background-image: url("assets/clubhouse-events.webp");
}

.feature-card__media {
  position: relative;
  height: clamp(150px, 12vw, 190px);
  overflow: hidden;
  border-bottom: 1px solid rgba(205, 164, 52, 0.34);
}

.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card--football .feature-card__media img {
  object-position: center 18%;
}

.feature-card__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  flex: 1;
  padding: 24px 26px 26px;
}

.feature-card__badge {
  width: clamp(76px, 6vw, 104px);
  height: auto;
  align-self: center;
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: clamp(72px, 6vw, 96px);
  height: clamp(72px, 6vw, 96px);
  align-self: center;
  color: var(--gold-light);
  border: 5px solid currentColor;
  border-radius: 50%;
}

.feature-card__icon svg {
  width: 52%;
  height: 52%;
}

.feature-card__icon--teal {
  color: var(--teal);
  border-color: color-mix(in srgb, var(--teal) 70%, var(--gold-light));
}

.feature-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.feature-status {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 10px;
  color: var(--black);
  background: var(--gold-light);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-card h2 {
  margin-bottom: 12px;
  font-family: var(--heading-font);
  font-size: clamp(1.65rem, 1.8vw, 2.3rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.feature-card h2::after {
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 12px;
  background: var(--gold-light);
  border-radius: 999px;
  content: "";
}

.feature-card p {
  max-width: 330px;
  margin-bottom: 18px;
  color: var(--light-grey);
  font-size: 1rem;
  line-height: 1.38;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  color: var(--gold-light);
  font-weight: 900;
  text-transform: uppercase;
}

.feature-link::after {
  width: 11px;
  height: 11px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.feature-link:hover::after,
.feature-link:focus-visible::after {
  transform: translateX(4px) rotate(45deg);
}

.feature-link--muted {
  color: rgba(245, 245, 245, 0.72);
  cursor: default;
}

.feature-link--muted::after {
  display: none;
}

.feature-link--strong {
  color: var(--gold-light);
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(100% - 40px, var(--content-width));
  margin: 20px auto 0;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(205, 164, 52, 0.35);
}

.value-strip div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 46px;
  padding: 0 24px;
  color: var(--light-grey);
  font-size: 0.96rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.value-strip div:not(:last-child) {
  border-right: 1px solid rgba(205, 164, 52, 0.35);
}

.history-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 8vw, 112px) clamp(20px, 3.2vw, 56px);
  background:
    radial-gradient(circle at 88% 12%, rgba(245, 95, 57, 0.16), transparent 32%),
    radial-gradient(circle at 12% 86%, rgba(205, 164, 52, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(7, 19, 33, 0.98), rgba(13, 27, 42, 1));
  border-top: 1px solid rgba(205, 164, 52, 0.2);
}

.history-section__watermark {
  position: absolute;
  right: clamp(-90px, -4vw, -34px);
  top: clamp(24px, 6vw, 84px);
  z-index: -1;
  width: clamp(260px, 26vw, 480px);
  height: auto;
  opacity: 0.045;
  filter: grayscale(1);
}

.history-section__inner {
  display: grid;
  gap: clamp(30px, 4vw, 56px);
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.history-section__header {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(26px, 4vw, 70px);
  align-items: end;
}

.history-section__header h2 {
  max-width: 880px;
  margin-bottom: 20px;
  font-family: var(--heading-font);
  font-size: clamp(2.8rem, 5.1vw, 5.9rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

.history-section__header p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 20px;
  color: rgba(245, 245, 245, 0.88);
  font-size: clamp(1.12rem, 1.5vw, 1.36rem);
  line-height: 1.48;
}

.history-timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: history;
}

.history-timeline__item {
  position: relative;
  min-height: 300px;
  padding: 24px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(5, 15, 27, 0.72);
  border: 1px solid rgba(205, 164, 52, 0.28);
  border-radius: 8px;
  counter-increment: history;
}

.history-timeline__item:not(:last-child) {
  margin-right: 16px;
}

.history-timeline__item::before {
  position: absolute;
  top: 50px;
  right: -18px;
  left: calc(24px + clamp(42px, 3.5vw, 58px));
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(245, 95, 57, 0.7));
  content: "";
}

.history-timeline__item:last-child::before {
  display: none;
}

.history-timeline__item--current {
  border-color: rgba(245, 95, 57, 0.74);
  box-shadow: inset 0 0 0 1px rgba(245, 95, 57, 0.18), 0 22px 42px rgba(0, 0, 0, 0.22);
}

.history-timeline__item--featured {
  background:
    radial-gradient(circle at 100% 0%, rgba(205, 164, 52, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    rgba(5, 15, 27, 0.82);
  border-color: rgba(205, 164, 52, 0.78);
}

.history-timeline__item--award {
  border-color: rgba(245, 95, 57, 0.54);
}

.history-timeline__icon {
  display: grid;
  place-items: center;
  width: clamp(42px, 3.5vw, 58px);
  height: clamp(42px, 3.5vw, 58px);
  margin-bottom: 20px;
  color: var(--gold-light);
  background: rgba(13, 27, 42, 0.9);
  border: 1px solid rgba(205, 164, 52, 0.55);
  border-radius: 50%;
}

.history-timeline__item--current .history-timeline__icon {
  color: var(--orange);
  border-color: rgba(245, 95, 57, 0.8);
}

.history-timeline__icon svg {
  width: 52%;
  height: 52%;
}

.history-timeline time {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-family: var(--heading-font);
  font-size: clamp(2.3rem, 3.4vw, 4rem);
  font-weight: 900;
  line-height: 0.9;
}

.history-timeline__item--current time {
  color: var(--orange);
}

.history-timeline h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 1.5vw, 1.95rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.history-timeline p {
  margin: 0;
  color: rgba(245, 245, 245, 0.84);
  font-size: 0.98rem;
  line-height: 1.45;
}

.history-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
  background:
    linear-gradient(90deg, rgba(5, 15, 27, 0.96), rgba(13, 27, 42, 0.84)),
    radial-gradient(circle at 92% 20%, rgba(205, 164, 52, 0.2), transparent 34%);
  border: 1px solid rgba(205, 164, 52, 0.48);
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.history-cta-card h3 {
  margin: 0 0 12px;
  font-family: var(--heading-font);
  font-size: clamp(2.1rem, 3.6vw, 4.2rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.history-cta-card p:not(.eyebrow) {
  max-width: 850px;
  margin: 0;
  color: rgba(245, 245, 245, 0.88);
  font-size: 1.04rem;
  line-height: 1.55;
}

.history-cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.history-page {
  overflow: hidden;
  background: var(--navy-900);
}

.fitness-page {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 95, 57, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(7, 19, 33, 1), rgba(13, 27, 42, 1));
}

.fitness-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 0.95fr);
  gap: clamp(32px, 5vw, 82px);
  align-items: center;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 116px) clamp(20px, 3.2vw, 56px);
}

.fitness-hero__copy {
  max-width: 760px;
}

.fitness-hero__copy h1 {
  margin: 18px 0 22px;
  font-size: clamp(3.3rem, 5.8vw, 7rem);
}

.fitness-hero__copy p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(245, 245, 245, 0.88);
  font-size: clamp(1.12rem, 1.45vw, 1.34rem);
  line-height: 1.55;
}

.fitness-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.fitness-hero__image img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(205, 164, 52, 0.42);
  border-radius: 8px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
  object-fit: cover;
}

.fitness-coming {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  width: min(100% - 40px, 1320px);
  margin: 0 auto clamp(54px, 8vw, 100px);
  padding: clamp(44px, 6vw, 72px) 0 0;
  border-top: 1px solid rgba(205, 164, 52, 0.2);
}

.fitness-coming h2 {
  margin-bottom: 18px;
  font-family: var(--heading-font);
  font-size: clamp(2.6rem, 4.8vw, 5.4rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.fitness-coming p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(245, 245, 245, 0.86);
  font-size: 1.06rem;
  line-height: 1.65;
}

.fitness-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fitness-list li {
  padding: 14px 16px;
  color: var(--light-grey);
  background: rgba(5, 15, 27, 0.72);
  border: 1px solid rgba(205, 164, 52, 0.28);
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.football-page {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(245, 95, 57, 0.18), transparent 28%),
    linear-gradient(180deg, var(--navy-900), var(--navy));
}

.football-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 0.9fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 118px) clamp(20px, 3.2vw, 56px);
}

.football-hero__copy {
  max-width: 830px;
}

.football-hero h1,
.football-section__header h2,
.football-girls h2,
.football-story h2,
.football-community h2,
.football-final-cta h2 {
  font-family: var(--heading-font);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.football-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(3.3rem, 5.8vw, 7.2rem);
}

.football-hero__copy p:not(.eyebrow),
.football-section__header p,
.football-girls p,
.football-story p,
.football-community p,
.football-final-cta p:not(.eyebrow) {
  color: rgba(245, 245, 245, 0.88);
  font-size: clamp(1.05rem, 1.25vw, 1.24rem);
  line-height: 1.58;
}

.football-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.football-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.football-proof li {
  padding: 14px 16px;
  color: var(--light-grey);
  background: rgba(5, 15, 27, 0.72);
  border: 1px solid rgba(205, 164, 52, 0.3);
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.football-hero__panel {
  position: relative;
  isolation: isolate;
}

.football-hero__image {
  width: 100%;
  height: auto;
  border: 1px solid rgba(205, 164, 52, 0.42);
  border-radius: 8px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
}

.football-hero__badge {
  position: absolute;
  right: clamp(14px, 2vw, 30px);
  bottom: clamp(14px, 2vw, 30px);
  z-index: 2;
  width: clamp(88px, 10vw, 150px);
  height: auto;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.football-enquiry,
.football-section,
.football-girls,
.football-story,
.football-community,
.football-final-cta {
  width: min(100% - 40px, 1320px);
  margin-right: auto;
  margin-left: auto;
}

.football-enquiry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(90deg, rgba(5, 15, 27, 0.96), rgba(13, 27, 42, 0.86)),
    radial-gradient(circle at 92% 18%, rgba(245, 95, 57, 0.18), transparent 34%);
  border: 1px solid rgba(205, 164, 52, 0.48);
  border-radius: 8px;
}

.football-enquiry h2 {
  margin: 0 0 10px;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 3.4vw, 4rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.football-enquiry p {
  max-width: 760px;
  margin: 0 0 10px;
  color: rgba(245, 245, 245, 0.88);
  line-height: 1.55;
}

.football-enquiry span {
  color: var(--gold-light);
  font-weight: 900;
}

.football-section,
.football-girls,
.football-story,
.football-community,
.football-final-cta {
  padding: clamp(54px, 8vw, 96px) 0;
  border-top: 1px solid rgba(205, 164, 52, 0.2);
}

.football-section__header {
  max-width: 920px;
  margin-bottom: 30px;
}

.football-section__header h2,
.football-girls h2,
.football-story h2,
.football-community h2,
.football-final-cta h2 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 4.8vw, 5.4rem);
}

.football-card-grid {
  display: grid;
  gap: 16px;
}

.football-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.football-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.football-pathway-card,
.football-benefit-card {
  min-height: 245px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(5, 15, 27, 0.72);
  border: 1px solid rgba(205, 164, 52, 0.26);
  border-radius: 8px;
}

.football-pathway-card {
  border-top: 5px solid var(--orange);
}

.football-pathway-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: var(--black);
  background: var(--gold-light);
  border-radius: 4px;
  font-weight: 900;
  text-transform: uppercase;
}

.football-pathway-card h3,
.football-benefit-card h3 {
  margin: 0 0 12px;
  font-family: var(--heading-font);
  font-size: clamp(1.45rem, 1.8vw, 2rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.football-pathway-card p,
.football-benefit-card p {
  color: rgba(245, 245, 245, 0.84);
  line-height: 1.5;
}

.football-pathway-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold-light);
  font-weight: 900;
  text-transform: uppercase;
}

.football-girls,
.football-story,
.football-community {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.football-girls {
  padding: clamp(32px, 5vw, 56px);
  background:
    linear-gradient(100deg, rgba(5, 15, 27, 0.97), rgba(245, 95, 57, 0.2)),
    var(--navy-800);
  border: 1px solid rgba(245, 95, 57, 0.38);
  border-radius: 8px;
}

.football-kit-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--orange) 0 48%, transparent 48%),
    repeating-linear-gradient(90deg, #060606 0 22px, var(--orange) 22px 46px);
  border: 1px solid rgba(205, 164, 52, 0.34);
  border-radius: 8px;
}

.football-kit-card::before {
  position: absolute;
  inset: 35% 0 34%;
  background: linear-gradient(180deg, var(--orange), rgba(245, 95, 57, 0));
  content: "";
}

.football-kit-card img {
  position: absolute;
  top: 58px;
  right: 48px;
  width: 90px;
  height: auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
}

.football-story__chips {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.football-story__chips li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: rgba(5, 15, 27, 0.72);
  border: 1px solid rgba(205, 164, 52, 0.28);
  border-radius: 8px;
}

.football-story__chips time {
  color: var(--gold-light);
  font-family: var(--heading-font);
  font-size: 1.7rem;
  font-weight: 900;
}

.football-story__chips span {
  font-weight: 900;
  text-transform: uppercase;
}

.football-community ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.football-community li {
  padding-left: 22px;
  color: var(--light-grey);
  font-weight: 900;
  text-transform: uppercase;
  border-left: 4px solid var(--orange);
}

.football-final-cta {
  max-width: 1320px;
  margin-bottom: clamp(54px, 8vw, 100px);
  padding: clamp(34px, 5vw, 58px);
  background:
    linear-gradient(90deg, rgba(5, 15, 27, 0.96), rgba(13, 27, 42, 0.84)),
    radial-gradient(circle at 90% 20%, rgba(245, 95, 57, 0.18), transparent 34%);
  border: 1px solid rgba(205, 164, 52, 0.48);
  border-radius: 8px;
}

.football-final-cta > p:not(.eyebrow) {
  max-width: 760px;
}

.football-note {
  margin: 22px 0 0;
  color: var(--gold-light);
  font-weight: 900;
}

.news-page {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 18%, rgba(205, 164, 52, 0.14), transparent 28%),
    linear-gradient(180deg, var(--navy-900), var(--navy));
}

.news-hero,
.news-list,
.article-page {
  width: min(100% - 40px, 1320px);
  margin-right: auto;
  margin-left: auto;
}

.committee-page .article-page {
  width: min(100% - 40px, var(--content-width));
}

.committee-page .article-header {
  max-width: 1320px;
}

.news-hero {
  padding: clamp(54px, 8vw, 116px) 0 clamp(38px, 6vw, 72px);
}

.news-hero h1,
.article-header h1 {
  max-width: 920px;
  margin: 0 0 22px;
  font-family: var(--heading-font);
  font-size: clamp(3.3rem, 5.8vw, 7.2rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.news-hero p:not(.eyebrow),
.article-header p {
  max-width: 760px;
  color: rgba(245, 245, 245, 0.88);
  font-size: clamp(1.12rem, 1.45vw, 1.34rem);
  line-height: 1.55;
}

.news-list {
  padding: 0 0 clamp(54px, 8vw, 100px);
}

.news-toolbar {
  display: grid;
  gap: 20px;
  width: min(100% - 40px, 1320px);
  margin: 0 auto 28px;
}

.news-search {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: rgba(5, 15, 27, 0.72);
  border: 1px solid rgba(205, 164, 52, 0.28);
  border-radius: 8px;
}

.news-search__label {
  color: var(--gold-light);
  font-weight: 900;
  text-transform: uppercase;
}

.news-search__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
}

.news-search__input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(205, 164, 52, 0.34);
  border-radius: 6px;
  font: inherit;
}

.news-search__input::placeholder {
  color: rgba(245, 245, 245, 0.5);
}

.news-search__button {
  width: auto;
}

.news-tags,
.news-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--light-grey);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(205, 164, 52, 0.28);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.news-tag:hover,
.news-tag:focus-visible,
.news-tag.is-active {
  color: var(--black);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.news-toolbar__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.news-toolbar__summary p {
  margin: 0;
  color: rgba(245, 245, 245, 0.82);
}

.news-list {
  display: grid;
  gap: 22px;
}

.news-list--featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.news-card {
  display: grid;
  grid-template-rows: auto 1fr;
  max-width: none;
  min-height: 100%;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(5, 15, 27, 0.72);
  border: 1px solid rgba(205, 164, 52, 0.32);
  border-radius: 8px;
}

.news-card--lead {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  grid-template-rows: 1fr;
  background:
    radial-gradient(circle at 94% 8%, rgba(245, 95, 57, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(5, 15, 27, 0.82);
  border-color: rgba(205, 164, 52, 0.58);
}

.news-card__media {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid rgba(205, 164, 52, 0.22);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.news-card--lead .news-card__media {
  order: 2;
  border-bottom: 0;
  border-left: 1px solid rgba(205, 164, 52, 0.22);
}

.news-card--lead .news-card__media img {
  min-height: 100%;
  aspect-ratio: auto;
}

.news-card__body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
}

.news-card--lead .news-card__body {
  align-content: center;
  min-height: clamp(360px, 32vw, 520px);
  padding: clamp(28px, 4vw, 48px);
}

.news-card time,
.article-header time {
  display: block;
  color: var(--gold-light);
  font-weight: 900;
  text-transform: uppercase;
}

.news-card h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.55rem, 2vw, 2.35rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.news-card--lead h2 {
  font-size: clamp(2.4rem, 4.6vw, 5.3rem);
  line-height: 0.94;
}

.news-card h2 a:hover,
.news-card h2 a:focus-visible {
  color: var(--gold-light);
}

.news-card p {
  max-width: 720px;
  margin: 0;
  color: rgba(245, 245, 245, 0.86);
  line-height: 1.55;
}

.news-card--empty {
  grid-template-columns: 1fr;
  grid-column: 1 / -1;
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  color: var(--light-grey);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(205, 164, 52, 0.28);
  border-radius: 6px;
  font-weight: 800;
}

.news-pagination .current,
.news-pagination .page-numbers:hover,
.news-pagination .page-numbers:focus-visible {
  color: var(--black);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.article-page {
  padding: clamp(54px, 8vw, 116px) 0 clamp(54px, 8vw, 100px);
}

.article-header {
  max-width: 980px;
  margin-bottom: clamp(28px, 5vw, 56px);
}

.article-tags {
  margin-top: 22px;
}

.article-body {
  max-width: 860px;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(5, 15, 27, 0.72);
  border: 1px solid rgba(205, 164, 52, 0.28);
  border-radius: 8px;
}

.article-figure--hero {
  margin-bottom: 26px;
}

.article-body p {
  margin: 0;
  color: rgba(245, 245, 245, 0.88);
  font-size: 1.08rem;
  line-height: 1.72;
}

.article-body p + p {
  margin-top: 20px;
}

.article-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 26px;
}

.article-figure {
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(205, 164, 52, 0.24);
  border-radius: 8px;
}

.article-figure img {
  width: 100%;
  height: auto;
}

.article-figure figcaption {
  padding: 12px 14px 14px;
  color: rgba(245, 245, 245, 0.76);
  font-size: 0.92rem;
  line-height: 1.5;
}

.article-highlight-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.article-highlight-list li {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(205, 164, 52, 0.24);
  border-radius: 8px;
  color: rgba(245, 245, 245, 0.88);
  line-height: 1.6;
}

.article-highlight-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-light);
  font-family: var(--heading-font);
  font-size: 1rem;
  text-transform: uppercase;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.history-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: center;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 118px) clamp(20px, 3.2vw, 56px);
  background:
    radial-gradient(circle at 10% 20%, rgba(245, 95, 57, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(7, 19, 33, 1), rgba(13, 27, 42, 0.95));
}

.history-hero h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 6vw, 7.2rem);
}

.history-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(245, 245, 245, 0.88);
  font-size: clamp(1.12rem, 1.45vw, 1.36rem);
  line-height: 1.55;
}

.history-hero__image img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(205, 164, 52, 0.46);
  border-radius: 8px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
  filter: sepia(0.08) contrast(1.04);
}

.history-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(100% - 40px, 1320px);
  margin: 0 auto;
  padding: clamp(50px, 7vw, 92px) 0;
  border-top: 1px solid rgba(205, 164, 52, 0.2);
}

.history-detail--reverse {
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
}

.history-detail--reverse .history-detail__copy {
  order: 2;
}

.history-detail__copy h2,
.history-chapters h2,
.history-full-timeline h2,
.history-page-cta h2 {
  margin-bottom: 18px;
  font-family: var(--heading-font);
  font-size: clamp(2.6rem, 4.8vw, 5.4rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.history-detail__copy p:not(.eyebrow),
.history-page-cta p:not(.eyebrow) {
  max-width: 820px;
  color: rgba(245, 245, 245, 0.86);
  font-size: 1.06rem;
  line-height: 1.65;
}

.heritage-card {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(5, 15, 27, 0.72);
  border: 1px solid rgba(205, 164, 52, 0.32);
  border-radius: 8px;
}

.heritage-card img {
  width: min(150px, 44vw);
  height: auto;
  margin-bottom: 22px;
  background: rgba(245, 245, 245, 0.95);
  border-radius: 8px;
}

.heritage-card--football img {
  background: transparent;
}

.heritage-card h3 {
  margin: 0 0 12px;
  font-family: var(--heading-font);
  font-size: clamp(1.7rem, 2.2vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.heritage-card p {
  margin: 0;
  color: rgba(245, 245, 245, 0.84);
  line-height: 1.5;
}

.history-chapters {
  width: min(100% - 40px, 1320px);
  margin: 0 auto;
  padding: clamp(50px, 7vw, 92px) 0;
  border-top: 1px solid rgba(205, 164, 52, 0.2);
}

.history-chapters header {
  max-width: 900px;
  margin-bottom: 30px;
}

.history-chapters header p:not(.eyebrow) {
  max-width: 820px;
  color: rgba(245, 245, 245, 0.86);
  font-size: 1.06rem;
  line-height: 1.65;
}

.history-chapters__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.history-chapters article {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(5, 15, 27, 0.72);
  border: 1px solid rgba(205, 164, 52, 0.26);
  border-radius: 8px;
}

.history-chapters article::before {
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-light), rgba(245, 95, 57, 0.84));
  content: "";
}

.history-chapters time {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-light);
  font-family: var(--heading-font);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
}

.history-chapters h3 {
  margin: 0 0 12px;
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 1.5vw, 1.72rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.history-chapters p {
  margin: 0;
  color: rgba(245, 245, 245, 0.84);
  line-height: 1.5;
}

.history-award-image {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  border: 1px solid rgba(205, 164, 52, 0.24);
  border-radius: 8px;
}

.history-chapter-award {
  grid-column: span 2;
  min-height: 0;
}

.history-chapter-award .history-award-image {
  aspect-ratio: 438 / 246;
  object-fit: cover;
}

.history-chapters--football article {
  border-color: rgba(245, 95, 57, 0.28);
}

.history-chapters--football article::before {
  background: linear-gradient(90deg, var(--orange), rgba(240, 199, 90, 0.9));
}

.history-chapters--football time {
  color: var(--orange);
}

.history-chapters--football .history-chapter-award {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.95fr);
  gap: 18px 22px;
  align-items: start;
}

.history-chapters--football .history-chapter-award time,
.history-chapters--football .history-chapter-award h3 {
  grid-column: 1;
}

.history-chapters--football .history-chapter-award .history-award-image {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 0;
}

.history-chapters--football .history-chapter-award p {
  grid-column: 1;
}

.history-full-timeline {
  width: min(100% - 40px, 1320px);
  margin: 0 auto;
  padding: clamp(50px, 7vw, 92px) 0;
  border-top: 1px solid rgba(205, 164, 52, 0.2);
}

.history-full-timeline header {
  max-width: 850px;
  margin-bottom: 30px;
}

.history-full-timeline ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-full-timeline li {
  min-height: 220px;
  padding: 22px;
  background: rgba(5, 15, 27, 0.72);
  border: 1px solid rgba(205, 164, 52, 0.26);
  border-radius: 8px;
}

.history-full-timeline time {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-family: var(--heading-font);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.history-full-timeline h3 {
  margin: 0 0 10px;
  font-family: var(--heading-font);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.history-full-timeline p {
  margin: 0;
  color: rgba(245, 245, 245, 0.84);
  line-height: 1.45;
}

.history-page-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  width: min(100% - 40px, 1320px);
  margin: 0 auto clamp(54px, 8vw, 100px);
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(90deg, rgba(5, 15, 27, 0.96), rgba(13, 27, 42, 0.84)),
    radial-gradient(circle at 92% 20%, rgba(245, 95, 57, 0.18), transparent 34%);
  border: 1px solid rgba(205, 164, 52, 0.48);
  border-radius: 8px;
}

@media (max-width: 1280px) {
  :root {
    --header-height: 88px;
  }

  .aom-site-header {
    grid-template-columns: auto auto 1fr;
  }

  .aom-primary-nav {
    order: 3;
    justify-self: end;
  }

  .aom-menu-toggle {
    display: flex;
  }

  .aom-primary-nav__list {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    display: grid;
    width: min(360px, calc(100vw - 36px));
    gap: 0;
    padding: 12px;
    background: rgba(5, 15, 27, 0.98);
    border: 1px solid rgba(205, 164, 52, 0.32);
    border-radius: 8px;
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .aom-primary-nav__list.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .aom-primary-nav__list a {
    min-height: 48px;
    padding: 0 12px;
  }

  .aom-primary-nav__list a::after {
    left: 12px;
    width: 44px;
  }

  .aom-sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .aom-sub-menu a {
    min-height: 42px;
    color: rgba(245, 245, 245, 0.82);
    font-size: 0.82rem;
  }

  .aom-header-cta {
    justify-self: end;
    min-width: 230px;
  }

  .feature-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: -138px;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-card__inner {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .feature-card__badge,
  .feature-card__icon {
    align-self: start;
  }

  .history-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .history-timeline__item:not(:last-child) {
    margin-right: 0;
  }

  .history-timeline__item::before {
    display: none;
  }

  .history-timeline__item--current {
    grid-column: 1 / -1;
  }

  .fitness-hero,
  .football-hero,
  .history-hero,
  .history-chapters__grid,
  .history-full-timeline ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-chapter-award {
    grid-column: 1 / -1;
  }

  .history-chapters--football .history-chapter-award {
    grid-template-columns: 1fr;
  }

  .history-chapters--football .history-chapter-award .history-award-image,
  .history-chapters--football .history-chapter-award p,
  .history-chapters--football .history-chapter-award time,
  .history-chapters--football .history-chapter-award h3 {
    grid-column: auto;
    grid-row: auto;
  }

  .history-chapters--football .history-chapter-award .history-award-image {
    margin: 0 0 14px;
  }

  .football-card-grid--four,
  .football-card-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 820px) {
  :root {
    --header-height: 142px;
  }

  .aom-site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand brand"
      "cta menu";
    gap: 12px;
    padding: 12px 16px 14px;
  }

  .aom-brand {
    grid-area: brand;
    gap: 10px;
  }

  .aom-brand__mark {
    width: clamp(58px, 13vw, 72px);
  }

  .aom-brand__text {
    max-width: none;
    font-size: clamp(1rem, 4.2vw, 1.35rem);
    line-height: 0.92;
  }

  .aom-primary-nav {
    grid-area: menu;
    order: initial;
    justify-self: end;
    align-self: stretch;
    width: auto;
  }

  .aom-header-cta {
    grid-area: cta;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0 14px;
    font-size: 0.82rem;
    justify-content: center;
    gap: 10px;
  }

  .aom-header-cta span {
    white-space: normal;
    text-align: center;
  }

  .aom-menu-toggle {
    width: 52px;
    height: 52px;
    justify-self: end;
  }

  .aom-primary-nav__list {
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    width: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero__background {
    background-position: 68% center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(5, 15, 27, 0.76) 0%, rgba(5, 15, 27, 0.88) 42%, rgba(5, 15, 27, 0.98) 100%),
      linear-gradient(90deg, rgba(5, 15, 27, 0.9), rgba(5, 15, 27, 0.34));
  }

  .hero__content {
    padding: 34px 20px 56px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 10.8vw, 4.4rem);
    line-height: 0.92;
  }

  .hero__actions {
    display: grid;
    gap: 14px;
    max-width: 100%;
  }

  .button {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
  }

  .hero__intro {
    max-width: 100%;
    font-size: 1rem;
  }

  .fitness-hero__copy h1,
  .football-hero h1,
  .history-hero h1,
  .news-hero h1,
  .article-header h1 {
    font-size: clamp(2.45rem, 10.8vw, 4.4rem);
    line-height: 0.92;
  }

  .fitness-coming h2,
  .football-section__header h2,
  .football-enquiry h2,
  .football-girls h2,
  .football-story h2,
  .football-community h2,
  .football-final-cta h2,
  .news-card h2,
  .history-detail__copy h2,
  .history-chapters h2,
  .history-full-timeline h2,
  .history-page-cta h2 {
    font-size: clamp(2rem, 7vw, 3.1rem);
    line-height: 0.98;
  }

  .news-hero,
  .news-toolbar,
  .news-list,
  .article-page {
    width: calc(100% - 32px);
  }

  .news-hero {
    padding-top: 40px;
  }

  .article-page {
    padding-top: 40px;
  }

  .article-body,
  .news-card {
    padding: 22px;
  }

  .news-search__controls,
  .news-card {
    grid-template-columns: 1fr;
  }

  .news-list--featured {
    grid-template-columns: 1fr;
  }

  .news-card--lead {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .news-card--lead .news-card__media {
    order: initial;
    border-left: 0;
    border-bottom: 1px solid rgba(205, 164, 52, 0.22);
  }

  .news-card--lead .news-card__media img {
    aspect-ratio: 16 / 10;
  }

  .news-card--lead .news-card__body {
    min-height: 0;
  }

  .article-media-grid {
    grid-template-columns: 1fr;
  }

  .fitness-hero__image img,
  .football-hero__image,
  .history-hero__image img {
    aspect-ratio: 16 / 10;
  }

  .trust-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .trust-list li:not(:last-child) {
    padding-right: 0;
    border-right: 0;
  }

  .feature-panel {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    margin-top: 0;
  }

  .feature-card--events {
    grid-column: auto;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-card__media {
    height: 168px;
  }

  .feature-card::after {
    background: linear-gradient(90deg, rgba(6, 18, 31, 0.98) 0%, rgba(6, 18, 31, 0.86) 100%);
  }

  .value-strip {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    margin-top: 14px;
  }

  .value-strip div {
    justify-content: flex-start;
    text-align: left;
  }

  .value-strip div:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(205, 164, 52, 0.26);
  }

  .history-section__header,
  .history-cta-card {
    grid-template-columns: 1fr;
  }

  .history-section__header h2 {
    max-width: 680px;
  }

  .history-cta-card__actions {
    justify-content: flex-start;
  }

  .fitness-hero,
  .fitness-coming,
  .football-hero,
  .football-enquiry,
  .football-girls,
  .football-story,
  .football-community,
  .history-hero,
  .history-detail,
  .history-detail--reverse,
  .history-page-cta {
    grid-template-columns: 1fr;
  }

  .history-detail--reverse .history-detail__copy {
    order: 0;
  }

  .fitness-hero,
  .football-hero,
  .history-hero {
    padding-top: 46px;
  }

  .football-enquiry {
    align-items: start;
  }

  .history-chapters__grid,
  .history-full-timeline ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  :root {
    --header-height: 132px;
  }

  .aom-site-header {
    gap: 10px 12px;
    padding: 10px 14px 12px;
  }

  .aom-brand__mark {
    width: 56px;
  }

  .aom-brand__text {
    max-width: 210px;
    font-size: 0.92rem;
  }

  .aom-header-cta {
    min-height: 48px;
    padding: 0 10px;
    font-size: 0.72rem;
    gap: 8px;
  }

  .aom-header-cta svg {
    width: 21px;
    height: 21px;
  }

  .aom-menu-toggle {
    width: 46px;
    height: 46px;
  }

  .aom-primary-nav__list {
    right: 10px;
    left: 10px;
  }

  .eyebrow {
    max-width: 280px;
    margin-bottom: 12px;
    font-size: 0.8rem;
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.35rem);
  }

  .hero__content {
    padding: 28px 14px 44px;
  }

  .button {
    min-height: 50px;
    font-size: 0.84rem;
  }

  .fitness-hero__copy h1,
  .football-hero h1,
  .history-hero h1,
  .news-hero h1,
  .article-header h1 {
    font-size: clamp(2.1rem, 11vw, 3.3rem);
  }

  .fitness-coming h2,
  .football-section__header h2,
  .football-enquiry h2,
  .football-girls h2,
  .football-story h2,
  .football-community h2,
  .football-final-cta h2,
  .news-card h2,
  .history-detail__copy h2,
  .history-chapters h2,
  .history-full-timeline h2,
  .history-page-cta h2 {
    font-size: clamp(1.7rem, 9vw, 2.45rem);
    line-height: 1;
  }

  .news-hero,
  .news-toolbar,
  .news-list,
  .article-page,
  .fitness-hero,
  .fitness-coming,
  .football-hero,
  .football-enquiry,
  .football-section,
  .football-girls,
  .football-story,
  .football-community,
  .football-final-cta,
  .history-hero,
  .history-detail,
  .history-chapters,
  .history-full-timeline,
  .history-page-cta {
    width: calc(100% - 24px);
  }

  .news-card,
  .article-body {
    padding: 18px;
  }

  .news-search {
    padding: 18px;
  }

  .article-media-grid {
    gap: 16px;
    margin-bottom: 22px;
  }

  .fitness-hero__actions,
  .football-actions,
  .article-actions {
    display: grid;
  }

  .history-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .history-section__watermark {
    right: -96px;
    width: 240px;
  }

  .history-timeline {
    grid-template-columns: 1fr;
  }

  .history-timeline__item,
  .history-timeline__item--current {
    grid-column: auto;
    min-height: 0;
  }

  .history-timeline__item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 16px;
    padding: 20px;
  }

  .history-timeline__icon {
    grid-row: 1 / span 3;
    margin-bottom: 0;
  }

  .history-timeline time {
    margin-bottom: 8px;
  }

  .history-cta-card__actions {
    display: grid;
  }

  .fitness-hero,
  .football-hero,
  .history-hero {
    padding-right: 0;
    padding-left: 0;
  }

  .football-proof,
  .football-card-grid--four,
  .football-card-grid--three {
    grid-template-columns: 1fr;
  }

  .football-actions {
    display: grid;
  }

  .football-girls,
  .football-final-cta {
    padding-right: 20px;
    padding-left: 20px;
  }

  .football-kit-card {
    min-height: 300px;
  }

  .history-chapters__grid,
  .history-full-timeline ol {
    grid-template-columns: 1fr;
  }

  .history-page-cta .history-cta-card__actions {
    display: grid;
  }
}

