/* association.css */
/* ==========================================================================
   Association, Clubs, Careers/Contact/Apply and Utility pages
   ========================================================================== */

/* About: regions */
.about-regions-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 60% 80% at 90% 10%, rgba(10, 106, 112, 0.6), transparent 60%), linear-gradient(120deg, var(--teal-900), var(--teal-800));
}
.about-regions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.about-region {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.45s var(--ease), background-color 0.3s;
}
.about-region:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
}
.about-region__icon {
  width: 40px;
  height: 40px;
  color: var(--yellow);
  margin-bottom: 14px;
}
.about-region h3 {
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.3rem;
}
.about-region p {
  color: #cfe0e0;
  font-size: 0.93rem;
}
.about-region__count {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 196, 0, 0.16);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
}
.about-governance {
  align-items: center;
}
.about-links {
  list-style: none;
  display: grid;
  gap: 10px;
}
.about-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--cream);
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-left: 4px solid transparent;
  transition: border-color 0.3s, transform 0.35s var(--ease), background-color 0.3s;
}
.about-links a:hover {
  border-left-color: var(--yellow);
  background: var(--white);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}
.about-links .icon {
  color: var(--red);
}
.history-callout .icon {
  width: 36px;
  height: 36px;
  color: var(--red);
  margin-bottom: 10px;
}

/* Vision & mission */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.vm-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.5vw, 44px);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}
.vm-card h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
}
.vm-card__icon {
  width: 52px;
  height: 52px;
  color: var(--red);
  margin-bottom: 18px;
}
.vm-card--vision {
  background: linear-gradient(140deg, var(--teal-800), var(--teal-900));
  color: #dbe9e9;
}
.vm-card--vision h2 {
  color: var(--white);
}
.vm-card--vision .vm-card__icon {
  color: var(--yellow);
}
.vm-card--vision p:last-child {
  font-size: 1.1rem;
}
.vm-card::after {
  content: '';
  position: absolute;
  right: 28px;
  bottom: -20px;
  width: 22px;
  height: 120px;
  background: var(--yellow);
  transform: skewX(-28deg);
  opacity: 0.9;
}

/* Committee & office */
.committee-group + .committee-group {
  margin-top: clamp(32px, 4vw, 52px);
}
.committee-group .person-card .person-card__name:last-child {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--ink-2);
}
.committee-table td,
.committee-table th {
  white-space: normal;
}
.committee-table tbody th {
  color: var(--navy);
  min-width: 200px;
}
.office-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.office-item {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--teal-700);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.office-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-top-color: var(--yellow);
}
.office-item__dept {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.office-item h3 {
  margin: 6px 0;
  font-size: 1.1rem;
}
.office-item p {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.office-item__name {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted) !important;
}
.office-item__name .icon {
  width: 16px;
  height: 16px;
}

/* Annual reports */
.report-feature {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  margin-bottom: clamp(32px, 4vw, 52px);
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}
.report-feature__cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3 / 4;
  padding: 20px;
  border-radius: 10px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(160deg, var(--teal-700), var(--teal-900));
  box-shadow: 10px 12px 0 var(--yellow);
  transition: transform 0.5s var(--ease);
}
.report-feature:hover .report-feature__cover {
  transform: rotate(-2deg) translateY(-4px);
}
.report-feature__brand {
  position: absolute;
  top: 18px;
  left: 20px;
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--yellow);
}
.report-feature__title {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
}
.report-feature__season {
  margin-top: 8px;
  font-weight: 700;
  color: #cfe0e0;
}

/* Clubs listing */
.clubs-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.clubs-toolbar .filter-bar {
  margin-bottom: 20px;
}
.clubs-toolbar__count {
  margin: 0 0 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

/* Club profile */
.club-hero__inner {
  grid-template-columns: minmax(0, 1fr) auto;
}
.club-hero__crest {
  padding: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 70%);
}
.club-hero__crest .crest {
  width: clamp(120px, 16vw, 200px);
  height: auto;
  animation: crestFloat 6s ease-in-out infinite;
}
@keyframes crestFloat {
  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
}
.club-hero__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.club-hero__tags li {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
  font-weight: 700;
}
.honours {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.honours li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  color: var(--navy);
}
.honours .icon {
  width: 28px;
  height: 28px;
  color: var(--yellow-600);
}
.club-info li {
  grid-template-columns: 120px minmax(0, 1fr);
}
.club-colours {
  display: inline-flex;
  gap: 6px;
}

/* Recognition */
.recognition-standards {
  gap: 14px;
}
.recognition-standard {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--cream);
}
.recognition-standard > .icon {
  width: 32px;
  height: 32px;
  flex: none;
  color: var(--red);
}
.recognition-standard h3 {
  margin: 0 0 2px;
  font-size: 1rem;
}
.recognition-standard p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* Careers */
.job-list {
  list-style: none;
  display: grid;
  gap: 16px;
}
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--yellow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.job-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}
.job-card__dept {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.job-card__title {
  margin: 4px 0 6px;
  font-size: 1.25rem;
}
.job-card__title a {
  text-decoration: none;
}
.job-card__title a:hover {
  color: var(--teal-700);
  text-decoration: underline;
}
.job-card p {
  margin: 0 0 10px;
  color: var(--ink-2);
}
.job-card__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.86rem;
  color: var(--ink-2);
}
.job-card__facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.job-card__facts .icon {
  width: 16px;
  height: 16px;
  color: var(--teal-700);
}
.job-card .btn {
  flex: none;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  margin-bottom: 24px;
}
.contact-details {
  display: grid;
  gap: 20px;
}
.contact-details__card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--yellow);
}
.contact-details__card .h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.contact-details__card a {
  color: var(--teal-700);
  font-weight: 600;
}
.social-list--dark a {
  background: var(--cream);
  color: var(--navy);
}
.contact-details .map-card {
  background: repeating-linear-gradient(45deg, rgba(0, 63, 70, 0.04) 0 12px, transparent 12px 24px), linear-gradient(140deg, #dfe9e6, #cfdcd8);
  min-height: 240px;
}
.contact-details .map-card p {
  margin: 0 0 6px;
}

/* Apply */
.apply-card .feature-card__icon {
  background: var(--teal-800);
  color: var(--yellow);
}
.apply-card:hover .feature-card__icon {
  background: var(--yellow);
  color: var(--navy);
}
.apply-next {
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
  color: var(--ink-2);
}

/* Legal */
.legal-toc a {
  font-size: 0.88rem;
}
.legal-prose h2 {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* Sitemap */
.sitemap-grid {
  columns: 4 240px;
  column-gap: 24px;
}
.sitemap-group {
  break-inside: avoid;
  margin-bottom: 24px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.sitemap-group__title {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--yellow);
  font-style: italic;
  font-weight: 900;
  font-size: 1.05rem;
  text-transform: uppercase;
}
.sitemap-group ul {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}
.sitemap-group a {
  color: var(--ink-2);
  text-decoration: none;
}
.sitemap-group a:hover {
  color: var(--teal-700);
  text-decoration: underline;
}

/* Credits */
.credits-table td,
.credits-table th {
  white-space: normal;
  vertical-align: middle;
}
.credits-table a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--teal-700);
  font-weight: 600;
}
.credits-table .icon {
  width: 14px;
  height: 14px;
}
.credits-thumb {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}
.credits-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.credits-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
}
.credits-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.credits-card p {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.82rem;
  color: var(--ink-2);
}
.credits-card code {
  font-size: 0.72rem;
  word-break: break-all;
}

/* Search page */
.search-page {
  max-width: 820px;
  margin-inline: auto;
}
.search-page__form {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
}
.search-page__icon {
  position: absolute;
  left: 16px;
  width: 22px;
  height: 22px;
  color: var(--teal-700);
  pointer-events: none;
}
.search-page__form .input {
  flex: 1;
  min-width: 0;
  min-height: 56px;
  padding-left: 48px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}
.search-page__form .btn {
  min-height: 56px;
}
.search-page__status {
  margin: 16px 0 10px;
  font-weight: 600;
  color: var(--muted);
}
.search-page__results {
  display: grid;
  gap: 8px;
}
.search-page__results .search-result {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 16px 20px;
}

/* 404 */
.not-found {
  padding-block: clamp(56px, 8vw, 110px);
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255, 196, 0, 0.18), transparent 70%);
  text-align: center;
}
.not-found__inner {
  max-width: 820px;
}
.not-found__code {
  margin: 0;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(6rem, 18vw, 11rem);
  line-height: 0.9;
  color: var(--teal-800);
  text-shadow: 8px 8px 0 var(--yellow);
}
.not-found__title {
  margin: 12px 0;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.not-found__search {
  margin: 28px auto;
  max-width: 600px;
}
.not-found__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.not-found__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.not-found__links a:hover {
  transform: translateY(-3px);
  background: var(--yellow);
}
.not-found__links .icon {
  width: 18px;
  height: 18px;
}
.not-found .btn-row {
  justify-content: center;
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .about-regions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1023px) {
  .vm-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .club-hero__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
@media (max-width: 767px) {
  .about-regions,
  .office-list {
    grid-template-columns: 1fr;
  }
  .report-feature {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .report-feature__cover {
    width: 160px;
  }
  .club-hero__inner {
    grid-template-columns: 1fr;
  }
  .club-hero__crest {
    order: -1;
    justify-self: start;
    padding: 0;
  }
  .club-hero__crest .crest {
    width: 110px;
  }
  .job-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .search-page__form {
    flex-wrap: wrap;
  }
  .search-page__form .btn {
    width: 100%;
  }
  .search-page__icon {
    top: 17px;
  }
  .credits-table .credits-thumb {
    width: 64px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .club-hero__crest .crest {
    animation: none;
  }
}

/* competitions.css */
/* ==========================================================================
   Competitions & Events page group
   ========================================================================== */

/* Competition cards ------------------------------------------------------- */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.comp-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.comp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.comp-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 8;
  overflow: hidden;
}
.comp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.comp-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 46, 51, 0.6));
}
.comp-card:hover .comp-card__media img {
  transform: scale(1.08);
}
.comp-card__status {
  position: absolute;
  z-index: 1;
  left: 14px;
  top: 14px;
  box-shadow: var(--shadow-sm);
}
.comp-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px 22px 22px;
}
.comp-card__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--navy);
  flex: none;
}
.comp-card__body > .comp-card__icon {
  position: absolute;
  top: -26px;
  right: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease);
}
.comp-card:hover .comp-card__body > .comp-card__icon {
  transform: rotate(-8deg) scale(1.06);
}
.comp-card__icon .icon {
  width: 26px;
  height: 26px;
}
.comp-card__meta {
  margin: 0 0 6px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.comp-card__title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.comp-card__title a {
  text-decoration: none;
}
.comp-card__title a:hover {
  color: var(--teal-700);
  text-decoration: underline;
}
.comp-card__summary {
  color: var(--ink-2);
  font-size: 0.93rem;
  flex: 1;
}
.comp-card__format {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-2);
}
.comp-card__format .icon {
  width: 18px;
  height: 18px;
  color: var(--teal-700);
}

