/*
Theme Name: Digital Sports Daily
Theme URI: https://digitalsportsdaily.com
Author: Travis Duncan
Author URI: https://digitalsportsdaily.com
Description: A prestige editorial WordPress theme for Digital Sports Daily. Sophisticated sports journalism inspired by The Athletic, The New York Times, and classic Sports Illustrated. Built for serious sports readers — clean, typographically precise, fully responsive, high-end navigation. Not a template. A publication.
Version: 2.0.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dsd
Tags: news, sports, magazine, editorial, responsive, custom-logo, custom-menu, featured-images, full-width-template, sticky-post, threaded-comments, translation-ready
*/

/* =============================================
   DESIGN TOKENS — PRESTIGE EDITORIAL SYSTEM
   ============================================= */

:root {
  /* Core Palette — NYT gravitas + SI energy */
  --ink:          #0a0a0a;
  --ink-mid:      #2c2c2c;
  --ink-soft:     #4a4a4a;
  --ink-faint:    #767676;
  --ink-ghost:    #999999;
  --paper:        #fafaf8;
  --paper-warm:   #f5f3ef;
  --paper-rule:   #e8e4de;
  --paper-mid:    #d8d4ce;

  /* Accent — Deep Athletic Red (not fire-engine, not maroon — SI blood-red) */
  --accent:       #c8102e;
  --accent-deep:  #a00d24;
  --accent-glow:  #e81434;

  /* Gold — vintage SI award gold */
  --gold:         #b8902a;
  --gold-light:   #d4a83e;

  /* Section Colors */
  --sport-nfl:    #013369;
  --sport-nba:    #c8102e;
  --sport-mlb:    #002d72;
  --sport-nhl:    #000000;
  --sport-college:#003087;
  --sport-golf:   #1a5e2a;
  --sport-soccer: #1f6e3e;

  /* Typography — the soul of a prestige publication */
  --serif:        'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --sans:         'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --condensed:    'Barlow Condensed', 'Arial Narrow', sans-serif;
  --mono:         'JetBrains Mono', 'Courier New', monospace;
  --label:        'Barlow Condensed', 'Arial Narrow', sans-serif;

  /* Type Scale — classic editorial proportions */
  --t-xs:         0.688rem;   /* 11px */
  --t-sm:         0.813rem;   /* 13px */
  --t-base:       1rem;       /* 16px */
  --t-md:         1.125rem;   /* 18px */
  --t-lg:         1.25rem;    /* 20px */
  --t-xl:         1.5rem;     /* 24px */
  --t-2xl:        2rem;       /* 32px */
  --t-3xl:        2.5rem;     /* 40px */
  --t-4xl:        3.25rem;    /* 52px */
  --t-5xl:        4rem;       /* 64px */

  /* Spacing */
  --space-1:      0.25rem;
  --space-2:      0.5rem;
  --space-3:      0.75rem;
  --space-4:      1rem;
  --space-5:      1.25rem;
  --space-6:      1.5rem;
  --space-8:      2rem;
  --space-10:     2.5rem;
  --space-12:     3rem;
  --space-16:     4rem;
  --space-20:     5rem;
  --space-24:     6rem;

  /* Layout */
  --max-w:        1280px;
  --content-w:    740px;
  --col-gap:      2rem;
  --sidebar-w:    300px;

  /* Borders */
  --rule-hair:    1px solid var(--paper-rule);
  --rule-mid:     1px solid var(--paper-mid);
  --rule-ink:     2px solid var(--ink);
  --rule-accent:  2px solid var(--accent);
  --rule-gold:    1px solid var(--gold);

  /* Motion */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.45, 0, 0.55, 1);
  --dur-fast:     150ms;
  --dur-mid:      250ms;
  --dur-slow:     400ms;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.14);
  --shadow-card:  0 2px 8px rgba(0,0,0,0.07), 0 0 0 1px var(--paper-rule);
}

