:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-muted: #f3eee7;
  --hero-bg: #1a1814;
  --hero-glow: rgba(212, 80, 10, 0.18);
  --border: #e2ddd6;
  --text: #1a1814;
  --text-soft: #3b3530;
  --muted: #746d66;
  --muted-strong: #948c84;
  --accent: #d4500a;
  --accent-soft: rgba(212, 80, 10, 0.12);
  --accent-contrast: #ffffff;
  --accent-2: #2cb5a0;
  --accent-2-soft: rgba(44, 181, 160, 0.12);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.12);
  --display-font: "DM Serif Display", serif;
  --display-weight: 400;
  --display-spacing: -0.02em;
  --display-transform: none;
  --nav-font: "DM Serif Display", serif;
  --nav-weight: 400;
  --page-width: 1120px;
  --article-width: 720px;
}

html[data-sport="football"] {
  --bg: #13151c;
  --surface: #151922;
  --surface-muted: #1b202a;
  --hero-bg: #0d1016;
  --hero-glow: rgba(137, 201, 58, 0.14);
  --border: #262a33;
  --text: #e8eaf0;
  --text-soft: #cdd2dc;
  --muted: #8a93a6;
  --muted-strong: #6a7285;
  --accent: #89c93a;
  --accent-soft: rgba(137, 201, 58, 0.14);
  --accent-contrast: #0a0f05;
  --accent-2: #38bdf8;
  --accent-2-soft: rgba(56, 189, 248, 0.12);
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --display-font: "Barlow Condensed", sans-serif;
  --display-weight: 800;
  --display-spacing: -0.01em;
  --display-transform: uppercase;
  --nav-font: "Barlow Condensed", sans-serif;
  --nav-weight: 800;
}

html[data-sport="basketball"] {
  --bg: #0d1535;
  --surface: #111d43;
  --surface-muted: #0b1530;
  --hero-bg: #091127;
  --hero-glow: rgba(232, 148, 26, 0.16);
  --border: #21325f;
  --text: #f0f2fa;
  --text-soft: #d8def0;
  --muted: #94a3cb;
  --muted-strong: #7081aa;
  --accent: #e8941a;
  --accent-soft: rgba(232, 148, 26, 0.14);
  --accent-contrast: #0d1535;
  --accent-2: #d4a017;
  --accent-2-soft: rgba(212, 160, 23, 0.12);
  --shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 28px 68px rgba(0, 0, 0, 0.54);
  --display-font: "Bebas Neue", sans-serif;
  --display-weight: 400;
  --display-spacing: 0.03em;
  --display-transform: none;
  --nav-font: "Bebas Neue", sans-serif;
  --nav-weight: 400;
}

html[data-sport="hockey"] {
  --bg: #141c2a;
  --surface: #182335;
  --surface-muted: #0f1a2c;
  --hero-bg: #0d1727;
  --hero-glow: rgba(0, 196, 176, 0.14);
  --border: #27384f;
  --text: #e7faf6;
  --text-soft: #d2ebe8;
  --muted: #8ca9bc;
  --muted-strong: #6f8ca3;
  --accent: #00c4b0;
  --accent-soft: rgba(0, 196, 176, 0.14);
  --accent-contrast: #141c2a;
  --accent-2: #00a896;
  --accent-2-soft: rgba(0, 168, 150, 0.12);
  --shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 28px 68px rgba(0, 0, 0, 0.48);
  --display-font: "Fjalla One", sans-serif;
  --display-weight: 400;
  --display-spacing: 0.01em;
  --display-transform: none;
  --nav-font: "Fjalla One", sans-serif;
  --nav-weight: 400;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, color-mix(in srgb, var(--accent) 7%, transparent) 0%, transparent 36%),
    var(--bg);
  color: var(--text-soft);
  font: 16px/1.75 "DM Sans", sans-serif;
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 68px;
  padding: 0 28px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.site-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--nav-font);
  font-size: 24px;
  font-weight: var(--nav-weight);
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-nav__logo span:last-child {
  color: var(--accent);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link,
.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.nav-link {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.nav-button {
  background: var(--accent);
  color: var(--accent-contrast);
  border: 1px solid transparent;
}

.nav-link:hover,
.nav-button:hover,
.post-link:hover,
.cta-link:hover,
.cta-button:hover,
.sport-switcher a:hover {
  transform: translateY(-1px);
}

.nav-link:hover {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
  color: var(--text);
}

.nav-button:hover {
  opacity: 0.92;
}

.hero-shell,
.content-shell,
.footer-shell,
.page-wrap {
  width: min(calc(100% - 40px), var(--page-width));
  margin: 0 auto;
}

.blog-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top center, var(--hero-glow) 0%, transparent 65%),
    var(--hero-bg);
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--border));
  border-radius: 28px;
  padding: 64px 48px 54px;
  margin: 28px auto 28px;
  box-shadow: var(--shadow-lg);
}

.blog-hero::after {
  content: "";
  position: absolute;
  inset: auto -60px -100px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  filter: blur(8px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-eyebrow,
.section-label,
.sidebar-block__label,
.post-card__meta,
.article-meta,
.context-pill,
.sport-switcher__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.hero-title {
  max-width: 760px;
  margin: 0 0 18px;
  color: #ffffff;
  font-family: var(--display-font);
  font-size: clamp(36px, 7vw, 72px);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-spacing);
  line-height: 0.98;
  text-transform: var(--display-transform);
}

.hero-title em {
  color: var(--accent);
  font-style: italic;
  text-transform: none;
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.hero-meta,
.sport-switcher,
.post-card__tags,
.listing-grid,
.inline-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.context-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.68);
}