/* Overview split: results + mini table ----------------------------------- */
.comp-split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
.match-rows {
  list-style: none;
  display: grid;
  gap: 10px;
}
.match-row__link {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto minmax(0, 1fr) 96px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.section--white .match-row__link {
  background: var(--cream);
  border-color: transparent;
}
.match-row__link:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
  border-color: var(--yellow);
}
.match-row__comp {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.match-row__team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.match-row__team--home {
  justify-content: flex-end;
  text-align: right;
}
.match-row__team .crest {
  filter: none;
}
.match-row__score {
  min-width: 64px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--teal-800);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  text-align: center;
}
.match-row__score--ko {
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.85rem;
}
.match-row__date {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
}
.mini-table {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--cream);
}
.mini-table__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.mini-table__head h2 {
  margin: 0;
  font-style: italic;
  font-weight: 900;
  font-size: 1.15rem;
  text-transform: uppercase;
}
.mini-table .table th,
.mini-table .table td {
  padding: 9px 8px;
}
.mini-table__note {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.info-block {
  height: 100%;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--yellow);
}
.info-block h3 {
  font-size: 1.1rem;
}
.info-block p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.94rem;
}

/* Tournaments ------------------------------------------------------------ */
.tour-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
}
.tour-group__title span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--yellow);
  font-style: normal;
  font-size: 0.85rem;
}
.tour-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  margin-bottom: 20px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.tour-row:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.tour-row--alt .tour-row__media {
  order: 2;
}
.tour-row__media {
  display: block;
  min-height: 260px;
  overflow: hidden;
}
.tour-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.tour-row:hover .tour-row__media img {
  transform: scale(1.06);
}
.tour-row__body {
  padding: clamp(20px, 2.6vw, 34px);
}
.tour-row__title {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}
.tour-row__title a {
  text-decoration: none;
}
.tour-row__title a:hover {
  text-decoration: underline;
}
.tour-row__body > p {
  color: var(--ink-2);
}
.tour-row__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0;
}
.tour-row__facts div {
  padding-left: 12px;
  border-left: 3px solid var(--yellow);
}
.tour-row__facts dt {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tour-row__facts dd {
  margin: 2px 0 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

/* Date-grouped listings -------------------------------------------------- */
.date-groups {
  display: grid;
  gap: clamp(28px, 3vw, 40px);
}
.date-group {
  scroll-margin-top: calc(var(--header-h) + 70px);
}
.date-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: 1.15rem;
  text-transform: uppercase;
}
.date-group__title .icon {
  color: var(--red);
  width: 22px;
  height: 22px;
}
.date-group__count {
  margin-left: auto;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: none;
  color: var(--muted);
}
.match-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.result-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.result-stats li {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--teal-800), var(--teal-900));
  color: #d4e3e3;
  font-size: 0.85rem;
}
.result-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--yellow);
}
.result-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-weight: 600;
}
.result-highlight .icon {
  color: var(--yellow-600);
}
.result-highlight a {
  color: var(--teal-700);
}

/* Standings -------------------------------------------------------------- */
.standings-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  margin-bottom: 16px;
}
.standings-head h2 {
  margin-bottom: 2px;
}
.standings-head small {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
}
.standings-head__leader {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  color: var(--navy);
}
.standings-head__leader small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.standings__plain {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
}
.standings-foot {
  margin: 16px 0 0;
}
.legend-card {
  margin-top: 28px;
}
.table-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 14px 0;
  font-size: 0.85rem;
  color: var(--ink-2);
}
.table-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.table-legend abbr {
  font-weight: 800;
  color: var(--navy);
}
.table-legend__swatch {
  width: 6px;
  height: 18px;
  background: var(--yellow);
  border-radius: 2px;
}

/* Participating clubs ---------------------------------------------------- */
.participants {
  scroll-margin-top: calc(var(--header-h) + 70px);
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.participants__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.participants__head h2 {
  margin: 0 0 2px;
}
.participants__head h2 a {
  text-decoration: none;
}
.participants__head h2 a:hover {
  text-decoration: underline;
}
.participants__head .meta {
  margin: 0;
}
.participants__count {
  margin-left: auto;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: var(--red);
  text-align: center;
}
.participants__count small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}
.participants__empty {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--yellow-50);
  color: var(--ink-2);
}
.participants__empty .icon {
  color: #946c00;
  margin-top: 3px;
}
.participants__empty a {
  color: var(--teal-700);
  font-weight: 700;
}
.club-tiles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.club-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 16px 10px;
  border-radius: var(--radius);
  background: var(--cream);
  text-align: center;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s;
}
a.club-tile:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: var(--shadow);
}
.club-tile .crest {
  transition: transform 0.5s var(--ease);
}
a.club-tile:hover .crest {
  transform: rotate(-6deg) scale(1.08);
}
.club-tile__name {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.25;
}
.club-tile__meta {
  font-size: 0.76rem;
  color: var(--muted);
}

/* Past winners ----------------------------------------------------------- */
.honours-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.champion-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--radius-xl);
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255, 196, 0, 0.25), transparent 60%), linear-gradient(140deg, var(--teal-800), var(--teal-900));
  color: #d9e8e8;
}
.champion-card::after {
  content: '';
  position: absolute;
  right: 28px;
  bottom: -20px;
  width: 22px;
  height: 140px;
  background: var(--yellow);
  transform: skewX(-28deg);
}
.champion-card h2 {
  margin: 6px 0 0;
  color: var(--white);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}
.champion-card p {
  margin: 0 0 8px;
}
.honours-leaders {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.leader-list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.leader-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--cream);
}
.leader-list__pos {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--red);
  width: 22px;
}
.leader-list__name {
  flex: 1;
  font-weight: 800;
  color: var(--navy);
}
.leader-list__name a {
  text-decoration: none;
}
.leader-list__name a:hover {
  text-decoration: underline;
}
.leader-list strong {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--navy);
}
.leader-list .crest {
  filter: none;
}
.honours-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.honours__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
}
.honours__title .icon {
  color: var(--red);
}
.honours__title a {
  text-decoration: none;
}
.honours__title a:hover {
  text-decoration: underline;
}
.honours__winner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.honours__winner .crest {
  filter: none;
}
.honours .table a,
.leader-list a {
  color: var(--navy);
}

/* Competition detail ----------------------------------------------------- */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  min-width: 300px;
}
.hero-facts div {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}
.hero-facts dt {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}
.hero-facts dd {
  margin: 2px 0 0;
  font-weight: 700;
  color: var(--white);
}
.info-list--plain {
  box-shadow: none;
  background: transparent;
  border-radius: 0;
  margin-bottom: 8px;
}
.info-list--plain li {
  grid-template-columns: 110px minmax(0, 1fr);
  padding: 10px 0;
  font-size: 0.9rem;
}
.info-list--plain a {
  color: var(--teal-700);
  font-weight: 600;
}
.winner-mini {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.winner-mini li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.winner-mini span {
  width: 64px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.8rem;
}
.winner-mini .crest {
  filter: none;
}
.tab-more {
  margin: 18px 0 0;
}
.empty-state .icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  color: var(--teal-700);
}
.empty-state p {
  margin: 0;
}
.card--links {
  display: grid;
  gap: 12px;
}

/* Match centre ----------------------------------------------------------- */
.scoreboard {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(28px, 4vw, 52px) 0 clamp(28px, 4vw, 44px);
  color: var(--white);
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(10, 106, 112, 0.6), transparent 70%), linear-gradient(110deg, var(--teal-900), var(--teal-800) 50%, var(--teal-900));
}
.scoreboard::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 45%;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 70px, transparent 70px 140px);
}
.scoreboard__bg {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  height: 60%;
  width: auto;
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.scoreboard__comp {
  margin: 0 0 18px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bcd3d3;
}
.scoreboard__comp a {
  color: var(--yellow);
  text-decoration: none;
}
.scoreboard__comp a:hover {
  text-decoration: underline;
}
.scoreboard__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 4vw, 56px);
  max-width: 920px;
  margin: 0 auto;
}
.scoreboard__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  line-height: 1.15;
}
.scoreboard__team a {
  color: var(--white);
  text-decoration: none;
}
.scoreboard__team a:hover {
  color: var(--yellow);
}
.scoreboard__team small {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a9c1c1;
}
.scoreboard__score {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}
.scoreboard__score > span {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
}
.scoreboard__sep {
  color: var(--yellow);
}
.scoreboard__score--ko > span {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--yellow);
}
.scoreboard__score small {
  flex-basis: 100%;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bcd3d3;
}
.scoreboard__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 26px;
  font-size: 0.92rem;
  color: #d9e8e8;
}
.scoreboard__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.scoreboard__facts .icon {
  width: 18px;
  height: 18px;
  color: var(--yellow);
}
.scoreboard__status {
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scoreboard__status--result {
  background: var(--white);
  color: var(--navy);
}
.scoreboard__status--upcoming {
  background: var(--yellow);
  color: var(--navy);
}
.scoreboard .breadcrumbs ol {
  justify-content: center;
}
.js .scoreboard [data-hero-anim] {
  animation: heroIn 0.9s var(--ease) both;
}
.js .scoreboard .scoreboard__main {
  animation-delay: 0.12s;
}
.js .scoreboard .scoreboard__facts {
  animation-delay: 0.24s;
}
.form-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-block {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.form-block div {
  display: grid;
  gap: 4px;
}
.form-block strong {
  color: var(--navy);
}
.form-block span {
  font-size: 0.85rem;
  color: var(--muted);
}
.form-block .crest {
  filter: none;
}

/* Events ------------------------------------------------------------------ */
.event-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--teal-800);
  color: #d9e8e8;
  box-shadow: var(--shadow-lg);
}
.event-feature__media {
  display: block;
  min-height: 340px;
  overflow: hidden;
}
.event-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.event-feature:hover .event-feature__media img {
  transform: scale(1.05);
}
.event-feature__body {
  padding: clamp(24px, 3.4vw, 44px);
}
.event-feature .eyebrow {
  color: var(--yellow);
}
.event-feature__title {
  margin-bottom: 4px;
  color: var(--white);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}
