/* =========================================================================
   Saltcoats Victoria FC — public site
   Design system: modern-football-club pattern (Motherwell FC layout),
   re-skinned with Saltcoats brand tokens. Tokens are overridable per-page
   from <style> in partials/head.php once site_settings lands (build step 3).
   ========================================================================= */

/* ---- Fonts ------------------------------------------------------------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

/* ---- Tokens ---------------------------------------------------------------
   Saltcoats Victoria 2026/27 palette: maroon + gold + cream + charcoal.
   The four --club-* colours are overridable per-page from site_settings via
   <style> in partials/head.php. */
:root {
  --club-primary: #6d2231;
  /* wine maroon — buttons, links, chips        */
  --club-primary-ink: #4c1521;
  /* deep maroon — hover / active               */
  --club-secondary: #3a0f19;
  /* maroon-black — header, footer, dark cards  */
  --club-on-primary: #ffffff;
  --club-accent: #e0b42a;
  /* gold — labels + highlights on dark surfaces */
  --club-accent-ink: #8a6410;
  /* dark gold — readable on light backgrounds  */

  --ink: #2e2c2d;
  --body: #3b3538;
  --muted-text: #7c7178;
  --paper: #ffffff;
  --surface: #f8f2e9;
  --surface-2: #efe4d3;
  --line: #e7dccb;

  --container: 1260px;
  --gap: 28px;
  --band-y: clamp(40px, 6vw, 72px);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(58, 15, 25, .07), 0 8px 24px rgba(58, 15, 25, .11);
  --shadow-sm: 0 1px 2px rgba(58, 15, 25, .11);

  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;

  --header-h: 68px;

  /* tonal ladder: deep (utility bar + footer) > secondary (masthead) > primary (match strip) */
  --club-deep: #2a0a11;
  --success: #1b8a4b;
  --warning: #b9862f;
  --danger: #b23b3b;
  --line-strong: #d9cbb4;
}

/* ---- Reset ----------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
}

img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--club-primary-ink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Touch devices (phones/tablets) fire :hover on tap, which left a stray
   underline flash on every link after tapping it. Hover-driven underlines
   are a pointer-device affordance only, so switch them off wherever
   pointer input can't hover. */
@media (hover: none), (pointer: coarse) {
  a:hover,
  a:hover * {
    text-decoration: none !important;
  }
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.6rem);
}

h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 1.9rem);
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

:focus-visible {
  outline: 3px solid var(--club-primary);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---- Layout primitives -------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.band {
  padding-block: var(--band-y);
}

.band--surface {
  background: var(--surface);
}

.band--ink {
  background: var(--club-secondary);
  color: #dfe3e8;
}

.band--ink h1,
.band--ink h2,
.band--ink h3 {
  color: #fff;
}

.band__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.band__head h2 {
  margin: 0;
}

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--club-accent-ink);
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  background: var(--club-primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 1000;
  transition: top .15s;
}

.skip-link:focus {
  top: 0;
}

/* ---- Buttons ---------------------------------------------------------------*/
.btn {
  --btn-bg: var(--club-primary);
  --btn-fg: var(--club-on-primary);
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .72em 1.35em;
  border-radius: var(--radius-sm);
  border: 2px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
}

.btn:hover {
  background: var(--club-primary-ink);
  border-color: var(--club-primary-ink);
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: currentColor;
  color: currentColor;
}

.btn--light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn--light:hover {
  background: var(--surface-2);
  border-color: var(--surface-2);
}

.btn--sm {
  padding: .55em 1em;
  font-size: .74rem;
}
.btn--lg {
  padding: .95em 1.6em;
  font-size: .9rem;
}
.btn--block {
  display: flex;
  width: 100%;
  justify-content: center;
}
.btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

.linkarrow {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .8rem;
}

.linkarrow::after {
  content: " \2192";
}

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.utility-bar {
  background: var(--club-accent);
  color: #111;
  font-size: .78rem;
  font-weight: 500;
}

.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  min-height: 36px;
}

.utility-bar a {
  color: inherit;
}

.utility-bar a:hover {
  color: var(--club-primary-ink);
  text-decoration: underline;
}

.utility-bar__links {
  display: flex;
  gap: 1.25rem;
}

.utility-bar__social {
  display: flex;
  gap: .6rem;
  margin-left: .5rem;
}

.utility-bar__social a {
  display: inline-flex;
}

.utility-bar__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 720px) {
  .utility-bar__links {
    display: none;
  }
}

.masthead {
  background: var(--club-secondary);
  color: #fff;
}

.masthead .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
  transition: min-height .18s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand__name {
  font-size: 1rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.brand__name small {
  display: block;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--club-accent);
}

.brand img {
  transition: height .18s ease;
}

.is-stuck .brand img {
  height: 34px;
}

.is-stuck .masthead .container {
  min-height: 56px;
}

/* =========================================================================
   Primary navigation
   ========================================================================= */
.primary-nav {
  margin-left: auto;
  align-self: stretch;
  display: flex;
}

.primary-nav__bar {
  display: none;
}

.primary-nav__list {
  display: flex;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-item__link,
.nav-item__toggle {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .72);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color .16s ease;
}

.nav-item__link {
  padding: 0 .82rem;
}

.nav-item.has-sub .nav-item__link {
  padding-right: .3rem;
}

.nav-item__toggle {
  padding: 0 .7rem 0 .12rem;
}

.nav-item__toggle svg {
  width: 13px;
  height: 13px;
  transition: transform .2s ease;
}

.nav-item__link:hover,
.nav-item__link:focus-visible,
.nav-item:hover .nav-item__toggle,
.nav-item:focus-within .nav-item__toggle,
.nav-item.is-section > .nav-item__link,
.nav-item [aria-current="page"] {
  color: #fff;
  text-decoration: none;
}

/* animated underline: faint on hover/focus, solid gold for the active section */
.nav-item::after {
  content: "";
  position: absolute;
  left: .82rem;
  right: .82rem;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--club-accent);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}

.nav-item:hover::after,
.nav-item:focus-within::after {
  transform: scaleX(1);
  opacity: .45;
}

.nav-item.is-section::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-item:hover .nav-item__toggle svg,
.nav-item:focus-within .nav-item__toggle svg,
.nav-item__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* invisible hover bridge so the pointer can travel to the panel */
.nav-item.has-sub::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: .6rem;
}

.subnav {
  position: absolute;
  top: 100%;
  left: .4rem;
  margin-top: .5rem;
  min-width: 244px;
  display: flex;
  flex-direction: column;
  padding: .4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--club-accent);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(58, 15, 25, .2);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}

.nav-item:hover > .subnav,
.nav-item:focus-within > .subnav,
.subnav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .16s ease, transform .16s ease;
}

.subnav__link {
  position: relative;
  display: flex;
  align-items: center;
  padding: .62rem .7rem .62rem .9rem;
  border-radius: 7px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--body);
  transition: background .14s ease, color .14s ease;
}

.subnav__link::before {
  content: "";
  position: absolute;
  left: .3rem;
  top: 50%;
  width: 3px;
  height: 1.05rem;
  border-radius: 2px;
  background: var(--club-accent);
  transform: translateY(-50%) scaleY(0);
  transition: transform .16s ease;
}

.subnav__link:hover,
.subnav__link:focus-visible {
  background: var(--surface);
  color: var(--club-primary-ink);
  text-decoration: none;
}

.subnav__link[aria-current="page"] {
  background: var(--surface-2);
  color: var(--club-primary-ink);
}

.subnav__link:hover::before,
.subnav__link:focus-visible::before,
.subnav__link[aria-current="page"]::before {
  transform: translateY(-50%) scaleY(1);
}

/* hamburger / close toggle */
.nav-toggle {
  display: none;
}

.nav-toggle__close {
  display: none;
}

.nav-scrim {
  display: none;
}

body.nav-open {
  overflow: hidden;
}

.is-stuck .masthead {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .26);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 46px;
    height: 46px;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
  }

  .nav-toggle__open {
    display: inline-flex;
  }

  .nav-toggle__close {
    display: none;
  }

  .nav-toggle svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
  }

  body.nav-open .nav-toggle__open {
    display: none;
  }

  body.nav-open .nav-toggle__close {
    display: inline-flex;
  }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 190;
    border: 0;
    background: rgba(20, 6, 10, .5);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity .26s ease;
  }

  .nav-scrim[hidden] {
    display: none;
  }

  body.nav-open .nav-scrim {
    opacity: 1;
  }

  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 200;
    display: flex;
    flex-direction: column;
    width: min(400px, 88vw);
    background: var(--club-secondary);
    box-shadow: -18px 0 44px rgba(0, 0, 0, .34);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  }

  .primary-nav.is-open {
    transform: none;
  }

  .primary-nav__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.05rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .primary-nav__title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--club-accent);
  }

  .primary-nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: -.4rem;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
  }

  .primary-nav__close svg {
    width: 22px;
    height: 22px;
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: .35rem 0 1.5rem;
  }

  .nav-item {
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .nav-item::after,
  .nav-item.has-sub::before {
    display: none;
  }

  .nav-item__link {
    flex: 1 1 auto;
    min-width: 0;
    padding: 1rem 1.15rem;
    font-size: .82rem;
    color: rgba(255, 255, 255, .9);
  }

  .nav-item.is-section {
    box-shadow: inset 3px 0 0 var(--club-accent);
  }

  .nav-item.is-section > .nav-item__link {
    color: #fff;
  }

  .nav-item__toggle {
    flex: 0 0 auto;
    align-self: stretch;
    width: 58px;
    padding: 0;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .62);
  }

  .nav-item__toggle svg {
    width: 17px;
    height: 17px;
  }

  .nav-item__toggle[aria-expanded="true"] {
    color: #fff;
  }

  .subnav {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    max-height: 0;
    background: rgba(0, 0, 0, .22);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: hidden;
    transition: max-height .28s ease;
  }

  .subnav.is-open {
    max-height: 60vh;
  }

  .subnav__link {
    padding: .9rem 1.15rem .9rem 2rem;
    border-radius: 0;
    color: rgba(255, 255, 255, .62);
  }

  .subnav__link::before {
    left: 1.15rem;
  }

  .subnav__link:hover,
  .subnav__link:focus-visible,
  .subnav__link[aria-current="page"] {
    background: rgba(255, 255, 255, .055);
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav,
  .subnav,
  .nav-scrim,
  .nav-item::after,
  .nav-item__toggle svg,
  .subnav__link::before,
  .masthead .container,
  .brand img {
    transition: none !important;
  }
}

/* =========================================================================
   Hero (fallback branded hero until featured news lands in step 8)
   ========================================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(224, 180, 42, .18), transparent 60%),
    var(--club-secondary);
  color: #fff;
  padding-block: clamp(48px, 9vw, 110px);
  text-align: center;
}

.hero__crest {
  height: 96px;
  margin-bottom: 1rem;
  opacity: .96;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 1.3rem + 3.4vw, 3.1rem);
  text-transform: uppercase;
}

.hero p {
  color: #c7ccd3;
  font-size: 1.05rem;
  max-width: 46ch;
  margin-inline: auto;
}

.hero__actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

/* =========================================================================
   Featured-news hero
   ========================================================================= */
.hfeature {
  background: var(--club-secondary);
}

.hfeature__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 4px;
  width: 100%;
  padding-block: 0;
}

@media (max-width: 860px) {
  .hfeature__grid {
    grid-template-columns: 1fr;
  }
}

.hfeature__rail {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 4px;
}

@media (max-width: 860px) {
  .hfeature__rail {
    grid-auto-rows: none;
    grid-template-columns: 1fr;
  }
}

.hcard {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  padding: 1.1rem 1.3rem;
  color: #fff;
  background: linear-gradient(180deg, var(--club-primary), var(--club-primary-ink));
  overflow: hidden;
}

.hcard:hover {
  text-decoration: none;
}

.hcard--lead {
  min-height: 480px;
}

@media (max-width: 860px) {
  .hcard--lead {
    min-height: 320px;
  }
}

.hcard__imgwrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hx, 50%) var(--hy, 50%);
  transform: scale(var(--hz, 1));
  transform-origin: var(--hx, 50%) var(--hy, 50%);
  transition: transform .5s ease;
}

.hcard:hover .hcard__img {
  transform: scale(calc(var(--hz, 1) * 1.08));
}

.hcard__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 22, 27, .1), rgba(18, 22, 27, .82));
}

.hcard__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.hcard__cat {
  align-self: flex-start;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  background: var(--club-primary);
  color: var(--club-on-primary);
  padding: .3em .6em;
  border-radius: 4px;
}

.hcard__title {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
}

.hcard--lead .hcard__title {
  font-size: clamp(1.5rem, 1rem + 2.2vw, 2.3rem);
  max-width: 18ch;
}

.hcard:not(.hcard--lead) .hcard__title {
  font-size: 1.02rem;
}

.hcard__date {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #dfe3e8;
}

