:root {
  --bg: #0f1319;
  --bg-alt: #141921;
  --surface: #171c26;
  --surface-alt: #1e2533;
  --border: #29303e;
  --border-soft: #222937;
  --text: #f2f5f8;
  --text-muted: #7a8595;
  --accent: #e32b1b;
  --accent-bright: #f6553d;
  --secondary: #f5c10b;
  --on-accent: #ffffff;
  --danger: #e11d48;
  --radius: 8px;
  --container: 1160px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, Arial, sans-serif;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

time {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.section {
  padding-block: 64px;
}

.section--alt {
  background: var(--bg-alt);
}

.section__title {
  font-size: 1.75rem;
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--accent);
  margin-bottom: 1.5rem;
}

.section__title--inline {
  margin-bottom: 0;
  border: none;
  padding: 0;
}

.edition-intro {
  padding-block: 48px 32px;
}

.edition-intro__lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  line-height: 1.25;
  max-width: 52ch;
  margin: 0;
}

.mark-frame {
  stroke: var(--accent);
}

.mark-peak {
  stroke: var(--secondary);
}

.mark-bar {
  stroke: var(--accent-bright);
}

.icon-accent {
  color: var(--accent);
}

.icon-secondary {
  color: var(--secondary);
}

.icon-accent-bright {
  color: var(--accent-bright);
}

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

.scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.results-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  min-width: min-content;
}

.results-list__item {
  flex: 0 0 auto;
  min-width: min(100%, 280px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.results-list__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.results-list__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.results-list__score {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.results-list__status {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.scroll-x > table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.scroll-x > table th,
.scroll-x > table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}

.scroll-x > table th {
  background: var(--surface-alt);
  font-weight: 600;
}

.scroll-x > table th:not(:first-child):not(:nth-child(2)),
.scroll-x > table td:not(:first-child):not(:nth-child(2)) {
  text-align: right;
}

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

.section__lead {
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 2rem;
}

.masthead {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.masthead__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  min-height: 52px;
  padding-block: 10px;
}

.masthead__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.masthead__brand:hover {
  text-decoration: none;
  color: var(--accent-bright);
}

.masthead__mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.masthead__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  flex: 1;
  min-width: 0;
}

.masthead__nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.masthead__nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.masthead__date {
  margin-left: auto;
  white-space: normal;
}

.masthead__toggle {
  display: none;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 12px;
  cursor: pointer;
  margin-left: auto;
}

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

.headline-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px;
}

.headline-lists__col h3 {
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.headline-lists__col h3 svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.headline-lists ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.headline-lists li {
  margin-bottom: 0.75em;
  padding-bottom: 0.75em;
  border-bottom: 1px solid var(--border-soft);
}

.headline-lists li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.headline-lists a {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
}

.headline-lists a:hover {
  color: var(--accent-bright);
}

.rubric-index ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 32px;
}

.rubric-index li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  break-inside: avoid;
}

.rubric-index__count {
  color: var(--secondary);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.editorial-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.editorial-note__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.editorial-note__header svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.scoreboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.scoreboard__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.scoreboard__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.scoreboard__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.scoreboard__side--away {
  order: 3;
}

.scoreboard__score {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--text);
  line-height: 1;
}

.scoreboard__details {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.monogram {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.monogram__shape {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 32px;
  padding-inline: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
}

.monogram__code {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
}

.monogram__name {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  overflow-wrap: anywhere;
}

.monogram--inline {
  display: inline-flex;
  flex-direction: row;
  vertical-align: middle;
  margin-right: 4px;
}

.monogram--inline .monogram__shape {
  min-width: 36px;
  height: 1.2em;
  padding-inline: 6px;
}

.monogram--inline .monogram__code {
  font-size: 0.55rem;
}

.monogram--inline .monogram__name {
  display: none;
}

.rubric-block {
  margin-bottom: 48px;
}

.rubric-block:last-child {
  margin-bottom: 0;
}

.rubric-block__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
}

.rubric-block__header svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 4px;
}

.rubric-block__desc {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 65ch;
}

.rubric-block ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rubric-block li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
}

.rubric-block li:first-child {
  border-top: 1px solid var(--border-soft);
}

.rubric-block a {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.dossier {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
}

.dossier__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1rem;
}

.dossier__header svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.dossier__intro {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 70ch;
}

.dossier ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dossier li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.dossier li:last-child {
  border-bottom: none;
}

.dossier a {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-block: 64px 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.footer__col h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--accent);
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__col li {
  margin-bottom: 0.5em;
}

.footer__col a {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer__col a:hover {
  color: var(--text);
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}

.footer__publisher {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 60ch;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer__legal a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
}

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

.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.btn--accent:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  text-decoration: none;
  color: var(--on-accent);
}

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

[data-cookie-banner] {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 900;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 20px;
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

[data-cookie-banner] p {
  flex: 1;
  min-width: min(100%, 280px);
  margin: 0;
  font-size: 0.9375rem;
}

[data-cookie-banner] .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-header {
  padding-block: 48px 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.article-rubric {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.standfirst {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 2rem;
  max-width: 65ch;
}

.article-body {
  max-width: 68ch;
}

.article-body h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--border);
}

.related-articles {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--accent);
}

.related-articles h2 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.related-articles ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-articles li {
  margin-bottom: 0.75em;
}

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

.article-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
}

.article-list li:first-child {
  border-top: 1px solid var(--border-soft);
}

.article-list h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35em;
}

.article-list h2 a {
  color: var(--text);
}

.article-list p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0;
}

.legal-content {
  max-width: 72ch;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--border);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: var(--surface-alt);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 0;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.form-done {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.form-done h2 {
  font-size: 1.25rem;
  color: var(--secondary);
}

.separator-svg {
  display: block;
  width: 100%;
  max-width: 120px;
  margin: 0 auto 24px;
  height: 8px;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scoreboard__main {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 48px;
  }

  .masthead__toggle {
    display: block;
  }

  .masthead__nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-block: 12px;
  }

  .masthead__nav[data-open] {
    display: flex;
  }

  .masthead__date {
    width: 100%;
    margin-left: 0;
    order: 4;
  }

  .rubric-index ul {
    columns: 1;
  }

  .scoreboard__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .scoreboard__side--away {
    order: unset;
  }

  .scoreboard__score {
    order: -1;
    grid-column: 1;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  [data-cookie-banner] .cookie-actions {
    width: 100%;
  }

  [data-cookie-banner] .cookie-actions .btn {
    flex: 1;
    min-width: min(100%, 140px);
  }

  .results-list__teams {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .results-list__score {
    order: -1;
  }
}