.event-feature__title a {
  text-decoration: none;
}
.event-feature__title a:hover {
  text-decoration: underline;
}
.event-feature__sub {
  font-weight: 700;
  color: var(--white);
}
.event-feature .facts {
  color: #d9e8e8;
}
.event-feature .facts .icon {
  color: var(--yellow);
}
.event-feature__date {
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: var(--radius-lg);
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  line-height: 1;
  box-shadow: var(--shadow);
}
.event-feature__date span {
  font-family: var(--font-head);
  font-size: 2.1rem;
  letter-spacing: 0;
  margin-top: 8px;
}
.event-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.event-list .event-card {
  background: var(--cream);
  box-shadow: none;
}
.event-list .event-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}

/* Calendar extras */
.cal-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 20px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
}
.cal-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dot {
  display: inline-block;
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-800);
}
.dot--match {
  background: var(--red);
}
.dot--course {
  background: var(--teal-600);
}
.dot--fixture {
  background: #c5d0d4;
}
.calendar__count {
  font-size: 0.8rem;
  font-weight: 700;
  color: #bcd3d3;
}
.calendar__day {
  min-width: 0;
  overflow: hidden;
}
.calendar__day--busy {
  background: #fffdf5;
}
.calendar__event {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.calendar__event--fixture {
  display: flex;
  align-items: center;
  gap: 4px;
}
.calendar__event .icon {
  width: 12px;
  height: 12px;
  flex: none;
}
.calendar__event--event {
  background: var(--teal-800);
}
.agenda {
  margin-top: 24px;
}
.agenda__title {
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.1rem;
}
.agenda__list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.agenda__day {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.agenda__date {
  margin: 0 0 4px;
  font-weight: 800;
  color: var(--navy);
  font-size: 0.9rem;
}
.agenda__items ul {
  list-style: none;
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
}
.agenda__items li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}
.agenda__items .dot {
  align-self: center;
}
.agenda__items a {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.agenda__items a:hover {
  color: var(--teal-700);
  text-decoration: underline;
}
.meta-inline {
  font-size: 0.8rem;
  color: var(--muted);
}
.event-hero-date {
  display: grid;
  justify-items: center;
  min-width: 180px;
  padding: 22px 26px;
  border-radius: var(--radius-xl);
  background: var(--yellow);
  color: var(--navy);
  box-shadow: var(--shadow-lg);
  text-align: center;
  line-height: 1;
}
.event-hero-date__d {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 4rem;
}
.event-hero-date__m {
  margin-top: 6px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.event-hero-date__t {
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--teal-800);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}
.event-fixture .match-card {
  max-width: 560px;
}
.event-course {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border-left: 4px solid var(--teal-700);
}
.event-course__icon {
  width: 46px;
  height: 46px;
  padding: 10px;
  box-sizing: content-box;
  border-radius: 12px;
  background: var(--yellow-100);
  color: var(--red);
}
.events-panel__list--flush {
  padding: 0;
  margin-bottom: 12px;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
  .match-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .comp-split {
    grid-template-columns: 1fr;
  }
  .result-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1023px) {
  .comp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tour-row,
  .tour-row--alt {
    grid-template-columns: 1fr;
  }
  .tour-row--alt .tour-row__media {
    order: 0;
  }
  .tour-row__media {
    min-height: 0;
    aspect-ratio: 16 / 7;
  }
  .honours-top,
  .honours-grid {
    grid-template-columns: 1fr;
  }
  .event-feature {
    grid-template-columns: 1fr;
  }
  .event-feature__media {
    min-height: 0;
    aspect-ratio: 16 / 8;
  }
  .event-list {
    grid-template-columns: 1fr;
  }
  .hero-facts {
    min-width: 0;
  }
  .event-hero-date {
    justify-self: start;
    grid-auto-flow: column;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 14px 18px;
  }
  .event-hero-date__d {
    font-size: 2.4rem;
  }
  .event-hero-date__m,
  .event-hero-date__t {
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  .comp-grid,
  .match-grid,
  .form-compare {
    grid-template-columns: 1fr;
  }
  .result-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .result-stats li:last-child {
    grid-column: 1 / -1;
  }
  .match-row__link {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 6px 10px;
    padding: 12px;
  }
  .match-row__comp,
  .match-row__date {
    grid-column: 1 / -1;
    text-align: center;
  }
  .match-row__date {
    order: 5;
  }
  .match-row__team {
    font-size: 0.82rem;
    gap: 6px;
  }
  .match-row__team--home {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
  .match-row__team:not(.match-row__team--home) {
    flex-direction: column;
    text-align: center;
  }
  .tour-row__facts {
    grid-template-columns: 1fr;
  }
  .participants__head {
    flex-wrap: wrap;
  }
  .club-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scoreboard__team .crest {
    width: 60px;
    height: 60px;
  }
  .scoreboard__main {
    gap: 8px;
  }
  .scoreboard__team {
    min-width: 0;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
  }
  .scoreboard__score {
    padding: 10px 14px;
  }
  .scoreboard__facts {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .event-feature__date {
    width: 66px;
    height: 66px;
  }
  .event-feature__date span {
    font-size: 1.6rem;
  }
  .standings-head__leader {
    width: 100%;
  }
  .agenda__day {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .info-list--plain li {
    grid-template-columns: 1fr;
  }
}

/* development.css */
/* ==========================================================================
   Development · Coaching · Referees · Courses
   ========================================================================== */

.dev-intro {
  max-width: 62ch;
  margin-bottom: 28px;
}
.dev-narrow {
  max-width: 860px;
}
.dev-events {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
}
.dev-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.dev-two--wide {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.dev-two .steps {
  grid-template-columns: 1fr 1fr;
}
.section--dark .accordion__item {
  background: rgba(255, 255, 255, 0.06);
}
.section--dark .accordion__trigger {
  color: var(--white);
}
.section--dark .accordion__content {
  color: #cfe0e0;
}
.section--dark .accordion__icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}
.section--dark .accordion__item.is-open .accordion__icon {
  color: var(--navy);
}

/* Pathway ------------------------------------------------------------------ */
.pathway {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
  counter-reset: stage;
}
.pathway::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  top: 58px;
  height: 4px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 18px, transparent 18px 28px);
}
.pathway__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 14px;
}
.pathway__step {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--red);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.pathway__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--teal-800);
  color: var(--yellow);
  border: 5px solid var(--cream);
  box-shadow: 0 0 0 2px var(--yellow), var(--shadow);
  transition: transform 0.5s var(--ease), background-color 0.3s;
}
.pathway__icon .icon {
  width: 32px;
  height: 32px;
}
.pathway__stage:hover .pathway__icon {
  transform: translateY(-6px) rotate(-6deg);
  background: var(--red);
  color: var(--white);
}
.section--white .pathway__icon {
  border-color: var(--white);
}
.pathway__title {
  font-size: 1.15rem;
  margin-bottom: 2px;
}
.pathway__ages {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.pathway__text {
  font-size: 0.92rem;
  color: var(--ink-2);
  margin-bottom: 10px;
}

/* Callout ---------------------------------------------------------------- */
.dev-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  margin-top: 20px;
  border-radius: var(--radius-lg);
  background: var(--yellow-50);
  border: 1px solid #f3dc8b;
}
.dev-callout > .icon {
  width: 28px;
  height: 28px;
  color: #946c00;
  flex: none;
}
.dev-callout h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.dev-callout p {
  margin: 0;
  color: var(--ink-2);
}

/* Fact panel ---------------------------------------------------------------- */
.fact-panel {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--yellow);
}
.fact-panel__title {
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.fact-panel__list {
  margin: 0 0 16px;
  display: grid;
}
.fact-panel__row {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.fact-panel__row:last-child {
  border-bottom: 0;
}
.fact-panel dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact-panel dt .icon {
  width: 16px;
  height: 16px;
  color: var(--teal-700);
}
.fact-panel dd {
  margin: 0 0 0 24px;
  font-weight: 700;
  color: var(--navy);
}
.fact-panel__closed {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.fact-panel__closed a {
  color: var(--teal-700);
  font-weight: 700;
}
.dev-aside-card .h3 {
  font-size: 1.05rem;
}
.dev-mini-steps {
  margin: 0 0 14px;
  padding-left: 1.2em;
  color: var(--ink-2);
  font-size: 0.92rem;
  display: grid;
  gap: 6px;
}
.dev-aside-card .meta a {
  color: var(--teal-700);
  font-weight: 600;
}
.course-hero-status {
  background: var(--white);
}

/* Age-group tab panels ------------------------------------------------------- */
.age-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.age-panel__facts {
  margin: 0;
  display: grid;
  align-content: start;
  gap: 12px;
}
.age-panel__facts div {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--cream);
  border-left: 4px solid var(--yellow);
}
.age-panel__facts dt {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.age-panel__facts dd {
  margin: 2px 0 0;
  font-weight: 700;
  color: var(--navy);
}
.age-panel__facts a {
  color: var(--teal-700);
}

/* Academy cards -------------------------------------------------------------- */
.academy-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.academy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.academy-card__head {
  display: flex;
  gap: 14px;
  align-items: center;
}
.academy-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--teal-800);
  color: var(--yellow);
}
.academy-card__name {
  font-size: 1.12rem;
  margin: 0 0 4px;
}
.academy-card .meta {
  margin: 0;
}
.academy-card > p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.93rem;
}
.academy-card__facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--cream);
  font-size: 0.85rem;
}
.academy-card__facts dt {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.academy-card__facts dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
}
.academy-card__rec {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto 0 0 !important;
  font-weight: 700;
  color: var(--success) !important;
}