/* =============================================
   RESET & BASE
   ============================================= */

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

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

body {
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* =============================================
   TYPOGRAPHY — PRESTIGE SYSTEM
   ============================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Overline / Section Labels */
.label {
  font-family: var(--label);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.label--sport {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--label);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.label--sport.nfl { background: var(--sport-nfl); }
.label--sport.nba { background: var(--sport-nba); }
.label--sport.mlb { background: var(--sport-mlb); }
.label--sport.nhl { background: var(--sport-nhl); }
.label--sport.college { background: var(--sport-college); }
.label--sport.golf { background: var(--sport-golf); }
.label--sport.soccer { background: var(--sport-soccer); }

/* Section Headers */
.section-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: var(--rule-ink);
}

.section-head::before {
  content: '';
  display: block;
  width: 4px;
  height: 1.4em;
  background: var(--accent);
  flex-shrink: 0;
}

.section-head h2, .section-head h3 {
  font-family: var(--condensed);
  font-size: var(--t-xl);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Reading Typography */
.entry-content {
  font-family: var(--serif);
  font-size: var(--t-md);
  line-height: 1.78;
  color: var(--ink-mid);
}

.entry-content p { margin-bottom: 1.5em; }
.entry-content p:first-child::first-letter {
  font-size: 4em;
  font-weight: 700;
  float: left;
  line-height: 0.78;
  margin: 0.06em 0.08em 0 0;
  color: var(--ink);
  font-family: var(--serif);
}

.entry-content h2, .entry-content h3 {
  margin: 2em 0 0.6em;
  font-family: var(--serif);
}

.entry-content h2 { font-size: var(--t-2xl); }
.entry-content h3 { font-size: var(--t-xl); }

.entry-content blockquote {
  border-left: 4px solid var(--accent);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
  background: var(--paper-warm);
  font-size: var(--t-lg);
  font-style: italic;
  color: var(--ink-mid);
}

.entry-content blockquote cite {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--t-sm);
  font-style: normal;
  font-family: var(--label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.entry-content a {
  color: var(--accent);
  border-bottom: 1px solid rgba(200,16,46,0.3);
  transition: border-color var(--dur-fast);
}
.entry-content a:hover { border-color: var(--accent); }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: calc(var(--content-w) + 2 * var(--space-6));
}

.grid-main {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: var(--space-10);
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

/* =============================================
   TOP BAR — date, ticker, utility
   ============================================= */

.top-bar {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  font-family: var(--label);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid var(--accent);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.top-bar__date { color: rgba(255,255,255,0.5); }

.top-bar__ticker {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.top-bar__ticker-inner {
  display: flex;
  gap: var(--space-8);
  animation: ticker 40s linear infinite;
  white-space: nowrap;
}

.top-bar__ticker-inner:hover { animation-play-state: paused; }

.ticker-item { color: rgba(255,255,255,0.8); }
.ticker-item .sport-tag {
  color: var(--accent-glow);
  margin-right: 0.4em;
  font-weight: 700;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.top-bar__links {
  display: flex;
  gap: var(--space-5);
  flex-shrink: 0;
}

.top-bar__links a {
  color: rgba(255,255,255,0.6);
  transition: color var(--dur-fast);
}
.top-bar__links a:hover { color: #fff; }

/* =============================================
   MASTHEAD — the crown
   ============================================= */

.site-masthead {
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow var(--dur-mid);
}

.site-masthead.scrolled {
  box-shadow: var(--shadow-md);
}

.masthead-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  gap: var(--space-4);
}

.masthead-left {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.masthead-center { text-align: center; }

.masthead-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-4);
}

/* Site Logo / Wordmark */
.site-branding a {
  display: inline-block;
  text-decoration: none;
}

.site-title {
  font-family: var(--condensed);
  font-weight: 800;
  font-size: var(--t-4xl);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--ink);
}

.site-title .title-digital {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.4em;
  letter-spacing: 0.05em;
  text-transform: none;
  display: block;
  color: var(--ink-soft);
  margin-bottom: 0.1em;
}

.site-title .title-sports { color: var(--ink); }
.site-title .title-daily  { color: var(--accent); }

.site-description {
  font-family: var(--label);
  font-size: var(--t-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  margin-top: var(--space-1);
}

/* Masthead Actions */
.masthead-search-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: color var(--dur-fast);
}
.masthead-search-btn:hover { color: var(--ink); }

/* =============================================
   PRIMARY NAVIGATION
   ============================================= */

.nav-primary {
  background: var(--ink);
  border-bottom: 2px solid var(--accent);
}

.nav-primary .container {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-primary ul {
  display: flex;
  align-items: center;
}

.nav-primary ul li {
  position: relative;
}

.nav-primary ul li a {
  display: block;
  padding: 12px 18px;
  font-family: var(--label);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color var(--dur-fast), background var(--dur-fast);
}

.nav-primary ul li a:hover,
.nav-primary ul li.current-menu-item > a,
.nav-primary ul li.current-menu-parent > a {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav-primary ul li.menu-highlight > a {
  color: var(--accent-glow);
}

/* Dropdown */
.nav-primary ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ink);
  min-width: 200px;
  border-top: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--dur-mid) var(--ease-out);
  z-index: 200;
  flex-direction: column;
}

.nav-primary ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-primary ul li ul li a {
  padding: 10px 20px;
  font-size: var(--t-xs);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-primary ul li ul li:last-child a { border-bottom: none; }

/* LIVE badge */
.nav-live-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent);
  font-family: var(--label);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.nav-live-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-3);
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform var(--dur-mid);
}

/* =============================================
   HERO — FEATURE LEAD
   ============================================= */

.hero-feature {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.hero-feature__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: grayscale(20%);
}

.hero-feature__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,10,0.96) 0%,
    rgba(10,10,10,0.75) 50%,
    rgba(10,10,10,0.2) 100%
  );
}