/* =========================================================================
   Next-match widget + result rail
   ========================================================================= */
.matchbar {
  background: var(--club-primary);
}

.matchbar .container {
  display: flex;
  align-items: stretch;
  padding-block: 0;
}

@media (max-width: 720px) {
  .matchbar .container {
    flex-direction: column;
  }
}

.matchbar__match,
.matchbar__league {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: .85rem;
  color: #fff;
}

.matchbar__match {
  flex: 1 1 320px;
  min-width: 0;
  padding-right: 1.75rem;
}

.matchbar__match:hover {
  text-decoration: none;
}

.matchbar__match:hover .matchbar__title {
  text-decoration: underline;
}

.matchbar__league {
  padding-left: 1.75rem;
  flex: none;
}

@media (max-width: 720px) {
  .matchbar__match {
    flex-basis: auto;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    padding-inline: 0;
  }

  .matchbar__league {
    padding-left: 0;
  }
}

.matchbar__eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .68rem;
  font-weight: 700;
  color: var(--club-accent);
  flex: none;
}

.matchbar__crests {
  display: flex;
  align-items: center;
  flex: none;
}

.matchbar__crests img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.matchbar__crests img+img {
  margin-left: -8px;
}

.matchbar__info {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  flex: 1 1 0%;
  min-width: 0;
}

.matchbar__title {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.matchbar__subtitle {
  display: block;
  font-size: .78rem;
  color: rgba(255, 255, 255, .78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.matchbar__empty {
  font-size: .85rem;
  color: rgba(255, 255, 255, .78);
}

.matchbar__league:hover {
  text-decoration: none;
}

.matchbar__league__crest {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: none;
}

.matchbar__pos {
  flex: none;
  line-height: 1.05;
}

.matchbar__pos b {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  white-space: nowrap;
}

.matchbar__divider {
  width: 1px;
  align-self: stretch;
  background: var(--club-accent);
  flex: none;
}

.matchbar__stats table {
  border-collapse: collapse;
}

.matchbar__stats th {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .65);
  padding: 0 .45rem;
  text-align: center;
}

.matchbar__stats td {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .84rem;
  padding: .15rem .45rem 0;
  text-align: center;
  color: #fff;
}

/* result / fixture cards (shared) */
.results-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--gap);
}

.matchcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.matchcard__comp {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted-text);
  font-family: var(--font-head);
  font-weight: 700;
}

.matchcard__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.matchcard__row img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.matchcard__row span {
  flex: 1;
  font-weight: 600;
  font-size: .92rem;
}

.matchcard__row b {
  font-family: var(--font-head);
  font-size: 1.05rem;
}

.matchcard__pens {
  text-align: right;
  font-size: .75rem;
  color: var(--muted-text);
  margin-top: -.15rem;
}

.matchcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--muted-text);
}

.chip {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .7rem;
  width: 1.4rem;
  height: 1.4rem;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  color: #fff;
}

.chip--W {
  background: var(--success);
}

.chip--D {
  background: var(--warning);
}

.chip--L {
  background: var(--danger);
}

/* =========================================================================
   News grid
   ========================================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.newscard {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .12s, box-shadow .12s;
}

.newscard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.newscard a {
  color: inherit;
  text-decoration: none;
}

.newscard__media {
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  overflow: hidden;
}

.newscard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newscard__body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.newscard__cat {
  align-self: flex-start;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  background: var(--club-primary);
  padding: .28em .6em;
  border-radius: 4px;
}

.newscard h3 {
  margin: 0;
  font-size: 1.05rem;
}

.newscard__date {
  margin-top: auto;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted-text);
}

.emptystate {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted-text);
  background: var(--paper);
}

/* =========================================================================
   Partners strip
   ========================================================================= */
.partners {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.partners .container {
  padding-block: clamp(28px, 4vw, 44px);
}

.partners__head {
  text-align: center;
  margin-bottom: 1.4rem;
}

.partners__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 2.6rem);
}

.partners__grid a {
  display: inline-flex;
}

.partners__grid img {
  max-height: 46px;
  width: auto;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .15s, opacity .15s;
}

.partners__grid a:hover img,
.partners__grid img:hover {
  filter: none;
  opacity: 1;
}

.partners__grid .is-main img {
  max-height: 68px;
  filter: none;
  opacity: 1;
}

/* Full-width flex break: principal partners on the first row, the rest below. */
.partners__grid__break {
  flex-basis: 100%;
  width: 100%;
  height: 0;
  margin: 0;
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--club-deep);
  color: #b6a7ac;
  font-size: .9rem;
}

.site-footer .container {
  padding-block: clamp(36px, 5vw, 56px);
}

.site-footer__cols {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr auto;
}

@media (max-width: 820px) {
  .site-footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .site-footer__cols {
    grid-template-columns: 1fr;
  }
}

.site-footer h4 {
  color: #fff;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 .9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.site-footer a {
  color: #9aa2ac;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: none;
}

.site-footer__brand img {
  height: 54px;
  width: auto;
  margin-bottom: .8rem;
}

.site-footer__social {
  display: flex;
  gap: .8rem;
  margin-top: .3rem;
}

.site-footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: 1.1rem;
  font-size: .82rem;
}

.site-footer__bar .container {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-footer__legal a {
  color: #9aa2ac;
}

.site-footer__legal a:hover {
  color: #fff;
  text-decoration: none;
}

.site-footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================================================================
   Generic page + stub
   ========================================================================= */
.page {
  padding-block: var(--band-y);
  min-height: 40vh;
}

.prose {
  max-width: 68ch;
}

.prose :where(h2, h3) {
  margin-top: 1.6em;
}

/* ---- Page hero — the shared title block for every interior page ---------- */
.pagehero {
  background: linear-gradient(180deg, var(--club-primary), var(--club-primary-ink));
  color: #f0dde2;
  padding-block: clamp(18px, 5.5vw, 6px);
  border-bottom: 2px solid var(--club-accent);
}

.pagehero .eyebrow {
  display: block;
  margin-bottom: .4rem;
  color: var(--club-accent);
}

.pagehero h1 {
  color: #fff;
  margin: 0;
}

.pagehero__sub {
  margin: .55rem 0 0;
  font-size: 1.05rem;
  color: #f0dde2;
  max-width: 62ch;
}

.pagehero__back {
  display: inline-block;
  margin-bottom: .7rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #e7cfd5;
}

.pagehero__back::before {
  content: "\2039\00a0\00a0";
}

.pagehero__back:hover {
  color: #fff;
  text-decoration: none;
}

/* Legacy aliases — kept so any un-migrated markup still lands somewhere sane. */
.clubhero {
  padding-block: clamp(32px, 6vw, 60px);
}

.clubhero .eyebrow {
  color: var(--club-accent);
}

.clubhero__sub {
  color: #e7d6da;
  font-size: 1.05rem;
  margin: 0;
}

.clay {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: start;
}

@media (max-width: 860px) {
  .clay {
    grid-template-columns: 1fr;
  }
}

.factbox {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.factbox+.factbox {
  margin-top: var(--gap);
}

.factbox h2 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-text);
  margin: 0 0 1rem;
}

.factbox dl {
  margin: 0;
  display: grid;
  gap: .9rem;
}

.factbox dt {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted-text);
  font-family: var(--font-head);
  font-weight: 700;
}

.factbox dd {
  margin: .15rem 0 0;
  font-weight: 600;
}

.factbox__crest {
  display: block;
  width: 88px;
  height: auto;
  margin: 0 auto 1.1rem;
}

.swatches {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.swatch {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .85rem;
}

.swatch i {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, .14);
}

.mapembed {
  margin-top: var(--gap);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 7;
}

.mapembed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 620px) {
  .mapembed {
    aspect-ratio: 4 / 5;
  }
}

.prose--lead>p:first-of-type {
  font-size: 1.15rem;
  color: var(--ink);
}

/* Extra stacked sections on the merged About / Contact / Policies pages. */
.aboutblock {
  margin-top: clamp(2.4rem, 6vw, 4rem);
}

.aboutblock>.squad-heading {
  margin-bottom: 1.1rem;
}

[id="committee"],
[id="find-us"],
.policydoc[id] {
  scroll-margin-top: 96px;
}

.policydoc {
  border-top: 1px solid var(--line);
  padding-top: clamp(1.6rem, 4vw, 2.4rem);
}

.policydoc .prose {
  max-width: 74ch;
}

/* Policy title: a real page-section heading, not the small uppercase eyebrow
   that .squad-heading uses elsewhere. */
.policydoc>.squad-heading {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--club-primary);
  margin: 0 0 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 3px solid var(--club-accent);
}

/* Policies — vertical side tabs, one document shown at a time
   (/club/policies). Without JS every panel stays visible and the nav is just
   an in-page link list, so the page is fully readable. */
.policytabs {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, var(--gap));
  align-items: start;
}

.policytabs__nav {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  border-left: 2px solid var(--line);
  position: sticky;
  top: 96px;
}

.policytabs__tab {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.3;
  padding: .75em .95em;
  color: var(--muted-text);
  border-left: 3px solid transparent;
  margin-left: -2px;
}

.policytabs__tab:hover {
  text-decoration: none;
  color: var(--ink);
}

.policytabs__tab.is-active {
  color: var(--ink);
  background: var(--surface);
  border-left-color: var(--club-primary);
}

.policytabs__panels > .policydoc {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* No-JS: panels stack, so keep a divider between each. With JS only one panel
   is visible at a time, this never matches, and it shows on its own. */
.policytabs__panels > .policydoc:not([hidden]) ~ .policydoc:not([hidden]) {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(1.6rem, 4vw, 2.4rem);
  border-top: 1px solid var(--line);
}

.policytabs__panels > .policydoc[hidden] {
  display: none;
}

@media (max-width: 820px) {
  .policytabs {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .policytabs__nav {
    flex-direction: row;
    gap: .3rem;
    position: static;
    border-left: 0;
    border-bottom: 2px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .policytabs__nav::-webkit-scrollbar {
    display: none;
  }

  .policytabs__tab {
    flex: 0 0 auto;
    white-space: nowrap;
    border-left: 0;
    border-bottom: 3px solid transparent;
    margin-left: 0;
    margin-bottom: -2px;
  }

  .policytabs__tab.is-active {
    background: none;
    border-left-color: transparent;
    border-bottom-color: var(--club-primary);
  }
}

/* =========================================================================
   About the club  (/club/history) — alternating-background sections
   ========================================================================= */
.band--tint {
  background: color-mix(in srgb, var(--club-primary) 12%, var(--surface));
}

.band--ink .eyebrow {
  color: var(--club-accent);
}

.about-story .clay {
  align-items: start;
}

.about-story__body > :where(h2, h3):first-child {
  margin-top: 0;
}

/* "The club in numbers": separate cream cards that lift off the dark band,
   gold top edge, maroon figures. Used on /club/history and /honours. */
.factstrip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}

.factstrip > div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 132px;
  padding: 1.6rem 1rem 1.3rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  border-top: 4px solid var(--club-accent);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 10px 26px rgba(0, 0, 0, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.factstrip > div:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), 0 16px 34px rgba(0, 0, 0, 0.38);
}

.factstrip__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--club-primary);
}

.factstrip__num--text {
  font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.5rem);
  line-height: 1.2;
}

.factstrip__lbl {
  display: block;
  margin-top: 0.65rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-text);
}

@media (max-width: 560px) {
  .factstrip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* an odd card out spans the full row instead of leaving a gap */
  .factstrip > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .factstrip > div {
    transition: none;
  }

  .factstrip > div:hover {
    transform: none;
  }
}

/* Mission / vision / values */
.mvv-intro {
  max-width: 62ch;
  margin: 0 0 1rem;
}

.mvv-mission {
  margin: 2rem 0 0;
  padding: 0;
}

.mvv-mission__k {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--club-accent-ink);
}

.mvv-mission blockquote {
  margin: 0;
  border-left: 4px solid var(--club-accent);
  padding-left: 1.2rem;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.4;
  font-size: clamp(1.15rem, 0.95rem + 1.1vw, 1.6rem);
  color: var(--club-primary-ink);
}

.mvv-subhead {
  margin: 2.6rem 0 1.2rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-text);
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap);
}

.mvv-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.mvv-card__step {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--club-accent-ink);
}

.mvv-card h4 {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.mvv-card p {
  margin: 0;
  color: var(--body);
}

.mvv-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--gap);
}

.mvv-value {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--club-accent);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem 1.3rem;
}

.mvv-value h4 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.mvv-value p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--body);
}

/* "Explore the club" link cards */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--gap);
}

.explore-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s, border-color 0.12s, box-shadow 0.12s;
}

.explore-card:hover {
  transform: translateY(-3px);
  border-color: var(--club-primary);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.explore-card__t {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--ink);
}

.explore-card__d {
  display: block;
  flex: 1;
  margin-top: 0.4rem;
  color: var(--muted-text);
  font-size: 0.9rem;
}

