/* ===============================
   LAKEFRONT SPORTS — HOMEPAGE v37
   Production CSS
================================ */

/* ===============================
   FONTS
================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@400;600;700;800;900&display=swap');

/* ===============================
   CSS VARIABLES & THEME
================================ */
:root {
  --navy: #081b2e;
  --navy-2: #0c243b;
  --red: #e5392d;
  --red-glow: rgba(229, 57, 45, 0.3);
  --orange: #c83803;
  --sidebar-w: 260px;
  --topbar-h: 52px;
  --radius: 12px;

  /* Team colors */
  --bears-primary: #0b162a;
  --bears-accent: #c83803;
  --bears-border: #e5392d;
  --blackhawks-primary: #000000;
  --blackhawks-accent: #cf0a2c;
  --blackhawks-border: #caa75c;
  --bulls-primary: #000000;
  --bulls-accent: #ce1141;
  --bulls-border: #ce1141;
  --cubs-primary: #0e3386;
  --cubs-accent: #cc3433;
  --cubs-border: #cc3433;
  --whitesox-primary: #27251f;
  --whitesox-accent: #c4ced4;
  --whitesox-border: #c4ced4;
}

/* Light theme (default) */
[data-theme="light"] {
  --bg: #f5f5f3;
  --text: #0d1b2a;
  --card: #ffffff;
  --muted: #6b7c8f;
  --card-border: rgba(0, 0, 0, 0.06);
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Dark theme */
[data-theme="dark"] {
  --bg: #0a0a0f;
  --text: #e8e8e8;
  --card: #151520;
  --muted: #7a8899;
  --card-border: rgba(255, 255, 255, 0.06);
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* ===============================
   RESET & BASE
================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  min-height: 100vh;
  width: 100%;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.app-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* ===============================
   BREAKING NEWS BANNER
================================ */
.breaking-bar {
  background: linear-gradient(90deg, var(--red) 0%, #ff4d4d 100%);
  color: #fff;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  z-index: 110;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.breaking-bar.hidden { display: none; }

.breaking-label {
  background: #fff;
  color: var(--red);
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.08em;
  animation: pulse-label 1.5s ease-in-out infinite;
}

@keyframes pulse-label {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.breaking-text { flex: 1; text-align: center; }

.breaking-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.7;
  padding: 0 6px;
}

.breaking-close:hover { opacity: 1; }

/* ===============================
   SIDEBAR — Desktop Navigation
================================ */
.sidebar {
  width: var(--sidebar-w);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
  /* Default style (matches main Lakefront header) */
  background: linear-gradient(135deg, var(--navy) 0%, #030a14 100%);
  border-right: 4px solid var(--red);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
}

.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }

/* Team-themed sidebar states */
.sidebar.sidebar-bears { background: linear-gradient(135deg, #0b162a 0%, #030a14 100%); border-right-color: #e5392d; }
.sidebar.sidebar-blackhawks { background: linear-gradient(135deg, #000 0%, #1a0000 100%); border-right-color: #caa75c; }
.sidebar.sidebar-bulls { background: linear-gradient(135deg, #000 0%, #1a0000 100%); border-right-color: #ce1141; }
.sidebar.sidebar-cubs { background: linear-gradient(90deg, #0e3386 0%, #0a1d5e 100%); border-right-color: #cc3433; }
.sidebar.sidebar-whitesox { background: linear-gradient(135deg, #27251f 0%, #000 100%); border-right-color: #c4ced4; }

/* Sidebar brand */
.sidebar-brand {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-logo {
  height: 44px;
  width: auto;
  transition: transform 0.3s ease;
}

.sidebar-logo:hover { transform: scale(1.03); }

/* Theme toggle */
.sidebar-theme {
  padding: 7px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-toggle-btn {
  width: 100%;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  font: 600 10px 'Manrope', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Sidebar navigation */
.sidebar-nav { flex: 1; padding: 4px 0; }

.nav-section-label {
  padding: 7px 16px 2px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: rgba(255, 255, 255, 0.18);
  text-transform: uppercase;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.12s;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.sidebar-nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.sidebar-nav-item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--red);
}

.sidebar-nav-item .nav-icon {
  font-size: 13px;
  width: 16px;
  text-align: center;
}

.sidebar-nav-item .nav-chevron {
  margin-left: auto;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.15);
  transition: transform 0.2s;
}

.sidebar-nav-item .nav-chevron.open {
  transform: rotate(90deg);
}

.sidebar-nav-item .nav-badge {
  margin-left: auto;
  font-size: 7px;
  font-weight: 800;
  background: rgba(138, 43, 226, 0.5);
  color: #fff;
  padding: 1px 5px;
  border-radius: 2px;
}

/* Sub-navigation (team dropdowns) */
.subnav {
  overflow: hidden;
  transition: max-height 0.25s ease;
  max-height: 0;
  background: rgba(0, 0, 0, 0.18);
}

.subnav.open {
  /* max-height set dynamically via JS */
}

.subnav a {
  display: block;
  padding: 4px 16px 4px 44px;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: all 0.1s;
}

.subnav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.subnav .zone-link {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 5px;
  margin-top: 2px;
}

/* Today's Games Widget (used in sidebar & mobile drawer) */
.todays-games {
  padding: 9px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.todays-games-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.game-row {
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
}

.game-row:last-child { border: none; }

.game-teams {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
}

.game-status {
  font-size: 8px;
  margin-top: 1px;
  color: rgba(255,255,255,0.82);
}

.game-live {
  color: #4ade80;
  font-weight: 800;
}

/* Sidebar social */
.sidebar-social {
  padding: 9px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  gap: 12px;
  justify-content: center;
}

.sidebar-social a {
  color: rgba(255, 255, 255, 0.22);
  display: flex;
  transition: color 0.2s;
}

.sidebar-social a:hover { color: #fff; }

/* ===============================
   MAIN CONTENT AREA
================================ */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

/* Constrain inner content width to prevent super-wide cards */
.hero-section,
.promo-banner,
.team-body,
#standings-strip,
#notebook-strip,
#most-read-strip,
.site-footer,
.team-header-inner,
.topbar-desk-inner {
  max-width: 960px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ===============================
   SIDEBAR PROMOS (flanking content)
   Positioned OUTSIDE the max-width container
================================ */
.promo-rail {
  position: absolute;
  top: 20px;
  bottom: 20px;
  width: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  z-index: 1;
}

.promo-rail-left {
  right: 100%;
  margin-right: 16px;
}

.promo-rail-right {
  left: 100%;
  margin-left: 16px;
}

.promo-rail-card {
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: rail-fade-in 0.35s ease both;
}

@keyframes rail-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rail-icon {
  font-size: 22px;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.rail-write {
  background: linear-gradient(180deg, var(--navy) 0%, rgba(200, 56, 3, 0.3) 100%);
  color: #fff;
  border: 1px solid rgba(200, 56, 3, 0.2);
}

.rail-forum {
  background: linear-gradient(180deg, #1a0a2e 0%, #0d0d2b 100%);
  color: #fff;
  border: 1px solid rgba(138, 43, 226, 0.2);
}

.rail-social {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
}

.rail-newsletter {
  background: linear-gradient(180deg, var(--navy) 0%, #0f2744 100%);
  color: #fff;
}

.rail-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.rail-desc {
  font-size: 10px;
  opacity: 0.7;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.5;
}

.rail-btn {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 5px;
  font: 700 10px 'Manrope', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
}

.rail-btn-orange { background: var(--orange); color: #fff; }
.rail-btn-purple { background: rgba(138, 43, 226, 0.4); color: #fff; }
.rail-btn-red { background: var(--red); color: #fff; }

.rail-social-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}

.rail-social-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
  display: flex;
}

.rail-social-links a:hover { color: #fff; }

/* Team section rails — fixed height to match hero section rail size */
.team-body .promo-rail {
  bottom: auto;
  height: 616px;
}

/* Timeline rail heights — mirror team-body at every breakpoint */
#timeline-strip .promo-rail {
  bottom: auto;
  height: 616px;
}

/* Hide rails only on narrow phones — tablet portrait (740px+) and up gets them */
@media (max-width: 739px) {
  .promo-rail { display: none; }
}

/* ===============================
   DESKTOP TOP BAR
================================ */
.topbar-desk {
  height: var(--topbar-h);
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  gap: 12px;
  transition: all 0.35s;
  border-bottom: 4px solid var(--red);
  backdrop-filter: blur(10px);
}

[data-theme="light"] .topbar-desk {
  background: linear-gradient(135deg, var(--navy) 0%, #030a14 100%);
  color: #fff;
}

[data-theme="light"] .topbar-desk .topbar-search {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

[data-theme="light"] .topbar-desk .topbar-search::placeholder { color: rgba(255, 255, 255, 0.4); }

[data-theme="light"] .topbar-desk .topbar-btn-ghost {
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .topbar-desk { background: rgba(10, 10, 15, 0.95); }

/* Team-themed topbar borders */
.topbar-desk.topbar-bears { border-bottom-color: var(--bears-accent); }
.topbar-desk.topbar-blackhawks { border-bottom-color: var(--blackhawks-border); }
.topbar-desk.topbar-bulls { border-bottom-color: var(--bulls-accent); }
.topbar-desk.topbar-cubs { border-bottom-color: var(--cubs-accent); }
.topbar-desk.topbar-whitesox { border-bottom-color: var(--whitesox-accent); }

/* Team-themed topbar backgrounds (both themes) */
[data-theme="light"] .topbar-desk.topbar-bears { background: linear-gradient(135deg, #0b162a, #030a14); }
[data-theme="light"] .topbar-desk.topbar-blackhawks { background: linear-gradient(135deg, #000, #1a0000); }
[data-theme="light"] .topbar-desk.topbar-bulls { background: linear-gradient(135deg, #000, #1a0000); }
[data-theme="light"] .topbar-desk.topbar-cubs { background: linear-gradient(90deg, #0e3386, #1a2a5e); }
[data-theme="light"] .topbar-desk.topbar-whitesox { background: linear-gradient(135deg, #27251f, #000); }

.topbar-search {
  padding: 6px 12px;
  border-radius: 6px;
  font: 400 11px 'Manrope', sans-serif;
  border: 1px solid var(--card-border);
  width: 240px;
  background: transparent;
  color: var(--text);
  transition: all 0.2s;
}

.topbar-search:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229, 57, 45, 0.08);
}

.topbar-search::placeholder { color: var(--muted); }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-btn {
  padding: 5px 10px;
  border-radius: 6px;
  font: 700 9px 'Manrope', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.topbar-btn-ghost {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text);
}

.topbar-btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.topbar-btn-primary {
  background: var(--red);
  color: #fff;
}

.topbar-btn-primary:hover {
  background: #ff4444;
  transform: translateY(-1px);
}

/* ===============================
   MOBILE HEADER
================================ */
.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-direction: column;
  background: linear-gradient(135deg, var(--navy) 0%, #030a14 100%);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  transition: background 0.4s, border-color 0.4s;
}

.mobile-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  min-height: 44px;
}

.mobile-logo { height: 33px; width: auto; }

.mobile-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 3px;
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px 7px;
}

.mobile-search {
  flex: 1;
  min-width: 0;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  font: 400 10px 'Manrope', sans-serif;
}

.mobile-search::placeholder { color: rgba(255, 255, 255, 0.25); }
.mobile-search:focus { outline: none; border-color: var(--red); }

.mobile-cta {
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font: 700 9px 'Manrope', sans-serif;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

/* ===============================
   MOBILE DRAWER
================================ */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  background: linear-gradient(135deg, var(--navy) 0%, #030a14 100%);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.mobile-drawer-body {
  flex: 1;
  padding: 6px 0;
  overflow-y: auto;
}

/* ===============================
   HERO CAROUSEL
================================ */
.hero-section {
  padding: 18px 22px 10px;
  position: relative;
  overflow: visible;
}

/* Main hero card — image LEFT, info RIGHT */
.hero-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 14px;
  overflow: hidden;
  min-height: 340px;
  cursor: pointer;
  transition: box-shadow 0.3s;
  background: var(--card);
  box-shadow: var(--card-shadow);
  position: relative;
}

/* Team-tinted top accent strip — gradient set inline via --team-grad */
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--team-grad, var(--red));
  z-index: 4;
  pointer-events: none;
}

/* Hero card cross-fade — pure opacity, no Y translate (calmer than fadeInUp) */
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-card {
  animation: heroFadeIn 0.22s ease-out;
}

.hero-card:hover {
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

/* Team-tinted glow on hover (subtle) */
.hero-card[data-team]:hover {
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.2),
    0 0 0 1px var(--team-accent, transparent);
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.5s;
}

.hero-card:hover .hero-image-wrap img {
  transform: scale(1.03);
}

.hero-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--red);
  padding: 3px 10px;
  border-radius: 4px;
  align-self: flex-start;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 2.9vw, 44px);
  line-height: 1.05;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.hero-excerpt {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-meta {
  font-size: 13px;
  color: var(--muted);
}

.hero-read-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.hero-card:hover .hero-read-more { gap: 8px; }

.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 3;
  align-items: center;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(128, 128, 128, 0.3);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.hero-dot.active {
  background: var(--red);
  width: 20px;
  border-radius: 4px;
}

.hero-arrow {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-arrow-prev { margin-right: 6px; }
.hero-arrow-next { margin-left: 6px; }

/* Hero progress bar — fills over the auto-rotate duration, pauses on hover */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--team-accent, var(--red));
  z-index: 3;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  animation: heroProgress 5.5s linear forwards;
  pointer-events: none;
}

@keyframes heroProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Pause progress bar when hero card is hovered */
.hero-card:hover .hero-progress {
  animation-play-state: paused;
}

/* Hero thumbnails — card style matching team section cards */
.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.22s;
  background: var(--card);
  box-shadow: var(--card-shadow);
  border: 2px solid transparent;
}

.hero-thumb:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.hero-thumb.active {
  border-color: var(--red);
}

.hero-thumb-image {
  position: relative;
  overflow: hidden;
  min-height: 130px;
}

.hero-thumb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.4s;
}

.hero-thumb:hover .hero-thumb-image img {
  transform: scale(1.04);
}

.hero-thumb-accent {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  z-index: 2;
}

.hero-thumb-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-thumb-kicker {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  align-self: flex-start;
}

.hero-thumb-title {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-thumb-excerpt {
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.hero-thumb-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.hero-thumb-read {
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: gap 0.2s;
}

.hero-thumb:hover .hero-thumb-read {
  gap: 6px;
}

/* ===============================
   PROMO BANNERS
================================ */
.promo-banner {
  max-width: 960px;
  margin: 0 auto 14px;
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  overflow: hidden;
  width: calc(100% - 44px);
}

.promo-newsletter { background: linear-gradient(135deg, var(--navy) 0%, #0f2744 100%); color: #fff; }
.promo-social { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; }
.promo-write { background: linear-gradient(135deg, #0b162a 0%, rgba(200, 56, 3, 0.3) 200%); color: #fff; border: 1px solid rgba(200, 56, 3, 0.2); }
.promo-contact { border: 2px dashed var(--card-border); }
.promo-forum { background: linear-gradient(135deg, #1a0a2e 0%, #0d0d2b 100%); color: #fff; border: 1px solid rgba(138, 43, 226, 0.2); }
.promo-editors { background: var(--card); border: 1px solid var(--card-border); }

.promo-icon { font-size: 26px; flex-shrink: 0; }
.promo-body { flex: 1; }

.promo-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.promo-desc {
  font-size: 12px;
  opacity: 0.8;
  line-height: 1.5;
}

.promo-input-row {
  display: flex;
  gap: 5px;
  margin-top: 7px;
}

.promo-input {
  flex: 1;
  padding: 7px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: 400 10px 'Manrope', sans-serif;
}

.promo-input::placeholder { color: rgba(255, 255, 255, 0.25); }
.promo-input:focus { outline: none; border-color: var(--red); }

.promo-btn {
  padding: 7px 12px;
  border-radius: 6px;
  border: none;
  font: 700 10px 'Manrope', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.promo-btn-red { background: var(--red); color: #fff; }
.promo-btn-red:hover { background: #ff4444; }
.promo-btn-orange { background: var(--orange); color: #fff; }
.promo-btn-orange:hover { background: #e04400; }
.promo-btn-purple { background: rgba(138, 43, 226, 0.35); color: #fff; }
.promo-btn-purple:hover { background: rgba(138, 43, 226, 0.55); }

.promo-social-icons { display: flex; gap: 7px; margin-top: 7px; }

.promo-social-link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s;
  text-decoration: none;
  font-size: 13px;
}

.promo-social-link:hover {
  background: var(--red);
  color: #fff;
  transform: scale(1.08);
}

/* Editor's Picks */
.editors-list { margin-top: 6px; }

.editors-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  border-bottom: 1px solid var(--card-border);
  text-decoration: none;
  color: var(--text);
  transition: all 0.1s;
}

.editors-item:hover { padding-left: 3px; }
.editors-item:last-child { border: none; }

.editors-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--muted);
  width: 22px;
  text-align: center;
}

.editors-title {
  font-size: 11px;
  font-weight: 700;
  flex: 1;
  line-height: 1.2;
}

.editors-icon { font-size: 11px; }

/* ===============================
   TEAM SECTIONS
================================ */
.team-section {
  margin-bottom: 0;
}

/* Sticky team header — opaque, matching team page styles */
.team-header {
  position: sticky;
  top: var(--topbar-h);
  z-index: 50;
  padding: 0 22px;
  transition: all 0.4s;
}

.team-header-bears { background: linear-gradient(135deg, #0b162a 0%, #030a14 100%); }
.team-header-blackhawks { background: linear-gradient(135deg, #000 0%, #1a0000 100%); }
.team-header-bulls { background: linear-gradient(135deg, #000 0%, #1a0000 100%); }
.team-header-cubs { background: linear-gradient(90deg, #0e3386 0%, #1a2a5e 100%); }
.team-header-whitesox { background: linear-gradient(135deg, #27251f 0%, #000 100%); }

.team-header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 5px solid transparent;
}

.team-header-bears .team-header-inner { border-bottom-color: var(--bears-accent); }
.team-header-blackhawks .team-header-inner { border-bottom-color: var(--blackhawks-border); }
.team-header-bulls .team-header-inner { border-bottom-color: var(--bulls-accent); }
.team-header-cubs .team-header-inner { border-bottom-color: var(--cubs-accent); }
.team-header-whitesox .team-header-inner { border-bottom-color: var(--whitesox-accent); }

.team-header-logo {
  height: 30px;
  width: auto;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.team-header-icon { font-size: 18px; }

.team-header-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  color: #fff;
  letter-spacing: 2px;
  line-height: 1;
}

.team-zone-link {
  margin-left: auto;
  font-size: 9px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.2s;
  padding: 4px 12px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.5px;
}

.team-zone-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.team-body {
  padding: 14px 22px 14px;
  min-height: 80vh;
  position: relative;
  overflow: visible;
}

/* ===============================
   UNIVERSAL ARTICLE CARD
   (Image LEFT, Info RIGHT)
================================ */
.article-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  transition: all 0.22s;
  background: var(--card);
  box-shadow: var(--card-shadow);
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.article-card-image {
  position: relative;
  overflow: hidden;
  min-height: 130px;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.4s;
}

.article-card:hover .article-card-image img {
  transform: scale(1.04);
}

.article-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  z-index: 2;
}

.article-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-card-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 5px;
  align-self: flex-start;
}

.article-card-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-excerpt {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}

.article-card-read {
  font-size: 13px;
  font-weight: 700;
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: gap 0.2s;
}

.article-card:hover .article-card-read { gap: 6px; }

/* Featured card — bigger */
.article-card.featured-card {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
}

.article-card.featured-card .article-card-image { min-height: 240px; }
.article-card.featured-card .article-card-body { padding: 22px; }
.article-card.featured-card .article-card-title {
  font-size: 22px;
  -webkit-line-clamp: 3;
}
.article-card.featured-card .article-card-excerpt {
  -webkit-line-clamp: 3;
  font-size: 14px;
}

/* ===============================
   CATEGORY SECTIONS
================================ */
.category-header {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.5px;
  margin: 16px 0 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s;
}

/* Team-colored category underlines */
#section-bears .category-header      { border-bottom-color: var(--bears-accent); }
#section-blackhawks .category-header { border-bottom-color: var(--blackhawks-border); }
#section-bulls .category-header      { border-bottom-color: var(--bulls-accent); }
#section-cubs .category-header       { border-bottom-color: var(--cubs-accent); }
#section-whitesox .category-header   { border-bottom-color: var(--whitesox-accent); }

#section-bears .widget-title      { border-bottom-color: var(--bears-accent); }
#section-blackhawks .widget-title { border-bottom-color: var(--blackhawks-border); }
#section-bulls .widget-title      { border-bottom-color: var(--bulls-accent); }
#section-cubs .widget-title       { border-bottom-color: var(--cubs-accent); }
#section-whitesox .widget-title   { border-bottom-color: var(--whitesox-accent); }

.category-header:hover { color: var(--red); }

.category-header .cat-see-all {
  margin-left: auto;
  font-size: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s;
}

.category-header:hover .cat-see-all { color: var(--red); }

/* 2-col grid on desktop */
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 6px;
}

/* See More card — hidden by default, shown on narrow mobile only */
.see-more-card {
  border-radius: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px dashed var(--card-border);
  font: 700 12px 'Manrope', sans-serif;
  color: var(--muted);
}

.see-more-card:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(229, 57, 45, 0.03);
}

/* ===============================
   TEAM WIDGETS (Standings/Upcoming)
================================ */
.team-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.team-widget {
  border-radius: 10px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
}

.widget-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--red);
}

.widget-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid var(--card-border);
}

.widget-row:last-child { border: none; }
.widget-value { font-weight: 700; }

/* Draft countdown */
.draft-countdown { text-align: center; padding: 14px; }

.draft-countdown-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  line-height: 1;
}

.draft-countdown-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===============================
   FOOTER
================================ */
.site-footer {
  margin-top: 20px;
  padding: 30px 22px 20px;
  border-top: 1px solid var(--card-border);
}

[data-theme="light"] .site-footer { background: #fafaf8; }
[data-theme="dark"] .site-footer { background: #0d0d14; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

.footer-brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.footer-tagline { font-size: 10px; color: var(--muted); line-height: 1.4; }

.footer-col-title {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.footer-link {
  display: block;
  font-size: 10px;
  color: var(--muted);
  padding: 2px 0;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--red); }

.footer-bottom {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid var(--card-border);
  text-align: center;
}

.footer-copy { font-size: 9px; color: var(--muted); }

.footer-disclaimer {
  font-size: 8px;
  color: var(--muted);
  opacity: 0.5;
  margin-top: 3px;
  line-height: 1.3;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===============================
   ANIMATIONS
================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.35s ease-out backwards;
}

/* ===============================
   RESPONSIVE — Tablet & Mobile
================================ */
@media (max-width: 1024px) {
  .sidebar { display: none; }
  .main-content { margin-left: 0; max-width: 100vw; overflow-x: clip; }
  .mobile-header { display: flex; }
  .topbar-desk { display: none; }

  .hero-section { padding: 8px; max-width: 100%; }
  .hero-card { grid-template-columns: 1fr; min-height: auto; }
  .hero-image-wrap { height: 200px; position: relative; }
  .hero-body { padding: 16px; }
  .hero-title { font-size: 20px; }
  .hero-thumbs { grid-template-columns: 1fr; gap: 8px; }
  .hero-thumb { grid-template-columns: 110px 1fr; }
  .hero-thumb-image { min-height: 100px; }

  .promo-banner {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    padding: 14px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    max-width: calc(100% - 16px);
    width: calc(100% - 16px);
  }
  .promo-input-row { flex-direction: column; width: 100%; }
  .promo-social-icons { justify-content: center; }

  /* Mobile sticky team headers — pinned at top:0 with z-index BELOW the mobile
     header (50 < 100), so they're hidden behind it by default. Saves vertical
     space while reading. On scroll-up, body gets .team-headers-revealed which
     translates each header down to "pop out" just below the main header.
     --mobile-header-h is set by JS (initMobileHeaderOffset). */
  .team-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0 8px;
    transform: translateY(0);
    transition: transform 0.3s ease;
    will-change: transform;
  }

  body.team-headers-revealed .team-header {
    transform: translateY(var(--mobile-header-h, 80px));
  }

  .team-header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Hide site logo in team headers on mobile — brand is already in the topbar */
  .team-header-logo {
    display: none;
  }

  .team-header-name { font-size: 36px; }

  .team-zone-link {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 4px;
    padding: 5px 0;
    border: none;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
  }
  .team-body { padding: 8px 8px 12px; min-height: auto; max-width: 100%; }

  .article-card.featured-card { grid-template-columns: 1fr; }
  .article-card.featured-card .article-card-image { height: 180px; min-height: 180px; }

  .team-widgets { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 14px; text-align: center; }
  .footer-grid > div { display: flex; flex-direction: column; align-items: center; }
  .footer-grid div[style*="display: flex; gap: 10px"] { justify-content: center; }
  .site-footer { padding: 18px 8px 14px; max-width: 100%; }

  /* Mobile team header theming */
  .mobile-header { transition: background 0.4s, border-color 0.4s; }
  .mobile-header-bears { background: linear-gradient(135deg, #0b162a 0%, #030a14 100%); border-bottom-color: #c83803; }
  .mobile-header-blackhawks { background: linear-gradient(135deg, #000 0%, #1a0000 100%); border-bottom-color: #caa75c; }
  .mobile-header-bulls { background: linear-gradient(135deg, #000 0%, #1a0000 100%); border-bottom-color: #ce1141; }
  .mobile-header-cubs { background: linear-gradient(90deg, #0e3386 0%, #1a2a5e 100%); border-bottom-color: #cc3433; }
  .mobile-header-whitesox { background: linear-gradient(135deg, #27251f 0%, #000 100%); border-bottom-color: #c4ced4; }
}

/* ===============================
   TABLET RAIL TIERS
   At narrower viewports the desktop rails (160px each) won't fit alongside
   the 960px content, so we shrink BOTH the rails and the content max-width
   to leave gutter room. Two tiers below.

   Note: the rail-title / rail-desc / rail-btn rules use the
   ".promo-rail-card ..." parent selector to match the specificity of the
   team-specific overrides (.rail-bears-left .rail-title, etc), so they
   actually take effect at these breakpoints instead of being ignored.
================================ */

/* Tier 1: Tablet portrait + small mobile-layout devices (740-1024px).
   No sidebar in mobile layout, so content area = full viewport.
   Content max-width scales: tight at 740, capped at 700 above ~990. */
@media (min-width: 740px) and (max-width: 1024px) {
  .hero-section,
  .team-body,
  #standings-strip,
  #notebook-strip,
  #most-read-strip,
  .promo-banner {
    max-width: min(700px, calc(100vw - 290px));
  }

  .promo-rail { width: 130px; gap: 10px; }
  .promo-rail-left  { margin-right: 14px; }
  .promo-rail-right { margin-left:  14px; }

  /* Tile/card sizing — match specificity of team-specific overrides */
  .promo-rail-card { padding: 18px 12px; }
  .promo-rail-card .rail-icon  { font-size: 20px; margin-bottom: 7px; }
  .promo-rail-card .rail-title { font-size: 14px; margin-bottom: 8px; letter-spacing: 0.4px; }
  .promo-rail-card .rail-desc  { font-size: 10px; margin-bottom: 10px; line-height: 1.45; }
  .promo-rail-card .rail-btn   { padding: 6px 12px; font-size: 10px; }

  /* Cap rail heights — without this, the hero rail stretches to span
     hero-card (~420px) + hero-thumbs (~400px), and the team-body rail
     stretches to full team section height. Match team-page rail size. */
  .hero-section .promo-rail,
  .team-body .promo-rail,
  #timeline-strip .promo-rail {
    bottom: auto;
    height: 540px;
  }
}

/* Tier 2: Narrow desktop layout / tablet landscape (1025-1300px).
   Sidebar IS visible (260px), so available width = 100vw - 260.
   Reserve 292px per side: 100 (rail) + 16 (margin) + 30 (breathing room
   from sidebar/screen edge) — without this, rails were butting flush against
   the sidebar's right edge and the screen's right edge.
   Content max-width: 100vw - 260 - 292 = 100vw - 552, capped at 700. */
@media (min-width: 1025px) and (max-width: 1300px) {
  .hero-section,
  .promo-banner,
  #standings-strip,
  #notebook-strip,
  #most-read-strip,
  .team-body,
  .site-footer,
  .team-header-inner,
  .topbar-desk-inner {
    max-width: min(700px, calc(100vw - 552px));
  }

  .promo-rail { width: 100px; gap: 12px; }

  .promo-rail-card { padding: 18px 12px; }
  .promo-rail-card .rail-icon  { font-size: 20px; margin-bottom: 7px; }
  .promo-rail-card .rail-title { font-size: 14px; margin-bottom: 8px; letter-spacing: 0.4px; }
  .promo-rail-card .rail-desc  { font-size: 10px; margin-bottom: 10px; line-height: 1.45; }
  .promo-rail-card .rail-btn   { padding: 6px 12px; font-size: 10px; }

  .team-body .promo-rail { height: 560px; }
  #timeline-strip .promo-rail { height: 560px; }
}

/* Tier 3: Wide tablet landscape / narrow desktop (1301-1632px).
   This range was previously falling through to the default desktop styling
   (160px rails, 960px content), which doesn't fit alongside content at these
   viewport widths — the sidebar (260) + content (960) + 2*(rail 160 + margin 16)
   = 1572px, leaving only 1572-1632 = 60px of total breathing room (30 each side
   max), and at 1500vp the rails were clipped by 18px on each side.
   Reserve 292px per side: 130 (rail) + 16 (margin) + 16 (breathing).
   Content max-width scales: 100vw - 260 - 292 = 100vw - 552, capped at 960. */
@media (min-width: 1301px) and (max-width: 1632px) {
  .hero-section,
  .promo-banner,
  #standings-strip,
  #notebook-strip,
  #most-read-strip,
  .team-body,
  .site-footer,
  .team-header-inner,
  .topbar-desk-inner {
    max-width: min(960px, calc(100vw - 592px));
  }

  .promo-rail { width: 130px; gap: 12px; }

  .promo-rail-card { padding: 20px 14px; }
  .promo-rail-card .rail-icon  { font-size: 22px; margin-bottom: 8px; }
  .promo-rail-card .rail-title { font-size: 15px; margin-bottom: 9px; letter-spacing: 0.4px; }
  .promo-rail-card .rail-desc  { font-size: 11px; margin-bottom: 11px; line-height: 1.45; }
  .promo-rail-card .rail-btn   { padding: 7px 14px; font-size: 11px; }

  .team-body .promo-rail { height: 580px; }
  #timeline-strip .promo-rail { height: 580px; }
}

/* Wide mobile: 2 columns for category cards */
@media (min-width: 500px) and (max-width: 1024px) {
  .category-grid { grid-template-columns: 1fr 1fr; }
  .article-card { grid-template-columns: 120px 1fr; }
}

/* Narrow mobile: horizontal scroll carousel */
@media (max-width: 499px) {
  body { overflow-x: clip; }
  .main-content { width: 100vw; }

  .category-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 8px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .category-grid > * {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }

  .category-grid .see-more-card {
    flex: 0 0 60%;
    display: flex;
  }

  .article-card { grid-template-columns: 100px 1fr; }
  .article-card-image { min-height: 100px; }
  .hero-thumb { grid-template-columns: 90px 1fr; }
  .hero-thumb-image { min-height: 80px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid > div { display: flex; flex-direction: column; align-items: center; }
  .footer-grid div[style*="display: flex; gap: 10px"] { justify-content: center; }
  .mobile-actions { gap: 4px; }
  .hero-section { padding: 4px; }
}

/* ============================================================
   BEARS ZONE RAIL PROMOS — Jersey-Themed
   Dark mode (default) = Home jersey: navy bg, white text,
                          orange button, orange border
   Light mode          = Away jersey: white/light bg, navy text,
                          navy button, orange border
   ============================================================ */

.rail-bears-left,
.rail-bears-right {
  background: linear-gradient(180deg, #0b162a 0%, #061220 100%);
  color: #fff;
  border: 2px solid #c83803;
}
.rail-bears-left .rail-title,
.rail-bears-right .rail-title {
  color: #fff;
  opacity: 1;
  font-size: 20px;
}
.rail-bears-left .rail-desc,
.rail-bears-right .rail-desc {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
  font-size: 12px;
}
.rail-bears-left .rail-btn-bears,
.rail-bears-right .rail-btn-bears {
  background: #c83803;
  color: #fff;
  border: none;
}
.rail-bears-left .rail-btn-bears:hover,
.rail-bears-right .rail-btn-bears:hover {
  background: #e84a10;
  transform: translateY(-1px);
}
.rail-bears-left .rail-social-links a,
.rail-bears-right .rail-social-links a {
  color: rgba(255, 255, 255, 0.5);
}
.rail-bears-left .rail-social-links a:hover,
.rail-bears-right .rail-social-links a:hover {
  color: #fff;
}

/* Light mode → Away jersey */
[data-theme="light"] .rail-bears-left,
[data-theme="light"] .rail-bears-right {
  background: linear-gradient(180deg, #f0f4f8 0%, #e5ecf5 100%);
  color: #0b162a;
  border: 2px solid #c83803;
}
[data-theme="light"] .rail-bears-left .rail-title,
[data-theme="light"] .rail-bears-right .rail-title {
  color: #0b162a;
}
[data-theme="light"] .rail-bears-left .rail-desc,
[data-theme="light"] .rail-bears-right .rail-desc {
  color: #0b162a;
  opacity: 0.8;
}
[data-theme="light"] .rail-bears-left .rail-btn-bears,
[data-theme="light"] .rail-bears-right .rail-btn-bears {
  background: #0b162a;
  color: #fff;
  border: none;
}
[data-theme="light"] .rail-bears-left .rail-btn-bears:hover,
[data-theme="light"] .rail-bears-right .rail-btn-bears:hover {
  background: #132d4a;
  transform: translateY(-1px);
}
[data-theme="light"] .rail-bears-left .rail-social-links a,
[data-theme="light"] .rail-bears-right .rail-social-links a {
  color: rgba(11, 22, 42, 0.45);
}
[data-theme="light"] .rail-bears-left .rail-social-links a:hover,
[data-theme="light"] .rail-bears-right .rail-social-links a:hover {
  color: #0b162a;
}

/* ---- BEARS LOCKER ROOM HORIZONTAL PROMO — Jersey-Themed ---- */
/* Dark mode (default) = Home jersey: navy bg, white text, orange btn, orange border */
.promo-bears-locker {
  background: linear-gradient(135deg, #0b162a 0%, #061220 100%);
  color: #fff;
  border: 2px solid #c83803;
}
.promo-bears-locker .promo-title {
  color: #fff;
}
.promo-bears-locker .promo-desc {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}
.promo-bears-locker .promo-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.promo-bears-locker .promo-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.promo-bears-locker .promo-btn {
  background: #c83803;
  color: #fff;
  border: none;
}
.promo-bears-locker .promo-btn:hover {
  background: #e84a10;
}

/* Light mode = Away jersey: white/light bg, navy text, navy btn, orange border */
[data-theme="light"] .promo-bears-locker {
  background: linear-gradient(135deg, #f0f4f8 0%, #e5ecf5 100%);
  color: #0b162a;
  border: 2px solid #c83803;
}
[data-theme="light"] .promo-bears-locker .promo-title {
  color: #0b162a;
}
[data-theme="light"] .promo-bears-locker .promo-desc {
  color: #0b162a;
  opacity: 0.8;
}
[data-theme="light"] .promo-bears-locker .promo-input {
  background: #fff;
  border: 1px solid rgba(11, 22, 42, 0.2);
  color: #0b162a;
}
[data-theme="light"] .promo-bears-locker .promo-input::placeholder {
  color: rgba(11, 22, 42, 0.4);
}
[data-theme="light"] .promo-bears-locker .promo-btn {
  background: #0b162a;
  color: #fff;
  border: none;
}
[data-theme="light"] .promo-bears-locker .promo-btn:hover {
  background: #132d4a;
}

/* ============================================================
   BLACKHAWKS RAIL PROMOS — Jersey-Themed
   Dark mode (default) = Home jersey: red/black stripe
   Light mode          = Away jersey: white/black/red stripe
   ============================================================ */

.rail-hawks-left,
.rail-hawks-right {
  background: linear-gradient(180deg, #fff 0px, #fff 4px, #000 4px, #000 8px, #fff 8px, #fff 12px, #cf0a2c 12px, #a00820 100%);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.35);
}
.rail-hawks-left .rail-title,
.rail-hawks-right .rail-title {
  color: #fff;
  opacity: 1;
  font-size: 20px;
}
.rail-hawks-left .rail-desc,
.rail-hawks-right .rail-desc {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
  font-size: 12px;
}
.rail-hawks-left .rail-btn-hawks,
.rail-hawks-right .rail-btn-hawks {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.rail-hawks-left .rail-btn-hawks:hover,
.rail-hawks-right .rail-btn-hawks:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}
.rail-hawks-left .rail-social-links a,
.rail-hawks-right .rail-social-links a {
  color: rgba(255, 255, 255, 0.5);
}
.rail-hawks-left .rail-social-links a:hover,
.rail-hawks-right .rail-social-links a:hover {
  color: #fff;
}

/* Light mode → Away/white jersey */
[data-theme="light"] .rail-hawks-left,
[data-theme="light"] .rail-hawks-right {
  background: linear-gradient(180deg, #fff 0px, #fff 2px, #000 2px, #000 7px, #cf0a2c 7px, #cf0a2c 12px, #000 12px, #000 17px, #f5f5f5 17px, #fff 100%);
  color: #0d1b2a;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .rail-hawks-left .rail-title,
[data-theme="light"] .rail-hawks-right .rail-title {
  color: #0d1b2a;
}
[data-theme="light"] .rail-hawks-left .rail-desc,
[data-theme="light"] .rail-hawks-right .rail-desc {
  color: #4a5568;
  opacity: 1;
}
[data-theme="light"] .rail-hawks-left .rail-btn-hawks,
[data-theme="light"] .rail-hawks-right .rail-btn-hawks {
  background: #000;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .rail-hawks-left .rail-social-links a,
[data-theme="light"] .rail-hawks-right .rail-social-links a {
  color: rgba(0, 0, 0, 0.35);
}
[data-theme="light"] .rail-hawks-left .rail-social-links a:hover,
[data-theme="light"] .rail-hawks-right .rail-social-links a:hover {
  color: #000;
}

/* ---- BLACKHAWKS FOLLOW US HORIZONTAL PROMO ---- */
/* Shared base for the social "pill" buttons */
.promo-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  align-items: center;
}
.promo-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  font: 700 10px 'Manrope', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.promo-social-btn:hover { background: #1a1a1a; }

/* Dark mode = home/red jersey */
.promo-hawks-follow {
  background: linear-gradient(90deg, #fff 0px, #fff 4px, #000 4px, #000 8px, #fff 8px, #fff 12px, #cf0a2c 12px, #a00820 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.promo-hawks-follow .promo-title { color: #fff; }
.promo-hawks-follow .promo-desc  { color: rgba(255, 255, 255, 0.85); opacity: 1; }
.promo-hawks-follow .promo-social-btn {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.promo-hawks-follow .promo-social-btn:hover { background: #1a1a1a; }

/* Light mode = away/white jersey */
[data-theme="light"] .promo-hawks-follow {
  background: linear-gradient(90deg, #fff 0px, #fff 2px, #000 2px, #000 7px, #cf0a2c 7px, #cf0a2c 12px, #000 12px, #000 17px, #f8f8f8 17px, #fff 100%);
  color: #0d1b2a;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .promo-hawks-follow .promo-title { color: #0d1b2a; }
[data-theme="light"] .promo-hawks-follow .promo-desc  { color: #4a5568; opacity: 1; }
[data-theme="light"] .promo-hawks-follow .promo-social-btn {
  background: #000;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .promo-hawks-follow .promo-social-btn:hover { background: #1a1a1a; }

@media (max-width: 1024px) {
  .promo-hawks-follow .promo-social-links {
    flex-direction: column;
    align-items: center;
  }
  .promo-hawks-follow .promo-social-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   BULLS RAIL PROMOS — Jersey-Themed
   Dark mode (default) = Away red jersey: red gradient, black border-top
   Light mode          = Home white jersey: white bg, red accents
   ============================================================ */

.rail-bulls-left,
.rail-bulls-right {
  background: linear-gradient(180deg, #ce1141 0%, #8b0a2e 100%);
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-top: 3px solid #000;
}
.rail-bulls-left .rail-title,
.rail-bulls-right .rail-title {
  color: #000;
  opacity: 1;
  font-size: 20px;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.rail-bulls-left .rail-desc,
.rail-bulls-right .rail-desc {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
  font-size: 12px;
}
.rail-bulls-left .rail-btn-bulls,
.rail-bulls-right .rail-btn-bulls {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.rail-bulls-left .rail-btn-bulls:hover,
.rail-bulls-right .rail-btn-bulls:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}
.rail-bulls-left .rail-social-links a,
.rail-bulls-right .rail-social-links a {
  color: rgba(0, 0, 0, 0.5);
}
.rail-bulls-left .rail-social-links a:hover,
.rail-bulls-right .rail-social-links a:hover {
  color: #000;
}

/* Light mode → Home/white jersey */
[data-theme="light"] .rail-bulls-left,
[data-theme="light"] .rail-bulls-right {
  background: #ffffff;
  color: #ce1141;
  border: 1px solid rgba(206, 17, 65, 0.2);
  border-top: 3px solid #ce1141;
}
[data-theme="light"] .rail-bulls-left .rail-title,
[data-theme="light"] .rail-bulls-right .rail-title {
  color: #ce1141;
  text-shadow: -0.5px -0.5px 0 #000, 0.5px -0.5px 0 #000, -0.5px 0.5px 0 #000, 0.5px 0.5px 0 #000;
}
[data-theme="light"] .rail-bulls-left .rail-desc,
[data-theme="light"] .rail-bulls-right .rail-desc {
  color: rgba(130, 0, 30, 0.65);
  opacity: 1;
}
[data-theme="light"] .rail-bulls-left .rail-btn-bulls,
[data-theme="light"] .rail-bulls-right .rail-btn-bulls {
  background: #ce1141;
  color: #fff;
  border: 2px solid #000;
}
[data-theme="light"] .rail-bulls-left .rail-btn-bulls:hover,
[data-theme="light"] .rail-bulls-right .rail-btn-bulls:hover {
  background: #e01545;
  transform: translateY(-1px);
}

/* ---- BULLS WRITE FOR US HORIZONTAL PROMO — Jersey-Themed ---- */
/* Dark mode = red away jersey */
.promo-bulls-write {
  background: linear-gradient(135deg, #ce1141 0%, #8b0a2e 100%);
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-left: 4px solid #000;
}
.promo-bulls-write .promo-title {
  color: #000;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.promo-bulls-write .promo-desc  { color: rgba(255, 255, 255, 0.85); opacity: 1; }
.promo-bulls-write .promo-btn-bulls {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.promo-bulls-write .promo-btn-bulls:hover { background: #1a1a1a; }

/* Light mode = white home jersey */
[data-theme="light"] .promo-bulls-write {
  background: #ffffff;
  color: #ce1141;
  border: 1px solid rgba(206, 17, 65, 0.2);
  border-left: 4px solid #ce1141;
}
[data-theme="light"] .promo-bulls-write .promo-title {
  color: #ce1141;
  text-shadow: -0.5px -0.5px 0 #000, 0.5px -0.5px 0 #000, -0.5px 0.5px 0 #000, 0.5px 0.5px 0 #000;
}
[data-theme="light"] .promo-bulls-write .promo-desc  { color: rgba(130, 0, 30, 0.65); opacity: 1; }
[data-theme="light"] .promo-bulls-write .promo-btn-bulls {
  background: #ce1141;
  color: #fff;
  border: 2px solid #000;
}
[data-theme="light"] .promo-bulls-write .promo-btn-bulls:hover { background: #e01545; }

/* ============================================================
   CUBS RAIL PROMOS — Jersey-Themed
   Dark mode (default)  = Alternate blue jersey: royal blue gradient
   Light mode           = Home pinstripe jersey: white w/ blue pinstripes
   ============================================================ */

.rail-cubs-left,
.rail-cubs-right {
  background: linear-gradient(180deg, #1545a8 0%, #0e3386 55%, #0b2870 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid #c8102e;
}
.rail-cubs-left .rail-title,
.rail-cubs-right .rail-title {
  color: #fff;
  opacity: 1;
  font-size: 20px;
}
.rail-cubs-left .rail-desc,
.rail-cubs-right .rail-desc {
  color: rgba(255, 255, 255, 0.82);
  opacity: 1;
  font-size: 12px;
}
.rail-cubs-left .rail-btn-cubs,
.rail-cubs-right .rail-btn-cubs {
  background: #c8102e;
  color: #fff;
  border: none;
}
.rail-cubs-left .rail-btn-cubs:hover,
.rail-cubs-right .rail-btn-cubs:hover {
  background: #e04444;
  transform: translateY(-1px);
}

/* Light mode → Home pinstripe jersey */
[data-theme="light"] .rail-cubs-left,
[data-theme="light"] .rail-cubs-right {
  background-color: #f5f7fc;
  background-image: linear-gradient(to right, transparent 0px, transparent 21px, rgba(14, 51, 134, 0.45) 21px, rgba(14, 51, 134, 0.45) 22px);
  background-size: 22px 100%;
  color: #0e3386;
  border: 1px solid rgba(14, 51, 134, 0.2);
  border-top: 3px solid #c8102e;
}
[data-theme="light"] .rail-cubs-left .rail-title,
[data-theme="light"] .rail-cubs-right .rail-title {
  color: #c8102e;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
[data-theme="light"] .rail-cubs-left .rail-desc,
[data-theme="light"] .rail-cubs-right .rail-desc {
  color: rgba(14, 51, 134, 0.7);
  opacity: 1;
}
[data-theme="light"] .rail-cubs-left .rail-btn-cubs,
[data-theme="light"] .rail-cubs-right .rail-btn-cubs {
  background: #c8102e;
  color: #fff;
  border: none;
}
[data-theme="light"] .rail-cubs-left .rail-btn-cubs:hover,
[data-theme="light"] .rail-cubs-right .rail-btn-cubs:hover {
  background: #e04444;
  transform: translateY(-1px);
}

/* ---- CUBS SUGGESTIONS HORIZONTAL PROMO — Jersey-Themed ---- */
/* Dark mode = alternate blue jersey */
.promo-cubs-suggestions {
  background: linear-gradient(135deg, #1545a8 0%, #0e3386 55%, #0b2870 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid #c8102e;
}
.promo-cubs-suggestions .promo-title { color: #fff; }
.promo-cubs-suggestions .promo-desc  { color: rgba(255, 255, 255, 0.82); opacity: 1; }
.promo-cubs-suggestions .promo-btn-cubs {
  background: #c8102e;
  color: #fff;
  border: none;
}
.promo-cubs-suggestions .promo-btn-cubs:hover { background: #e04444; }

/* Light mode = home pinstripe jersey */
[data-theme="light"] .promo-cubs-suggestions {
  background-color: #f5f7fc;
  background-image: linear-gradient(to right, transparent 0px, transparent 21px, rgba(14, 51, 134, 0.45) 21px, rgba(14, 51, 134, 0.45) 22px);
  background-size: 22px 100%;
  color: #0e3386;
  border: 1px solid rgba(14, 51, 134, 0.2);
  border-left: 4px solid #c8102e;
}
/* Cubs pinstripe light: background box around title + body text only */
[data-theme="light"] .promo-cubs-suggestions .promo-text-box {
  display: inline-block;
  background: #0e3386;
  border: 2px solid #c8102e;
  border-radius: 6px;
  padding: 6px 10px 8px;
  margin-bottom: 4px;
}
[data-theme="light"] .promo-cubs-suggestions .promo-title {
  color: #c8102e;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
[data-theme="light"] .promo-cubs-suggestions .promo-desc { color: #fff; opacity: 1; }
[data-theme="light"] .promo-cubs-suggestions .promo-btn-cubs {
  background: #c8102e;
  color: #fff;
  border: none;
}
[data-theme="light"] .promo-cubs-suggestions .promo-btn-cubs:hover { background: #e04444; }

/* Cubs rail-text-box — only visible in light/pinstripe mode */
.rail-cubs-left .rail-text-box,
.rail-cubs-right .rail-text-box {
  /* Dark mode: transparent box, just pass-through */
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 0;
  margin-bottom: 12px;
  width: 100%;
}

/* Cubs rail pinstripe light: merge icon + text into one seamless vertical box */
[data-theme="light"] .rail-cubs-left .rail-icon,
[data-theme="light"] .rail-cubs-right .rail-icon {
  background: #0e3386;
  border: 2px solid #c8102e;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 8px 10px 4px;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}
[data-theme="light"] .rail-cubs-left .rail-text-box,
[data-theme="light"] .rail-cubs-right .rail-text-box {
  background: #0e3386;
  border: 2px solid #c8102e;
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 6px 10px 8px;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
}
[data-theme="light"] .rail-cubs-left .rail-title,
[data-theme="light"] .rail-cubs-right .rail-title {
  color: #c8102e;
  display: block;
  margin-bottom: 4px;
}
[data-theme="light"] .rail-cubs-left .rail-desc,
[data-theme="light"] .rail-cubs-right .rail-desc {
  color: #fff;
  display: block;
  opacity: 1;
}

/* ============================================================
   WHITE SOX RAIL PROMOS — Jersey-Themed
   Dark mode (default)  = Black away jersey: black gradient, silver border-top
   Light mode           = Home white pinstripe jersey: white w/ black pinstripes
   ============================================================ */

.rail-sox-left,
.rail-sox-right {
  background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
  color: #fff;
  border: 1px solid rgba(196, 206, 212, 0.2);
  border-top: 3px solid #c4ced4;
}
.rail-sox-left .rail-title,
.rail-sox-right .rail-title {
  color: #fff;
  opacity: 1;
  font-size: 20px;
}
.rail-sox-left .rail-desc,
.rail-sox-right .rail-desc {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
  font-size: 12px;
}
.rail-sox-left .rail-btn-sox,
.rail-sox-right .rail-btn-sox {
  background: rgba(196, 206, 212, 0.75);
  color: #000;
  border: 1px solid rgba(196, 206, 212, 0.4);
}
.rail-sox-left .rail-btn-sox:hover,
.rail-sox-right .rail-btn-sox:hover {
  background: #c4ced4;
  transform: translateY(-1px);
}

/* Light mode → Home white pinstripe jersey */
[data-theme="light"] .rail-sox-left,
[data-theme="light"] .rail-sox-right {
  background-color: #f8f8f8;
  background-image: linear-gradient(to right, transparent 0px, transparent 21px, rgba(0, 0, 0, 0.45) 21px, rgba(0, 0, 0, 0.45) 22px);
  background-size: 22px 100%;
  color: #27251f;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-top: 3px solid #c4ced4;
}
/* Sox rail pinstripe light: merge icon + text into one seamless vertical box */
[data-theme="light"] .rail-sox-left .rail-icon,
[data-theme="light"] .rail-sox-right .rail-icon {
  background: #27251f;
  border: 2px solid #c4ced4;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 8px 10px 4px;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}
[data-theme="light"] .rail-sox-left .rail-text-box,
[data-theme="light"] .rail-sox-right .rail-text-box {
  background: #27251f;
  border: 2px solid #c4ced4;
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 6px 10px 8px;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
}
[data-theme="light"] .rail-sox-left .rail-title,
[data-theme="light"] .rail-sox-right .rail-title {
  color: #c4ced4;
  display: block;
  margin-bottom: 4px;
}
[data-theme="light"] .rail-sox-left .rail-desc,
[data-theme="light"] .rail-sox-right .rail-desc {
  color: rgba(255, 255, 255, 0.85);
  display: block;
  opacity: 1;
}
[data-theme="light"] .rail-sox-left .rail-btn-sox,
[data-theme="light"] .rail-sox-right .rail-btn-sox {
  background: #c4ced4;
  color: #27251f;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
[data-theme="light"] .rail-sox-left .rail-btn-sox:hover,
[data-theme="light"] .rail-sox-right .rail-btn-sox:hover {
  background: #d8dfe3;
  transform: translateY(-1px);
}

/* Dark mode: text-box transparent (no-op) */
.rail-sox-left .rail-text-box,
.rail-sox-right .rail-text-box {
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 0;
  margin-bottom: 12px;
  width: 100%;
}

/* ---- WHITE SOX NEWSLETTER HORIZONTAL PROMO — Jersey-Themed ---- */
/* Dark mode = black away jersey */
.promo-sox-newsletter {
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  color: #fff;
  border: 1px solid rgba(196, 206, 212, 0.2);
  border-left: 4px solid #c4ced4;
}
.promo-sox-newsletter .promo-title { color: #fff; }
.promo-sox-newsletter .promo-desc  { color: rgba(255, 255, 255, 0.85); opacity: 1; }
.promo-sox-newsletter .promo-input {
  background: rgba(196, 206, 212, 0.1);
  border-color: rgba(196, 206, 212, 0.3);
  color: #fff;
}
.promo-sox-newsletter .promo-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.promo-sox-newsletter .promo-btn-sox {
  background: #c4ced4;
  color: #27251f;
  font-weight: 800;
  border: none;
}
.promo-sox-newsletter .promo-btn-sox:hover { background: #d8dfe3; }

/* Light mode = home white pinstripe */
[data-theme="light"] .promo-sox-newsletter {
  background-color: #f8f8f8;
  background-image: linear-gradient(to right, transparent 0px, transparent 21px, rgba(0, 0, 0, 0.45) 21px, rgba(0, 0, 0, 0.45) 22px);
  background-size: 22px 100%;
  color: #27251f;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 4px solid #c4ced4;
}
/* Sox pinstripe light: background box around title + body text only */
[data-theme="light"] .promo-sox-newsletter .promo-text-box {
  display: inline-block;
  background: #27251f;
  border: 2px solid #c4ced4;
  border-radius: 6px;
  padding: 6px 10px 8px;
  margin-bottom: 10px;
}
[data-theme="light"] .promo-sox-newsletter .promo-title {
  color: #c4ced4;
  display: block;
}
[data-theme="light"] .promo-sox-newsletter .promo-desc {
  color: rgba(255, 255, 255, 0.85);
  display: block;
  opacity: 1;
}
[data-theme="light"] .promo-sox-newsletter .promo-input {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(39, 37, 31, 0.25);
  color: #27251f;
}
[data-theme="light"] .promo-sox-newsletter .promo-input::placeholder { color: rgba(39, 37, 31, 0.45); }
[data-theme="light"] .promo-sox-newsletter .promo-btn-sox {
  background: #c4ced4;
  color: #27251f;
  font-weight: 800;
  border: none;
}
[data-theme="light"] .promo-sox-newsletter .promo-btn-sox:hover { background: #d8dfe3; }

/* ============================================================
   HERO NEWSLETTER PROMO — Dynamic Jersey Theme
   .hero-team-{team} is toggled by JS as the carousel advances.
   Reuses the same jersey patterns as each team's horizontal promo.
   ============================================================ */

/* ---- BEARS — Dark: home navy jersey / Light: away off-white jersey ---- */
.promo-newsletter.hero-team-bears {
  background: linear-gradient(135deg, #0b162a 0%, #061220 100%);
  color: #fff;
  border: 2px solid #c83803;
}
.promo-newsletter.hero-team-bears .promo-title { color: #fff; }
.promo-newsletter.hero-team-bears .promo-desc  { color: rgba(255,255,255,0.85); opacity: 1; }
.promo-newsletter.hero-team-bears .promo-input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.promo-newsletter.hero-team-bears .promo-input::placeholder { color: rgba(255,255,255,0.45); }
.promo-newsletter.hero-team-bears .promo-btn-red { background: #c83803; border: none; }
.promo-newsletter.hero-team-bears .promo-btn-red:hover { background: #e84a10; }

[data-theme="light"] .promo-newsletter.hero-team-bears {
  background: linear-gradient(135deg, #f0f4f8 0%, #e5ecf5 100%);
  color: #0b162a;
  border: 2px solid #c83803;
}
[data-theme="light"] .promo-newsletter.hero-team-bears .promo-title { color: #0b162a; }
[data-theme="light"] .promo-newsletter.hero-team-bears .promo-desc  { color: #0b162a; opacity: 0.8; }
[data-theme="light"] .promo-newsletter.hero-team-bears .promo-input {
  background: #fff;
  border: 1px solid rgba(11,22,42,0.2);
  color: #0b162a;
}
[data-theme="light"] .promo-newsletter.hero-team-bears .promo-input::placeholder { color: rgba(11,22,42,0.4); }
[data-theme="light"] .promo-newsletter.hero-team-bears .promo-btn-red {
  background: #0b162a;
  color: #fff;
  border: none;
}
[data-theme="light"] .promo-newsletter.hero-team-bears .promo-btn-red:hover { background: #132d4a; }

/* ---- BLACKHAWKS — Dark: home red/black stripe / Light: away white/black/red stripe ---- */
.promo-newsletter.hero-team-blackhawks {
  background: linear-gradient(90deg, #fff 0px, #fff 4px, #000 4px, #000 8px, #fff 8px, #fff 12px, #cf0a2c 12px, #a00820 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}
.promo-newsletter.hero-team-blackhawks .promo-title { color: #fff; }
.promo-newsletter.hero-team-blackhawks .promo-desc  { color: rgba(255,255,255,0.85); opacity: 1; }
.promo-newsletter.hero-team-blackhawks .promo-input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.promo-newsletter.hero-team-blackhawks .promo-input::placeholder { color: rgba(255,255,255,0.4); }
.promo-newsletter.hero-team-blackhawks .promo-btn-red {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}
.promo-newsletter.hero-team-blackhawks .promo-btn-red:hover { background: #1a1a1a; }

[data-theme="light"] .promo-newsletter.hero-team-blackhawks {
  background: linear-gradient(90deg, #fff 0px, #fff 2px, #000 2px, #000 7px, #cf0a2c 7px, #cf0a2c 12px, #000 12px, #000 17px, #f8f8f8 17px, #fff 100%);
  color: #0d1b2a;
  border: 1px solid rgba(0,0,0,0.1);
}
[data-theme="light"] .promo-newsletter.hero-team-blackhawks .promo-title { color: #0d1b2a; }
[data-theme="light"] .promo-newsletter.hero-team-blackhawks .promo-desc  { color: #4a5568; opacity: 1; }
[data-theme="light"] .promo-newsletter.hero-team-blackhawks .promo-input {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.15);
  color: #0d1b2a;
}
[data-theme="light"] .promo-newsletter.hero-team-blackhawks .promo-input::placeholder { color: rgba(13,27,42,0.4); }
[data-theme="light"] .promo-newsletter.hero-team-blackhawks .promo-btn-red {
  background: #000;
  color: #fff;
  border: 1px solid rgba(0,0,0,0.2);
}
[data-theme="light"] .promo-newsletter.hero-team-blackhawks .promo-btn-red:hover { background: #1a1a1a; }

/* ---- BULLS — Dark: away red jersey / Light: home white jersey ---- */
.promo-newsletter.hero-team-bulls {
  background: linear-gradient(135deg, #ce1141 0%, #8b0a2e 100%);
  color: #000;
  border: 1px solid rgba(0,0,0,0.15);
  border-left: 4px solid #000;
}
.promo-newsletter.hero-team-bulls .promo-title {
  color: #000;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.promo-newsletter.hero-team-bulls .promo-desc  { color: rgba(255,255,255,0.85); opacity: 1; }
.promo-newsletter.hero-team-bulls .promo-input {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(0,0,0,0.3);
  color: #fff;
}
.promo-newsletter.hero-team-bulls .promo-input::placeholder { color: rgba(255,255,255,0.45); }
.promo-newsletter.hero-team-bulls .promo-btn-red {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}
.promo-newsletter.hero-team-bulls .promo-btn-red:hover { background: #1a1a1a; }

[data-theme="light"] .promo-newsletter.hero-team-bulls {
  background: #ffffff;
  color: #ce1141;
  border: 1px solid rgba(206,17,65,0.2);
  border-left: 4px solid #ce1141;
}
[data-theme="light"] .promo-newsletter.hero-team-bulls .promo-title {
  color: #ce1141;
  text-shadow: -0.5px -0.5px 0 #000, 0.5px -0.5px 0 #000, -0.5px 0.5px 0 #000, 0.5px 0.5px 0 #000;
}
[data-theme="light"] .promo-newsletter.hero-team-bulls .promo-desc  { color: rgba(130,0,30,0.65); opacity: 1; }
[data-theme="light"] .promo-newsletter.hero-team-bulls .promo-input {
  background: #fff;
  border: 1px solid rgba(206,17,65,0.25);
  color: #0d1b2a;
}
[data-theme="light"] .promo-newsletter.hero-team-bulls .promo-input::placeholder { color: rgba(13,27,42,0.4); }
[data-theme="light"] .promo-newsletter.hero-team-bulls .promo-btn-red {
  background: #ce1141;
  color: #fff;
  border: 2px solid #000;
}
[data-theme="light"] .promo-newsletter.hero-team-bulls .promo-btn-red:hover { background: #e01545; }

/* ---- CUBS — Dark: alternate blue jersey / Light: home pinstripe jersey ---- */
.promo-newsletter.hero-team-cubs {
  background: linear-gradient(135deg, #1545a8 0%, #0e3386 55%, #0b2870 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 4px solid #c8102e;
}
.promo-newsletter.hero-team-cubs .promo-title { color: #fff; }
.promo-newsletter.hero-team-cubs .promo-desc  { color: rgba(255,255,255,0.82); opacity: 1; }
.promo-newsletter.hero-team-cubs .promo-input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.promo-newsletter.hero-team-cubs .promo-input::placeholder { color: rgba(255,255,255,0.4); }
.promo-newsletter.hero-team-cubs .promo-btn-red { background: #c8102e; border: none; }
.promo-newsletter.hero-team-cubs .promo-btn-red:hover { background: #e04444; }

/* Default: text-box is transparent pass-through (non-pinstripe themes) */
.promo-newsletter .promo-text-box {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 0;
}

[data-theme="light"] .promo-newsletter.hero-team-cubs {
  background-color: #f5f7fc;
  background-image: linear-gradient(to right, transparent 0px, transparent 21px, rgba(14, 51, 134, 0.45) 21px, rgba(14, 51, 134, 0.45) 22px);
  background-size: 22px 100%;
  color: #0e3386;
  border: 1px solid rgba(14, 51, 134, 0.2);
  border-left: 4px solid #c8102e;
}
/* Hero Cubs pinstripe light: background box around title + body text only */
[data-theme="light"] .promo-newsletter.hero-team-cubs .promo-text-box {
  display: inline-block;
  background: #0e3386;
  border: 2px solid #c8102e;
  border-radius: 6px;
  padding: 6px 10px 8px;
  margin-bottom: 4px;
}
[data-theme="light"] .promo-newsletter.hero-team-cubs .promo-title {
  color: #c8102e;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
[data-theme="light"] .promo-newsletter.hero-team-cubs .promo-desc { color: #fff; opacity: 1; }
[data-theme="light"] .promo-newsletter.hero-team-cubs .promo-input {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(14,51,134,0.25);
  color: #0e3386;
}
[data-theme="light"] .promo-newsletter.hero-team-cubs .promo-input::placeholder { color: rgba(14,51,134,0.4); }
[data-theme="light"] .promo-newsletter.hero-team-cubs .promo-btn-red { background: #c8102e; border: none; }
[data-theme="light"] .promo-newsletter.hero-team-cubs .promo-btn-red:hover { background: #e04444; }

/* ---- WHITE SOX — Dark: black away jersey / Light: home white pinstripe ---- */
.promo-newsletter.hero-team-whitesox {
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  color: #fff;
  border: 1px solid rgba(196,206,212,0.2);
  border-left: 4px solid #c4ced4;
}
.promo-newsletter.hero-team-whitesox .promo-title { color: #fff; }
.promo-newsletter.hero-team-whitesox .promo-desc  { color: rgba(255,255,255,0.85); opacity: 1; }
.promo-newsletter.hero-team-whitesox .promo-input {
  background: rgba(196,206,212,0.1);
  border: 1px solid rgba(196,206,212,0.3);
  color: #fff;
}
.promo-newsletter.hero-team-whitesox .promo-input::placeholder { color: rgba(255,255,255,0.35); }
.promo-newsletter.hero-team-whitesox .promo-btn-red {
  background: #c4ced4;
  color: #27251f;
  font-weight: 800;
  border: none;
}
.promo-newsletter.hero-team-whitesox .promo-btn-red:hover { background: #d8dfe3; }

[data-theme="light"] .promo-newsletter.hero-team-whitesox {
  background-color: #f8f8f8;
  background-image: linear-gradient(to right, transparent 0px, transparent 21px, rgba(0,0,0,0.45) 21px, rgba(0,0,0,0.45) 22px);
  background-size: 22px 100%;
  color: #27251f;
  border: 1px solid rgba(0,0,0,0.1);
  border-left: 4px solid #c4ced4;
}
/* Hero Sox pinstripe light: background box around title + body text only */
[data-theme="light"] .promo-newsletter.hero-team-whitesox .promo-text-box {
  display: inline-block;
  background: #27251f;
  border: 2px solid #c4ced4;
  border-radius: 6px;
  padding: 6px 10px 8px;
  margin-bottom: 10px;
}
[data-theme="light"] .promo-newsletter.hero-team-whitesox .promo-title { color: #c4ced4; display: block; }
[data-theme="light"] .promo-newsletter.hero-team-whitesox .promo-desc  { color: rgba(255,255,255,0.85); display: block; opacity: 1; }
[data-theme="light"] .promo-newsletter.hero-team-whitesox .promo-input {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(39,37,31,0.25);
  color: #27251f;
}
[data-theme="light"] .promo-newsletter.hero-team-whitesox .promo-input::placeholder { color: rgba(39,37,31,0.45); }
[data-theme="light"] .promo-newsletter.hero-team-whitesox .promo-btn-red {
  background: #c4ced4;
  color: #27251f;
  font-weight: 800;
  border: none;
}
[data-theme="light"] .promo-newsletter.hero-team-whitesox .promo-btn-red:hover { background: #d8dfe3; }

/* ===============================
   DESKTOP NAV SIZE OVERRIDES (sidebar only, not mobile drawer)
================================ */
@media(min-width:1025px){
  .sidebar .nav-section-label{font-size:10px;}
  .sidebar .sidebar-nav-item{font-size:13px;}
  .sidebar .sidebar-nav-item .nav-icon{font-size:15px;}
  .sidebar .sidebar-nav-item .nav-chevron{font-size:9px;}
  .sidebar .sidebar-nav-item .nav-badge{font-size:9px;}
  .sidebar .subnav a{font-size:11px;}
  .sidebar .todays-games-title{font-size:15px;}
  .sidebar .game-row{font-size:11px;}
  .sidebar .game-status{font-size:10px;}
  .category-header{font-size:28px;letter-spacing:1px;line-height:1;margin:0 0 10px;padding-bottom:5px;border-bottom-width:3px;}
}


/* ===============================
   CHICAGO SPORTS PULSE STRIP
================================ */
#pulse-strip {
  padding: 0 0 20px;
}

.pulse-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

/* Card — team gradient tint via ::before overlay */
.pulse-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 13px 14px 15px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-top: 4px solid var(--team-accent);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
  text-align: center;
}

/* Subtle team-gradient wash behind card content */
.pulse-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--team-grad);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

/* All direct children sit above the gradient wash */
.pulse-card > * { position: relative; z-index: 1; }

.pulse-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 24px color-mix(in srgb, var(--team-accent) 22%, transparent),
    0 2px 6px rgba(0,0,0,0.15);
}

/* Dark mode: explicit bg clearly above #0a0a0f page bg, shadow for depth.
   Without this, dark-heavy team gradients (Bears #0b162a, Hawks/Bulls black)
   push the ::before overlay so dark the card blends into the page. */
[data-theme="dark"] .pulse-card {
  background: #1c1c2c;
  border-color: rgba(255,255,255,0.09);
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Light mode: white card with a proper shadow so all 5 cards lift off the page.
   Previously, dark gradient overlays at 5% on white produced ~#f3f4f7 — nearly
   identical to the #f5f5f3 page bg — making Bears/Hawks/Bulls cards invisible. */
[data-theme="light"] .pulse-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
}
[data-theme="light"] .pulse-card::before { opacity: 0; }

/* Header — icon + pill badge */
.pulse-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}

.pulse-team-icon { font-size: 14px; line-height: 1; }

.pulse-team-name {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--team-accent);
  padding: 2px 7px;
  border-radius: 20px;
}

/* White Sox silver pill needs dark text to stay readable */
.pulse-card-whitesox .pulse-team-name { color: #1a1a1a; }

/* Label row */
.pulse-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.pulse-live-dot {
  color: #f43f3f;
  animation: pulse-blink 1s infinite;
}

@keyframes pulse-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* Main content text */
.pulse-main {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-top: 3px;
}

.pulse-dim { color: var(--muted); font-weight: 400; }

.pulse-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-top: 2px;
}

/* Score (live/final) */
.pulse-score {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-top: 4px;
}

/* Countdown — large team-accented number */
.pulse-countdown {
  font-size: 36px;
  font-weight: 800;
  color: var(--team-accent);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 6px;
  text-shadow: 0 0 20px color-mix(in srgb, var(--team-accent) 35%, transparent);
}

[data-theme="light"] .pulse-countdown {
  text-shadow: none;
}

.pulse-countdown-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 2px;
  letter-spacing: 0;
}

/* Divider between label and content */
.pulse-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  border-top: 1px solid color-mix(in srgb, var(--team-accent) 20%, transparent);
  padding-top: 8px;
  width: 100%;
}

/* Mobile (≤739): horizontal scroll strip */
@media (max-width: 739px) {
  #pulse-strip {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 0 14px;
  }
  #pulse-strip::-webkit-scrollbar { display: none; }

  .pulse-inner {
    grid-template-columns: repeat(5, 158px);
    gap: 8px;
    padding: 0 12px;
    width: max-content;
  }
}

/* Narrow tablet (740–1024): still 5 cols, tighter type */
@media (min-width: 740px) and (max-width: 1024px) {
  .pulse-main      { font-size: 11px; }
  .pulse-sub       { font-size: 12px; }
  .pulse-score     { font-size: 18px; }
  .pulse-countdown { font-size: 28px; }
}


/* ===============================
   CHICAGO STANDINGS STRIP
================================ */
#standings-strip {
  padding: 0 0 20px;
}

/* ---- Always vertical stack ---- */
.stngs-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.stngs-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--team-accent);
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}

/* Subtle team gradient wash */
.stngs-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--team-grad);
  opacity: 0;
  pointer-events: none;
}

[data-theme="light"] .stngs-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
  border-left-color: var(--team-accent);
}
[data-theme="light"] .stngs-card::before { opacity: 0; }

.stngs-card > * { position: relative; }

/* Header */
.stngs-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-width: 80px;
  margin-bottom: 0;
}

.stngs-icon { font-size: 13px; line-height: 1; }

.stngs-name {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--team-accent);
  padding: 2px 7px;
  border-radius: 20px;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.stngs-name:hover { opacity: 0.85; transform: translateY(-1px); }

.stngs-card-whitesox .stngs-name { color: #1a1a1a; }

/* Record — the hero number */
.stngs-record {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  min-width: 72px;
  white-space: nowrap;
}
.stngs-offseason { color: var(--muted); font-size: 15px; }

/* Division + GB */
.stngs-detail {
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  flex: 1;
}
.stngs-muted { opacity: 0.7; }

/* Streak pill */
.stngs-streak {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 20px;
  align-self: center;
  background: var(--team-accent);
  color: #fff;
}

.stngs-card-whitesox .stngs-streak { color: #1a1a1a; }

/* Bottom row — detail + streak together */
.stngs-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* Desktop/mobile show-hide for standings detail */
.stngs-mobile-only { display: none; }

@media (max-width: 739px) {
  .stngs-desk-only   { display: none; }
  .stngs-mobile-only { display: block; }
}

/* Mobile: 1fr auto 1fr — centered record, stacked columns */
@media (max-width: 739px) {
  .stngs-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0 10px;
  }
  /* Stack icon above team name pill */
  .stngs-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-width: unset;
  }
  .stngs-record {
    min-width: unset;
    font-size: 16px;
    text-align: center;
  }
  /* Stack each detail line + streak vertically, right-aligned */
  .stngs-bottom {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    justify-self: end;
  }
  .stngs-detail { font-size: 10px; }
  .stngs-streak { align-self: unset; margin-top: 2px; }
}

/* Desktop/tablet: 1fr auto 1fr — truly centers the record */
@media (min-width: 740px) {
  .stngs-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-content: unset;
    gap: 0 16px;
  }
  .stngs-record { text-align: center; min-width: unset; }
  .stngs-bottom { justify-self: end; flex-direction: row; align-items: center; gap: 8px; }
}


/* ---- Pulse scoreboard (live / final games) ---- */
.pulse-scoreboard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  width: 100%;
}

.pulse-score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.pulse-score-team {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pulse-score-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Inning badge sits inline in the label after LIVE */
.pulse-inning {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--team-accent);
  color: #fff;
  padding: 1px 6px;
  border-radius: 20px;
}


/* ===============================
   LAKEFRONT FIVE TIMELINE
================================ */
#timeline-strip {
  padding: 0 0 20px;
  max-width: 960px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: visible;
}

.timeline-inner {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
}

[data-theme="light"] .timeline-inner {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
}

.timeline-header {
  padding: 10px 16px;
  border-bottom: 1px solid var(--card-border);
}

.timeline-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.timeline-list {
  display: flex;
  flex-direction: column;
}

/* Desktop: 1fr auto 1fr — left group + centered label + right time */
.timeline-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--card-border);
  transition: background 0.15s ease;
}
.timeline-row:last-child { border-bottom: none; }
.timeline-row:hover { background: color-mix(in srgb, var(--team-accent) 8%, transparent); }

.timeline-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-date {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.timeline-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.timeline-time {
  font-size: 11px;
  color: var(--text);
  white-space: nowrap;
  text-align: right;
  justify-self: end;
}

/* Responsive max-width mirrors promo-banner at each breakpoint */
@media (min-width: 740px) and (max-width: 1024px) {
  #timeline-strip { max-width: min(700px, calc(100vw - 290px)); }
}
@media (min-width: 1025px) and (max-width: 1300px) {
  #timeline-strip { max-width: min(700px, calc(100vw - 552px)); }
}
@media (min-width: 1301px) and (max-width: 1632px) {
  #timeline-strip { max-width: min(960px, calc(100vw - 592px)); }
}

/* Mobile: two-line layout — date+dot on top line, label+time below */
@media (max-width: 739px) {
  .timeline-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 2px;
    padding: 10px 14px;
  }
  .timeline-left {
    grid-column: 1;
    grid-row: 1;
  }
  .timeline-label {
    grid-column: 1;
    grid-row: 2;
    font-size: 13px;
    text-align: left;
    white-space: normal;
  }
  .timeline-time {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    font-size: 10px;
  }
}


/* ============================================================
   DREW'S NOTEBOOK — Phase 5
   ============================================================ */

#notebook-strip {
  padding: 0 16px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.notebook-inner {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-left: 4px solid #e87722;
  border-radius: 6px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Mobile byline: avatar + name row */
.notebook-byline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notebook-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: 2px solid var(--card-border);
  flex-shrink: 0;
  background: var(--card-border); /* placeholder color if img fails */
}

.notebook-byline-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.notebook-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.notebook-role {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1px;
  line-height: 1.3;
}

.notebook-divider {
  height: 1px;
  background: var(--card-border);
  flex-shrink: 0;
}

.notebook-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.notebook-headline {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 9px;
  letter-spacing: 0.2px;
  line-height: 1.35;
  text-transform: uppercase;
}

.notebook-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.notebook-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #e87722;
  text-decoration: none;
  margin-top: 11px;
  letter-spacing: 0.1px;
  transition: opacity 0.15s;
}
.notebook-link:hover { opacity: 0.75; }

/* Desktop: byline column left | divider | content right */
@media (min-width: 740px) {
  .notebook-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 24px;
  }

  .notebook-byline {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80px;
    min-width: 80px;
    gap: 8px;
    flex-shrink: 0;
    padding-top: 2px;
  }

  .notebook-avatar {
    width: 54px;
    height: 54px;
  }

  /* Vertical divider on desktop */
  .notebook-divider {
    width: 1px;
    height: auto;
    align-self: stretch;
    margin: 0;
  }

  .notebook-content { flex: 1; min-width: 0; }

  .notebook-headline { font-size: 13px; }
  .notebook-body { font-size: 13px; }
}


/* ============================================================
   MOST READ THIS WEEK — Phase 6
   ============================================================ */

#most-read-strip {
  padding: 0 16px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.most-read-inner {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  overflow: hidden;
}

.most-read-header {
  padding: 11px 18px 10px;
  border-bottom: 1px solid var(--card-border);
}

.most-read-title-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.9px;
  color: var(--muted);
  text-transform: uppercase;
}

.most-read-list {
  display: flex;
  flex-direction: column;
}

.most-read-item {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--card-border);
  text-decoration: none;
  transition: background 0.14s;
}
.most-read-item:last-child { border-bottom: none; }
.most-read-item:hover { background: rgba(255,255,255,0.04); }
[data-theme="light"] .most-read-item:hover { background: rgba(0,0,0,0.04); }

.most-read-rank {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.most-read-item-title {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
  font-weight: 500;
}

.most-read-item-icon {
  font-size: 15px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* Wider rank + title layout on desktop */
@media (min-width: 740px) {
  .most-read-item { gap: 16px; padding: 12px 20px; }
  .most-read-rank { font-size: 20px; }
  .most-read-item-title { font-size: 13px; }
}


/* ============================================================
   TEAM ZONE CTA BANNER
   ============================================================ */

.team-zone-cta-link {
  display: block;
  max-width: 960px;
  width: calc(100% - 44px);
  margin: 0 auto 14px;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.team-zone-cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}
.team-zone-cta-img {
  display: block;
  width: 100%;
  height: auto;
}