.hero-feature .container {
  position: relative;
  z-index: 2;
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-feature__content { max-width: 580px; }

.hero-feature__label {
  font-family: var(--label);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.hero-feature__label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent-glow);
}

.hero-feature__headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}

.hero-feature__deck {
  font-family: var(--sans);
  font-size: var(--t-lg);
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-6);
}

.hero-feature__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--label);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.hero-feature__meta .byline { color: rgba(255,255,255,0.65); }

.hero-feature__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Secondary stories in hero column */
.hero-secondary-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}
.hero-secondary-item:last-child { border-bottom: none; }

.hero-secondary-item__thumb {
  width: 100px;
  height: 70px;
  object-fit: cover;
  filter: grayscale(30%);
}

.hero-secondary-item__label {
  font-family: var(--label);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: var(--space-1);
}

.hero-secondary-item__title {
  font-family: var(--serif);
  font-size: var(--t-md);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  transition: color var(--dur-fast);
}
.hero-secondary-item__title:hover { color: rgba(255,255,255,0.75); }

.hero-secondary-item__meta {
  font-family: var(--label);
  font-size: var(--t-xs);
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: var(--space-2);
}

/* =============================================
   ARTICLE CARDS — multiple flavors
   ============================================= */

/* Standard Card */
.card {
  background: var(--paper);
  position: relative;
}

.card__thumb-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--paper-warm);
}

.card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.card:hover .card__thumb { transform: scale(1.03); }

.card__body {
  padding: var(--space-5) 0 var(--space-6);
}

.card__sport {
  margin-bottom: var(--space-2);
}

.card__title {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  transition: color var(--dur-fast);
}

.card:hover .card__title { color: var(--accent); }

.card--large .card__title  { font-size: var(--t-2xl); }
.card--medium .card__title { font-size: var(--t-xl); }
.card--small .card__title  { font-size: var(--t-lg); }

