/* All About the Stats: broadsheet style. White ground, black ink, one claret accent, hairline and double rules. */
:root {
  --ink: #121212;
  --ink-2: #2a2a2a;
  --grey: #4a4a4a;
  --grey-2: #5f5f5f;
  --rule: #cfcfcf;
  --tint: #f4f4f2;
  --still: #efefed;
  --accent: #8c1d2c;
  --serif: Newsreader, Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--serif); font-size: 16px; line-height: 1.5; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.label { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.kicker { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.more { font-style: italic; font-size: 16px; color: var(--accent); display: inline-block; padding: 10px 0; }
.note { font-style: italic; font-size: 14px; color: var(--grey); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* masthead */
.mast { padding-top: 18px; }
.mast-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
/* the plate: mark at the left, the name in the middle, the founding year at the right */
.plate { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0 16px; padding: 16px 0 10px; font-size: clamp(30px, 5.4vw, 66px); }
.plate .mark-link { justify-self: start; display: block; line-height: 0; }
.plate .mark { width: 0.92em; height: 0.92em; border-radius: 0.12em; }
.plate .est { justify-self: end; text-align: right; white-space: nowrap; }
.nameplate { display: block; text-align: center; text-decoration: none; font-weight: 600; font-size: 1em; line-height: 1; letter-spacing: -0.025em; padding-bottom: 0.06em; }
.plate.small { font-size: clamp(26px, 3.6vw, 42px); padding: 12px 0 10px; }
.strap { text-align: center; padding-bottom: 12px; font-style: italic; font-size: 16px; color: var(--grey); }
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 26px; border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 11px 0; }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--ink); }
.nav a.corr { color: var(--accent); }
/* a story page: the name only, over a double rule. The sections are at the foot of the page, under "More". */
.mast.story { border-bottom: 3px double var(--ink); }

/* sections */
.section { padding: 28px 0 32px; border-bottom: 1px solid var(--ink); }
.section:last-of-type { border-bottom: 0; }
.split { display: flex; flex-wrap: wrap; gap: 28px 0; }
.split > .main { flex: 3 1 480px; min-width: 0; }
.split > .side { flex: 2 1 340px; min-width: 0; align-self: flex-start; }
.split > .aside { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; padding-bottom: 12px; border-bottom: 3px double var(--ink); }
.sec-head h2 { margin: 0; font-weight: 600; font-size: 28px; line-height: 1; letter-spacing: -0.02em; }

