/* ============================================================
   octagon-press — Methstreams combat-sports broadsheet theme.
   List-first + sidebar, B&W with oxblood accent, Roboto Slab.
   Class naming: hyphen-block with en-dash separators
   (e.g. card-teaser, fight-card–row, broadcaster-pill–primary).
   ============================================================ */

@font-face {
  font-family: 'Roboto Slab';
  src: url('/fonts/roboto-slab-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Slab';
  src: url('/fonts/roboto-slab-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/source-sans-3-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/source-sans-3-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d0d0d;
  --bg-2: #1a1a1a;
  --bone: #f4f1ea;
  --bone-dim: #a09b8f;
  --blood: #9b1c2c;
  --blood-deep: #641219;
  --canvas: #2a2218;

  --font-display: 'Roboto Slab', 'Rockwell', 'Courier Slab', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --page-max: 1100px;
  --col-main: 720px;
  --col-side: 280px;
  --col-gap: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--bone); text-decoration: underline; text-decoration-color: var(--blood); text-underline-offset: 3px; }
a:hover { color: var(--blood); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.02em; margin: 0 0 16px; color: var(--bone); }
h1 { font-size: 48px; line-height: 1.05; }
h2 { font-size: 32px; line-height: 1.15; font-weight: 500; }
h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--blood);
  margin-top: 8px;
}
h3 { font-size: 22px; line-height: 1.25; font-weight: 500; }
p { margin: 0 0 16px; }
hr { border: 0; border-top: 1px solid var(--canvas); margin: 32px 0; }

/* marquee (header) */
.marquee {
  background: var(--bg);
  border-bottom: 1px solid var(--canvas);
}
.marquee–inner { max-width: var(--page-max); margin: 0 auto; padding: 24px 24px 12px; }
.marquee–top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.marquee–title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
}
.marquee–rule { display: inline-block; width: 80px; height: 4px; background: var(--blood); margin-left: 12px; vertical-align: middle; }
.marquee–edition { font-family: var(--font-mono); font-size: 12px; color: var(--bone-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.marquee–nav { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; flex-wrap: wrap; gap: 16px; }
.marquee–nav-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.marquee–nav-link { color: var(--bone); text-decoration: none; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.marquee–nav-link:hover { color: var(--blood); }
.marquee–nav-link–current { color: var(--blood); border-bottom: 2px solid var(--blood); padding-bottom: 2px; }
.marquee–disclaimer { font-size: 11px; color: var(--bone-dim); text-transform: uppercase; letter-spacing: 0.08em; }

/* cutman-notice (disclaimer header strip) */
.cutman-notice {
  background: var(--canvas);
  color: var(--bone);
}
.cutman-notice–inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 6px 24px;
  font-size: 13px;
  font-style: italic;
  text-align: center;
  line-height: 1.4;
}

/* card-teaser (fixture-table hero) */
.card-teaser {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 48px 24px 32px;
}
.card-teaser–kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blood);
  margin: 0 0 12px;
}
.card-teaser–title {
  font-size: 56px;
  line-height: 1.02;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}
.card-teaser–deck { font-size: 19px; color: var(--bone-dim); max-width: 760px; margin: 0 0 24px; line-height: 1.5; }
.card-teaser–rule { border: 0; border-top: 1px solid var(--blood); margin: 24px 0; }
.card-teaser–table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 14px;
}
.card-teaser–table th {
  text-align: left;
  padding: 8px 12px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
  font-weight: 600;
  border-bottom: 1px solid var(--canvas);
}
.card-teaser–table td { padding: 12px; vertical-align: top; }
.card-teaser–byline { font-size: 12px; color: var(--bone-dim); margin-top: 24px; font-style: italic; }

/* fight-card–row */
.fight-card–row { border-top: 1px solid var(--blood); }
.fight-card–row .fight-card–when { color: var(--bone-dim); white-space: nowrap; }
.fight-card–event { color: var(--bone); font-weight: 600; font-family: var(--font-display); }
.fight-card–live { color: var(--blood); }