.card__deck {
  font-family: var(--sans);
  font-size: var(--t-sm);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: var(--space-3);
}

.card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: var(--rule-hair);
  font-family: var(--label);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-ghost);
}

.card__author { color: var(--ink-faint); }
.card__meta-sep::before { content: '·'; }

/* List Card — compact horizontal */
.card-list {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: var(--rule-hair);
  align-items: start;
}
.card-list:first-child { border-top: var(--rule-hair); }
.card-list:hover .card-list__title { color: var(--accent); }

.card-list__thumb-wrap {
  width: 110px;
  height: 76px;
  overflow: hidden;
  flex-shrink: 0;
}

.card-list__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.card-list:hover .card-list__thumb { transform: scale(1.05); }

.card-list__sport { margin-bottom: var(--space-1); }

.card-list__title {
  font-family: var(--serif);
  font-size: var(--t-base);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  transition: color var(--dur-fast);
}

.card-list__meta {
  font-family: var(--label);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  margin-top: var(--space-2);
}

/* Feature Horizontal Card */
.card-feature-h {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
  padding: var(--space-8) 0;
  border-bottom: var(--rule-hair);
}

.card-feature-h__thumb-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-feature-h__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.card-feature-h:hover .card-feature-h__thumb { transform: scale(1.03); }

.card-feature-h__title {
  font-family: var(--serif);
  font-size: var(--t-2xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin: var(--space-3) 0;
  transition: color var(--dur-fast);
}
.card-feature-h:hover .card-feature-h__title { color: var(--accent); }

.card-feature-h__deck {
  font-family: var(--sans);
  font-size: var(--t-sm);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Opinion / Analysis flavor */
.card--opinion .card__title::before {
  content: 'Opinion';
  display: block;
  font-family: var(--label);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-1);
}

/* =============================================
   HOMEPAGE LAYOUTS
   ============================================= */

.home-section { padding: var(--space-12) 0; }
.home-section + .home-section { border-top: var(--rule-hair); }

/* Lead section — big feature + sidebar list */
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-10);
  align-items: start;
}

/* Three-column section */
.three-col-section {
  padding: var(--space-12) 0;
}

/* Score ticker row */
.scores-bar {
  background: var(--paper-warm);
  border-top: var(--rule-hair);
  border-bottom: var(--rule-hair);
  padding: var(--space-3) 0;
  overflow: hidden;
}

.scores-bar .container {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.scores-bar .container::-webkit-scrollbar { display: none; }

.score-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 130px;
  flex-shrink: 0;
  cursor: pointer;
}

.score-chip__status {
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-ghost);
}

.score-chip__status.live { color: var(--accent); font-weight: 700; }
.score-chip__status.final { color: var(--ink-faint); }

.score-chip__teams {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.score-chip__team {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--sans);
  font-size: var(--t-sm);
  font-weight: 500;
}

.score-chip__team.winner .score-chip__abbr { font-weight: 700; color: var(--ink); }
.score-chip__team.winner .score-chip__score { font-weight: 700; color: var(--ink); }

.score-chip__logo { width: 20px; height: 20px; object-fit: contain; }
.score-chip__abbr { font-weight: 500; color: var(--ink-mid); }
.score-chip__score { font-weight: 600; text-align: right; color: var(--ink-soft); }
.score-chip__record { font-size: 11px; color: var(--ink-ghost); text-align: right; }

/* =============================================
   SIDEBAR
   ============================================= */

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

.widget {
  margin-bottom: var(--space-10);
}

.widget-title {
  font-family: var(--condensed);
  font-size: var(--t-base);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: var(--space-3);
  border-bottom: 3px solid var(--ink);
  margin-bottom: var(--space-5);
}

/* Trending widget */
.trending-list { counter-reset: trending; }

.trending-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: var(--rule-hair);
  align-items: start;
  counter-increment: trending;
}