/* Registers ------------------------------------------------------------------ */
.register__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
}
.register__count {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}
.register__table th[scope='row'] {
  color: var(--navy);
  font-weight: 800;
}
.register__table tbody th,
.register__table tbody td {
  background: transparent;
}
.register__club {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.register__club .crest {
  filter: none;
}
.register__club:hover span {
  text-decoration: underline;
}
.register__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.register__note a {
  color: var(--teal-700);
  font-weight: 700;
}

/* Course calendar ------------------------------------------------------------ */
.course-month + .course-month {
  margin-top: 36px;
}
.course-month__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-style: italic;
  font-weight: 900;
  font-size: 1.3rem;
  text-transform: uppercase;
}
.course-month__title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), transparent);
}
.course-month:not(:has(.course-row:not(.is-filtered-out))) {
  display: none;
}
.course-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.course-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--teal-700);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.course-row[data-category='referee'] {
  border-left-color: var(--yellow);
}
.course-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}
.course-row__date {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 10px;
  background: var(--teal-800);
  color: var(--white);
  line-height: 1;
}
.course-row__date span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--yellow);
}
.course-row__date strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
}
.course-row__type {
  margin: 0 0 2px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}
.course-row__title {
  margin: 0 0 4px;
  font-size: 1.08rem;
}
.course-row__title a {
  text-decoration: none;
}
.course-row__title a:hover {
  color: var(--teal-700);
  text-decoration: underline;
}
.course-row .meta {
  margin: 0;
}
.course-row__go {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  transition: background-color 0.3s, transform 0.35s var(--ease);
}
.course-row:hover .course-row__go {
  background: var(--yellow);
  transform: rotate(-45deg);
}

/* Responsive ----------------------------------------------------------------- */
@media (max-width: 1023px) {
  .pathway {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }
  .pathway::before {
    display: none;
  }
  .dev-two,
  .dev-two--wide {
    grid-template-columns: 1fr;
  }
  .age-panel {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .pathway {
    grid-template-columns: 1fr;
  }
  .pathway__stage {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 16px;
    text-align: left;
    align-items: start;
    padding: 0;
  }
  .pathway__step {
    display: none;
  }
  .pathway__icon {
    grid-row: span 4;
    width: 64px;
    height: 64px;
    margin: 0;
  }
  .pathway__stage > .link-arrow {
    justify-self: start;
  }
  .dev-two .steps {
    grid-template-columns: 1fr;
  }
  .academy-card__facts {
    grid-template-columns: 1fr;
  }
  .course-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px 14px;
    padding: 14px;
  }
  .course-row .status {
    grid-column: 2;
    justify-self: start;
  }
  .course-row__go {
    display: none;
  }
  .course-row__date {
    width: 52px;
    height: 52px;
  }
  .register__bar {
    display: block;
  }
}

/* Programme-card crops used at larger sizes: soft bottom fade hides edge artefacts */
.dev-fade .split__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  background: linear-gradient(180deg, rgba(0, 63, 70, 0), rgba(0, 46, 51, 0.85));
  pointer-events: none;
}
.course-row__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.course-row__meta .icon {
  margin-right: 0;
}

/* elections.css */
/* ==========================================================================
   Elections 2026–2030 (/about/elections-2026/)
   Scoreboard countdown · match-timeline pitch · team-sheet formation
   ========================================================================== */

.page--elections {
  --pitch-a: #1d7a49;
  --pitch-b: #218752;
  --pitch-line: rgba(255, 255, 255, 0.55);
}

/* ---------- Hero scoreboard ---------- */
.scoreboard {
  min-width: min(100%, 380px);
  padding: 22px 24px 20px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(0, 20, 23, 0.92), rgba(0, 46, 51, 0.88));
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-align: center;
}
.scoreboard__now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(227, 27, 35, 0.16);
  color: #ffd2d4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.scoreboard__now[hidden] {
  display: none;
}
.scoreboard__live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: sb-live 1.4s ease-in-out infinite;
}
@keyframes sb-live {
  50% {
    opacity: 0.25;
  }
}
.scoreboard__label {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fc3c3;
}
.scoreboard__digits {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
}
.scoreboard__digits[hidden] {
  display: none;
}
.scoreboard__tile {
  display: grid;
  gap: 6px;
  min-width: 64px;
}
.scoreboard__num {
  display: block;
  padding: 10px 4px 8px;
  border-radius: 10px;
  background: #00191c;
  border: 1px solid rgba(255, 196, 0, 0.2);
  box-shadow: inset 0 -18px 0 rgba(255, 255, 255, 0.03);
  color: var(--yellow);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(255, 196, 0, 0.35);
}
.scoreboard__unit {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fb0b0;
}
.scoreboard__sep {
  padding-top: 10px;
  color: rgba(255, 196, 0, 0.5);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.6rem;
}
.scoreboard__date {
  margin: 14px 0 0;
  font-weight: 600;
  color: var(--white);
}

/* ---------- Key facts strip ---------- */
.election-facts-section {
  padding-block: 0;
}
.election-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.election-facts li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  color: var(--ink-2);
}
.election-facts .icon {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--yellow-100);
  color: var(--teal-800);
}
.election-facts strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.98rem;
}

.section-lead {
  max-width: 46em;
  margin: -6px 0 26px;
  color: var(--ink-2);
}
.section-lead--full {
  max-width: none;
}

/* ---------- Match timeline (desktop: horizontal pitch) ---------- */
.match-timeline {
  --n: 9;
  --label: 196px;
  --pitch: 132px;
  --progress: 0;
  position: relative;
  margin-top: 8px;
}
.match-timeline__pitch {
  position: absolute;
  inset-inline: 0;
  top: var(--label);
  height: var(--pitch);
  border-radius: 18px;
  overflow: visible;
  background: repeating-linear-gradient(90deg, var(--pitch-a) 0 calc(100% / 18), var(--pitch-b) calc(100% / 18) calc(100% / 9));
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.06), var(--shadow);
}
.match-timeline__pitch::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 2px solid var(--pitch-line);
  border-radius: 6px;
}
.pitch-line--half {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: 2px;
  background: var(--pitch-line);
}
.pitch-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  border: 2px solid var(--pitch-line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.pitch-box {
  position: absolute;
  top: 26%;
  bottom: 26%;
  width: 44px;
  border: 2px solid var(--pitch-line);
}
.pitch-box--left {
  left: 10px;
  border-left: 0;
}
.pitch-box--right {
  right: 10px;
  border-right: 0;
}
.pitch-goal {
  position: absolute;
  right: -22px;
  top: 32%;
  bottom: 32%;
  width: 30px;
}
.pitch-goal svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pitch-goal__frame {
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}
.pitch-goal__net {
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transform-origin: left center;
}
.match-timeline.is-goal.is-rolled .pitch-goal__net {
  animation: net-ripple 1.1s var(--ease) 2.3s 2;
}
@keyframes net-ripple {
  30% {
    transform: scaleX(1.35) skewY(4deg);
  }
  60% {
    transform: scaleX(0.92) skewY(-2deg);
  }
}

/* track the ball runs along: from the first marker's centre to the last */
.match-timeline__track {
  position: absolute;
  left: calc(100% / 18);
  right: calc(100% / 18);
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 8px, transparent 8px 16px);
}
.match-timeline__trail {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: calc(var(--progress) * 100%);
  border-radius: inherit;
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(255, 196, 0, 0.6);
  transition: width 2.4s var(--ease);
}
.match-ball {
  position: absolute;
  z-index: 3;
  left: calc(var(--progress) * 100%);
  top: 50%;
  display: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%) rotate(calc(var(--progress) * 1440deg));
  transition: left 2.4s var(--ease), transform 2.4s var(--ease);
}
.js .match-ball {
  display: grid;
}
.no-js-hidden,
html:not(.js) .match-timeline__trail {
  display: none;
}
.match-ball .icon {
  width: 30px;
  height: 30px;
}
.match-timeline.is-goal.is-rolled .match-ball {
  left: calc(100% + (100% / 16));
}

/* stages */
.match-timeline__stages {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
}
.mt-stage {
  position: relative;
  display: grid;
  grid-template-rows: var(--label) var(--pitch) var(--label);
  justify-items: center;
  text-align: center;
  padding-inline: 6px;
}
.mt-stage__marker {
  grid-row: 2;
  align-self: center;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: rgba(0, 63, 70, 0.55);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  transition: background-color 0.4s, transform 0.4s var(--ease);
}
.mt-stage__marker .icon {
  display: none;
  width: 20px;
  height: 20px;
}
.mt-stage.is-done .mt-stage__marker {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
}
.mt-stage.is-done .mt-stage__marker .icon {
  display: block;
}
.mt-stage.is-done .mt-stage__num {
  display: none;
}
.mt-stage.is-current .mt-stage__marker {
  background: var(--white);
  color: var(--teal-800);
  transform: scale(1.15);
}
.mt-stage.is-current .mt-stage__marker::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  animation: stage-pulse 1.8s ease-out infinite;
}
@keyframes stage-pulse {
  from {
    transform: scale(0.85);
    opacity: 1;
  }
  to {
    transform: scale(1.5);
    opacity: 0;
  }
}