/* broadcaster pill */
.cornerman–broadcaster-pill {
  display: inline-block;
  padding: 3px 10px;
  margin: 4px 4px 4px 0;
  background: var(--bone);
  color: var(--blood);
  border: 1px solid var(--blood);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
}

/* page-grid (list + sidebar) */
.page-grid {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, var(--col-main)) var(--col-side);
  gap: var(--col-gap);
  align-items: start;
}
@media (max-width: 900px) {
  .page-grid { grid-template-columns: 1fr; }
}
.page-main { min-width: 0; }
.page-sidebar { background: var(--bg-2); padding: 24px; border-top: 4px solid var(--blood); }
.page-sidebar–heading { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--bone-dim); margin: 0 0 12px; }
.page-sidebar–body { color: var(--bone); font-size: 15px; line-height: 1.55; margin: 0 0 16px; }
.page-sidebar–rule { border-top: 1px solid var(--canvas); margin: 20px 0; }

.section-list { margin: 32px 0; }
.section-list–heading { font-family: var(--font-display); font-size: 26px; font-weight: 500; margin: 0 0 16px; }
.section-list–items { list-style: none; padding: 0; margin: 0; }
.section-list–items li { padding: 14px 0; border-top: 1px solid var(--blood); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }

/* prose */
.prose { max-width: var(--col-main); font-size: 17px; line-height: 1.7; }
.prose p, .prose ul, .prose ol { color: var(--bone); }
.prose strong { color: var(--bone); font-weight: 700; }
.prose a { color: var(--blood); text-decoration: underline; }
.prose a:hover { color: var(--blood-deep); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin: 8px 0; }
.prose blockquote { border-left: 3px solid var(--blood); padding: 4px 16px; margin: 24px 0; color: var(--bone-dim); font-style: italic; }
.prose code { font-family: var(--font-mono); font-size: 0.92em; background: var(--bg-2); padding: 2px 6px; border-radius: 2px; }
.prose–intro { font-size: 18px; line-height: 1.65; }
.prose–legal h2 { font-size: 22px; }
.prose–legal { font-size: 15px; }

/* bout (article) */
.bout–article { max-width: var(--page-max); margin: 0 auto; padding: 32px 24px; }
.bout–article-legal { max-width: 760px; }
.bout–header { margin-bottom: 24px; }
.bout–title { font-size: 42px; line-height: 1.1; margin: 8px 0 12px; }
.bout–deck { font-size: 18px; color: var(--bone-dim); margin: 0 0 16px; line-height: 1.5; }

/* walk-out (breadcrumb) */
.walk-out { max-width: var(--page-max); margin: 0 auto; padding: 12px 24px 0; font-family: var(--font-mono); font-size: 12px; color: var(--bone-dim); }
.walk-out–list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.walk-out–item::after { content: "›"; margin-left: 10px; color: var(--bone-dim); }
.walk-out–item:last-child::after { content: ""; }
.walk-out–item a { color: var(--bone-dim); text-decoration: none; }
.walk-out–item a:hover { color: var(--blood); }
.walk-out–item–current { color: var(--bone); }

/* bell-time */
.bell-time { font-family: var(--font-mono); font-size: 12px; color: var(--bone-dim); margin: 16px 0 0; }
.bell-time time { color: var(--bone); }

/* cornerman (footer) */
.cornerman {
  background: var(--bg);
  border-top: 4px solid var(--blood);
  margin-top: 64px;
}
.cornerman–inner { max-width: var(--page-max); margin: 0 auto; padding: 48px 24px; }
.cornerman–masthead { font-family: var(--font-display); font-size: 28px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 16px; }
.cornerman–disclaimer { color: var(--bone-dim); font-size: 13px; line-height: 1.6; margin: 0 0 24px; max-width: 820px; }
.cornerman–links { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 18px; }
.cornerman–links a { color: var(--bone); font-size: 13px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; }
.cornerman–links a:hover { color: var(--blood); }
.cornerman–copy { color: var(--bone-dim); font-size: 12px; margin: 0; }