.explore-card__go {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--club-primary-ink);
}

.explore-card__go::after {
  content: " \2192";
}

/* ---- Partners page ----------------------------------------------------- */
.partner-lead {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}

.partner-lead__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.partner-lead__logo {
  height: 90px;
  display: flex;
  align-items: center;
}

.partner-lead__logo img {
  max-height: 90px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.partner-lead__logo span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
}

.partner-lead__body h3 {
  margin: 0 0 .3rem;
  font-size: 1.1rem;
}

.partner-lead__meta {
  margin: 0 0 .2rem;
  font-size: .88rem;
  color: var(--muted-text);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.partner-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  padding: 1.4rem 1rem;
  min-height: 110px;
  text-align: center;
}

.partner-grid__item img {
  max-height: 62px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .15s, opacity .15s;
}

.partner-grid__item:hover img {
  filter: none;
  opacity: 1;
  text-decoration: none;
}

.partner-grid__item.is-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--body);
}

.partner-grid__item.is-text:hover {
  color: var(--club-primary-ink);
  text-decoration: none;
}

.partner-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--club-secondary);
  color: #f0e2e5;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.partner-cta h2 {
  color: #fff;
  margin: 0 0 .5rem;
}

.partner-cta p {
  margin: 0;
  max-width: 54ch;
}

.partner-cta__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.prose :where(h2) {
  font-size: 1.4rem;
}

.prose :where(h3) {
  font-size: 1.15rem;
}

.prose img {
  border-radius: var(--radius-sm);
}

.prose blockquote {
  margin: 1.4em 0;
  padding: .3em 0 .3em 1.2em;
  border-left: 4px solid var(--club-primary);
  color: var(--ink);
  font-style: italic;
}

/* Quotes inside news articles: a pull-quote panel with a large gold mark. */
.article__main blockquote {
  position: relative;
  margin: 2rem 0;
  padding: 2.6rem 1.6rem 1.4rem 1.8rem;
  background: var(--surface);
  border-left: 5px solid var(--club-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: normal;
  color: var(--ink);
}

.article__main blockquote::before {
  content: "\201C";
  position: absolute;
  top: 0.35rem;
  left: 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 1;
  color: var(--club-accent);
}

.article__main blockquote p {
  margin: 0 0 1rem;
  font-size: 1.08em;
  line-height: 1.7;
  font-style: italic;
}

.article__main blockquote p:last-child {
  margin-bottom: 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: .95rem;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: .5em .7em;
  text-align: left;
}

.prose thead th {
  background: var(--surface);
}

/* ---- Section tab strip + pager -------------------------------------------
   News categories and the policy jump-nav use the same underline-tab look as
   .teamtabs / .fxtabs, scrolling sideways rather than wrapping when there are
   several items. */
.chipnav {
  display: flex;
  gap: .4rem;
  margin-bottom: 1.8rem;
  border-bottom: 2px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.chipnav::-webkit-scrollbar {
  display: none;
}

.chipnav__item {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .7em 1.1em;
  color: var(--muted-text);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
}

.chipnav__item:hover {
  text-decoration: none;
  color: var(--ink);
}

.chipnav__item.is-active {
  color: var(--ink);
  border-bottom-color: var(--club-primary);
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.pager__count {
  font-size: .85rem;
  color: var(--muted-text);
}

/* =========================================================================
   News article
   ========================================================================= */
.article__header {
  padding-block: clamp(28px, 5vw, 56px);
  background: var(--surface);
}

.article__header--hero {
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.article__herobg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hx, 50%) var(--hy, 50%);
  transform: scale(var(--hz, 1));
  transform-origin: var(--hx, 50%) var(--hy, 50%);
}

.article__header--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 22, 27, .15), rgba(18, 22, 27, .85));
}

.article__header--hero > .container {
  position: relative;
  z-index: 1;
}

.article__header--hero h1 {
  color: #fff;
}

.article__cat {
  display: inline-block;
  margin-bottom: .8rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: var(--club-primary);
  color: var(--club-on-primary);
  padding: .35em .7em;
  border-radius: 4px;
}

.article__cat:hover {
  text-decoration: none;
  background: var(--club-primary-ink);
}

.article__header h1 {
  max-width: 22ch;
  margin: 0;
}

.article__meta {
  display: flex;
  gap: 1.2rem;
  margin: .9rem 0 0;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .9;
}

.article__header--hero .article__meta {
  color: #e7e9ec;
}

.article__body {
  padding-block: var(--band-y);
}

.article__layout {
  display: block;
}

.article__main {
  margin-inline: auto;
}

/* Match reports (news_articles.fixture_id set): widen the prose column and
   shift it left to sit against the match-details sidebar, instead of the
   normal centered single column. */
.article__layout--match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.article__layout--match .article__main {
  margin-inline: 0;
  max-width: none;
}

.article__layout--match .article__main.prose {
  max-width: 82ch;
}

@media (max-width: 860px) {
  .article__layout--match {
    grid-template-columns: 1fr;
  }
}

/* ---- Match report sidebar (partials/match_report_sidebar.php) ------------ */
.mrs {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mrs__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.mrs__score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.mrs__score-team {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
}

.mrs__score-team img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.mrs__score-name {
  font-size: .7rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mrs__score-value {
  flex: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
}

.mrs__pens {
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--club-accent-ink);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: .2rem;
}

.mrs__sponsor-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.mrs__sponsor { text-align: center; }
.mrs__sponsor-role {
  display: block;
  margin-bottom: .3rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6b6f76;
}
.mrs__sponsor-logo { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; }
.mrs__sponsor-logo img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.mrs__sponsor-name { font-weight: 700; font-size: .95rem; }

.mrs__mclink {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: .9rem;
  text-align: center;
}

.mrs__heading {
  margin: 0 0 .7rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted-text);
}

.mrs__heading--sub {
  margin-top: 1.1rem;
}

.mrs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mrs-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
}

.mrs__list li.mrs-row:last-child {
  border-bottom: none;
}

.mrs-row__media {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, var(--club-primary), var(--club-primary-ink));
  display: grid;
  place-items: center;
}

.mrs-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.mrs-row__initials {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .8rem;
  color: rgba(255, 255, 255, .9);
}

.mrs-row__num {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--club-accent);
  color: var(--club-primary-ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .62rem;
  line-height: 1;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--surface);
}

.mrs-row__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.mrs-row__name {
  font-size: .85rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mrs-row__c {
  display: inline-block;
  margin-left: .3rem;
  font-size: .62rem;
  font-weight: 800;
  color: var(--club-accent-ink);
}

.mrs-row__sub {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .7rem;
  color: var(--muted-text);
}

.mrs-row__sub svg {
  width: 10px;
  height: 10px;
}

.mrs-row__events {
  flex: none;
  display: flex;
  align-items: center;
  gap: .25rem;
}

.mrs-row__events .mc-glyph {
  width: 15px;
  height: 15px;
}

.article__herocaption {
  font-size: .8rem;
  color: var(--muted-text);
  margin-top: -.4rem;
}

.article__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: .45rem;
  margin: 2rem 0;
}

@media (max-width: 480px) {
  .article__gallery {
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  }
}

.article__gallery figure {
  margin: 0;
}

.article__gallery__item {
  display: block;
  cursor: zoom-in;
}

.article__gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: filter .15s ease;
}

.article__gallery__item:hover img {
  filter: brightness(1.07);
}

.article__gallery figcaption {
  font-size: .68rem;
  color: var(--muted-text);
  margin-top: .25rem;
  line-height: 1.3;
}

.article__back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* =========================================================================
   Fixtures / results list
   ========================================================================= */
.fxtabs {
  display: flex;
  gap: .4rem;
  margin-bottom: 1.4rem;
  border-bottom: 2px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.fxtabs::-webkit-scrollbar {
  display: none;
}

.fxtabs__tab {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .7em 1.1em;
  color: var(--muted-text);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.fxtabs__tab:hover {
  text-decoration: none;
  color: var(--ink);
}

.fxtabs__tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--club-primary);
}

.fxfilters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.fxfilters label {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted-text);
  font-weight: 700;
  font-family: var(--font-head);
}

.fxfilters select {
  padding: .5em .7em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font: inherit;
  min-width: 200px;
}

.tablebar {
  align-items: center;
  justify-content: space-between;
}

.tablebar__seasonpick {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.tablebar__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  align-self: flex-end;
}

.tablebar__nav:hover {
  border-color: var(--club-primary);
  color: var(--club-primary);
}

.tablebar__nav--disabled {
  opacity: .35;
  pointer-events: none;
}

.tablebar__actions {
  display: flex;
  gap: .5rem;
}

.fxmonth {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-text);
  margin: 1.8rem 0 .6rem;
}

.fxlist {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.fxrow {
  position: relative;
  display: grid;
  grid-template-columns: 128px 1fr 64px 1fr 104px;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1rem;
  color: var(--body);
  border-top: 1px solid var(--line);
}

/* Stretched link — makes the whole row open the match centre while still
   allowing a real, separately-clickable "Buy tickets" link in the meta cell. */
.fxrow__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.fxrow__link:focus-visible {
  outline: 2px solid var(--club-accent-ink);
  outline-offset: -3px;
}

.fxlist .fxrow:first-child {
  border-top: 0;
}

.fxrow:hover {
  text-decoration: none;
  background: var(--surface);
}

.fxrow--w {
  box-shadow: inset 3px 0 0 #1b8a4b;
}

.fxrow--d {
  box-shadow: inset 3px 0 0 #b9862f;
}

.fxrow--l {
  box-shadow: inset 3px 0 0 #b23b3b;
}

.fxrow__date {
  display: flex;
  flex-direction: column;
  font-size: .74rem;
  color: var(--muted-text);
}

.fxrow__date b {
  font-family: var(--font-head);
  font-size: .82rem;
  color: var(--ink);
  text-transform: uppercase;
}

.fxrow__team {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  font-weight: 600;
  font-size: .92rem;
}

.fxrow__team img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: none;
}

.fxrow__team--home {
  justify-content: flex-end;
  text-align: right;
}

.fxrow__team span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fxrow__score {
  text-align: center;
}

.fxrow__score b {
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.fxrow__score b span {
  color: var(--muted-text);
  margin: 0 .1em;
}

.fxrow__pens {
  display: block;
  font-size: .68rem;
  color: var(--muted-text);
}

.fxrow__v {
  color: var(--muted-text);
  font-family: var(--font-head);
}

.fxrow__meta {
  text-align: center;
}

.fxrow__ha {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--muted-text);
  font-size: .8rem;
}

.fxrow__tickets {
  position: relative;
  z-index: 2;
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
  padding: .5em .7em;
  border-radius: var(--radius-sm);
  background: var(--club-primary);
  color: var(--club-on-primary);
}

.fxrow__tickets:hover {
  background: var(--club-primary-ink);
  text-decoration: none;
}

.fxrow__tickets:focus-visible {
  outline: 2px solid var(--club-accent-ink);
  outline-offset: 2px;
}

.fxnote {
  margin-top: 2rem;
}

@media (max-width: 680px) {
  .fxrow {
    grid-template-columns: 1fr 54px 1fr;
    grid-template-areas: "date date date" "home score away" "meta meta meta";
    row-gap: .4rem;
  }

  .fxrow__date {
    grid-area: date;
    flex-direction: row;
    gap: .5rem;
  }

  .fxrow__team--home {
    grid-area: home;
  }

  .fxrow__score {
    grid-area: score;
  }

  .fxrow__team--away {
    grid-area: away;
  }

  .fxrow__meta {
    grid-area: meta;
  }
}

/* =========================================================================
   League table
   ========================================================================= */
.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.leaguetable {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  background: var(--paper);
  min-width: 560px;
}

.leaguetable th,
.leaguetable td {
  padding: .6rem .5rem;
  border-bottom: 1px solid var(--line);
}

.leaguetable thead th {
  background: var(--club-secondary);
  color: #fff;
  font-family: var(--font-head);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.leaguetable .c {
  text-align: center;
}

.leaguetable td.club {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
}

.leaguetable td.club img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.leaguetable tr.is-us {
  background: color-mix(in srgb, var(--club-primary) 12%, transparent);
}

.leaguetable tr.is-us td {
  font-weight: 700;
}

.leaguetable tr.zone-promo td:first-child {
  box-shadow: inset 3px 0 0 #1b8a4b;
}

.leaguetable tr.zone-releg td:first-child {
  box-shadow: inset 3px 0 0 #b23b3b;
}

.leaguetable td.form {
  white-space: nowrap;
}

.leaguetable td.form .chip {
  width: 1.15rem;
  height: 1.15rem;
  font-size: .6rem;
  margin: 0 1px;
}

@media (max-width: 560px) {
  .leaguetable .hide-sm {
    display: none;
  }
}

.tablekey {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  margin-top: 1rem;
  font-size: .82rem;
  color: var(--muted-text);
}

.tablekey .sw {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: .3rem;
  vertical-align: -1px;
}

.tablekey .sw--promo {
  background: #1b8a4b;
}

.tablekey .sw--releg {
  background: #b23b3b;
}

/* =========================================================================
   Match centre
   ========================================================================= */
.mc-hero {
  background: var(--club-secondary);
  color: #fff;
  padding-block: clamp(28px, 5vw, 52px);
  text-align: center;
}

.mc-hero__comp {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .76rem;
  color: var(--club-accent);
  font-weight: 700;
  font-family: var(--font-head);
  margin: 0 0 1rem;
}

.mc-hero__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  max-width: 640px;
  margin-inline: auto;
}