.trending-item::before {
  content: counter(trending);
  font-family: var(--condensed);
  font-size: var(--t-xl);
  font-weight: 800;
  color: var(--paper-mid);
  line-height: 1;
  transition: color var(--dur-fast);
}

.trending-item:hover::before { color: var(--accent); }

.trending-item__sport { margin-bottom: 3px; }

.trending-item__title {
  font-family: var(--serif);
  font-size: var(--t-sm);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  transition: color var(--dur-fast);
}
.trending-item:hover .trending-item__title { color: var(--accent); }

.trending-item__meta {
  font-family: var(--label);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  margin-top: var(--space-1);
}

/* Must-read widget */
.must-read-item {
  padding: var(--space-4) 0;
  border-bottom: var(--rule-hair);
}

.must-read-item__eyebrow {
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.must-read-item__title {
  font-family: var(--serif);
  font-size: var(--t-sm);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  transition: color var(--dur-fast);
}
.must-read-item:hover .must-read-item__title { color: var(--accent); }

/* Newsletter widget */
.newsletter-widget {
  background: var(--ink);
  padding: var(--space-6);
}

.newsletter-widget .widget-title {
  color: #fff;
  border-bottom-color: var(--accent);
}

.newsletter-widget p {
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-4);
  line-height: 1.5;
}

.newsletter-widget .nl-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: var(--t-sm);
  margin-bottom: var(--space-3);
  transition: border-color var(--dur-fast);
}

.newsletter-widget .nl-input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.5);
}

.newsletter-widget .nl-input::placeholder { color: rgba(255,255,255,0.3); }

.btn-subscribe {
  width: 100%;
  padding: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--label);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--dur-fast);
}
.btn-subscribe:hover { background: var(--accent-deep); }

/* =============================================
   SINGLE POST
   ============================================= */

.post-header {
  padding: var(--space-12) 0 var(--space-8);
  border-bottom: var(--rule-hair);
}

.post-header__sport { margin-bottom: var(--space-4); }

.post-header__title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}

.post-header__deck {
  font-family: var(--serif);
  font-size: var(--t-xl);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: var(--space-6);
  max-width: 680px;
}

.post-header__byline {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: var(--rule-hair);
  border-bottom: var(--rule-hair);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper-warm);
  overflow: hidden;
  flex-shrink: 0;
}

.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.byline__name {
  font-family: var(--label);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.byline__meta {
  font-family: var(--label);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  margin-top: 2px;
}

.post-share {
  margin-left: auto;
  display: flex;
  gap: var(--space-3);
}

.share-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--rule-hair);
  color: var(--ink-faint);
  transition: all var(--dur-fast);
  font-size: var(--t-sm);
}
.share-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.post-hero-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  margin: var(--space-8) 0;
}

.post-hero-caption {
  font-family: var(--label);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  margin-top: calc(-1 * var(--space-6));
  margin-bottom: var(--space-8);
}

/* =============================================
   CATEGORY / ARCHIVE
   ============================================= */

.archive-header {
  padding: var(--space-10) 0;
  border-bottom: 3px solid var(--ink);
  margin-bottom: var(--space-10);
}

.archive-header__sport-bar {
  width: 4px;
  height: 48px;
  background: var(--accent);
  margin-bottom: var(--space-5);
}

.archive-title {
  font-family: var(--condensed);
  font-size: var(--t-4xl);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}

.archive-description {
  font-family: var(--sans);
  font-size: var(--t-lg);
  color: var(--ink-soft);
  margin-top: var(--space-3);
  max-width: 560px;
  line-height: 1.5;
}