/* ============================================================
   octagon imagery — ringside-press, high-contrast, spotlight
   ============================================================ */

/* article hero (single.html) */
.octagon-hero {
  position: relative;
  max-width: var(--page-max);
  margin: 0 auto 32px;
  padding: 0 24px;
  overflow: hidden;
}
.octagon-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #000;
  box-shadow:
    inset 0 0 80px 8px rgba(0, 0, 0, 0.65),
    0 12px 32px -8px rgba(0, 0, 0, 0.85),
    0 0 0 4px var(--bg);
  filter: contrast(1.08) saturate(0.85);
}
.octagon-hero–spotlight {
  position: absolute;
  inset: 0 24px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 8%, rgba(255, 240, 220, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0, 0, 0, 0.55) 0%, transparent 70%);
  mix-blend-mode: screen;
}

/* article inline 2-up grid */
.octagon-inlines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0 16px;
}
@media (max-width: 700px) {
  .octagon-inlines { grid-template-columns: 1fr; gap: 20px; }
}
.octagon-inline { margin: 0; }
.octagon-inline img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--blood-deep);
  box-shadow:
    inset 0 0 40px 4px rgba(0, 0, 0, 0.6),
    0 6px 20px -6px rgba(0, 0, 0, 0.8);
  filter: contrast(1.08) saturate(0.85);
}

/* section + home banner heroes (list.html / index.html) */
.octagon-section-hero,
.octagon-home-hero {
  position: relative;
  width: 100%;
  min-height: 360px;
  background-size: cover;
  background-position: center 35%;
  background-color: #000;
  border-bottom: 4px solid var(--blood);
  overflow: hidden;
  isolation: isolate;
}
.octagon-home-hero { min-height: 440px; }
.octagon-section-hero::before,
.octagon-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 50% at 50% 10%, rgba(255, 240, 220, 0.18) 0%, transparent 65%),
    linear-gradient(180deg, rgba(13, 13, 13, 0.35) 0%, rgba(13, 13, 13, 0.6) 45%, rgba(13, 13, 13, 0.95) 100%);
  z-index: 1;
}
.octagon-section-hero::after,
.octagon-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.05) 60%, transparent 100%);
  z-index: 1;
}
.octagon-section-hero–overlay,
.octagon-home-hero–overlay {
  position: relative;
  z-index: 2;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
}
.octagon-home-hero–overlay { padding: 96px 24px 56px; }
.octagon-section-hero–kicker,
.octagon-home-hero–kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--blood);
  margin: 0 0 14px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}
.octagon-section-hero–title,
.octagon-home-hero–title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  line-height: 1.0;
  letter-spacing: -0.005em;
  color: var(--bone);
  margin: 0 0 14px;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95), 0 1px 0 rgba(0, 0, 0, 0.6);
  max-width: 920px;
}
.octagon-home-hero–title { font-size: 76px; }
@media (max-width: 700px) {
  .octagon-section-hero–title { font-size: 40px; }
  .octagon-home-hero–title { font-size: 44px; }
  .octagon-section-hero–overlay,
  .octagon-home-hero–overlay { padding: 48px 20px 32px; }
}
.octagon-section-hero–deck,
.octagon-home-hero–deck {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  color: var(--bone);
  max-width: 720px;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* widget container */
.fight-card–soccer { margin: 32px 0; }
.fight-card–soccer soccer-widget { display: block; }
.soccer-widget-fallback h3 { font-size: 18px; }
.fixtures-static { list-style: none; padding: 0; margin: 0; }
.fixtures-static .fixture { padding: 10px 0; border-top: 1px solid var(--canvas); font-size: 14px; }
.fixtures-static .fixture time { font-family: var(--font-mono); color: var(--bone-dim); margin-right: 12px; }
.fixtures-static .fixture .league { font-size: 12px; color: var(--bone-dim); margin-left: 12px; }