.mc-hero__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}

.mc-hero__team img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.mc-hero__team span {
  font-family: var(--font-head);
  font-weight: 700;
}

.mc-hero__mid {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.mc-hero__score {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
}

.mc-hero__ko {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
}

.mc-hero__ht,
.mc-hero__date {
  font-size: .78rem;
  color: #aeb6c0;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.mc-hero__pens {
  font-size: .82rem;
  font-weight: 700;
  color: var(--club-accent);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.mc-hero__venue {
  margin: 1.2rem 0 0;
  color: #aeb6c0;
  font-size: .9rem;
}

.mc-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--gap);
  padding-block: var(--band-y);
}

@media (max-width: 900px) {
  .mc-body {
    grid-template-columns: 1fr;
  }
}

.mc-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  margin-bottom: var(--gap);
}

.mc-panel h2 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
}

.mc-panel h3 {
  font-size: .95rem;
  margin: 1.2rem 0 .4rem;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mc-plink {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.mc-plink:hover {
  border-bottom-color: currentColor;
}

/* ---- Player of the Match --------------------------------------------------- */
.mc-motm {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.mc-motm__media {
  flex: none;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
  display: grid;
  place-items: center;
}

.mc-motm__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-motm__initials {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--muted-text);
}

.mc-motm__body {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.mc-motm__label {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  color: var(--club-accent-ink);
}

.mc-motm__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
}

.mc-motm__name a {
  color: inherit;
  text-decoration: none;
}

.mc-motm__name a:hover {
  text-decoration: underline;
}

.mc-motm__sponsor {
  font-size: .72rem;
  color: var(--muted-text);
}

.mc-motm__pos {
  font-size: .82rem;
  color: var(--muted-text);
}

.mc-motm__note {
  margin: .35rem 0 0;
  font-size: .88rem;
  color: var(--body);
}

/* ---- Shared glyphs (goal / cards / sub arrows) --------------------------- */
.mc-glyph {
  flex: none;
}

.mc-glyph--goal {
  width: 20px;
  height: 20px;
  color: var(--ink);
}

.mc-glyph--og {
  color: #c0392b;
}

.mc-glyph--sub {
  width: 20px;
  height: 20px;
}

.mc-glyph--dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted-text);
  display: inline-block;
}

.mc-arrow {
  width: 11px;
  height: 11px;
}

.mc-card {
  display: inline-block;
  width: 9px;
  height: 12px;
  border-radius: 1.5px;
  background: #e8b923;
}

.mc-card--red {
  background: #d33b34;
}

/* ---- Match timeline ------------------------------------------------------- */
.match-timeline {
  position: relative;
  padding: .4rem 0 0;
}

.match-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}

/* The line should stop level with the last item (full-time, or the
   penalties pill after it when there was a shootout) — not trail on into
   empty space below it. */
.match-timeline__break:last-child {
  margin-bottom: 0;
}

.match-timeline__break {
  position: relative;
  text-align: center;
  margin: .8rem 0;
}

.match-timeline__break span {
  position: relative;
  display: inline-block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .2rem .8rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted-text);
}

.match-timeline__break--pens span {
  color: var(--club-accent-ink);
  border-color: var(--club-accent);
}

.match-timeline__event {
  position: relative;
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 50%;
  padding: .45rem 0;
  box-sizing: border-box;
}

.match-timeline__event::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--club-primary);
  border: 2px solid var(--paper);
  transform: translateY(-50%);
}

.match-timeline__event--home {
  margin-right: 50%;
  flex-direction: row-reverse;
  text-align: right;
  padding-right: 1.5rem;
}

.match-timeline__event--home::before {
  right: -5.5px;
}

.match-timeline__event--away {
  margin-left: 50%;
  padding-left: 1.5rem;
}

.match-timeline__event--away::before {
  left: -5.5px;
}

.match-timeline__icon {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30px;
}

.match-timeline__minute {
  display: block;
  margin-top: 2px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .62rem;
  color: var(--muted-text);
}

.match-timeline__icon .mc-card {
  width: 13px;
  height: 17px;
}

.match-timeline__crest {
  flex: none;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.match-timeline__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.match-timeline__name {
  font-size: .92rem;
}

.match-timeline__name a {
  color: inherit;
  text-decoration: none;
}

.match-timeline__name a:hover {
  text-decoration: underline;
}

.match-timeline__name--off {
  font-size: .82rem;
  color: var(--muted-text);
}

.match-timeline__score {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  color: var(--muted-text);
}

.match-timeline__tag {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted-text);
}

@media (max-width: 560px) {
  .match-timeline::before {
    left: 15px;
  }
  .match-timeline__event,
  .match-timeline__event--home,
  .match-timeline__event--away {
    width: 100%;
    margin: 0;
    padding: .45rem 0 .45rem 38px;
    flex-direction: row;
    text-align: left;
  }
  .match-timeline__event--home::before,
  .match-timeline__event--away::before {
    left: 10.5px;
    right: auto;
  }
  .match-timeline__break {
    text-align: left;
    padding-left: 2px;
  }
}

/* ---- Match line-ups ----------------------------------------------------- */
.match-lineups__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

@media (max-width: 640px) {
  .match-lineups__grid {
    grid-template-columns: 1fr;
  }
}

.match-lineups__head {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--line);
  margin-bottom: .4rem;
}

.match-lineups__badge {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: none;
}

.match-lineups__teamname {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
}

.match-lineups__label {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .66rem;
  color: var(--muted-text);
  margin: .3rem 0 .2rem;
}

.match-lineups__label--subs {
  margin-top: .9rem;
  padding-top: .6rem;
  border-top: 1px solid var(--line);
}

.match-lineups__row {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .4rem;
  padding: .32rem 0;
  border-bottom: 1px solid var(--line);
}

.match-lineups__row:last-child {
  border-bottom: 0;
}

.match-lineups__row--subline,
.match-lineups__body--nonums .match-lineups__row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.match-lineups__row.is-used {
  background: rgba(224, 180, 42, .12);
}

.match-lineups__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  color: var(--muted-text);
  text-align: center;
}

.match-lineups__name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  font-size: .9rem;
  min-width: 0;
}

.match-lineups__row.is-captain .match-lineups__name-text {
  font-weight: 700;
}

.match-lineups__pos {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted-text);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: .05rem .3rem;
}

.match-lineups__c {
  font-size: .58rem;
  font-weight: 800;
  color: var(--club-accent-ink);
  background: rgba(224, 180, 42, .28);
  border-radius: 3px;
  padding: .05rem .28rem;
}

.match-lineups__events {
  display: flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}

.match-lineups__event {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
}

.match-lineups__event-minute {
  font-size: .62rem;
  color: var(--muted-text);
}

.match-lineups__sub-for {
  font-size: .74rem;
  color: var(--muted-text);
}

.match-lineups__manager {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-top: .8rem;
  padding-top: .5rem;
  border-top: 1px solid var(--line);
}

.match-lineups__manager-label {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .62rem;
  color: var(--muted-text);
}

.match-lineups__manager-value {
  font-size: .86rem;
}

.match-lineups__empty {
  margin: .5rem 0 0;
  font-size: .82rem;
  font-style: italic;
  color: var(--muted-text);
}

/* ---- Match report card ------------------------------------------------- */
.mc-report__card {
  display: flex;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.mc-report__media {
  flex: none;
  width: 150px;
}

.mc-report__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.mc-report__text {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.mc-report__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
}

.mc-report__excerpt {
  font-size: .86rem;
  color: var(--body);
}

.mc-report__more {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  color: var(--club-primary-ink);
}

.mc-report__card:hover .mc-report__more {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .mc-report__card {
    flex-direction: column;
  }
  .mc-report__media {
    width: 100%;
  }
}

/* ---- Match details list ---------------------------------------------------- */
.mc-facts {
  margin: 0;
}

.mc-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
}

.mc-facts > div:last-child {
  border-bottom: 0;
}

.mc-facts dt {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .68rem;
  color: var(--muted-text);
}

.mc-facts dd {
  margin: 0;
  text-align: right;
  font-size: .88rem;
}

.mc-facts__sub {
  display: block;
  font-size: .72rem;
  color: var(--muted-text);
}

/* ---- Upcoming-fixture preview: weather / league / form / head-to-head --- */
.mc-weather__head {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .8rem;
}

.mc-weather__emoji {
  font-size: 2rem;
  line-height: 1;
}

.mc-weather__temp {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
}

.mc-weather__cond {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--muted-text);
}

.mc-weather__stats {
  margin: 0;
}

.mc-weather__stats > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .4rem 0;
  border-bottom: 1px solid var(--line);
}

.mc-weather__stats > div:last-child {
  border-bottom: 0;
}

.mc-weather__stats dt {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted-text);
  font-family: var(--font-head);
  font-weight: 700;
}

.mc-weather__stats dd {
  margin: 0;
  font-weight: 700;
  font-size: .88rem;
}

.mc-weather__note {
  margin: .8rem 0 0;
  font-size: .74rem;
  color: var(--muted-text);
}

.mc-ltable__grid {
  width: 100%;
  border-collapse: collapse;
  font-size: .86rem;
}

.mc-ltable__grid th {
  font-family: var(--font-head);
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted-text);
  padding: .3rem .35rem;
  border-bottom: 2px solid var(--line);
  text-align: left;
}

.mc-ltable__grid td {
  padding: .5rem .35rem;
  border-bottom: 1px solid var(--line);
}

.mc-ltable__grid .c {
  text-align: center;
}

.mc-ltable__grid tr:last-child td {
  border-bottom: 0;
}

.mc-ltable__grid tr.is-us {
  background: rgba(224, 180, 42, .14);
}

.mc-ltable__grid td.club {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.mc-ltable__grid td.club img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: none;
}

.mc-ltable p {
  margin: .9rem 0 0;
}

.mc-form__team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
}

.mc-form__team:last-of-type {
  border-bottom: 0;
}

.mc-form__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
}

.mc-form__chips {
  display: inline-flex;
  gap: .3rem;
  flex: none;
}

.mc-form__chips a.chip {
  text-decoration: none;
}

.mc-form__note {
  margin: .7rem 0 0;
  font-size: .72rem;
  color: var(--muted-text);
}

.mc-h2h__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .2rem 0 .9rem;
}

.mc-h2h__crest {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
}

.mc-h2h__crest img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mc-h2h__tally {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.mc-h2h__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
}

.mc-h2h__stat b {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
}

.mc-h2h__stat span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted-text);
}

.mc-h2h__stat--w b {
  color: #1b8a4b;
}

.mc-h2h__stat--l b {
  color: #b23b3b;
}

.mc-h2h__stat--d b {
  color: var(--muted-text);
}

.mc-h2h__meta {
  margin: 0 0 .3rem;
  font-size: .74rem;
  color: var(--muted-text);
  text-align: center;
}

.mc-h2h__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mc-h2h__match {
  border-top: 1px solid var(--line);
}

.mc-h2h__match:first-child {
  border-top: 0;
}

.mc-h2h__link {
  display: block;
  padding: .55rem 0;
  text-decoration: none;
  color: inherit;
}

.mc-h2h__when {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .8rem;
  margin-bottom: .35rem;
}

.mc-h2h__date {
  flex: none;
  font-size: .72rem;
  color: var(--muted-text);
  white-space: nowrap;
}

.mc-h2h__comp {
  flex: 1;
  min-width: 0;
  text-align: right;
  font-size: .72rem;
  color: var(--muted-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc-h2h__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .55rem;
}

.mc-h2h__side {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  overflow: hidden;
}

.mc-h2h__side--home {
  justify-content: flex-end;
  text-align: right;
}

.mc-h2h__tname {
  min-width: 0;
  font-size: .86rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc-h2h__ticon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: none;
}

.mc-h2h__result {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .92rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding: .14rem .5rem;
  border-radius: 5px;
  background: var(--surface);
}

.mc-h2h__result--w {
  background: rgba(27, 138, 75, .14);
  color: #157a41;
}

.mc-h2h__result--l {
  background: rgba(178, 59, 59, .13);
  color: #a5322f;
}

.mc-h2h__result--d {
  background: var(--surface-2);
  color: var(--body);
}

.mc-h2h__link:hover .mc-h2h__tname {
  text-decoration: underline;
}

/* Narrow screens: crest + score only, names would never fit cleanly. */
@media (max-width: 560px) {
  .mc-h2h__row {
    grid-template-columns: 1fr auto 1fr;
    gap: .4rem;
  }
  .mc-h2h__tname {
    display: none;
  }
  .mc-h2h__side--home {
    justify-content: flex-end;
  }
  .mc-h2h__side--away {
    justify-content: flex-start;
  }
}

.mc-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .6rem;
}