.mt-stage__text {
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 4px;
  position: relative;
  padding-bottom: 18px;
}
.mt-stage--high .mt-stage__text {
  grid-row: 1;
}
.mt-stage--low .mt-stage__text {
  grid-row: 3;
  align-content: start;
  padding: 18px 0 0;
}
/* connector from label to the pitch */
.mt-stage__text::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2px;
  height: 12px;
  background: var(--line);
}
.mt-stage--low .mt-stage__text::after {
  top: 0;
  bottom: auto;
}
.mt-stage__tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--yellow);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mt-stage__date {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.98rem;
  color: var(--teal-800);
  white-space: nowrap;
}
.mt-stage__time {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--teal-800);
}
.mt-stage__title {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--ink-2);
}
.mt-stage__status {
  justify-self: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--cream-200);
  color: var(--muted);
}
.mt-stage.is-done .mt-stage__status {
  background: #e3f3e8;
  color: var(--success);
}
.mt-stage.is-current .mt-stage__status {
  background: var(--red);
  color: var(--white);
}
.mt-stage.is-done .mt-stage__title {
  color: var(--muted);
}

.election-schedule__actions {
  margin-top: 30px;
}

/* ---------- Team sheet ---------- */
.team-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
.formation {
  --gold: #f5c542;
  min-width: 0;
  --gold-soft: rgba(245, 197, 66, 0.55);
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 12px;
  padding: 26px 18px 22px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, 0.12), transparent 60%),
    radial-gradient(140% 100% at 50% 50%, transparent 55%, rgba(0, 20, 10, 0.55) 100%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 60px, transparent 60px 120px),
    linear-gradient(180deg, #0f5a32, #0b4a29 55%, #0d5530);
  box-shadow: var(--shadow-lg, var(--shadow));
}
.formation::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  pointer-events: none;
}
.formation__box,
.formation__arc,
.formation__half {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.28);
  pointer-events: none;
}
.formation__box {
  top: 12px;
  left: 30%;
  right: 30%;
  height: 70px;
  border-top: 0;
}
.formation__box::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 32px;
  border-top: 2px solid rgba(255, 255, 255, 0.28);
}
.formation__arc {
  top: 56px;
  left: 50%;
  width: 76px;
  height: 36px;
  border-top: 0;
  border-radius: 0 0 90px 90px;
  transform: translateX(-50%);
}
.formation__half {
  bottom: 12px;
  left: 50%;
  width: 120px;
  height: 56px;
  border-bottom: 0;
  border-radius: 120px 120px 0 0;
  transform: translateX(-50%);
}

/* Floodlights */
.formation__light {
  position: absolute;
  top: 18px;
  z-index: -1;
  width: 62px;
  height: 30px;
  background: radial-gradient(circle, #fff 0 2.6px, transparent 3.4px) 0 0 / 15.5px 15px;
  filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 10px rgba(220, 255, 230, 0.9));
  pointer-events: none;
}
.formation__light::after {
  content: '';
  position: absolute;
  inset: -50px -60px;
  background: radial-gradient(closest-side, rgba(225, 255, 235, 0.35), transparent);
}
.formation__light--l {
  left: 22px;
  transform: rotate(14deg);
}
.formation__light--r {
  right: 22px;
  transform: rotate(-14deg);
}

.formation__runner {
  position: absolute;
  left: 6px;
  top: 24%;
  z-index: -1;
  width: 150px;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
}
.formation__swoosh {
  position: absolute;
  right: -70px;
  bottom: -48px;
  width: 240px;
  height: 110px;
  background: linear-gradient(160deg, transparent 0 38%, var(--yellow) 38% 52%, #1f9d55 52% 64%, transparent 64%);
  transform: rotate(-12deg);
  opacity: 0.9;
  pointer-events: none;
}
.formation__ball {
  position: absolute;
  right: -6px;
  bottom: -8px;
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

/* Rows */
.formation__row {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
}
.formation__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}
.formation__head::before,
.formation__head::after {
  content: '';
  flex: 0 1 56px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
}
.formation__head::after {
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}
.formation__caption {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 3px 16px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: linear-gradient(180deg, #0f4a33, #082e22);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 0 14px rgba(245, 197, 66, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}
.formation__caption > span {
  display: grid;
}
.formation__caption small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold);
}
.formation__caption--captain {
  padding: 3px 14px;
  font-size: 0.86rem;
}
.laurel {
  width: 12px;
  height: 17px;
  fill: var(--gold);
  color: var(--gold);
}
.laurel--r {
  transform: scaleX(-1);
}

.formation__line {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
}

/* Jerseys */
.jersey {
  display: grid;
  justify-items: center;
  gap: 0;
  width: 66px;
}
.jersey__shirt {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  margin-bottom: -5px;
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.35));
  transition: transform 0.35s var(--ease);
}
.jersey:hover .jersey__shirt {
  transform: translateY(-5px) rotate(-5deg);
}
.jersey__body {
  fill: var(--shirt, #fbfbf8);
}
.jersey__shade {
  fill: #000;
  opacity: 0.045;
}
.jersey__shine {
  fill: #fff;
  opacity: 0.12;
}
.jersey__trim {
  fill: var(--trim, var(--yellow));
}
.jersey__collar {
  fill: var(--collar, #1f9d55);
}
.jersey__shirt text {
  fill: var(--num, var(--teal-900));
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
}
.jersey--captain {
  --shirt: var(--yellow);
  --trim: #e0a800;
  --collar: #fff;
  --num: #1b1b1b;
}
.jersey--som {
  --shirt: #e23b3b;
  --trim: #fff;
  --collar: #fff;
  --num: #fff;
}
.jersey__label {
  width: 100%;
  padding: 6px 3px 4px;
  border-radius: 7px;
  background: linear-gradient(180deg, #fff, #e9ece9);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  color: #1d2b25;
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.jersey:hover .jersey__label {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
}

/* ---------- Team sheet animations (start when the formation scrolls into view) ---------- */
@keyframes fm-light-on {
  0%, 20%, 40% { opacity: 0; }
  10%, 30% { opacity: 0.6; }
  100% { opacity: 1; }
}
@keyframes fm-light-glow {
  50% { opacity: 0.7; }
}
@keyframes fm-fade { from { opacity: 0; } }
@keyframes fm-run-in { from { opacity: 0; transform: translateX(-40px); } }
@keyframes fm-draw { from { opacity: 0; transform: translateX(-50%) scale(0.6); } }
@keyframes fm-pop {
  0% { opacity: 0; transform: scale(0.6); }
  70% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes fm-line { from { transform: scaleX(0); } }
@keyframes fm-drop {
  0% { opacity: 0; transform: translateY(-26px) scale(0.85); }
  60% { opacity: 1; transform: translateY(4px) scale(1.03); }
  100% { opacity: 1; transform: none; }
}
@keyframes fm-float {
  50% { transform: translateY(-4px); }
}
@keyframes fm-roll {
  from { opacity: 0; transform: translateX(120px) rotate(320deg); }
}
@keyframes fm-swoosh { from { opacity: 0; transform: rotate(-12deg) translateX(80px); } }

.js .formation:not(.is-visible) :is(.formation__light, .formation__runner, .formation__box, .formation__arc, .formation__half, .formation__ball, .formation__swoosh, .formation__caption, .jersey) {
  opacity: 0;
}
.formation.is-visible .formation__light {
  animation: fm-light-on 1.1s steps(1, end) 0.15s both, fm-light-glow 3.5s ease-in-out 1.4s infinite;
}
.formation.is-visible .formation__runner {
  animation: fm-run-in 1.4s var(--ease) 0.6s both;
}
.formation.is-visible :is(.formation__box) {
  animation: fm-fade 0.9s var(--ease) 0.2s both;
}
.formation.is-visible :is(.formation__arc, .formation__half) {
  animation: fm-draw 0.9s var(--ease) 0.3s both;
}
.formation.is-visible .formation__swoosh {
  animation: fm-swoosh 0.9s var(--ease) 1.2s both;
}
.formation.is-visible .formation__ball {
  animation: fm-roll 1.2s var(--ease) 1.5s both;
}
.formation.is-visible .formation__caption {
  animation: fm-pop 0.55s var(--ease) var(--d) both;
}
.formation.is-visible .formation__head::before {
  transform-origin: right;
  animation: fm-line 0.6s var(--ease) var(--d) both;
}
.formation.is-visible .formation__head::after {
  transform-origin: left;
  animation: fm-line 0.6s var(--ease) var(--d) both;
}
.formation.is-visible .jersey {
  animation: fm-drop 0.6s var(--ease) calc(var(--d) + 0.18s + var(--k, 0) * 0.07s) both;
}
/* Row and shirt stagger (no inline styles: the CSP blocks them) */
.formation__row:nth-of-type(1) { --d: 0.35s; }
.formation__row:nth-of-type(2) { --d: 0.73s; }
.formation__row:nth-of-type(3) { --d: 1.11s; }
.formation__row:nth-of-type(4) { --d: 1.49s; }
.jersey:nth-child(2) { --k: 1; }
.jersey:nth-child(3) { --k: 2; }
.jersey:nth-child(4) { --k: 3; }
.jersey:nth-child(5) { --k: 4; }
.jersey:nth-child(6) { --k: 5; }
.jersey:nth-child(7) { --k: 6; }
.jersey:nth-child(8) { --k: 7; }

.formation.is-visible .jersey--captain .jersey__shirt {
  animation: fm-float 3s ease-in-out 2s infinite;
}
.formation.is-visible .jersey--captain:hover .jersey__shirt {
  animation-play-state: paused;
}

@media (max-width: 767px) {
  .formation__runner,
  .formation__head::before,
  .formation__head::after {
    display: none;
  }
  .formation__light {
    width: 46px;
    top: 20px;
  }
}

.posts-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.posts-table th,
.posts-table td {
  white-space: normal;
}
.posts-table thead th:first-child {
  width: 72px;
}
.posts-table thead th:last-child {
  width: 110px;
  text-align: center;
}
.posts-table caption {
  caption-side: top;
  padding: 0 0 10px;
  text-align: left;
  font-weight: 800;
  color: var(--ink);
}
.posts-table th small {
  display: block;
  margin-top: 2px;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--muted);
}
.posts-table__count {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--teal-800);
  text-align: center;
}
.posts-note,
.election-disclaimer {
  display: flex;
  gap: 10px;
  margin: 14px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}
.posts-note .icon,
.election-disclaimer .icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--teal-600);
}
.election-disclaimer {
  margin-top: 20px;
}

/* ---------- Nominations + officer ---------- */
.election-info {
  align-items: start;
}
.election-info__facts {
  margin-bottom: 24px;
}
.officer-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--yellow);
}
.officer-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-800);
  color: var(--yellow);
}
.officer-card__icon .icon {
  width: 24px;
  height: 24px;
}
.officer-card__label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.officer-card__name {
  margin: 2px 0;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}