/* =============================================
   PAGINATION
   ============================================= */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-10) 0;
}

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--label);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  border: var(--rule-hair);
  transition: all var(--dur-fast);
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.page-numbers.prev, .page-numbers.next {
  width: auto;
  padding: 0 var(--space-5);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =============================================
   SEARCH
   ============================================= */

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.97);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur-mid) var(--ease-out);
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-overlay__close {
  position: absolute;
  top: var(--space-8);
  right: var(--space-8);
  color: rgba(255,255,255,0.5);
  font-size: var(--t-2xl);
  transition: color var(--dur-fast);
}
.search-overlay__close:hover { color: #fff; }

.search-overlay__form {
  width: 100%;
  max-width: 680px;
  padding: 0 var(--space-6);
}

.search-overlay__input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  padding: var(--space-4) 0;
  outline: none;
  transition: border-color var(--dur-fast);
}
.search-overlay__input:focus { border-bottom-color: rgba(255,255,255,0.7); }
.search-overlay__input::placeholder { color: rgba(255,255,255,0.25); }

.search-overlay__hint {
  font-family: var(--label);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: var(--space-4);
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  margin-top: var(--space-20);
}

.footer-main {
  padding: var(--space-16) 0;
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .site-title {
  color: #fff;
  font-size: var(--t-2xl);
  margin-bottom: var(--space-4);
}
.footer-brand .site-title .title-daily { color: var(--accent-glow); }

.footer-brand p {
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  font-size: var(--t-sm);
  transition: all var(--dur-fast);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.footer-col-title {
  font-family: var(--label);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col ul li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-col ul li a {
  font-family: var(--sans);
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--dur-fast);
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-family: var(--label);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* =============================================
   BREAKING NEWS BANNER
   ============================================= */

.breaking-banner {
  background: var(--accent);
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
}

.breaking-banner .container {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.breaking-label {
  font-family: var(--label);
  font-size: var(--t-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #fff;
  color: var(--accent);
  padding: 3px 10px;
  flex-shrink: 0;
}

.breaking-text {
  font-family: var(--label);
  font-size: var(--t-sm);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =============================================
   UTILITY
   ============================================= */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  border: 0; overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.text-center { text-align: center; }
.sr-only { @extend .visually-hidden; }

/* Divider */
.rule { border: none; border-top: var(--rule-hair); margin: var(--space-8) 0; }
.rule--thick { border-top: 3px solid var(--ink); }

/* =============================================
   RESPONSIVE — MOBILE FIRST
   ============================================= */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .hero-feature .container { grid-template-columns: 1fr; }
  .hero-feature__sidebar { display: none; }
  .lead-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --sidebar-w: 100%;
    --col-gap: 1.25rem;
  }

  .top-bar { display: none; }

  .masthead-inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    padding: var(--space-3) var(--space-4);
    gap: var(--space-3);
  }
  .masthead-center { order: -1; grid-column: 1 / -1; text-align: left; }
  .masthead-right { display: none; }

  .site-title { font-size: var(--t-3xl); }

  .nav-toggle { display: flex; }

  .nav-primary ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-top: 2px solid var(--accent);
    padding-bottom: var(--space-4);
  }

  .nav-primary ul.open { display: flex; }
  .nav-primary ul li a { padding: 12px 20px; }
  .nav-live-badge { display: none; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }

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

  .card-feature-h { grid-template-columns: 1fr; }

  .hero-feature .container { padding-top: var(--space-10); padding-bottom: var(--space-10); }
  .hero-feature__headline { font-size: var(--t-3xl); }

  .footer-main { grid-template-columns: 1fr; gap: var(--space-8); }

  .post-header__title { font-size: var(--t-2xl); }
  .post-header__deck { font-size: var(--t-lg); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  .card-list { grid-template-columns: 90px 1fr; }
  .card-list__thumb-wrap { width: 90px; height: 64px; }
}

/* =============================================
   PRINT
   ============================================= */

@media print {
  .top-bar, .site-masthead, .nav-primary, .sidebar,
  .site-footer, .post-share, .scores-bar { display: none; }

  body { font-size: 12pt; color: #000; background: #fff; }
  .entry-content { font-size: 11pt; line-height: 1.6; }
}