.mc-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.mc-related {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

/* =========================================================================
   Team + player profile + staff
   ========================================================================= */
.teamtabs {
  display: flex;
  gap: .4rem;
  margin-bottom: 1.8rem;
  border-bottom: 2px solid var(--line);
}

.teamtabs__tab {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .7em 1.1em;
  color: var(--muted-text);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.teamtabs__tab:hover {
  text-decoration: none;
  color: var(--ink);
}

.teamtabs__tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--club-primary);
}

.squad-heading {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted-text);
  margin: 2rem 0 1rem;
}

.squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--gap);
  margin-bottom: .5rem;
}

.pcard {
  display: flex;
  flex-direction: column;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .12s, box-shadow .12s;
}

.pcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.pcard__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, var(--club-primary), var(--club-primary-ink));
  display: grid;
  place-items: end center;
}

.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.pcard__num {
  position: absolute;
  top: .3rem;
  right: .6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: rgba(224, 180, 42, .38);
  line-height: 1;
}

.pcard__initials {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  color: rgba(255, 255, 255, .85);
  align-self: center;
}

.pcard__body {
  padding: .8rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.pcard__pos {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted-text);
  font-family: var(--font-head);
  font-weight: 700;
}

.pcard__name {
  font-family: var(--font-head);
  font-weight: 700;
}

.pp-hero {
  background: var(--club-secondary);
  color: #fff;
}

.pp-hero__inner {
  display: flex;
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: flex-end;
  padding-block: clamp(28px, 5vw, 52px);
  flex-wrap: wrap;
}

.pp-hero__photo {
  position: relative;
  width: 220px;
  aspect-ratio: 3 / 4;
  flex: none;
  background: linear-gradient(180deg, var(--club-primary), var(--club-primary-ink));
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.pp-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.pp-hero__initials {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3.4rem;
  color: rgba(255, 255, 255, .85);
}

.pp-hero__num {
  position: absolute;
  bottom: .2rem;
  right: .6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 4rem;
  color: rgba(224, 180, 42, .34);
  line-height: 1;
}

.pp-hero__id {
  min-width: 0;
}

.pp-hero__crumb {
  display: inline-block;
  margin-bottom: .9rem;
  color: var(--club-accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.pp-hero__crumb::before {
  content: "\2039\00a0\00a0";
}

.pp-hero__crumb:hover {
  color: #fff;
  text-decoration: none;
}

.pp-hero__pos {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--club-accent);
  font-size: .8rem;
}

.pp-hero__id h1 {
  color: #fff;
  margin: .3rem 0 .5rem;
  font-size: clamp(1.9rem, 5vw, 2.9rem);
}

.pp-hero__line {
  margin: 0;
  color: #d9c9cf;
  font-size: .95rem;
}

.pp-body {
  padding-block: var(--band-y);
}

.pp-section {
  margin-top: clamp(2.4rem, 6vw, 3.6rem);
}

.pp-section>h2 {
  font-size: 1.35rem;
  margin: 0 0 1.2rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--line);
}

/* Fact cards under the hero */
.pp-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.pp-stats li {
  background: var(--paper);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.pp-stats__k {
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-text);
  font-family: var(--font-head);
  font-weight: 700;
}

.pp-stats__v {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
}

/* Profile: bio + details aside */
.pp-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.pp-profile__bio h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--line);
}

.pp-profile__todo {
  color: var(--muted-text);
}

.pp-profile__data {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}

.pp-profile__data h3 {
  margin: 0 0 .9rem;
  font-size: .95rem;
}

.pp-datalist {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.pp-datalist>div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.pp-datalist dt {
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted-text);
  font-family: var(--font-head);
  font-weight: 700;
}

.pp-datalist dd {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
}

/* Player sponsor slots */
.pp-sponsors__intro {
  margin: -.6rem 0 1.4rem;
  color: var(--muted-text);
}

.pp-sponsors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--gap);
}

.pp-sponsor {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  color: inherit;
}

a.pp-sponsor:hover {
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  border-color: var(--club-primary);
}

.pp-sponsor__slot {
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-text);
  font-family: var(--font-head);
  font-weight: 700;
}

.pp-sponsor__logo {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pp-sponsor__logo img {
  max-height: 66px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.pp-sponsor__logo.is-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}

.pp-sponsor__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--body);
}

.pp-sponsor--open {
  border-style: dashed;
  background: var(--surface);
}

.pp-sponsor__cta {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--club-primary-ink);
}

.pp-sponsor__cta small {
  display: block;
  font-weight: 600;
  font-size: .78rem;
  color: var(--muted-text);
}

.pp-sponsors__cta {
  margin: 1.4rem 0 0;
}

.pp-more .squad-heading:first-of-type {
  margin-top: .5rem;
}

.pp-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .pp-profile {
    grid-template-columns: 1fr;
  }

  .pp-hero__photo {
    width: 160px;
  }
}

/* =========================================================================
   History: results archive + club records + photo gallery
   ========================================================================= */
.linkarrow--back::after {
  content: none;
}

.linkarrow--back::before {
  content: "\2190 ";
}

.arcseason {
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin: .2rem 0 .8rem;
}

.arcstats {
  margin-bottom: 1.8rem;
}

.arcstats--w .pp-stats__v {
  color: #1b8a4b;
}

.arcstats--d .pp-stats__v {
  color: #b9862f;
}

.arcstats--l .pp-stats__v {
  color: #b23b3b;
}

.arctable {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  background: var(--paper);
  min-width: 620px;
}

.arctable th,
.arctable td {
  padding: .6rem .7rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.arctable thead th {
  background: var(--club-secondary);
  color: #fff;
  font-family: var(--font-head);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  position: sticky;
  top: 0;
}

.arctable .c {
  text-align: center;
}

.arctable .nowrap {
  white-space: nowrap;
}

.arctable tbody tr:hover {
  background: var(--surface);
}

.arctable a {
  font-weight: 600;
}

.archero {
  color: #fff;
  text-align: center;
}

.archero__crumb {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--club-accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.archero__crumb::before {
  content: "\2039\00a0\00a0";
}

.archero__crumb:hover {
  color: #fff;
  text-decoration: none;
}

.archero__meta {
  margin: 0 0 1rem;
  color: #d9c9cf;
  font-size: .9rem;
}

.archero__score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.5rem);
  flex-wrap: wrap;
}

.archero__team {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.1rem, 3.5vw, 1.7rem);
  max-width: 40vw;
}

.archero__nums {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 3.4rem);
}

.archero__nums i {
  color: var(--club-accent);
  font-style: normal;
  margin: 0 .3rem;
}

.archero__result {
  display: inline-block;
  margin: 1.1rem 0 0;
}

.arcbody {
  padding-block: var(--band-y);
}

.arcbody__venue {
  color: var(--muted-text);
  font-size: .9rem;
  margin: 0 0 1.5rem;
}

.arcbody__scorers {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin-bottom: 1.8rem;
}

.arcbody__scorers h2 {
  margin: 0 0 .4rem;
  font-size: 1rem;
}

.arcbody__scorers p {
  margin: 0;
}

.arcbody__by {
  color: var(--muted-text);
  font-size: .85rem;
  font-style: italic;
}

/* archived written report shown on a migrated match centre (pages/match.php) */
.mc-report--archive .mc-report__scorers {
  margin: 0 0 1rem;
  padding: .75rem 1rem;
  background: var(--surface-2, var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.mc-report--archive .mc-report__by {
  color: var(--muted-text);
  font-size: .85rem;
  font-style: italic;
  margin: 0 0 .75rem;
}
.mc-report--archive .mc-report__note {
  color: var(--muted-text);
  font-size: .8rem;
  margin: 1rem 0 0;
}

.records-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.records-note {
  margin-top: 1.5rem;
  color: var(--muted-text);
  font-size: .82rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gap);
  margin-bottom: 1rem;
}

.gcard {
  display: flex;
  flex-direction: column;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .12s, box-shadow .12s;
}

.gcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.gcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}

.gcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gcard__count {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  background: rgba(42, 10, 17, .82);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .68rem;
  padding: .2rem .5rem;
  border-radius: 999px;
}

.gcard__body {
  padding: .75rem .9rem .9rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.gcard__title {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
}

.gcard__date {
  font-size: .78rem;
  color: var(--muted-text);
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 6px;
}

.album-grid__item {
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.album-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s;
}

.album-grid__item:hover img {
  transform: scale(1.04);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(20, 5, 9, .94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: 3.4rem 1rem 1rem;
}

.lightbox[hidden] {
  display: none;
}

/* Honours + player awards — vertical timeline ---------------------------- */
.tl {
  list-style: none;
  margin: 0 0 0 6px;
  padding: 0;
  position: relative;
  max-width: 760px;
}

.tl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.6rem;
  width: 2px;
  background: color-mix(in srgb, var(--club-primary) 22%, var(--line));
}

.tl__era {
  position: relative;
  margin: 1.9rem 0 1rem;
  padding-left: 1.9rem;
}

.tl__era:first-child {
  margin-top: 0;
}

.tl__era span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--club-primary-ink);
}

.tl__era::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--club-secondary);
  transform: rotate(45deg);
}

.tl__item {
  position: relative;
  padding-left: 1.9rem;
  padding-bottom: 1.5rem;
}

.tl__item:last-child {
  padding-bottom: 0;
}

.tl__item--flat {
  padding-bottom: 1rem;
}

.tl__marker {
  position: absolute;
  left: -6px;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--club-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--club-primary) 14%, transparent);
}

.tl__item--gold .tl__marker {
  background: var(--club-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--club-accent) 24%, transparent);
}

.tl__row {
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.tl__year {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
}

.tl__single {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--body);
}

.tl__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.tl__tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: var(--club-accent);
  color: var(--club-accent-ink);
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
}

.tl__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.tl__item--gold .tl__card {
  border-color: color-mix(in srgb, var(--club-accent) 55%, var(--line));
  box-shadow: 0 1px 2px rgba(58, 15, 25, 0.11),
    0 6px 20px color-mix(in srgb, var(--club-accent) 22%, transparent);
}

.tl__wins {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.tl__wins li {
  position: relative;
  padding-left: 1.1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.tl__wins li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--club-accent);
}

.tl__awards {
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.tl__awards > div {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.tl__awards dt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-text);
}

.tl__awards dd {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.tl-intro {
  margin: 0 0 1.6rem;
  color: var(--muted-text);
  font-size: 0.92rem;
}

/* "Most decorated" ranked bars */
.rankbars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 640px;
}

.rankbar {
  display: grid;
  gap: 0.35rem;
}

.rankbar__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.rankbar__row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.rankbar__track {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--club-primary) 12%, var(--paper));
  overflow: hidden;
}

.rankbar__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--club-primary), var(--club-accent));
}

.rankbar__val {
  min-width: 1.5ch;
  text-align: right;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--club-primary-ink);
}

.honours-note {
  margin: 0;
  color: var(--muted-text);
  font-size: .85rem;
}

/* Document / policy index list --------------------------------------------- */
.doclist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .8rem;
  max-width: 760px;
}

.doclist__link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .1rem 1rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color .12s, transform .12s;
}

.doclist__link:hover {
  text-decoration: none;
  border-color: var(--club-primary);
  transform: translateY(-2px);
}

.doclist__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}

.doclist__desc {
  grid-column: 1;
  color: var(--muted-text);
  font-size: .88rem;
  margin-top: .15rem;
}

.doclist__go {
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--club-primary-ink);
  white-space: nowrap;
}

.lightbox__stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  max-width: 100%;
}

.lightbox__img {
  max-width: 92vw;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox__meta {
  margin: 0;
  display: flex;
  gap: .8rem;
  align-items: baseline;
  color: #e6dade;
  font-size: .78rem;
  max-width: 92vw;
}

.lightbox__count {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--club-accent);
  white-space: nowrap;
}

.lightbox__caption {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox__thumbs {
  flex: 0 0 auto;
  display: flex;
  gap: .35rem;
  max-width: 96vw;
  overflow-x: auto;
  padding: .3rem .2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .35) transparent;
}

.lightbox__thumb {
  flex: 0 0 auto;
  width: 68px;
  height: 50px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: .5;
  transition: opacity .12s ease, border-color .12s ease;
}

.lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox__thumb:hover {
  opacity: .85;
}

.lightbox__thumb.is-active {
  opacity: 1;
  border-color: var(--club-accent);
}

.lightbox--single .lightbox__nav,
.lightbox--single .lightbox__thumbs,
.lightbox--single .lightbox__count {
  display: none;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 2.6rem;
  line-height: 1;
  padding: .4rem .8rem;
  opacity: .8;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  opacity: 1;
}