.sport-switcher-wrap {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.sport-switcher__label {
  color: rgba(255, 255, 255, 0.42);
}

.sport-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.sport-switcher a[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-contrast);
}

.content-shell {
  padding: 6px 0 96px;
}

.section-label {
  margin-bottom: 16px;
  color: var(--muted-strong);
}

.listing-grid {
  align-items: stretch;
}

.post-card,
.signal-card,
.sidebar-block,
.footer-cta,
.article-body,
.article-bottom,
.empty-state {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.post-card,
.signal-card,
.footer-cta,
.empty-state,
.article-bottom {
  border-radius: 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  flex: 1 1 320px;
  min-height: 100%;
}

.post-card--featured {
  position: relative;
  overflow: hidden;
  flex-basis: 100%;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, var(--surface)) 0%, var(--surface) 60%),
    var(--surface);
}

.post-card--featured::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  pointer-events: none;
}

.post-card__meta,
.article-meta {
  color: var(--accent);
}

.post-card h2,
.signal-card h3,
.footer-cta h2,
.article-bottom h2 {
  margin: 0;
  color: var(--text);
  font-family: "DM Serif Display", serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.signal-card {
  padding: 24px;
}

.signal-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.post-card p,
.signal-card p,
.footer-cta p,
.empty-state p,
.article-bottom p {
  margin: 0;
  color: var(--muted);
}

.post-card__tags {
  margin-top: auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.post-link,
.cta-link,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.post-link,
.cta-button {
  background: var(--accent);
  color: var(--accent-contrast);
}

.cta-link {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.footer-cta,
.empty-state,
.article-bottom {
  margin-top: 26px;
  padding: 32px;
}

.footer-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at bottom center, color-mix(in srgb, var(--accent) 9%, transparent) 0%, transparent 52%),
    var(--surface);
}

.footer-shell {
  padding: 0 0 48px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb {
  width: min(calc(100% - 40px), var(--page-width));
  margin: 28px auto 0;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li::after {
  content: "/";
  opacity: 0.45;
}

.breadcrumb li:last-child::after {
  display: none;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, var(--article-width)) 300px;
  gap: 28px;
  align-items: start;
}

.article-body,
.sidebar-block {
  border-radius: 24px;
}

.article-body {
  padding: 34px 34px 38px;
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body .tip-box,
.article-body .pull-quote,
.article-body .inline-cta {
  margin: 0 0 22px;
}

.article-body p {
  color: var(--text-soft);
}

.article-body > p:first-child {
  color: var(--text);
  font-size: 18px;
}

.article-body h2,
.article-body h3 {
  margin: 40px 0 14px;
  color: var(--text);
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  line-height: 1.18;
}

.article-body h2 {
  font-size: 32px;
}

.article-body h3 {
  font-size: 24px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
  color: var(--text-soft);
}

.article-body li + li {
  margin-top: 8px;
}

.article-body a {
  color: var(--accent);
  text-decoration-color: color-mix(in srgb, var(--accent) 42%, transparent);
  text-underline-offset: 4px;
}

.article-body strong {
  color: var(--text);
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 34px 0;
}

.pull-quote,
.tip-box,
.inline-cta {
  border-radius: 20px;
  padding: 22px 24px;
}

.pull-quote {
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--border));
}

.pull-quote p {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}

.tip-box {
  background: color-mix(in srgb, var(--accent-2) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent-2) 18%, var(--border));
}

.tip-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-2);
}

.article-body .inline-cta {
  background:
    radial-gradient(circle at center top, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 72%),
    var(--hero-bg);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  color: rgba(255, 255, 255, 0.82) !important;
}

.article-body .inline-cta p {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 18px;
}

.article-body .inline-cta p em {
  color: var(--accent) !important;
}

.article-body .inline-cta a {
  color: var(--accent-contrast) !important;
  background: var(--accent);
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.sidebar {
  position: sticky;
  top: 92px;
}

.sidebar-block {
  padding: 22px;
}

.sidebar-block + .sidebar-block {
  margin-top: 16px;
}

.sidebar-block__label {
  color: var(--muted-strong);
  margin-bottom: 14px;
}

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

.toc-list li + li {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.toc-list a {
  display: block;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.45;
}

.toc-list a:hover {
  color: var(--accent);
}

.toc-list .toc-num {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-right: 6px;
}

.sidebar-cta__emoji {
  font-size: 30px;
  margin-bottom: 12px;
}

.sidebar-cta h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  line-height: 1.2;
}

.sidebar-cta p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.sidebar-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.sidebar-cta a:hover {
  transform: translateY(-1px);
}

.article-bottom h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.article-bottom .post-link {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .article-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-nav {
    height: auto;
    padding: 14px 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-link,
  .nav-button {
    flex: 1 1 140px;
  }

  .hero-shell,
  .content-shell,
  .footer-shell,
  .page-wrap,
  .breadcrumb {
    width: min(calc(100% - 24px), var(--page-width));
  }

  .blog-hero {
    padding: 44px 22px 38px;
    border-radius: 24px;
    margin-top: 18px;
  }

  .hero-title {
    line-height: 1.02;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .post-card,
  .article-body,
  .sidebar-block,
  .footer-cta,
  .empty-state,
  .article-bottom {
    padding: 22px;
    border-radius: 20px;
  }

  .article-body h2 {
    font-size: 28px;
  }

  .article-body h3 {
    font-size: 22px;
  }

  .pull-quote p {
    font-size: 20px;
  }
}