.officer-card__meta {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-2);
}

.officials-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.officials-list .officer-card {
  height: 100%;
}

/* ---------- Tablet & mobile: vertical pitch ---------- */
@media (max-width: 1180px) {
  .election-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-sheet {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 1023px) {
  .match-timeline {
    --lane: 76px;
  }
  .match-timeline__pitch {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: var(--lane);
    height: auto;
    background: repeating-linear-gradient(180deg, var(--pitch-a) 0 calc(100% / 18), var(--pitch-b) calc(100% / 18) calc(100% / 9));
  }
  .pitch-line--half {
    top: 50%;
    bottom: auto;
    left: 10px;
    right: 10px;
    width: auto;
    height: 2px;
  }
  .pitch-circle {
    width: 40px;
    height: 40px;
  }
  .pitch-box {
    top: auto;
    bottom: auto;
    left: 24%;
    right: 24%;
    width: auto;
    height: 34px;
    border: 2px solid var(--pitch-line);
  }
  .pitch-box--left {
    top: 10px;
    border-top: 0;
  }
  .pitch-box--right {
    bottom: 10px;
    border-bottom: 0;
  }
  .pitch-goal {
    top: auto;
    bottom: -20px;
    left: 32%;
    right: 32%;
    width: auto;
    height: 26px;
  }
  .pitch-goal svg {
    transform: rotate(90deg) scale(0.22, 1.35);
  }
  .match-timeline__track {
    left: 50%;
    right: auto;
    top: calc(100% / 18);
    bottom: calc(100% / 18);
    width: 4px;
    height: auto;
    margin: 0 0 0 -2px;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0 8px, transparent 8px 16px);
  }
  .match-timeline__trail {
    inset-inline: 0;
    top: 0;
    width: auto;
    height: calc(var(--progress) * 100%);
    transition: height 2.4s var(--ease);
  }
  .match-ball {
    left: 50%;
    top: calc(var(--progress) * 100%);
    transition: top 2.4s var(--ease), transform 2.4s var(--ease);
  }
  .match-timeline.is-goal.is-rolled .match-ball {
    left: 50%;
    top: calc(100% + 30px);
  }
  .match-timeline__stages {
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
  }
  .mt-stage {
    grid-template-columns: var(--lane) minmax(0, 1fr);
    grid-template-rows: auto;
    justify-items: start;
    align-items: center;
    text-align: left;
    padding: 10px 0;
    gap: 16px;
  }
  .mt-stage__marker {
    grid-row: 1;
    grid-column: 1;
    justify-self: center;
  }
  .mt-stage--high .mt-stage__text,
  .mt-stage--low .mt-stage__text {
    grid-row: 1;
    grid-column: 2;
    justify-items: start;
    align-content: center;
    padding: 0;
  }
  .mt-stage__text::after {
    display: none;
  }
  .mt-stage__status {
    justify-self: start;
  }
}
@media (max-width: 767px) {
  .election-facts {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  .scoreboard__tile {
    min-width: 54px;
  }
  .jersey {
    width: 58px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .match-ball,
  .match-timeline__trail {
    transition: none !important;
  }
  .scoreboard__live,
  .mt-stage.is-current .mt-stage__marker::after,
  .match-timeline.is-goal.is-rolled .pitch-goal__net,
  .formation *,
  .formation *::before,
  .formation *::after {
    animation: none !important;
  }
}

/* ---------- Executive Committee page: election call-out ---------- */
.election-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(110deg, var(--teal-800), var(--teal-700));
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.election-callout:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.election-callout__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--navy);
}
.election-callout__icon .icon {
  width: 22px;
  height: 22px;
}
.election-callout__text {
  flex: 1;
  font-size: 0.92rem;
  color: #d4e3e3;
}
.election-callout__text strong {
  color: var(--white);
}
.election-callout__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--yellow);
}
.election-callout__cta .icon {
  width: 16px;
  height: 16px;
}
@media (max-width: 767px) {
  .election-callout {
    flex-wrap: wrap;
  }
}

/* Pending notification notice */
.election-pending {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px dashed rgba(240, 180, 0, 0.8);
  background: var(--yellow-50);
  color: var(--ink);
  font-weight: 600;
}
.election-pending .icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--yellow-600);
}

/* ==========================================================================
   Photo diary (#gallery) — bento grid of election photos, opens in the lightbox
   ========================================================================== */
.election-diary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 196, 0, 0.16), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(10, 106, 112, 0.6), transparent 52%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 120px, transparent 120px 240px),
    var(--navy);
  color: var(--white);
}
.election-diary__glow {
  position: absolute;
  z-index: -1;
  top: -220px;
  right: -180px;
  width: 560px;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.015);
  pointer-events: none;
}
.diary-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 32px;
  margin-bottom: 22px;
}
.diary-head .section-title {
  margin: 0;
  color: var(--white);
}
.diary-head__count {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.diary-head__num {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--yellow);
}
.diary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.diary-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.86rem;
  font-weight: 600;
}
.diary-meta .icon {
  width: 16px;
  height: 16px;
  color: var(--yellow);
}
.diary-album__summary {
  max-width: 70ch;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.8);
}

/* Bento grid: featured 2×2, panoramas 2 wide, portraits 2 tall; dense packing fills gaps */
/* The photo order in data/elections.json packs gap-free at 4 and 2 columns, so tile numbers and the
   lightbox follow reading order. At 3 columns one gap is unavoidable, so dense packing moves it to the end. */
.diary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 34vw, 190px);
  gap: 10px;
}
@media (min-width: 768px) {
  .diary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 190px;
    grid-auto-flow: dense;
    gap: 14px;
  }
}
@media (min-width: 1100px) {
  .diary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: row;
  }
}
.diary-tile--feature {
  grid-column: span 2;
  grid-row: span 2;
}
.diary-tile--pano {
  grid-column: span 2;
}
.diary-tile--tall {
  grid-row: span 2;
}

.diary-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.05) 70%) 0 0 / 220% 100%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.js .diary-tile:not(.is-loaded) {
  animation: diary-shimmer 1.6s linear infinite;
}
@keyframes diary-shimmer {
  to {
    background-position: -220% 0;
  }
}
.diary-tile__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.diary-tile__btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 20, 30, 0.88) 0%, rgba(4, 20, 30, 0.25) 38%, transparent 60%);
  opacity: 0.45;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.diary-tile picture,
.diary-tile img {
  display: block;
  width: 100%;
  height: 100%;
}
.diary-tile--focus-top img {
  object-position: 50% 12%;
}
.diary-tile--focus-bottom img {
  object-position: 50% 88%;
}
.diary-tile img {
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s var(--ease);
}
.diary-tile__num {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.diary-tile__zoom {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.diary-tile__zoom .icon {
  width: 18px;
  height: 18px;
}
.diary-tile__caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px 16px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}
.diary-tile__tag {
  display: table;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--red);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: none;
}
.diary-tile--feature .diary-tile__caption {
  padding: 22px 24px;
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 900;
  opacity: 1;
  transform: none;
}
.diary-tile--feature .diary-tile__btn::after {
  opacity: 1;
}
.diary-tile:hover img,
.diary-tile:focus-within img {
  transform: scale(1.07);
  filter: saturate(1.08);
}
.diary-tile:hover .diary-tile__btn::after,
.diary-tile:focus-within .diary-tile__btn::after {
  opacity: 1;
}
.diary-tile:hover .diary-tile__caption,
.diary-tile:focus-within .diary-tile__caption,
.diary-tile:hover .diary-tile__zoom,
.diary-tile:focus-within .diary-tile__zoom {
  opacity: 1;
  transform: none;
}
.diary-tile__btn:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: -3px;
  border-radius: var(--radius-lg);
}
/* Touch screens have no hover: keep captions readable */
@media (hover: none) {
  .diary-tile__caption {
    opacity: 1;
    transform: none;
    font-size: 0.8rem;
    padding: 10px 12px;
  }
  .diary-tile__btn::after {
    opacity: 1;
  }
}

/* Collapsed state (JS only): fade out the bottom until "Show all" is pressed */
.js .diary-grid.is-collapsed {
  max-height: 640px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
@media (min-width: 768px) {
  .js .diary-grid.is-collapsed {
    max-height: 820px;
  }
}
.diary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.diary-actions [hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .diary-tile,
  .diary-tile img,
  .diary-tile__caption,
  .diary-tile__zoom {
    animation: none;
    transition: none;
  }
  .diary-tile:hover img,
  .diary-tile:focus-within img {
    transform: none;
  }
}

/* ---------- Timeline: nomination papers link ---------- */
.mt-stage__link {
  /* The nowrap pill is wider than a desktop timeline column and overflows into the next stage,
     which (being later in the DOM and positioned) would otherwise sit on top and eat the clicks. */
  position: relative;
  z-index: 3;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 6px 12px 6px 10px;
  border: 1.5px solid var(--teal-700);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--teal-700);
  background: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.mt-stage__link .icon {
  width: 15px;
  height: 15px;
  flex: none;
}
.mt-stage__link:hover,
.mt-stage__link:focus-visible {
  background: var(--teal-700);
  color: var(--white);
  transform: translateY(-1px);
}
.mt-stage__link:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}
@media (max-width: 1023px) {
  .mt-stage__link {
    justify-self: start;
  }
}