.lightbox__close {
  top: .5rem;
  right: 1rem;
  font-size: 2.2rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: .3rem;
}

.lightbox__nav--next {
  right: .3rem;
}

@media (max-width: 560px) {
  .lightbox__nav {
    font-size: 1.8rem;
  }
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--gap);
  margin-bottom: .5rem;
}

/* Club history page: committee shown four to a row on desktop. */
@media (min-width: 900px) {
  .staff-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.staffcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
}

.staffcard__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin-bottom: .5rem;
  background: var(--club-secondary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  overflow: hidden;
}

.staffcard__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staffcard__role {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted-text);
  font-family: var(--font-head);
  font-weight: 700;
}

.staffcard__name {
  font-family: var(--font-head);
  font-weight: 700;
}

/* =========================================================================
   Contact
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  flex-direction: column;
}

.contact-list span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted-text);
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-bottom: 1rem;
}

.contact-form .field span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: .65em .8em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--club-primary);
  border-color: var(--club-primary);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
}

.notice ul {
  margin: 0;
  padding-left: 1.1rem;
}

.notice--ok {
  background: #e6f4ec;
  border: 1px solid #b7dfc7;
  color: #14663b;
}

.notice--err {
  background: #fdecec;
  border: 1px solid #f4c4c4;
  color: #9a2f2f;
}

.notice--warn {
  background: #fdf4e3;
  border: 1px solid #f0dcae;
  color: #7a5a12;
}

.notice p {
  margin: 0;
}

.notice p+p {
  margin-top: .4rem;
}

/* =========================================================================
   Shop + match tickets
   ========================================================================= */
.shopbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 90;
}

.is-stuck .shopbar {
  top: 56px;
}

.shopbar__inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 48px;
  flex-wrap: wrap;
}

.shopbar__home {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .8rem;
  color: var(--ink);
}

.shopbar__home:hover {
  text-decoration: none;
}

.shopbar__cats {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.shopbar__cats a {
  font-size: .78rem;
  font-weight: 600;
  padding: .3em .7em;
  border-radius: 999px;
  color: var(--body);
}

.shopbar__cats a:hover {
  text-decoration: none;
  background: var(--surface-2);
}

.shopbar__cats a.is-active {
  background: var(--club-primary);
  color: var(--club-on-primary);
}

.shopbar__cats a.shopbar__subcat {
  font-size: .72rem;
  color: var(--muted-text);
}

.shopbar__cats a.shopbar__subcat::before {
  content: "› ";
}

.shopbar__basket {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  color: var(--ink);
}

.shopbar__basket:hover {
  text-decoration: none;
  color: var(--club-primary-ink);
}

.shopbar__basket svg {
  width: 20px;
  height: 20px;
}

.shopbar__basket b {
  background: var(--club-primary);
  color: #fff;
  border-radius: 999px;
  padding: 0 .45em;
  font-size: .74rem;
}

.crumbs {
  font-size: .82rem;
  color: var(--muted-text);
  margin-bottom: 1.4rem;
}

.crumbs a {
  color: var(--muted-text);
}

.shopsearch {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.6rem;
  flex-wrap: wrap;
}

.shopsearch input[type="search"] {
  flex: 1 1 260px;
  min-width: 0;
  padding: .6rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}

.shopsearch__clear {
  font-size: .85rem;
  color: var(--muted-text);
}

.pdp__related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.pdp__related h2 {
  margin: 0 0 1.2rem;
}

/* product grid + card */
.prodgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gap);
}

.prodcard {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .12s, box-shadow .12s;
  color: inherit;
}

.prodcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.prodcard__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface-2) center/cover no-repeat;
}

.prodcard__media.is-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
}

.prodcard__badges {
  position: absolute;
  top: .6rem;
  left: .6rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  z-index: 1;
}

.prodcard__body {
  padding: .9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.prodcard__cat {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted-text);
  font-family: var(--font-head);
  font-weight: 700;
}

.prodcard__name {
  font-family: var(--font-head);
  font-weight: 700;
}

.prodcard__price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
}

.prodcard__cta {
  margin-top: .3rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--club-primary-ink);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.tag {
  align-self: flex-start;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .28em .6em;
  border-radius: 4px;
  color: #fff;
}

.tag--gold {
  background: var(--club-accent);
  color: var(--club-secondary);
}

.tag--muted {
  background: #6b7280;
}

/* product detail */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 780px) {
  .pdp {
    grid-template-columns: 1fr;
  }
}

.pdp__main {
  aspect-ratio: 1 / 1;
  background: var(--surface-2) center/cover no-repeat;
  border-radius: var(--radius);
}

.pdp__main.is-placeholder {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
}

.pdp__thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .6rem;
  flex-wrap: wrap;
}

.pdp__thumbs button {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  background: var(--surface-2) center/cover no-repeat;
  cursor: pointer;
}

.pdp__thumbs button.is-active {
  border-color: var(--club-primary);
}

.pdp__cat {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .74rem;
  color: var(--muted-text);
}

.pdp__panel h1 {
  margin: .3rem 0 .4rem;
}

.pdp__price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: .6rem;
}

.pdp__summary {
  color: var(--body);
}

.pdp__note {
  font-size: .82rem;
  color: var(--muted-text);
  margin-top: .6rem;
}

.pdp__desc {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.optgroup {
  border: 0;
  padding: 0;
  margin: 1.2rem 0 0;
}

.optgroup legend {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: .5rem;
}

.optgroup legend em {
  font-style: normal;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--club-primary-ink);
}

.optgroup__help {
  font-size: .82rem;
  color: var(--muted-text);
  margin: 0 0 .5rem;
}

.optchips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.optchip {
  position: relative;
}

.optchip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.optchip span {
  display: block;
  padding: .5em .9em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
}

.optchip input:checked+span {
  border-color: var(--club-primary);
  background: color-mix(in srgb, var(--club-primary) 10%, transparent);
}

.optchip input:disabled+span {
  opacity: .45;
  text-decoration: line-through;
}

.optchip input:focus-visible+span {
  outline: 2px solid var(--club-primary);
  outline-offset: 2px;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.stepper button {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: var(--surface);
  font-size: 1.1rem;
  cursor: pointer;
}

.stepper input {
  width: 3rem;
  text-align: center;
  border: 0;
  border-inline: 1.5px solid var(--line);
  font: inherit;
  height: 2.4rem;
}

.addrow {
  display: flex;
  gap: .75rem;
  align-items: center;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

/* basket + checkout + order summary */
.basket-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--gap);
  align-items: start;
}

@media (max-width: 820px) {
  .basket-layout {
    grid-template-columns: 1fr;
  }
}

.blines {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.bline {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--line);
}

.blines .bline:first-child {
  border-top: 0;
}

.bline.is-blocked {
  background: #fdf4e3;
}

.bline__media {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: var(--surface-2) center/cover no-repeat;
}

.bline__name {
  font-family: var(--font-head);
  font-weight: 700;
  color: inherit;
}

.bline__opts {
  font-size: .82rem;
  color: var(--muted-text);
}

.bline__controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: .5rem;
}

.bline__remove {
  background: none;
  border: 0;
  color: var(--club-primary-ink);
  font-size: .82rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.bline__flag {
  font-size: .8rem;
  color: #9a2f2f;
  margin-top: .4rem;
}

.bline__price {
  font-family: var(--font-head);
  font-weight: 700;
  text-align: right;
}

.bline__price span {
  display: block;
  font-size: .76rem;
  color: var(--muted-text);
  font-weight: 400;
}

.basket-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.osummary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  position: sticky;
  top: 90px;
}

.osummary h2 {
  font-size: 1.05rem;
  margin: 0 0 1rem;
}

.osummary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  font-size: .92rem;
}

.osummary__row--total {
  border-top: 1px solid var(--line);
  margin-top: .4rem;
  padding-top: .7rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
}

.osummary__promo {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
}

.osummary__promo input {
  flex: 1;
  min-width: 0;
  padding: .55em .7em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
}

.osummary__err {
  color: #9a2f2f;
  font-size: .82rem;
  margin: .5rem 0 0;
}

.checkout-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}

.checkout-form h2 {
  font-size: 1.05rem;
  margin: 1.4rem 0 .8rem;
}

.checkout-form h2:first-of-type {
  margin-top: 0;
}

.checkout-form .field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-bottom: 1rem;
}

.checkout-form .field span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.checkout-form .field em {
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  color: var(--muted-text);
  letter-spacing: 0;
}

.checkout-form input,
.checkout-form textarea {
  font: inherit;
  padding: .65em .8em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  width: 100%;
}

.checkout-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) {
  .checkout-form .field-row {
    grid-template-columns: 1fr;
  }
}

.check {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin: .6rem 0;
  font-size: .88rem;
}

.check input {
  margin-top: .2rem;
}

.checkout-terms {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .9rem 1rem;
  font-size: .85rem;
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: .8rem;
}

.ticket-qty {
  width: 5rem;
  padding: .5em .6em;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  text-align: center;
}

/* confirmation */
.confirm {
  max-width: 640px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.confirm__head {
  padding: 1.6rem 1.5rem;
  color: #fff;
  text-align: center;
}

.confirm__head h1 {
  color: #fff;
  font-size: 1.4rem;
  margin: 0 0 .3rem;
}

.confirm__head p {
  margin: 0;
  opacity: .9;
  font-family: var(--font-head);
}

.confirm__head--ok {
  background: #1b8a4b;
}

.confirm__head--bad {
  background: #b23b3b;
}

.confirm__head--wait {
  background: #b9862f;
}

.confirm__body {
  padding: 1.5rem;
}

.confirm__body h2 {
  font-size: 1.05rem;
  margin: 1.4rem 0 .5rem;
}

.kv {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}

.kv small {
  color: var(--muted-text);
}

.kv--total {
  border-bottom: 0;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--club-primary-ink);
}

.timeline {
  list-style: none;
  margin: .5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.timeline li {
  padding-left: 1.4rem;
  position: relative;
  font-size: .9rem;
}

.timeline li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1b8a4b;
  font-weight: 700;
}

/* digital tickets */
.tcarousel-shell {
  max-width: 420px;
  margin: 1rem auto 0;
}

.tcarousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.tcarousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.tcarousel::-webkit-scrollbar {
  display: none;
}

.tcard {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
}

.tcard.is-used {
  background: #1b8a4b;
  color: #fff;
}

.tcard__eyebrow {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted-text);
  font-family: var(--font-head);
  font-weight: 700;
}

.tcard.is-used .tcard__eyebrow,
.tcard.is-used .tcard__manual {
  color: rgba(255, 255, 255, .8);
}

.tcard h3 {
  margin: .3rem 0 1rem;
  font-size: 1.05rem;
}

.tcard__qr {
  display: inline-grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.tcard__manual {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted-text);
  margin-top: .8rem;
}

.tcard__code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 1.5rem;
  font-weight: 700;
}

.tcard__used {
  margin-top: .6rem;
  font-weight: 700;
}

.tcard__used.is-hidden {
  display: none;
}

.tcarousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .85rem;
}

.tcarousel-controls button {
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--club-secondary);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.tcarousel-controls button:disabled {
  opacity: .35;
}

.tcarousel-controls span {
  font-family: var(--font-head);
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
/* =========================================================================
   Match tickets — public page (/tickets and /tickets?fixture_id=…)
   ========================================================================= */
.tkt-h {
  font-size: 1.15rem;
  margin: 2.4rem 0 1rem;
}

/* -- featured "next home game" -- */
.tkt-featured {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
  margin-bottom: 1.6rem;
  background: linear-gradient(150deg, var(--club-secondary), var(--club-primary-ink));
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tkt-featured::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--club-accent);
}

.tkt-featured:hover {
  text-decoration: none;
  transform: translateY(-2px);
  transition: transform .15s ease;
}

.tkt-featured__tag {
  position: absolute;
  top: 1rem;
  left: clamp(1.4rem, 3vw, 2.2rem);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--club-accent);
}

.tkt-featured__crests {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1.1rem;
}

.tkt-featured__crests img {
  width: clamp(46px, 8vw, 64px);
  height: clamp(46px, 8vw, 64px);
  object-fit: contain;
}

.tkt-featured__v {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
}

.tkt-featured__body {
  padding-top: 1.1rem;
  min-width: 0;
}

.tkt-featured__title {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.tkt-featured__title span {
  color: rgba(255, 255, 255, .5);
  margin: 0 .25em;
}

.tkt-featured__meta {
  display: block;
  margin-top: .5rem;
  font-size: .74rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .78);
}

.tkt-featured__cta {
  flex: 0 0 auto;
  align-self: center;
  padding: .8em 1.5em;
  border-radius: var(--radius-sm);
  background: var(--club-accent);
  color: var(--club-primary-ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

.tkt-featured:hover .tkt-featured__cta {
  background: #fff;
}

@media (max-width: 720px) {
  .tkt-featured {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 1rem;
  }
  .tkt-featured__cta {
    grid-column: 1 / -1;
    text-align: center;
  }
}

/* -- how it works -- */
.tkt-how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  list-style: none;
  margin: 0 0 .5rem;
  padding: 0;
}

.tkt-how li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .8rem;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: .01em;
}

