/* Styles for every page beyond the homepage. Builds on the tokens and components in styles.css. */

:root { --paper: #f3f4f8; --card: #ffffff; --ink-text: #0e1c41; --ink-muted: #5a6282; --paper-line: #dfe2ec; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.center { text-align: center; margin-top: 32px; }
.loading { color: var(--ink-muted); padding: 40px 0; }
.narrow { max-width: 900px; }
.primary a[aria-current="page"] { color: var(--gold); }
.hint { font-size: 13px; color: var(--muted); }
.back { display: inline-block; margin-bottom: 22px; font: 600 14px/1 var(--body); color: var(--muted); }
.back:hover { color: var(--gold); }
.kicker { display: block; font: 700 12px/1.2 var(--display); letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); margin-top: 14px; }
.btn.navy { background: var(--navy); color: #fff; }
.btn.navy:hover { background: var(--navy-hi); }
.btn.disabled, .btn:disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.pill.navy { background: var(--navy); color: #fff; }
.pill.grey { background: #d9dce6; color: var(--ink-text); }

/* ---------- Page hero (dark band under the header) ---------- */
.page-hero {
  padding: 150px 0 56px;
  background:
    repeating-linear-gradient(-55deg, transparent 0 120px, rgba(255, 255, 255, .025) 120px 240px),
    radial-gradient(120% 160% at 85% -20%, var(--navy-hi), var(--navy) 45%, var(--ink) 100%);
}
.page-hero h1 { font-size: clamp(48px, 7vw, 92px); font-weight: 900; line-height: .92; }
.page-hero .lede { margin-top: 16px; font-size: 18px; color: #d5d9e6; max-width: 52ch; }
.page-hero .chips { margin-top: 28px; }
.story-title { font-size: clamp(36px, 5vw, 64px) !important; }

/* ---------- Light sections ---------- */
.light { background: var(--paper); color: var(--ink-text); padding: 56px 0 88px; }
.light h2 { color: var(--ink-text); }
.light .hint, .light .loading { color: var(--ink-muted); }
.light .text-link { color: var(--navy-hi); }
.light .text-link:hover { color: #000; }
.light :focus-visible { outline-color: var(--navy-hi); }
.ruled::after { content: ""; display: block; width: 72px; height: 5px; background: var(--gold); margin-top: 14px; border-radius: 3px; }
.group + .group { margin-top: 56px; }
.group > h2 { margin-bottom: 24px; }

/* ---------- Chips, fields, steppers ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--paper-line); background: var(--card); color: var(--ink-text);
  font: 600 14px/1 var(--body); cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.chip span { font-size: 12px; opacity: .6; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.on-dark .chip, .sheet .chip, .toolbar .chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.on-dark .chip:hover, .sheet .chip:hover, .toolbar .chip:hover { border-color: #fff; }
.on-dark .chip[aria-pressed="true"], .sheet .chip[aria-pressed="true"], .toolbar .chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #0a1430; }

.field input, .field select, .opt select {
  min-height: 46px; width: 100%; padding: 0 16px; border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .07); color: #fff;
  font: 500 15px/1 var(--body);
}
.field input::placeholder { color: var(--muted); }
.field select option, .opt select option { color: #000; }
.field.block { display: grid; gap: 8px; margin: 16px 0; font-size: 14px; font-weight: 600; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; border: 1.5px solid currentColor; overflow: hidden; }
.stepper button { width: 42px; height: 42px; border: 0; background: none; color: inherit; font-size: 20px; cursor: pointer; }
.stepper button:hover:not(:disabled) { background: rgba(127, 127, 127, .18); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper.sm button { width: 32px; height: 32px; font-size: 17px; }

/* =====================================================================
   SHOP
   ===================================================================== */
.shop-hero { padding-bottom: 40px; overflow: hidden; }
.shop-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.jersey-fan { position: relative; height: 380px; }
.jersey-fan img { position: absolute; bottom: 0; width: 44%; border-radius: 14px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .8); }
.jersey-fan img:nth-child(1) { left: 2%; transform: rotate(-9deg); }
.jersey-fan img:nth-child(3) { right: 2%; transform: rotate(9deg); }
.jersey-fan img:nth-child(2) { left: 28%; bottom: 18px; z-index: 1; }

.catalogue { padding-bottom: 80px; }
.toolbar { position: sticky; top: 62px; z-index: 20; background: rgba(10, 20, 48, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.toolbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 14px 0; }
.tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tools .search { width: 220px; }
.count { margin: 26px 0 18px; color: var(--muted); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.card { display: flex; flex-direction: column; }
.card-hit { all: unset; cursor: pointer; display: block; flex: 1; }
.card-hit:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: var(--r); }
.card .thumb { aspect-ratio: 4 / 5; background: #e9ebf1; }
.card:hover .thumb img { transform: scale(1.05); }
.card.out .thumb img { opacity: .55; }
.noimg { object-fit: contain !important; padding: 22%; background: var(--navy); }
.badge.dark { background: #0a1430; color: #fff; left: auto; right: 12px; }
.card h3 { font: 600 15px/1.35 var(--body); text-transform: none; margin-top: 6px; }
.card .kicker + h3 { margin-top: 6px; }
.card:not(:has(.kicker)) h3 { margin-top: 14px; }
.card:hover h3 { color: var(--gold); }
.card-cta { margin-top: 12px; min-height: 42px; font-size: 15px; }
.price.big { font-size: 34px; margin: 10px 0 18px; }
.shop-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 88px; }
.shop-notes > div { padding: 22px 24px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.shop-notes p { margin-top: 6px; font-size: 14px; color: var(--muted); }

.basket-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; display: grid; place-items: center; }
.basket-btn:hover { border-color: var(--gold); color: var(--gold); }
.basket-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.basket-btn b { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: #0a1430; font: 700 12px/20px var(--body); text-align: center; }

/* Dialogs: quick view and basket */
.sheet { border: 1px solid var(--line); background: var(--panel); color: #fff; padding: 0; }
.sheet::backdrop { background: rgba(5, 6, 10, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.close:hover { background: var(--gold); color: #000; }
.quick { width: min(940px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border-radius: 22px; }
.quick-body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 28px; }
.quick-media .thumb { aspect-ratio: 4 / 5; background: #e9ebf1; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button { width: 58px; height: 58px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #e9ebf1; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.quick-info .kicker { margin-top: 0; }
.quick-info h2 { font-size: 36px; margin-top: 8px; padding-right: 40px; }
.opt { border: 0; padding: 0; margin: 0 0 18px; }
.opt legend { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.opt legend b { color: #fff; }
.opt .chip { min-width: 46px; justify-content: center; padding: 0 12px; }
.buy-row { display: flex; gap: 12px; align-items: center; margin: 8px 0 18px; }
.desc { font-size: 14px; color: var(--muted); margin-bottom: 12px; }

.drawer { margin: 0 0 0 auto; width: min(440px, 100%); height: 100dvh; max-height: none; border-width: 0 0 0 1px; }
.drawer[open] { display: flex; flex-direction: column; }
.drawer-head { display: flex; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 30px; }
.drawer-lines { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 90px; object-fit: cover; border-radius: 10px; background: #e9ebf1; }
.line b { display: block; font-size: 14px; line-height: 1.3; }
.line span { display: block; font-size: 13px; color: var(--muted); }
.line-row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.remove { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.remove:hover { color: #fff; }
.empty { padding: 40px 0; color: var(--muted); text-align: center; }
.drawer-foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.total b { font: 800 30px/1 var(--display); }

/* =====================================================================
   TICKETS and MATCHES (event rows are shared)
   ===================================================================== */
.tix-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 12px; border-radius: 18px; background: rgba(10, 20, 48, .45); border: 1px solid rgba(255, 255, 255, .12); }
.tix-filters .grow { flex: 1 1 260px; }
.tix-filters .field { flex: 0 1 190px; }
.tix-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.list-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.list-head p { font-size: 14px; color: var(--ink-muted); }
.more-line { margin-top: 24px; font-size: 14px; color: var(--ink-muted); }

.events { list-style: none; margin: 0; padding: 0; border-radius: var(--r); background: var(--card); border: 1px solid var(--paper-line); overflow: hidden; }
.events .month { padding: 12px 20px; background: #e8eaf2; font: 800 15px/1 var(--display); letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-muted); }
.ev { display: grid; grid-template-columns: 64px 1fr auto auto; align-items: center; gap: 20px; padding: 16px 20px; border-top: 1px solid var(--paper-line); transition: background .15s; }
.ev:first-child { border-top: 0; }
.ev:hover { background: #f8f9fc; }
.ev.none { display: block; padding: 32px 20px; color: var(--ink-muted); }
.ev-date { text-align: center; }
.ev-date span { display: block; font: 700 13px/1 var(--display); letter-spacing: 1.6px; text-transform: uppercase; color: var(--navy-hi); }
.ev-date b { font: 800 34px/1.1 var(--display); }
.ev-when { font-size: 13px; font-weight: 600; color: var(--ink-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ev-main h3 { font-size: 24px; margin: 5px 0 4px; letter-spacing: .2px; }
.ev-where { font-size: 14px; color: var(--ink-muted); }
.ev-logo { width: 54px; height: 54px; object-fit: contain; }
.versus { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.versus img { width: 30px; height: 30px; object-fit: contain; }
.score { padding: 3px 10px; border-radius: 8px; background: #e8eaf2; font-size: 20px; }
.score.win { background: var(--gold); }
.score.loss { background: var(--navy); color: #fff; }

.side { display: grid; gap: 16px; position: sticky; top: 96px; }
.side-card { padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--paper-line); display: grid; gap: 10px; }
.side-card h3 { font-size: 24px; }
.side-card p { font-size: 14px; color: var(--ink-muted); }
.side-card a:not(.btn):not(.text-link) { color: var(--navy-hi); text-decoration: underline; text-underline-offset: 3px; }
.side-card.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.side-card.navy p { color: #d5d9e6; }
.side-card.navy .text-link { color: var(--gold); }
.prices { margin: 0; }
.prices div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--paper-line); font-size: 15px; }
.prices dd { margin: 0; font: 800 20px/1 var(--display); }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--ink-muted); }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--navy-hi); font-weight: 700; }
.mini-match { display: flex; align-items: center; gap: 12px; }
.mini-match img { width: 46px; height: 46px; object-fit: contain; }
.mini-match span { font: 800 18px/1 var(--display); color: var(--muted); }

/* Event page */
.ev-hero { padding-bottom: 44px; }
.ev-head { display: flex; align-items: center; gap: 32px; }
.ev-crests { display: flex; align-items: center; gap: 14px; flex: none; }
.ev-crests img { width: 92px; height: 92px; object-fit: contain; }
.ev-crests span { font: 800 26px/1 var(--display); color: var(--muted); }
.ev-head h1 { font-size: clamp(34px, 4.6vw, 60px); margin: 6px 0 10px; }
.ev-meta { font-size: 15px; color: #c5cadb; }
.ev-meta.strong { color: #fff; font-weight: 600; }
.k { width: 14px; height: 14px; border-radius: 4px; }
.k.standing { background: #b9c6ee; } .k.seated { background: #1856a6; } .k.away { background: #f3cf6b; }
#map svg { width: 100%; height: auto; display: block; }
.rink { fill: #fff; stroke: #9aa3bf; stroke-width: 2; }
.mark { fill: none; stroke-width: 1.5; } .mark.red { stroke: #d9534f; } .mark.blue { stroke: #4a7fd0; }
#map g { cursor: pointer; outline: none; }
#map g rect { stroke: #fff; stroke-width: 2; transition: fill .15s; }
#map g text { font: 700 13px var(--body); fill: #fff; text-anchor: middle; pointer-events: none; }
.blk rect { fill: #1856a6; } .blk.away rect { fill: #f3cf6b; } .blk.away text { fill: #5b4300 !important; }
.zone rect { fill: #b9c6ee; } .zone text { fill: var(--ink-text) !important; font-size: 11px !important; letter-spacing: .5px; }
#map g:hover rect, #map g:focus-visible rect { fill: var(--navy); }
#map g:hover text, #map g:focus-visible text { fill: #fff !important; }
#map g.on rect { fill: var(--gold); stroke: var(--navy); }
#map g.on text { fill: #0a1430 !important; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: #e8eaf2; margin-bottom: 22px; }
.seg button { border: 0; border-radius: 10px; padding: 10px; background: none; color: var(--ink-text); font: 800 19px/1 var(--display); letter-spacing: .8px; text-transform: uppercase; cursor: pointer; }
.seg small { display: block; margin-top: 4px; font: 500 12px/1 var(--body); text-transform: none; letter-spacing: 0; color: var(--ink-muted); }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.seg button[aria-pressed="true"] small { color: #c5cadb; }
.step { margin-bottom: 22px; }
.step h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 12px; }
.step h3 span { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 14px/26px var(--body); text-align: center; }
.step .hint { margin-top: 10px; }
.blocks .chip { min-width: 44px; justify-content: center; padding: 0; }
.type { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--paper-line); }
.type small { display: block; font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
.type strong { font: 800 24px/1 var(--display); }

/* =====================================================================
   TEAM
   ===================================================================== */
.players { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 18px; }
.player .thumb { aspect-ratio: 2 / 3; background: linear-gradient(160deg, var(--navy-hi), var(--navy)); }
.player .thumb img { object-position: 50% 0; }
.player .num { position: absolute; top: 8px; right: 12px; font: 900 44px/1 var(--display); color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.player .kicker { color: var(--ink-muted); margin-top: 12px; }
.player h3 { font-size: 24px; font-weight: 600; margin-top: 4px; color: var(--ink-text); }
.player h3 b { font-weight: 900; }
.player h3 .pill { vertical-align: middle; }
.player:hover h3 { color: var(--navy-hi); }

.pro-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); min-height: 680px; background: var(--navy); }
.pro-panel {
  padding: 140px 48px 56px max(24px, calc((100vw - 1240px) / 2));
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  background:
    repeating-linear-gradient(-55deg, transparent 0 90px, rgba(255, 255, 255, .03) 90px 180px),
    linear-gradient(160deg, var(--navy-hi), var(--navy) 60%, #091230);
}
.avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 8%; border: 3px solid var(--gold); background: var(--navy-hi); margin-bottom: 18px; }
.pro-panel .tag { margin-bottom: 14px; }
.pro-panel h1 span { display: block; font-size: clamp(64px, 8.4vw, 124px); font-weight: 900; line-height: .86; }
.pro-panel h1 small { display: block; margin-top: 10px; font-size: clamp(28px, 3.2vw, 46px); font-weight: 700; letter-spacing: 3px; }
.pro-sub { margin-top: 16px; color: #c5cadb; }
.pro-stats { display: flex; margin: 34px 0 0; }
.pro-stats div { padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .25); }
.pro-stats div:first-child { padding-left: 0; border-left: 0; }
.pro-stats dd { margin: 0; font: 900 52px/1 var(--display); color: var(--gold); }
.pro-stats dt { margin-top: 6px; font: 700 13px/1 var(--display); letter-spacing: 2px; text-transform: uppercase; }
.pro-photo { position: relative; overflow: hidden; background: radial-gradient(90% 80% at 50% 30%, #2a4fa8, var(--navy) 70%, #070d22); }
.pro-photo img { position: absolute; inset: 70px 0 0; width: 100%; height: calc(100% - 70px); object-fit: contain; object-position: 50% 100%; }
.pro-photo span { position: absolute; right: 2%; bottom: -6%; font: 900 clamp(200px, 30vw, 460px)/.8 var(--display); color: rgba(255, 255, 255, .07); }

.pro-bio { padding-top: 72px; }
.bio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; margin-top: 40px; align-items: start; }
.bio-photo { border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, var(--navy-hi), var(--navy)); aspect-ratio: 4 / 5; }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.fact { display: flex; align-items: center; gap: 14px; }
.fact svg { flex: none; width: 60px; height: 60px; padding: 15px; border-radius: 12px; background: #e3e6f0; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.fact span { display: block; font-size: 13px; color: var(--ink-muted); }
.fact b { font-size: 18px; }
.fact small { font-weight: 500; color: var(--ink-muted); }
.bio-grid h3 { font-size: 24px; color: var(--navy); margin: 26px 0 10px; }
.bio-grid p { color: #2c3454; margin-bottom: 10px; }
.dots { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dots li { padding-left: 20px; position: relative; color: #2c3454; }
.dots li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px #c9a900; }
.pro-cta { padding: 72px 0; text-align: center; background: radial-gradient(120% 160% at 50% 120%, var(--navy-hi), var(--navy) 45%, #081029 100%); }
.pro-cta h2 em { font-style: normal; color: var(--gold); }
.pro-cta p { margin-top: 12px; color: #d5d9e6; }
.pro-cta .cta-row { justify-content: center; }
.rail-players { grid-template-columns: repeat(8, minmax(170px, 1fr)); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.rail-players .player { scroll-snap-align: start; }

/* =====================================================================
   ARTICLES: information pages and news
   ===================================================================== */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.prose { background: var(--card); border: 1px solid var(--paper-line); border-radius: 20px; padding: clamp(22px, 4vw, 48px); font-size: 17px; line-height: 1.7; color: #232a48; min-width: 0; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(28px, 3.2vw, 38px); margin: 44px 0 14px; }
.prose h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--gold); margin-top: 10px; border-radius: 2px; }
.prose h3, .prose h4 { font-size: 24px; color: var(--navy); margin: 32px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose a { color: var(--navy-hi); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #000; }
.prose img { border-radius: 14px; margin: 20px 0; height: auto; }
.prose .lead-img { width: 100%; margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 30px; }
.prose li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--gold); color: #0a1430; font: 700 12px/20px var(--body); text-align: center; }
.prose table { width: 100%; min-width: 0; margin: 20px 0; font-size: 15px; }
.prose th { background: var(--navy); color: #fff; }
.prose td, .prose th { border-bottom: 1px solid var(--paper-line); text-align: left; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--gold); font-size: 19px; color: var(--navy); }

.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.story { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--paper-line); border-radius: var(--r); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.story:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(14, 28, 65, .45); }
.story .thumb { aspect-ratio: 16 / 9; border-radius: 0; background: var(--navy); }
.story > div:last-child { padding: 18px 20px 22px; }
.story time { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.story h3 { font-size: 26px; margin: 6px 0 8px; color: var(--ink-text); }
.story p { font-size: 14px; color: var(--ink-muted); }
.story.lead { grid-column: 1 / -1; flex-direction: row; }
.story.lead .thumb { flex: 1.3; aspect-ratio: auto; min-height: 320px; }
.story.lead > div:last-child { flex: 1; align-self: center; padding: 32px; }
.story.lead h3 { font-size: clamp(32px, 3.6vw, 48px); }

/* Light-section tables (matches page) */
.light .table-scroll { background: var(--card); border-color: var(--paper-line); }
.light th { color: var(--ink-muted); }
.light th, .light td { border-color: var(--paper-line); }
.light tr.us td { background: var(--navy); color: var(--gold); }
.form { white-space: nowrap; }
.f { display: inline-block; width: 22px; height: 22px; margin: 0 1px; border-radius: 50%; background: #c9cddb; color: #fff; font: 700 11px/22px var(--body); font-style: normal; text-align: center; }
.f.W { background: #1e8e4e; } .f.L { background: #c0392b; }
.f.ot { width: auto; padding: 0 7px; border-radius: 11px; font-size: 10px; letter-spacing: .3px; }
.f.W.ot { background: #fff; color: #1e8e4e; box-shadow: inset 0 0 0 2px #1e8e4e; }
.f.L.ot { background: #fff; color: #c0392b; box-shadow: inset 0 0 0 2px #c0392b; }
.form-key { margin-top: 18px; line-height: 2; max-width: 90ch; }

/* Tickets page: featured cup game and highlights */
.tm-over { font: 600 12px/1 var(--body); letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.feat { padding: 0 0 56px; background: var(--ink); }
.feat-main { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 36px 40px; border: 1px solid rgba(246, 208, 0, .55); background: linear-gradient(110deg, var(--navy-hi), var(--navy) 55%, #0b1024); transition: border-color .2s, transform .2s; }
.feat-main:hover { border-color: var(--gold); transform: translateY(-2px); }
.feat-crests { display: flex; align-items: center; gap: 16px; }
.feat-crests img { width: 120px; height: 120px; object-fit: contain; }
.feat-crests span { font: 800 30px/1 var(--display); color: var(--muted); }
.feat-copy { display: grid; gap: 12px; justify-items: start; }
.feat-copy h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 900; }
.feat-when { color: #d5d9e6; }
.feat-sth { width: 100%; padding: 16px 18px; background: rgba(8, 16, 40, .55); border-left: 4px solid var(--gold); }
.feat-sth b { display: block; margin-bottom: 10px; }
.feat-sth dl { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0; }
.feat-sth dt { font-size: 12px; color: var(--muted); }
.feat-sth dd { margin: 2px 0 0; font: 800 26px/1 var(--display); color: var(--gold); }
.feat-sth s { margin-left: 4px; font: 500 14px/1 var(--body); color: var(--muted); }
.feat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.feat-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.feat-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.feat-card h3 { font-size: 30px; font-weight: 900; }
.feat-card p { font-size: 14px; color: var(--muted); flex: 1; }
.site-footer .footer-main:has(> :nth-child(6)) { grid-template-columns: 1fr repeat(4, 1fr) 1.3fr; }
@media (max-width: 1100px) { .feat-main { grid-template-columns: 1fr; gap: 20px; padding: 24px; } .feat-crests img { width: 80px; height: 80px; } .feat-row { grid-template-columns: 1fr; } .site-footer .footer-main:has(> :nth-child(6)) { grid-template-columns: 1fr 1fr; } }

/* Booking page: the club's Future Ticketing widget inside a card */
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.book-card { background: var(--card); border: 1px solid var(--paper-line); border-radius: 20px; overflow: hidden; min-width: 0; }
.book-top { padding: 24px 28px 18px; border-bottom: 1px solid var(--paper-line); }
.book-top h2 { font-size: 30px; }
.book-top p { margin-top: 8px; font-size: 14px; color: var(--ink-muted); }
.book-widget { min-height: 420px; padding: 8px 12px 20px; }
.book-fallback { padding: 40px 16px; color: var(--ink-muted); display: grid; gap: 14px; justify-items: start; max-width: 60ch; }
.book-fallback h3 { font-size: 26px; color: var(--ink-text); }
.book-widget.opening { position: relative; }
.book-widget.opening > * { visibility: hidden; }
.book-widget.opening::before { content: "Opening the seat picker…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-muted); }
#ft_poweredby { padding: 10px 16px 0; font-size: 12px; text-align: right; }
#ft_poweredby a { color: var(--ink-muted); }
@media (max-width: 1100px) { .book-layout { grid-template-columns: 1fr; } }

/* Room for the fixtures ribbon above the header */
.has-ribbon .page-hero { padding-top: 184px; }
.has-ribbon .toolbar { top: 102px; }
.has-ribbon .side { top: 136px; }
.has-ribbon .pro-photo img { inset: 110px 0 0; height: calc(100% - 110px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .has-ribbon .toolbar { top: 96px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .players { grid-template-columns: repeat(4, 1fr); }
  .tix-layout, .article-layout { grid-template-columns: 1fr; }
  .side { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .stories { grid-template-columns: repeat(2, 1fr); }
  .pro-hero { grid-template-columns: 1fr; }
  .pro-panel { padding: 130px 24px 40px; order: 2; padding-top: 32px; }
  .pro-photo { min-height: 440px; order: 1; }
  .pro-photo img { inset: 90px 0 0; height: calc(100% - 90px); }
  .toolbar { top: 56px; }
}
@media (max-width: 760px) {
  .page-hero, .has-ribbon .page-hero { padding: 146px 0 40px; }
  .light { padding: 36px 0 64px; }
  .shop-hero-inner { grid-template-columns: 1fr; }
  .jersey-fan { height: 240px; }
  .toolbar { position: static; }
  .toolbar-inner { padding: 12px 0; }
  .toolbar .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .toolbar .chip { flex: none; }
  .tools { width: 100%; }
  .tools .search { flex: 1; width: auto; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .shop-notes { grid-template-columns: 1fr; padding-bottom: 64px; }
  .quick-body { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .quick-media .thumb { aspect-ratio: 4 / 3; }
  .quick-info h2 { font-size: 30px; }
  .buy-row { flex-wrap: wrap; }
  .tix-filters .field { flex: 1 1 140px; }
  .ev { grid-template-columns: 52px 1fr; gap: 12px 14px; padding: 14px; }
  .ev-logo { display: none; }
  .ev > .btn { grid-column: 1 / -1; }
  .ev > .pill { grid-column: 2; justify-self: start; }
  .ev-main h3 { font-size: 21px; }
  .ev-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .ev-crests img { width: 64px; height: 64px; }
  .type { gap: 10px; }
  body[data-page="tickets"] { padding-bottom: 0; }
  .players { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .rail-players { grid-template-columns: repeat(8, 62%); }
  .player h3 { font-size: 21px; }
  .pro-photo { min-height: 360px; }
  .pro-stats div { padding: 0 18px; }
  .bio-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .bio-photo { display: none; }
  .stories { grid-template-columns: 1fr; }
  .story.lead { flex-direction: column; }
  .story.lead .thumb { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
  .story.lead > div:last-child { padding: 18px 20px 22px; }
  .prose { font-size: 16px; }
  .side { grid-template-columns: 1fr; }
}

/* ---------- Dark version of the reading pages ----------
   One theme per menu section: Tickets and Matches are light; Team, Club, Fans, Commercial, News and Shop are dark.
   Reading pages (news, info pages) that sit in a dark section add class "theme-dark" to <body>. */
body.theme-dark { --paper: #0a1430; --card: #11224f; --ink-text: #ffffff; --ink-muted: #aab1c7; --paper-line: var(--line); background: #0a1430; }
.theme-dark .prose { color: #d6dae6; }
.theme-dark .prose h2, .theme-dark .prose h3, .theme-dark .prose h4, .theme-dark .prose blockquote, .theme-dark .story h3 { color: #fff; }
.theme-dark .prose a, .theme-dark .light .text-link, .theme-dark .side-card a:not(.btn):not(.text-link) { color: var(--gold); }
.theme-dark .prose a:hover, .theme-dark .light .text-link:hover { color: #fff; }
.theme-dark .light :focus-visible { outline-color: var(--gold); }
.theme-dark .side-card.navy { background: linear-gradient(135deg, var(--navy-hi), var(--navy)); border-color: transparent; }
.theme-dark .btn.navy { background: var(--gold); color: #0a1430; }

/* Season ticket card: the Under-12 price is the loudest thing on it. */
.feat-card.offer { border-color: rgba(246, 208, 0, .7); background: linear-gradient(160deg, var(--navy-hi), var(--navy) 70%); }
.feat-offer { display: block; padding: 14px 16px; background: var(--gold); color: #0a1430; font-size: 18px; font-weight: 700; line-height: 1.25; }
.feat-offer b { display: block; font-size: 34px; font-weight: 900; line-height: 1; letter-spacing: -.5px; text-transform: uppercase; }
.feat-card.offer p { color: #d5d9e6; }
.side-card.navy p b { color: #fff; }

/* Prices on a featured ticket card (the 7 Match Pass) */
.feat-prices { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 6px 14px; margin: 0; padding: 12px 0; border-block: 1px solid var(--line); }
.feat-prices dt { font-size: 12px; font-weight: 600; letter-spacing: .4px; color: var(--muted); white-space: nowrap; }
.feat-prices dd { margin: 2px 0 0; font: 800 22px/1 var(--display); color: #fff; }
@media (max-width: 420px) { .feat-prices { grid-template-columns: repeat(2, 1fr); } }

/* 7 Match Pass page: the list of games the pass covers */
.pass-back { display: block; width: fit-content; margin-bottom: 26px; }   /* "All events" on its own line, clear of the gold label below it */
.pass-title { margin-top: 14px; }
.pass-games { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--paper-line); border-radius: var(--r); overflow: hidden; }
.pass-games li { display: grid; grid-template-columns: 58px 44px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 20px; }
.pass-games li + li { border-top: 1px solid var(--paper-line); }
.pg-date { text-align: center; line-height: 1; color: var(--ink-text); }
.pg-date span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-muted); }
.pg-date b { display: block; margin: 3px 0; font: 900 26px/1 var(--display); }
.pass-games img { width: 44px; height: 44px; object-fit: contain; }
.pass-games h3 { font-size: 22px; color: var(--ink-text); }
.pass-games p { margin-top: 3px; font-size: 14px; color: var(--ink-muted); }
.pass-note { margin-top: 14px; }
.pay .handoff .btn { margin: 4px 8px 0 0; }
@media (max-width: 760px) { .pass-games li { grid-template-columns: 48px 36px minmax(0, 1fr); gap: 12px; padding: 12px 14px; } .pass-games img { width: 36px; height: 36px; } .pass-games h3 { font-size: 19px; } }

/* ---------- Matches page banner ----------
   "Flyers on the Move!!" is a tilted gold tag with speed lines that zips in from the left beside the title.
   The season sits under the title as ordinary text. */
.mt-head { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 44px; }
.mt-move { position: relative; margin-left: 30px; padding: 11px 20px 10px; border-radius: 8px; background: var(--gold); color: #0a1430; font: italic 800 clamp(19px, 2.3vw, 30px)/1 var(--display); letter-spacing: .2px; white-space: nowrap; transform: rotate(-3deg) skewX(-6deg); box-shadow: 5px 5px 0 rgba(0, 0, 0, .35); animation: mt-zip .7s cubic-bezier(.2, 1.3, .4, 1) both; }
.mt-move::before { content: ""; position: absolute; right: calc(100% + 8px); top: 50%; width: 30px; height: 3px; border-radius: 2px; background: var(--gold); box-shadow: 9px -10px 0 rgba(246, 208, 0, .6), 5px 10px 0 rgba(246, 208, 0, .35); }
@keyframes mt-zip { from { opacity: 0; transform: translateX(-90px) rotate(-3deg) skewX(-18deg); } to { opacity: 1; transform: rotate(-3deg) skewX(-6deg); } }
.mt-sub { margin-top: 16px; font: 500 18px/1.4 var(--body); color: #d6dae6; }
.mt-sub + .chips { margin-top: 24px; }
@media (max-width: 760px) { .mt-head { gap: 14px 30px; } .mt-move { margin-left: 34px; } .mt-sub { margin-top: 14px; font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .mt-move { animation: none; } }

/* The three featured ticket cards are always equal widths (the pass card's price row was making it wider). */
@media (min-width: 1101px) { .feat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feat-prices { gap: 6px 10px; }

/* A button placed inside page text keeps its button colours, not the link colour of the text around it. */
.prose a.btn, .theme-dark .prose a.btn { text-decoration: none; }
.prose a.btn.gold, .theme-dark .prose a.btn.gold, .prose a.btn.gold:hover, .theme-dark .prose a.btn.gold:hover { color: #0a1430; }

/* ---------- Loading ring inside a page ----------
   Wherever part of a page is still being fetched (switching between Fixtures, Results and Standings, opening a
   news story, an information page), the same crest-and-gold-ring as the full-screen loader shows in that space
   instead of the word "Loading…". A tab that has already been fetched is drawn straight away, so the ring only
   appears when there really is a wait. The word is still there for screen readers; it is just not drawn. */
.loading, .light .loading, .prose .loading { position: relative; display: block; min-height: 260px; margin: 0; padding: 0; font-size: 0; line-height: 0; color: transparent; }
.loading::before { content: ""; position: absolute; left: 50%; top: 50%; width: 88px; height: 46px; margin: -23px 0 0 -44px; background: url("https://fifeflyers.co.uk/wp-content/uploads/2025/02/logo-600x310.png") center / contain no-repeat; }
.loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .12); border-top-color: var(--gold); border-right-color: var(--gold); animation: ld-spin .95s linear infinite; }
.light .loading::after { border-color: rgba(14, 28, 65, .12); border-top-color: var(--gold); border-right-color: var(--gold); }
.theme-dark .light .loading::after { border-color: rgba(255, 255, 255, .12); border-top-color: var(--gold); border-right-color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .loading::after { animation: none; } }

/* ---------- The "Flyers Win!" pop-up before Results (matches.html) ----------
   The winning goal, covering the whole screen. "Flyers Win!" pops in over it for a few seconds as it starts;
   a line at the bottom says what it is; a thin gold line shows how far through the clip is. */
html.wv-open { overflow: hidden; }
.wv { position: fixed; inset: 0; z-index: 9500; background: #000; overflow: hidden; transition: opacity .45s ease; }
.wv[hidden] { display: none; }
.wv.leaving { opacity: 0; pointer-events: none; }
.wv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
/* On a normal wide screen the clip fills it edge to edge (a sliver is trimmed top and bottom, or at the sides). */
@media (min-aspect-ratio: 3/2) and (max-aspect-ratio: 21/10) { .wv video { object-fit: cover; } }
.wv::after { content: ""; position: absolute; inset: auto 0 0 0; height: 34%; pointer-events: none; background: linear-gradient(0deg, rgba(4, 9, 24, .82), rgba(4, 9, 24, 0)); }
.wv-title { position: absolute; left: 0; right: 0; top: 50%; z-index: 2; margin: 0; padding: 0 16px; text-align: center; pointer-events: none; font: 900 clamp(54px, 11vw, 168px)/.9 var(--display); text-transform: uppercase; letter-spacing: -2px; color: #fff; text-shadow: 0 6px 40px rgba(0, 0, 0, .65); transform: translateY(-50%); opacity: 0; }
.wv-title .wv-gold { color: var(--gold); }
.wv.playing .wv-title { animation: wv-pop 3.6s cubic-bezier(.2, 1.4, .4, 1) .25s both; }
@keyframes wv-pop {
  0% { opacity: 0; transform: translateY(-50%) scale(.55); }
  12% { opacity: 1; transform: translateY(-50%) scale(1.06); }
  18% { opacity: 1; transform: translateY(-50%) scale(1); }
  82% { opacity: 1; transform: translateY(-50%) scale(1); }
  100% { opacity: 0; transform: translateY(-50%) scale(1.04); }
}
.wv-cap { position: absolute; left: max(20px, 3vw); bottom: max(26px, 3.4vh); z-index: 2; max-width: 60ch; margin: 0; font: 600 clamp(16px, 1.5vw, 21px)/1.35 var(--body); color: #fff; }
.wv-tools { position: absolute; right: max(20px, 3vw); bottom: max(20px, 3vh); z-index: 3; display: flex; gap: 10px; }
.wv-btn { padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(8, 16, 40, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 700 14px/1 var(--body); letter-spacing: .3px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.wv-btn:hover, .wv-btn:focus-visible { background: var(--gold); border-color: var(--gold); color: #0a1430; outline: 0; }
.wv-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: rgba(255, 255, 255, .16); }
.wv-bar b { display: block; width: 0; height: 100%; background: var(--gold); transition: width .25s linear; }
@media (max-width: 700px) {
  .wv-cap { left: 16px; right: 16px; bottom: 84px; text-align: center; max-width: none; }
  .wv-tools { left: 16px; right: 16px; bottom: 24px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .wv.playing .wv-title { animation-duration: 3.6s; animation-timing-function: linear; } }

/* Shown only if the browser will not start the clip by itself. */
.wv-play { position: absolute; left: 50%; top: 50%; z-index: 4; display: flex; align-items: center; gap: 14px; padding: 18px 30px 18px 24px; border: 0; border-radius: 999px; background: var(--gold); color: #0a1430; font: 800 18px/1 var(--body); letter-spacing: .3px; text-transform: uppercase; cursor: pointer; transform: translate(-50%, -50%); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.wv-play[hidden] { display: none; }
.wv-play i { width: 0; height: 0; border-left: 18px solid #0a1430; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }

/* ---------- A row that scrolls sideways, with arrows ----------
   The arrow buttons are shared by the Alumni page's four boxes (fans.css) and the photo row below.
   The code that works them is rowArrows() in chrome.js. */
.f-arrow { position: absolute; top: 50%; z-index: 3; width: 56px; height: 56px; margin-top: -28px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(10, 20, 48, .8); color: #fff; font: 600 22px/1 var(--body); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.f-arrow.prev { left: 22px; }
.f-arrow.next { right: 22px; }
.f-arrow:hover, .f-arrow:focus-visible { background: var(--gold); border-color: var(--gold); color: #0a1430; }
.f-arrow[hidden] { display: none; }
@media (max-width: 760px) { .f-arrow { width: 46px; height: 46px; margin-top: -23px; font-size: 19px; } .f-arrow.prev { left: 10px; } .f-arrow.next { right: 10px; } }

/* Photos on an information page (Community Outreach): one row that scrolls left and right, not a stack down
   the page. Every photo is the same height and keeps its own shape, so nothing is cropped or stretched.
   Until a photo has loaded its space is held at 3:2; page.html then sets the photo's real shape. */
.photo-scroll { position: relative; margin: 24px 0; }
.photo-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; border-radius: 14px; -webkit-overflow-scrolling: touch; }
.photo-row::-webkit-scrollbar { display: none; }
.prose .photo-row img { flex: none; width: auto; max-width: none; height: clamp(200px, 30vw, 380px); aspect-ratio: 3 / 2; object-fit: cover; margin: 0; scroll-snap-align: start; }
.photo-scroll .f-arrow.prev { left: 12px; }
.photo-scroll .f-arrow.next { right: 12px; }

/* ---------- Charities we support (Community Outreach page) ----------
   Two charities side by side on a computer, one under the other on a phone. The list is in page.html. */
.charities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 44px; margin: 6px 0 12px; }
.charity { display: flex; flex-direction: column; }
.prose .charity h3 { margin: 0; font-size: clamp(26px, 2.6vw, 32px); }
.prose .charity-under { margin: 2px 0 14px; font-weight: 600; color: var(--muted); }
.prose .charity ul { margin-bottom: 22px; }
.prose .charity-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: auto 0 0; }
@media (max-width: 900px) { .charities { grid-template-columns: minmax(0, 1fr); } }