/* ---------- Nomination papers viewer ---------- */
html.has-forms-viewer {
  overflow: hidden;
}
.forms-viewer {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 196, 0, 0.14), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(10, 106, 112, 0.55), transparent 50%),
    rgba(9, 42, 59, 0.97);
}
.forms-viewer[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  animation: forms-in 0.3s var(--ease);
}
.forms-viewer.is-closing {
  animation: forms-in 0.2s var(--ease) reverse;
}
@keyframes forms-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
}
.forms-viewer__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(16px, 3vw, 28px);
  border-bottom: 1px solid var(--line-dark);
}
.forms-viewer__heading {
  flex: 1;
  min-width: 0;
}
.forms-viewer__eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 2px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}
.forms-viewer__eyebrow .icon {
  width: 14px;
  height: 14px;
}
.forms-viewer__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 800;
  color: var(--white);
}
.forms-viewer__count {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.forms-viewer__of {
  margin-left: 4px;
  font-size: 0.95rem;
  color: #9fb7bd;
}
.forms-viewer__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
  padding: clamp(12px, 2vw, 22px) clamp(8px, 2vw, 24px);
  min-height: 0;
}
.forms-viewer__nav {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
}
.forms-viewer__nav:hover {
  background: var(--yellow);
  color: var(--navy);
}
.forms-viewer__track {
  container-type: inline-size;
  height: 100%;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  outline: none;
}
.forms-viewer__slide {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  gap: 14px;
  height: 100%;
  margin: 0;
}
.forms-viewer__slide[hidden] {
  display: none;
}
.forms-viewer__slide.is-entering {
  animation: form-slide 0.35s var(--ease);
}
@keyframes form-slide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.forms-viewer__zoom {
  display: block;
  min-height: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.forms-viewer__zoom picture {
  display: block;
  height: 100%;
}
.forms-viewer__zoom img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.5);
}
.forms-viewer__zoom:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
  border-radius: 6px;
}
/* zoomed: paper at full width (up to its 1240px source), scroll to read */
.forms-viewer.is-zoomed .forms-viewer__slide {
  display: block;
  height: auto;
}
/* at least 720px wide so phones get a real magnification (pan in both directions) */
.forms-viewer.is-zoomed .forms-viewer__zoom {
  width: min(1240px, max(100%, 720px));
  height: auto;
  margin: 0 auto 14px;
  cursor: zoom-out;
}
.forms-viewer.is-zoomed .forms-viewer__zoom picture {
  height: auto;
}
.forms-viewer.is-zoomed .forms-viewer__zoom img {
  width: 100%;
  max-width: none;
  height: auto;
}
.forms-viewer.is-zoomed .forms-viewer__caption {
  position: sticky;
  left: 0;
  width: min(100%, 100cqw);
}
.forms-viewer__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  text-align: center;
}
.forms-viewer__post {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--navy);
}
.forms-viewer__post abbr {
  text-decoration: none;
  padding-left: 6px;
  margin-left: 2px;
  border-left: 1.5px solid rgba(9, 42, 59, 0.35);
}
.forms-viewer__name {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 800;
}
.forms-viewer__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #b9cdd1;
}
.forms-viewer__meta .icon {
  width: 15px;
  height: 15px;
}
.forms-viewer__foot {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 10px 16px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-dark);
}
.forms-viewer__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}
.forms-viewer__dot {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.forms-viewer__dot::before {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), background 0.2s var(--ease);
}
.forms-viewer__dot:hover::before {
  background: rgba(255, 255, 255, 0.75);
}
.forms-viewer__dot[aria-current='true'] {
  width: 40px;
}
.forms-viewer__dot[aria-current='true']::before {
  width: 26px;
  background: var(--yellow);
}
.forms-viewer__dot:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: -2px;
  border-radius: 999px;
}
.forms-viewer__hint {
  margin: 0;
  font-size: 0.75rem;
  color: #9fb7bd;
}
@media (max-width: 767px) {
  .forms-viewer__stage {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }
  /* arrows float over the paper's edges on phones */
  .forms-viewer__nav {
    position: absolute;
    z-index: 1;
    top: 45%;
    width: 42px;
    height: 42px;
    background: rgba(9, 42, 59, 0.72);
    backdrop-filter: blur(4px);
  }
  .forms-viewer__nav--prev {
    left: 6px;
  }
  .forms-viewer__nav--next {
    right: 6px;
  }
  .forms-viewer.is-zoomed .forms-viewer__nav {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .forms-viewer[open],
  .forms-viewer__slide.is-entering,
  .forms-viewer.is-closing {
    animation: none;
  }
  .forms-viewer__dot::before,
  .mt-stage__link {
    transition: none;
  }
}

/* ---------------------------------------------------------------- results (Form 12) */
.results-layout--with-form {
  display: grid;
  gap: 28px;
  align-items: start;
}
@media (min-width: 900px) {
  .results-layout--with-form {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
    gap: 36px;
  }
}
.results-form {
  margin: 0;
}
@media (min-width: 900px) {
  .results-form {
    position: sticky;
    top: 96px;
  }
}
.results-form__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.results-form__btn img {
  display: block;
  width: 100%;
  height: auto;
}
.results-form__btn:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.results-form__caption {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}
.results-form__caption .icon {
  flex: none;
  width: 18px;
  height: 18px;
}


/* ---------- Results line-up: a matchday graphic of the elected committee ---------- */
.lineup {
  --accent-gold: var(--yellow);
  --accent-teal: #1fb5b0;
  --accent-som: #e23b3b;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #06222e;
  box-shadow: var(--shadow-lg);
}
.lineup__bar {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: linear-gradient(100deg, #062a36 0%, #0a3d48 60%, #0b4a3a 100%);
  border-bottom: 3px solid var(--yellow);
  color: var(--white);
}
.lineup__bar::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 30%;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--red));
}
.lineup__crest {
  width: 52px;
  height: auto;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}