.tkt-how li span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--club-accent);
  color: var(--club-primary-ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .85rem;
}

@media (max-width: 720px) {
  .tkt-how {
    grid-template-columns: 1fr;
  }
}

/* -- month-grouped game list -- */
.tkt-month {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--club-accent-ink);
  margin: 1.6rem 0 .6rem;
  padding-bottom: .35rem;
  border-bottom: 2px solid var(--line);
}

.tkt-list {
  list-style: none;
  margin: 0 0 .4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.tkt-card {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem;
  padding: .9rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}

.tkt-card:hover {
  text-decoration: none;
  border-color: var(--club-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.tkt-card__date {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: .12rem;
  width: 3.4rem;
  padding-right: 1.1rem;
  border-right: 1px solid var(--line);
  line-height: 1;
}

.tkt-card__date b {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted-text);
}

.tkt-card__date em {
  font-family: var(--font-head);
  font-style: normal;
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--club-primary-ink);
}

.tkt-card__date span {
  font-size: .64rem;
  letter-spacing: .1em;
  color: var(--muted-text);
}

.tkt-card__crest {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
}

.tkt-card__crest img {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}

.tkt-card__body {
  min-width: 0;
}

.tkt-card__body strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.2;
}

.tkt-card__body strong span {
  color: var(--muted-text);
  margin: 0 .25em;
}

.tkt-card__body > span {
  display: block;
  margin-top: .25rem;
  font-size: .68rem;
  letter-spacing: .05em;
  color: var(--muted-text);
}

.tkt-chip {
  display: inline-block;
  padding: .12em .5em;
  border-radius: 999px;
  background: var(--club-accent);
  color: var(--club-primary-ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .58rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.tkt-chip--home {
  background: var(--club-primary);
  color: #fff;
}

.tkt-chip--plain {
  background: var(--surface-2);
  color: var(--club-primary-ink);
}

.tkt-card__cta {
  flex: 0 0 auto;
  padding: .55em 1.1em;
  border-radius: var(--radius-sm);
  background: var(--club-primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

.tkt-card:hover .tkt-card__cta {
  background: var(--club-primary-ink);
}

@media (max-width: 620px) {
  .tkt-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: .5rem 1rem;
  }
  .tkt-card__crest {
    grid-row: 1 / 3;
    grid-column: 1;
  }
  .tkt-card__date {
    grid-column: 2;
    justify-items: start;
    width: auto;
    padding: 0;
    border: 0;
    grid-auto-flow: column;
    gap: .3rem;
    align-items: baseline;
  }
  .tkt-card__date b::after {
    content: " ";
  }
  .tkt-card__date em {
    font-size: 1rem;
  }
  .tkt-card__body {
    grid-column: 2;
  }
  .tkt-card__cta {
    grid-column: 2;
    justify-self: start;
    margin-top: .2rem;
  }
}

/* -- monogram fallback when an opponent crest is missing -- */
.tkt-mono {
  display: grid;
  place-items: center;
  width: clamp(46px, 8vw, 64px);
  height: clamp(46px, 8vw, 64px);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .02em;
}

.tkt-mono--sm {
  width: 40px;
  height: 40px;
  font-size: .8rem;
  background: var(--surface-2);
  color: var(--club-primary-ink);
}

.tkt-matchhead .tkt-mono {
  background: var(--surface-2);
  color: var(--club-primary-ink);
}

/* -- fixture page: match header -- */
.tkt-matchhead {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.8rem);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  margin-bottom: 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--club-primary);
  border-radius: var(--radius);
}

.tkt-matchhead__crests {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex: 0 0 auto;
}

.tkt-matchhead__crests img {
  width: clamp(44px, 8vw, 58px);
  height: clamp(44px, 8vw, 58px);
  object-fit: contain;
}

.tkt-matchhead__v {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  color: var(--muted-text);
}

.tkt-matchhead__body {
  min-width: 0;
}

.tkt-matchhead__body strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.tkt-matchhead__body strong span {
  color: var(--muted-text);
  margin: 0 .25em;
}

.tkt-matchhead__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .8rem;
  margin-top: .55rem;
  font-size: .7rem;
  letter-spacing: .05em;
  color: var(--muted-text);
}

@media (max-width: 560px) {
  .tkt-matchhead {
    flex-direction: column;
    text-align: center;
  }
  .tkt-matchhead__meta {
    justify-content: center;
  }
}

/* -- ticket lines -- */
.tkt-group + .tkt-group {
  margin-top: 1.8rem;
}

.tkt-grouph {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--club-accent-ink);
  margin: 0 0 .7rem;
  padding-bottom: .35rem;
  border-bottom: 2px solid var(--line);
}

.tkt-group--feature .tkt-grouph {
  color: var(--club-primary-ink);
  border-bottom-color: var(--club-accent);
}

.tkt-group--feature .tkt-line {
  border-left: 3px solid var(--club-accent);
  background: color-mix(in srgb, var(--club-accent) 5%, var(--paper));
}

.tkt-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.tkt-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem 1.4rem;
  padding: 1.1rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.tkt-line.is-soldout {
  opacity: .58;
}

.tkt-line__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.tkt-line__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
}

.tkt-line__desc {
  font-size: .78rem;
  color: var(--muted-text);
  text-transform: none;
  letter-spacing: .01em;
}

.tkt-line__stock {
  margin-top: .15rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .64rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tkt-line__stock.is-low {
  color: #9a6a12;
}

.tkt-line__stock.is-out {
  color: #9a2f2f;
}

.tkt-line__price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--club-primary-ink);
  white-space: nowrap;
}

.tkt-line__soldtag {
  display: inline-block;
  padding: .35em .8em;
  border-radius: var(--radius-sm);
  background: #fdecec;
  border: 1px solid #f4c4c4;
  color: #9a2f2f;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .tkt-line {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .tkt-line__price {
    text-align: right;
  }
  .tkt-line__qty {
    grid-column: 1 / -1;
  }
}

/* -- order summary panel -- */
.tkt-summary .osummary__items {
  margin-bottom: .2rem;
}

.tkt-summary__empty {
  margin: 0;
  padding: .3rem 0 .6rem;
  font-size: .82rem;
  color: var(--muted-text);
  text-transform: none;
  letter-spacing: .01em;
}

.tkt-si {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .4rem 0;
  font-size: .82rem;
}

.tkt-si span:first-child {
  min-width: 0;
}

.tkt-si b {
  font-weight: 400;
  color: var(--muted-text);
  margin-right: .3em;
}

.tkt-summary__details {
  margin: 1.3rem 0 .8rem !important;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 1.05rem !important;
}

.tkt-field {
  display: block;
  margin-bottom: .8rem;
}

.tkt-field > span {
  display: block;
  margin-bottom: .3rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--body);
}

.tkt-field > span em {
  font-style: normal;
  font-weight: 600;
  color: var(--muted-text);
}

.tkt-field input {
  width: 100%;
  padding: .68em .8em;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
}

.tkt-field input:focus-visible {
  outline: 2px solid var(--club-primary);
  outline-offset: 1px;
  background: var(--paper);
}

.tkt-summary .btn--lg {
  margin-top: .4rem;
}

.tkt-summary__note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin: .8rem 0 0;
  font-size: .74rem;
  line-height: 1.4;
  color: var(--muted-text);
  text-transform: none;
  letter-spacing: .01em;
}

.tkt-summary__note svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: .1rem;
}

.tkt-empty p {
  text-transform: none;
  letter-spacing: .01em;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: #1a1a1a;
  color: #fff;
  padding: 1rem;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .25);
}

.cookie-banner__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner__inner p {
  margin: 0;
  font-size: .85rem;
  flex: 1 1 280px;
}

.cookie-banner__actions {
  display: flex;
  gap: .6rem;
  flex: 0 0 auto;
}

/* Copy-to-clipboard buttons (order references, ticket codes) ---------------*/
.copybtn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-left: .5rem;
  padding: .2rem .6rem;
  font: inherit;
  font-size: .8rem;
  line-height: 1.4;
  border: 1px solid currentColor;
  border-radius: .3rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: .85;
}

.copybtn:hover,
.copybtn:focus-visible {
  opacity: 1;
}

.copybtn.is-copied {
  opacity: 1;
}


/* =========================================================================
   Design polish (homepage audit) — unified cards, hero, partners, footer
   ========================================================================= */

/* ---- Hero: align text to the container, calmer type, stronger scrim ---- */
.hcard {
  padding: 1.4rem clamp(16px, 2.4vw, 28px);
}
.hcard--lead {
  padding-left: max(clamp(16px, 4vw, 32px), calc((100vw - var(--container)) / 2 + clamp(16px, 4vw, 32px)));
  padding-bottom: 2rem;
}
.hcard--lead .hcard__title {
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem);
  max-width: 24ch;
  text-wrap: balance;
  text-transform: none;
}
.hcard__scrim {
  background: linear-gradient(180deg, rgba(18, 8, 11, 0) 25%, rgba(18, 8, 11, .88) 100%);
}
.hcard__title,
.hcard__date {
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}

/* ---- Header: slightly larger crest, roomier nav ---- */
.brand img { height: 46px; }
.is-stuck .brand img { height: 36px; }
.nav-item__link,
.nav-item__toggle { padding-inline: .85rem; }

/* ---- Unified card language (results + news share border, radius, shadow) ---- */
.matchcard,
.newscard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
.matchcard:hover,
.newscard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
  text-decoration: none;
}