/* cover story */
.cover h1 { margin: 10px 0 0; font-weight: 600; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.02; letter-spacing: -0.025em; }
.cover h1 em { font-weight: 500; }
.cover h1 a { color: inherit; text-decoration: none; }
.cover h1 a:hover { color: var(--accent); }
.cover.second h1 { font-size: clamp(28px, 3.2vw, 40px); }
.cover .main .postcard.sidepic, .cover .main .sidephoto { margin-top: 18px; }
.standfirst { margin: 14px 0 0; font-size: 19px; line-height: 1.38; color: var(--ink-2); }
.cols { columns: 2 220px; column-gap: 28px; column-rule: 1px solid var(--rule); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 15px; }
.cols p { break-inside: avoid; }
.cols p + p { margin-top: 10px; }
.cols p { margin: 0; }
.dropcap::first-letter { float: left; font-weight: 600; font-size: 52px; line-height: 0.78; padding: 5px 8px 0 0; color: var(--ink); }
.button { display: inline-block; margin-top: 18px; background: var(--ink); color: #fff; text-decoration: none; padding: 11px 18px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.button:hover { background: var(--accent); color: #fff; }

/* record panel */
.record { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.record-head { padding: 12px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; border-bottom: 1px solid var(--ink); font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.record-head span + span { color: var(--grey); font-weight: 600; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.trio > div { padding: 18px 6px 14px; min-width: 0; border-right: 1px solid var(--rule); }
.trio > div:last-child { border-right: 0; }
.trio .fig { font-weight: 600; font-size: clamp(34px, 3.6vw, 46px); line-height: 0.9; letter-spacing: -0.03em; }
.trio .draws .fig { font-weight: 500; font-style: italic; color: var(--grey-2); }
.trio .away .fig { color: var(--accent); }
.trio .cap { margin-top: 8px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.trio .draws .cap { color: var(--grey-2); }
.share { display: flex; gap: 2px; height: 10px; }
.share .a { background: var(--ink); }
.share .d { background: var(--rule); }
.share .b { background: var(--accent); }
.facts { width: 100%; margin-top: 12px; border-collapse: collapse; font-family: var(--sans); font-size: 13px; }
.facts tr { border-top: 1px solid var(--rule); }
.facts th { text-align: left; padding: 8px 12px 8px 0; font-weight: 500; }
.facts td { text-align: right; padding: 8px 0; font-weight: 700; white-space: nowrap; }
.record .more { display: block; padding: 14px 0; border-top: 1px solid var(--rule); }

/* tables */
.scroll { overflow-x: auto; }
.runs { width: 100%; min-width: 600px; border-collapse: collapse; }
.runs thead th { text-align: left; padding: 12px 14px 10px 0; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.runs tbody tr { border-top: 1px solid var(--rule); }
.runs tbody tr:first-child { border-top: 1px solid var(--ink); }
.runs tbody tr:last-child { border-bottom: 1px solid var(--ink); }
.runs td { padding: 10px 14px 10px 0; vertical-align: top; }
.runs .n { font-weight: 600; font-size: 30px; line-height: 1; letter-spacing: -0.02em; width: 64px; }
.runs .club { font-weight: 600; font-size: 18px; line-height: 1.15; }
.runs .club small { display: block; font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--grey); }
.runs .stake { font-size: 15px; }
.runs .next { font-family: var(--sans); font-size: 13px; color: var(--grey); padding-right: 0; }

.results { width: 100%; min-width: 680px; margin-top: 8px; border-collapse: collapse; font-size: 15px; }
.results thead th { text-align: left; padding: 12px 14px 10px 0; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.results tbody tr { border-top: 1px solid var(--rule); }
.results tbody tr:first-child { border-top: 1px solid var(--ink); }
.results tbody tr:last-child { border-bottom: 1px solid var(--ink); }
.results td, .results tbody th { padding: 7px 14px 7px 0; vertical-align: top; text-align: left; font-weight: 400; }
.results .no { width: 44px; font-family: var(--sans); font-size: 13px; color: var(--grey); }
.results .date { white-space: nowrap; font-family: var(--sans); font-size: 14px; }
.results .match { font-size: 16px; }
.results .match small { display: block; font-family: var(--sans); font-size: 12px; color: var(--accent); }
.results .tally { white-space: nowrap; font-family: var(--sans); font-size: 14px; font-variant-numeric: tabular-nums; padding-right: 0; }
.results.parts { min-width: 520px; max-width: 760px; font-family: var(--sans); font-size: 15px; }
.results.parts td, .results.parts thead th + th { text-align: right; font-variant-numeric: tabular-nums; }
.results.parts tr.total th, .results.parts tr.total td { font-weight: 700; }
.facts.wide { max-width: 760px; }
.facts.wide th { vertical-align: top; width: 38%; }
.facts.wide td { text-align: left; white-space: normal; font-weight: 500; }
.embed { max-width: 760px; margin-top: 22px; aspect-ratio: 16 / 9; background: var(--still); }
.embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.watch-links { display: flex; flex-wrap: wrap; gap: 0 32px; margin-top: 6px; }
.postcard { max-width: 760px; width: 100%; margin: 18px 0 6px; border: 1px solid var(--rule); }

/* sidebar */
.onfile { border-top: 3px solid var(--ink); padding-top: 14px; }
.onfile .big { margin-top: 12px; font-weight: 600; font-size: 40px; line-height: 0.9; letter-spacing: -0.03em; }
.onfile .big + p { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }
.onfile .big.next { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--rule); }
.box { background: var(--tint); padding: 16px 18px; }
.box h3 { margin: 0; font-weight: 600; font-size: 21px; line-height: 1.1; letter-spacing: -0.01em; }
.box p { margin: 8px 0 6px; font-size: 15px; color: var(--ink-2); }

/* video cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px 0; margin-top: 20px; overflow: hidden; }
.cards .card { padding: 0 16px; border-left: 1px solid var(--rule); margin-left: -1px; }
.card { text-decoration: none; display: block; }
.card .still { aspect-ratio: 4 / 3; background: var(--still); display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-2); }
.card img.still { width: 100%; padding: 0; object-fit: cover; }
.card .kicker { margin-top: 14px; font-size: 11px; }
.card .title { margin-top: 5px; font-weight: 600; font-size: 20px; line-height: 1.12; letter-spacing: -0.01em; }
.card .meta { margin-top: 6px; font-family: var(--sans); font-size: 12px; color: var(--grey); }

/* how we check */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 0; margin-top: 20px; overflow: hidden; }
.steps .step { padding: 0 20px; border-left: 1px solid var(--rule); margin-left: -1px; }
.step { display: flex; gap: 14px; }
.step .num { flex: 0 0 auto; font-style: italic; font-weight: 500; font-size: 52px; line-height: 0.8; color: var(--accent); }
.step h3 { margin: 0 0 6px; font-weight: 600; font-size: 20px; line-height: 1.1; }
.step p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* article pages */
.article { padding: 28px 0 48px; }
.article h1 { margin: 10px 0 0; font-weight: 600; font-size: clamp(30px, 3.8vw, 46px); line-height: 1; letter-spacing: -0.025em; }
.article .standfirst { max-width: 760px; }
.article h2 { margin: 36px 0 0; padding-bottom: 8px; border-bottom: 3px double var(--ink); font-weight: 600; font-size: 24px; line-height: 1.1; letter-spacing: -0.015em; }
.prose { max-width: 720px; }
/* a video's page: the video beside the record, then the notes two to a row */
.split.lead { margin-top: 26px; }
.split.lead .embed { margin-top: 0; max-width: none; }
.split.lead h2.first { margin-top: 0; }
.pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 56px; }
.pairs > section { min-width: 0; }
.pairs.post { gap: 16px 40px; align-items: start; margin-top: 14px; }
.pairs.post > div { min-width: 0; }
.pairs.post .postcard, .pairs.post .facts.wide { max-width: none; margin-top: 0; }
.results.parts { max-width: none; }
.facts.loose td { white-space: normal; padding-left: 12px; font-weight: 600; }
.facts.loose th { vertical-align: top; white-space: nowrap; }
.postcard.hero { max-width: none; margin: 0 0 20px; }
.postcard.sidepic { max-width: none; margin: 20px 0 0; display: block; }
.sidephoto { margin: 20px 0 0; }
.sidephoto img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 20%; border: 1px solid var(--rule); }
.sidephoto figcaption { margin-top: 8px; font-family: var(--sans); font-size: 13px; line-height: 1.45; }
.sidephoto .credit { display: block; margin-top: 3px; font-size: 11px; color: var(--grey); }
.sidephoto .credit a { color: inherit; }
.prose.report { max-width: none; columns: 2 300px; column-gap: 32px; column-rule: 1px solid var(--rule); }
/* a report with tables in it runs in one column, so a table has the full width */
.prose.report.tabled { columns: auto; }
.prose.report.tabled .scroll { margin: 4px 0 22px; }
.prose.report.tabled h2 { margin-top: 28px; font-size: 22px; }
.prose.report p { margin: 0 0 12px; }
.prose.report h2 { margin: 18px 0 8px; padding: 0; border: 0; font-size: 19px; break-after: avoid; }
.prose.report h2:first-child { margin-top: 0; }
.article h1 em { font-weight: 500; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.prose li { margin: 8px 0; }
.status { display: inline-block; margin-top: 18px; padding: 6px 12px; border: 1px solid var(--ink); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.sources { list-style: none; padding: 0; margin: 0; }
.sources li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.sources .name { font-weight: 600; }
.sources .meta { font-family: var(--sans); font-size: 13px; color: var(--grey); overflow-wrap: anywhere; }
.detail { margin-top: 28px; border-top: 1px solid var(--ink); }
.detail > div { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.detail h3 { flex: 0 0 220px; margin: 0; font-weight: 600; font-size: 19px; line-height: 1.15; }
.detail .body { flex: 1 1 420px; min-width: 0; }
.detail .body p { margin: 0 0 8px; color: var(--ink-2); }
.detail .run-facts { font-family: var(--sans); font-size: 14px; color: var(--grey); }

/* the foot of a story page: other stories, then the sections, as tiles */
.more-block { border-top: 3px double var(--ink); padding: 22px 0 40px; }
.more-block .label { margin: 0 0 10px; }
.more-block .tiles + .label { margin-top: 24px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tiles.stories { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tile { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 12px 14px; border: 1px solid var(--rule); text-decoration: none; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.tile:hover { border-color: var(--accent); }
.tile.story { display: block; text-align: left; padding: 14px 16px 16px; text-transform: none; letter-spacing: 0; }
.tile.story .kicker { display: block; font-size: 11px; }
.tile.story .title { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.12; letter-spacing: -0.01em; }
.tile.story .title em { font-weight: 500; }

/* footer */
.foot { border-top: 3px double var(--ink); padding: 20px 0 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 40px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.foot a { color: var(--grey); padding: 12px 0; }
.foot a.corr { color: var(--accent); }

/* clear columns: a hairline between neighbours, as in a newspaper, once there is room for them side by side */
@media (min-width: 900px) {
  .split > .main { padding-right: 28px; }
  .split > .side, .split > .aside { border-left: 1px solid var(--rule); padding-left: 28px; align-self: stretch; }
  .cards, .steps { margin-left: -16px; margin-right: -16px; }
  .steps { margin-left: -20px; margin-right: -20px; }
}
@media (max-width: 899px) {
  .cards .card, .steps .step { border-left: 0; padding-left: 0; padding-right: 16px; }
  /* tablets and phones: one column. Side by side there is no room, and a wide table would run under its neighbour. */
  .split > .main, .split > .side, .split > .aside { flex: 1 1 100%; }
  .split > .aside { flex-direction: row; flex-wrap: wrap; gap: 24px 32px; }
  .split > .aside > * { flex: 1 1 260px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  /* a phone has no room for the three notes above the name: they stacked into three lines. The publisher is in the footer. */
  .mast-top { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles.stories { grid-template-columns: 1fr; }
  .nav { gap: 0 22px; }
  .detail h3 { flex-basis: 100%; }
  .trio .fig { font-size: 34px; }
}

/* sections */
.cards.sections { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cards.sections .card .title { margin-top: 12px; }
.hero-photo { margin: 22px 0 6px; }
.hero-photo img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border: 1px solid var(--rule); }
.credit { font-family: var(--sans); font-size: 11px; color: var(--grey); }
.hero-photo .credit { margin-top: 6px; }
.credit a { color: inherit; }