.lineup__kicker {
  margin: 0;
  color: var(--yellow);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lineup__title {
  margin: 2px 0 0;
  font-family: var(--font-head);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}
.lineup__title span {
  color: var(--yellow);
}
.lineup__status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 16px 7px 10px;
  border: 1px solid rgba(255, 196, 0, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  line-height: 1.25;
}
.lineup__status .icon {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 50%;
  background: var(--yellow);
  color: #062a36;
}
.lineup__status strong {
  display: block;
  color: var(--yellow);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.formation--results {
  gap: 22px;
  padding: 34px 18px 30px;
  border-radius: 0;
  box-shadow: none;
  pointer-events: auto;
}
.lineup__spot {
  position: absolute;
  z-index: 0;
  top: 58%;
  left: 50%;
  width: 180px;
  height: 180px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.formation--results .formation__caption {
  padding: 4px 18px;
  font-size: 0.78rem;
}
.formation--results .formation__caption--captain {
  font-size: 0.94rem;
}
.formation--results .formation__line {
  gap: 18px 14px;
}

/* Named shirts with broadcast-style name plates */
.jersey--named {
  width: 152px;
  grid-template-rows: auto 1fr;
}
.jersey__kit {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: -10px;
}
.jersey--named .jersey__shirt {
  width: 52px;
  height: 52px;
  margin: 0;
}
.jersey__armband {
  position: absolute;
  top: 16px;
  right: -12px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  background: #092a3b;
  color: var(--yellow);
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 900;
}
.plate {
  display: grid;
  gap: 1px;
  padding: 14px 8px 8px;
  border-bottom: 4px solid var(--plate-accent, var(--accent-teal));
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #eef1ee);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.32);
  color: #12241d;
  text-align: center;
  align-content: center;
  overflow-wrap: break-word;
  hyphens: auto;
}
.plate--gold { --plate-accent: var(--accent-gold); }
.plate--teal { --plate-accent: var(--accent-teal); }
.plate--som { --plate-accent: var(--accent-som); }
.plate__role {
  color: #5c6b64;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.plate__hon {
  color: #6b7a73;
  font-size: 0.64rem;
  font-weight: 600;
}
.plate__name {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.18;
}
.plate__tag {
  justify-self: center;
  margin-top: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent-som);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.plate__tag abbr {
  text-decoration: none;
}
.jersey--named:hover .jersey__label {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.4);
}

/* Captain: the President */
.jersey--named.jersey--captain {
  width: 190px;
}
.jersey--named.jersey--captain .jersey__shirt {
  width: 66px;
  height: 66px;
}
.jersey--named.jersey--captain .jersey__armband {
  top: 22px;
}
.jersey--captain .plate {
  --plate-accent: #0a3d48;
  padding-top: 16px;
  background: linear-gradient(180deg, #ffe680, var(--yellow));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55), 0 12px 30px rgba(255, 196, 0, 0.35);
}
.jersey--captain .plate__role,
.jersey--captain .plate__hon {
  color: #5a4500;
}
.jersey--captain .plate__name {
  font-size: 1.05rem;
}

/* Legend */
.lineup__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
}
.lineup__legend li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.lineup__swatch {
  width: 14px;
  height: 10px;
  border-radius: 3px;
  background: #fff;
}
.lineup__swatch--captain { background: var(--yellow); border-radius: 50%; width: 12px; height: 12px; }
.lineup__swatch--gold { box-shadow: inset 0 -3px 0 var(--accent-gold); }
.lineup__swatch--teal { box-shadow: inset 0 -3px 0 var(--accent-teal); }
.lineup__swatch--som { background: var(--accent-som); }

@media (min-width: 768px) {
  /* 8 Executive Committee shirts: two even rows of 4 rather than 7 + 1 */
  .formation--results .formation__line--wide {
    max-width: calc(4 * 152px + 3 * 14px);
  }
}
@media (max-width: 767px) {
  .lineup__bar {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 12px 14px;
  }
  .lineup__crest {
    width: 42px;
  }
  .lineup__status {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .formation--results {
    padding: 26px 10px 24px;
  }
  .formation--results .formation__line {
    gap: 16px 8px;
    width: 100%;
  }
  .jersey--named {
    width: calc((100% - 16px) / 3);
  }
  .formation--results .formation__line--wide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }
  .formation__line--wide .jersey--named {
    width: auto;
  }
  .jersey--named.jersey--captain {
    width: min(220px, 70%);
  }
  .plate__name {
    font-size: 0.76rem;
  }
  .results-form {
    max-width: 340px;
    margin-inline: auto;
  }
}
/* Names stay on one line ("Mr. K. Mourouganandame"); longer ones scale to the plate width. */
.plate {
  container-type: inline-size;
  padding-inline: 6px;
}
.plate__name {
  white-space: nowrap;
}
.plate__name .plate__hon {
  font-family: var(--font-body);
  font-size: 0.86em;
}
.plate__name--l {
  font-size: min(0.8rem, 9cqi);
}
.plate__name--xl {
  font-size: min(0.8rem, 7.6cqi);
}
.jersey--captain .plate__name--l,
.jersey--captain .plate__name--xl {
  font-size: min(1.05rem, 8.6cqi);
}
@media (min-width: 768px) {
  .jersey--named {
    width: 164px;
  }
  .formation--results .formation__line--wide {
    max-width: calc(4 * 164px + 3 * 14px);
  }
}
@media (max-width: 560px) {
  /* Small phones: two plates per row (the third Vice President centres below) so names stay legible. */
  .formation--results .formation__line .jersey--named:not(.jersey--captain) {
    width: calc((100% - 10px) / 2);
  }
  .formation--results .formation__line {
    gap: 16px 10px;
  }
}
.lineup__legend abbr {
  text-decoration: none;
}

/* media.css */
/* ==========================================================================
   Media section (Media Centre, News, Gallery, Videos, Press, Downloads, Circulars)
   ========================================================================== */

/* Hub ------------------------------------------------------------------- */
.media-quick {
  padding-top: clamp(28px, 3vw, 44px);
}
.media-lead {
  margin-bottom: clamp(32px, 4vw, 48px);
}
.media-lead .news-feature {
  grid-template-columns: 1.15fr 1fr;
}
.media-lead .news-feature__media img {
  min-height: 320px;
}
.media-lead .news-feature__body {
  padding: clamp(22px, 3vw, 40px) clamp(22px, 3vw, 40px) 72px;
}
.media-lead .news-feature__title {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}
.media-lead .news-feature__excerpt {
  font-size: 1rem;
  -webkit-line-clamp: 5;
}
.media-lead .news-feature__more {
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
}
.media-lead--top {
  margin-bottom: clamp(36px, 4vw, 56px);
}
.media-carousel .carousel__controls {
  align-items: center;
}
.media-carousel .news-card {
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.gallery-grid--preview {
  grid-auto-rows: 180px;
}
.media-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.press-mini {
  list-style: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 6px 20px;
}
.press-mini li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.press-mini li:last-child {
  border-bottom: 0;
}
.press-mini time {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.press-mini a {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.3;
}
.press-mini a:hover {
  color: var(--teal-700);
  text-decoration: underline;
}
.press-mini .icon {
  color: var(--teal-700);
  width: 18px;
  height: 18px;
  align-self: center;
}

/* Videos ----------------------------------------------------------------- */
.media-videos {
  background: radial-gradient(ellipse 70% 80% at 85% 0%, rgba(10, 106, 112, 0.5), transparent 60%), linear-gradient(140deg, var(--teal-900), var(--teal-800));
}
.media-videos__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 22px;
}
.media-videos__list {
  display: grid;
  gap: 22px;
  align-content: start;
}
.video-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  font: inherit;
  cursor: pointer;
}
.video-card--large .video-card__title {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}
.video-card--large .video-card__play {
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
}
.video-card__summary {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  color: #cfe0e0;
}
.video-card__soon {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
#video-grid .video-card {
  height: 100%;
}
.media-videos__feature {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.media-videos__intro h2 {
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
}
.media-videos__intro p {
  color: #cfe0e0;
}
.meta--light,
.meta--light .icon {
  color: #cfe0e0;
}
.meta--light .icon {
  margin-right: 0;
}
.notice--on-dark {
  background: rgba(255, 196, 0, 0.1);
  border-color: rgba(255, 196, 0, 0.35);
  border-left-color: var(--yellow);
  color: #f2f6f6;
}
.notice--on-dark .icon {
  color: var(--yellow);
}

/* Gallery ---------------------------------------------------------------- */
.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 8px;
}
.gallery-toolbar .filter-bar {
  margin-bottom: 16px;
}
.gallery-toolbar__count {
  margin: 0 0 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}
.gallery-item figcaption > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gallery-credit {
  font-size: 0.7rem;
  font-weight: 500;
  color: #cfe0e0;
}
.gallery-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 24px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.gallery-note .icon {
  color: var(--teal-700);
  margin-top: 2px;
}
.gallery-note a {
  color: var(--teal-700);
  font-weight: 600;
}

/* News article ------------------------------------------------------------- */
.news-article .article-meta-bar .meta {
  margin: 0;
}
.news-article__body .lead {
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 500;
}
.news-article__tags {
  margin-top: 8px;
}
.news-article__back {
  margin-top: 28px;
}
.news-article__back .link-arrow {
  color: var(--teal-700);
}
.news-latest {
  padding: 18px 20px 8px;
}
.news-latest__title {
  margin: 0 0 4px;
  font-style: italic;
  font-weight: 900;
  font-size: 1.05rem;
  text-transform: uppercase;
}
.news-latest .news-compact {
  grid-template-columns: 84px minmax(0, 1fr);
}

/* Press ----------------------------------------------------------------- */
.press-list {
  display: grid;
  gap: 18px;
}
.press-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.press-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.press-card__ref {
  font-weight: 800;
  color: var(--teal-700);
}
.press-card__title {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  margin: 4px 0 8px;
}
.press-card__body > p:not(.meta) {
  color: var(--ink-2);
  font-size: 0.95rem;
}
.press-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.press-card__year {
  position: absolute;
  right: -6px;
  bottom: -18px;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: 5rem;
  line-height: 1;
  color: var(--cream);
  pointer-events: none;
  z-index: 0;
}
.press-card > * {
  position: relative;
  z-index: 1;
}
.press-card > .press-card__year {
  position: absolute;
  z-index: 0;
}
.media-kit {
  padding: 22px;
}
.media-kit__title {
  font-size: 1.05rem;
}
.media-kit p {
  font-size: 0.92rem;
  color: var(--ink-2);
}

/* Downloads ---------------------------------------------------------------- */
.downloads-cats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.downloads-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.25;
}
.downloads-cat__n {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--yellow);
  font-family: var(--font-head);
  font-weight: 900;
}

/* Circulars ---------------------------------------------------------------- */
.circulars th,
.circulars td {
  vertical-align: middle;
}
.circulars__ref {
  font-weight: 800;
  color: var(--teal-700);
  font-size: 0.85rem;
}
.circulars__subject {
  white-space: normal !important;
  min-width: 280px;
  font-weight: 400;
}
.circulars__subject > span {
  display: block;
  font-weight: 700;
  color: var(--navy);
}
.circulars__subject .important-badge {
  display: inline-flex;
  color: var(--white);
}
.circulars__subject small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.84rem;
}
.circulars-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}
.circulars-help p {
  margin: 0;
  max-width: 60ch;
  color: var(--ink-2);
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
  .downloads-cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1023px) {
  .media-split,
  .media-videos__grid,
  .media-videos__feature {
    grid-template-columns: 1fr;
  }
  .media-videos__list {
    grid-template-columns: 1fr 1fr;
  }
  .media-lead .news-feature {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .media-quick .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .media-quick .feature-card {
    padding: 16px;
  }
  .media-quick .feature-card p,
  .media-quick .feature-card .link-arrow {
    display: none;
  }
  .media-quick .feature-card__title {
    font-size: 0.95rem;
    margin: 0;
  }
  .media-quick .feature-card__icon {
    width: 30px;
    height: 30px;
    padding: 8px;
    margin-bottom: 10px;
  }
  .media-lead .news-feature {
    grid-template-columns: 1fr;
  }
  .media-lead .news-feature__media img {
    min-height: 0;
  }
  .media-videos__list {
    grid-template-columns: 1fr;
  }
  .downloads-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .press-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }
  .gallery-grid--preview {
    grid-auto-rows: 140px;
  }
  .gallery-item--wide {
    grid-column: span 2;
  }
  .gallery-credit {
    display: none;
  }
  /* circulars table becomes stacked cards */
  .circulars thead {
    display: none;
  }
  .circulars,
  .circulars tbody,
  .circulars tr,
  .circulars th,
  .circulars td {
    display: block;
    width: 100%;
  }
  .circulars tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }
  .circulars th,
  .circulars td {
    padding: 4px 0;
    border: 0;
    white-space: normal;
  }
  .circulars__subject {
    min-width: 0;
  }
  .circulars tr > td:nth-last-child(-n + 3) {
    display: inline-block;
    width: auto;
    margin-right: 12px;
  }
}

/* Circulars: important notice row */
.circulars__row--important {
  background: linear-gradient(100deg, var(--yellow-50), transparent 70%);
  box-shadow: inset 5px 0 0 var(--yellow);
}
.circulars__link {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 700;
  color: var(--teal-800);
}