/* Results: equal heights, one-line competition, fixed crest boxes */
.results-rail { align-items: stretch; }
.matchcard {
  color: var(--body);
  min-height: 176px;
}
.matchcard__comp {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.matchcard__row img {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.matchcard__row span { min-width: 0; }
.matchcard__pens { min-height: 1.1em; }
.matchcard__foot { margin-top: auto; }

/* News: whole card is the flex column so dates align on one baseline */
.newscard a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.newscard__media img {
  object-position: var(--hx, 50%) var(--hy, 30%);
  transform: scale(var(--hz, 1));
  transform-origin: var(--hx, 50%) var(--hy, 30%);
}
.newscard__body p {
  margin: 0;
  color: var(--body);
  font-size: .93rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.newscard h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Section header pattern used everywhere */
.band__head { align-items: flex-end; }
.band__head .eyebrow { display: block; margin-bottom: .3rem; }
.linkarrow { color: var(--club-primary); }

/* ---- Partners: principal row + uniform tiles ---- */
.partners { background: var(--surface); border-top: 0; }
.partners .container { padding-block: var(--band-y); }
.partners__group + .partners__group { margin-top: 2.2rem; }
.partners__label {
  text-align: center;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin-bottom: 1rem;
}
.partners__grid {
  display: grid;
  gap: 14px;
  justify-content: center;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.partners__grid--main {
  grid-template-columns: repeat(auto-fit, minmax(200px, 240px));
}
.partners__grid > a,
.partners__grid > span {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 5 / 3;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.partners__grid > a:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.partners__grid img,
.partners__grid .is-main img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .8;
  transition: filter .15s, opacity .15s;
}
.partners__grid--main img { filter: none; opacity: 1; }
.partners__grid a:hover img { filter: none; opacity: 1; }

/* ---- Footer: even columns, gold hairline, better link contrast ---- */
.site-footer { border-top: 3px solid var(--club-accent); color: #cdbfc3; }
.site-footer .container { padding-block: clamp(32px, 4vw, 48px); }
.site-footer__cols { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer a,
.site-footer__legal a { color: #cdbfc3; }
.site-footer a:hover,
.site-footer__legal a:hover { color: var(--club-accent); }
.site-footer h4 { color: var(--club-accent); }
.site-footer__brand p { margin-bottom: .8rem; line-height: 1.5; }
.site-footer__tagline {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--club-accent);
  margin: 0 0 .4rem;
}
.site-footer__bar { padding-block: 1rem; }
.site-footer__meta span:last-child { opacity: .7; font-size: .78rem; }
@media (max-width: 820px) {
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .site-footer__cols { grid-template-columns: 1fr; }
}

/* specificity fixes for the polish block */
.partners__grid.partners__grid--main .is-main img { filter: none; opacity: 1; }
.site-footer__bar .container { padding-block: 0; }

/* =========================================================================
   Site-wide polish (full-site audit)
   ========================================================================= */

/* ---- Accessibility: stronger muted text + visible focus on dark surfaces -- */
:root { --muted-text: #6a5f66; }
.masthead :focus-visible,
.utility-bar :focus-visible,
.site-footer :focus-visible,
.pagehero :focus-visible,
.hfeature :focus-visible,
.matchbar :focus-visible,
.mc-hero :focus-visible,
.pp-hero :focus-visible {
  outline-color: var(--club-accent);
}

/* ---- One hero pattern: match + player heroes get the gold hairline ------- */
.mc-hero,
.pp-hero {
  border-bottom: 2px solid var(--club-accent);
  background: linear-gradient(180deg, var(--club-primary-ink), var(--club-secondary));
}
.pp-profile--nobio { grid-template-columns: minmax(0, 420px); }

/* ---- Unified card language: every card type shares one treatment -------- */
.pcard,
.gcard,
.prodcard,
.partner-lead__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
.pcard:hover,
.gcard:hover,
.prodcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
  text-decoration: none;
}
.prodcard__body,
.gcard__body { flex: 1; }
.prodcard__cta { margin-top: auto; padding-top: .3rem; }
.tag--muted { background: rgba(42, 10, 17, .86); color: #fff; }
.tag--gold { background: var(--club-accent); color: var(--club-deep); }

/* ---- Text scale: club prose matches article body ------------------------- */
.prose { font-size: 1rem; line-height: 1.7; }
.prose p { margin: 0 0 1.1em; }
.prose,
.policydoc { max-width: 72ch; }
.factbox h2,
.pp-profile__data h3,
.mc-panel h2,
.mc-panel h3,
.shopnote strong {
  font-family: var(--font-head);
}
.factbox dt,
.pp-datalist dt,
.contact-list span,
.mc-facts dt,
.pp-stats__k {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted-text);
}

/* ---- Fixtures / results rows -------------------------------------------- */
.fxrow--w { box-shadow: inset 3px 0 0 var(--success); }
.fxrow--d { box-shadow: inset 3px 0 0 var(--warning); }
.fxrow--l { box-shadow: inset 3px 0 0 var(--danger); }
.fxfilters select { max-width: 100%; }
.fxrow__date span { line-height: 1.3; }
@media (min-width: 681px) {
  /* results: give the competition its own readable line, no 3-line wrapping */
  .fxrow__date { min-width: 0; }
  .fxrow__date span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
@media (max-width: 680px) {
  .fxfilters { gap: .75rem; }
  .fxfilters label { flex: 1 1 100%; }
  .fxfilters select { width: 100%; min-width: 0; }
  .fxrow {
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
    grid-template-areas: "date date meta" "home score away";
    row-gap: .5rem;
    padding: .75rem .85rem;
  }
  .fxrow__meta { grid-area: meta; text-align: right; }
  .fxrow__team { flex-direction: column; gap: .3rem; align-items: center; text-align: center; font-size: .85rem; }
  .fxrow__team--home { flex-direction: column-reverse; justify-content: center; text-align: center; }
  .fxrow__team span { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; }
  .fxrow__team img { width: 30px; height: 30px; }
}

/* ---- League table + records: fit on phones, no forced clipping ---------- */
.leaguetable td.form .chip { width: 1.3rem; height: 1.3rem; font-size: .66rem; }
@media (max-width: 560px) {
  .leaguetable { min-width: 0; font-size: .84rem; }
  .leaguetable th,
  .leaguetable td { padding: .55rem .35rem; }
  .leaguetable td.club { gap: .4rem; }
  .leaguetable td.club img { width: 20px; height: 20px; }
  .tablebar { flex-wrap: wrap; gap: .75rem; }
  .records-grid { grid-template-columns: 1fr; }
}
.tablewrap { background: var(--paper); }

/* ---- Squad: two-up on phones, never-blank tiles ------------------------- */
.pcard__media img { position: absolute; inset: 0; }
.pcard__initials { position: absolute; inset: 0; display: grid; place-items: center; }
.pcard__body { flex: 1; }
@media (max-width: 600px) {
  .squad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pcard__initials { font-size: 2rem; }
  .pcard__num { font-size: 1.7rem; }
  .pcard__body { padding: .65rem .75rem .8rem; }
  .pcard__name { font-size: .9rem; }
}

/* ---- Contact ------------------------------------------------------------ */
.contact-grid { align-items: start; }
.contact-details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.contact-details__title { font-size: 1.25rem; margin: 0 0 1.1rem; }
.contact-details .contact-list { margin-bottom: 1.4rem; }
.contact-details .contact-list a { font-weight: 600; }
.contact-form .field span { color: var(--ink); }
.mapembed { margin-top: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.mapembed iframe { display: block; width: 100%; min-height: 320px; border: 0; }
.contact-find { margin-top: clamp(1.75rem, 4vw, 2.75rem); }

/* ---- 404 ---------------------------------------------------------------- */
.notfound__lead { font-family: var(--font-head); font-weight: 700; margin-bottom: 1rem; }
.notfound__links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.notfound__links a {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: 1rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--body);
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
.notfound__links a:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); text-decoration: none; }
.notfound__links b { font-family: var(--font-head); color: var(--club-primary); }
.notfound__links span { font-size: .85rem; color: var(--muted-text); }
.notfound__home { margin-top: 1.75rem; }

/* ---- Partners page uses the same tile as the footer strip --------------- */
.band--surface .partners__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.partners__grid > .is-text,
.partners__grid .partners__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  text-align: center;
  color: var(--body);
}
.partner-lead__card:hover { border-color: var(--line-strong); }

/* ---- Shop: drop the duplicate label, tighter search --------------------- */
.shopbar__home { display: none; }
.shopsearch { max-width: 520px; }

/* ---- Tickets: clearer steps -------------------------------------------- */
.tkt-how li { color: var(--ink); font-weight: 500; }
.tkt-how li span { background: var(--club-primary); color: #fff; }

/* ---- Gallery: cover the empty space when a year has few albums ---------- */
.gallery-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

/* ---- Mobile header: socials live in the menu, not above the logo -------- */
.primary-nav__social { display: none; }
@media (max-width: 1024px) {
  .utility-bar { display: none; }
  .primary-nav__social {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .primary-nav__social a { color: #fff; display: inline-flex; }
  .primary-nav__social svg { width: 22px; height: 22px; fill: currentColor; }
}

/* ---- Partners strip: collapse the long list on phones ------------------- */
@media (max-width: 600px) {
  .partners__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 120px), 1fr)); gap: 10px; }
}

/* ---- Image loading: tint behind media stops layout jumps ---------------- */
.newscard__media,
.gcard__media,
.prodcard__media,
.pcard__media { background-color: var(--surface-2); }

/* ---- Contact: map sits under the details card; clearer find-us heading --- */
.mapembed--side { margin-top: 1.5rem; }
.mapembed--side iframe { min-height: 280px; }
.contact-find .eyebrow { display: block; margin-bottom: .3rem; }
.find-heading { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.75rem); margin: 0 0 1rem; }
.mapembed--side { aspect-ratio: auto; height: 300px; }
.mapembed--side iframe { min-height: 0; height: 100%; }
@media (max-width: 620px) { .mapembed--side { aspect-ratio: auto; height: 280px; } }

.utility-bar :focus-visible { outline-color: #111; }

/* ---- Shop search lives in the shop bar ---------------------------------- */
.shopbar .shopsearch {
  margin: 0 0 0 auto;
  padding-block: .4rem;
  max-width: none;
  flex: 0 1 340px;
  flex-wrap: nowrap;
  gap: .4rem;
}
.shopbar .shopsearch input[type="search"] {
  flex: 1 1 auto;
  padding: .4rem .7rem;
  font-size: .85rem;
}
.shopbar .shopsearch + .shopbar__basket { margin-left: .5rem; }
@media (max-width: 720px) {
  .shopbar .shopsearch { order: 3; flex: 1 1 100%; margin: 0; }
}

/* ---- Shop search: icon that expands into an input ------------------------ */
.shopbar .shopsearch {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 0 0 .85rem;
  height: 36px;
  transition: border-color .15s;
}
.shopbar .shopsearch:focus-within { border-color: var(--club-primary); }
.shopbar .shopsearch input[type="search"] {
  border: 0;
  outline: 0;
  background: transparent;
  width: min(240px, 44vw);
  padding: 0;
  font-size: .85rem;
  transition: width .2s ease;
}
.shopbar .shopsearch__btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--club-primary);
  cursor: pointer;
}
.shopbar .shopsearch__btn:hover { background: var(--surface-2); }
.shopbar .shopsearch__btn svg { width: 19px; height: 19px; }
.shopbar .shopsearch__clear { font-size: .78rem; margin-right: .35rem; white-space: nowrap; }
/* collapsed: just the icon, no box */
.shopbar .shopsearch.is-collapsed { background: transparent; border-color: transparent; padding-left: 0; }
.shopbar .shopsearch.is-collapsed input[type="search"] { width: 0; }
.shopbar .shopsearch.is-collapsed:hover .shopsearch__btn { background: var(--surface-2); }
@media (max-width: 720px) {
  .shopbar .shopsearch { order: 0; flex: 0 0 auto; margin-left: auto; }
  .shopbar .shopsearch input[type="search"] { width: min(180px, 40vw); }
}

/* ---- Shop list heading --------------------------------------------------- */
.shoplist-head { margin-bottom: 1.5rem; }
.shoplist-head__count { font-size: .82rem; color: var(--muted-text); }
.shopbar .shopsearch ~ .shopbar__basket { margin-left: .5rem; }

/* ---- Breadcrumbs live in the shop bar (product page) -------------------- */
.shopbar__crumbs {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
  min-width: 0;
}
.shopbar__crumbs a { color: var(--body); font-weight: 600; }
.shopbar__crumbs span[aria-current] { color: var(--ink); font-weight: 700; }
.shopbar__crumbs .crumbs__sep { color: var(--muted-text); }
.pdp { margin-top: 0; }

/* ---- Partners page call-to-action --------------------------------------- */
.btn--gold {
  --btn-bg: var(--club-accent);
  --btn-fg: var(--club-deep);
}
.btn--gold:hover {
  background: #f0c94a;
  border-color: #f0c94a;
  color: var(--club-deep);
}
.partner-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
  padding: clamp(1.75rem, 5vw, 3.25rem);
  border-radius: var(--radius);
  border-top: 4px solid var(--club-accent);
  color: #ecdde0;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(224, 180, 42, .16), transparent 55%),
    linear-gradient(135deg, var(--club-primary-ink), var(--club-deep));
  box-shadow: var(--shadow);
}
.partner-cta .eyebrow { color: var(--club-accent); display: block; margin-bottom: .5rem; }
.partner-cta h2 {
  color: #fff;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem);
  margin: 0 0 .9rem;
  text-wrap: balance;
}
.partner-cta p { margin: 0 0 1.5rem; max-width: 52ch; font-size: 1.02rem; }
.partner-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.partner-cta__actions .btn--ghost { color: #fff; }
.partner-cta__packages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}
.partner-cta__packages li {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding: .75rem 1rem .75rem 1.15rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-left: 3px solid var(--club-accent);
  border-radius: var(--radius-sm);
}
.partner-cta__packages b { font-family: var(--font-head); color: #fff; font-size: .95rem; }
.partner-cta__packages span { font-size: .85rem; color: #d9c6ca; }
@media (max-width: 860px) {
  .partner-cta { grid-template-columns: 1fr; }
}

/* Packages rotate one at a time: the old one slides down and fades out while the
   next drops in from above (JS adds .is-rotating; without it the list shows in full) */
.partner-cta__packages.is-rotating { display: grid; overflow: hidden; }
.partner-cta__packages.is-rotating li {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-22px);
  transition: opacity .7s ease, transform .7s ease, visibility 0s linear .7s;
  padding: 1.1rem 1.3rem 1.1rem 1.4rem;
}
.partner-cta__packages.is-rotating li.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .7s ease, transform .7s ease, visibility 0s;
}
.partner-cta__packages.is-rotating li.is-leaving {
  opacity: 0;
  visibility: visible;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease, visibility 0s linear .7s;
}
.partner-cta__packages.is-rotating b { font-size: 1.15rem; }
.partner-cta__packages.is-rotating span { font-size: .95rem; }

/* ---- About page: story headings from the club_pages "history" body -------- */
.about-story__eyebrow { display: block; margin-bottom: .5rem; }
.about-story__body { max-width: 70ch; }
.about-story__body > h2:first-child { margin-top: 0; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem); }
.about-story__body h3 {
  margin: 2.2rem 0 .8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 1.3rem;
  color: var(--club-primary);
  position: relative;
}
.about-story__body h3::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--club-accent);
}
.about-story__body > p:last-child {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--club-accent);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-head);
  color: var(--club-primary);
  font-size: 1.05rem;
}

/* Breadcrumbs (seo_breadcrumb_html) */
.breadcrumbs{background:var(--surface,#fff);border-bottom:1px solid rgba(0,0,0,.08);font-size:.8125rem}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.25rem;list-style:none;margin:0;padding:.6rem 0}
.breadcrumbs li+li::before{content:"/";margin-right:.25rem;opacity:.5}
.breadcrumbs a{text-decoration:underline;text-underline-offset:2px}
.breadcrumbs [aria-current]{opacity:.75}
