/*
Theme Name: CU Buffs Sports
Theme URI: https://cubuffs.com
Author: CU Buffs Blog
Description: A modern, fast-loading sports blog theme for the Colorado Buffaloes. Features a cinematic hero layout, sport-coded categories, live scores widget, X/Twitter feed, Google AdSense zones, and full mobile optimization.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cu-buffs
Tags: sports, blog, responsive, dark, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, post-formats, sticky-post, threaded-comments
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --gold:        #CFB87C;
  --gold-dark:   #b09650;
  --gold-glow:   rgba(207, 184, 124, 0.12);
  --black:       #000000;
  --bg:          #0d0d0d;
  --bg-card:     #1a1a1a;
  --bg-hover:    #222222;
  --border:      #2a2a2a;
  --text:        #f0f0f0;
  --text-light:  #e0e0e0;
  --text-muted:  #888888;
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius:      4px;
  --radius-lg:   8px;
  --shadow:      0 4px 24px rgba(0,0,0,0.6);
  --transition:  0.2s ease;
  --header-h:    64px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold-dark); }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

button { cursor: pointer; }

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide { max-width: 1440px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.section      { padding: 52px 0; }
.section--sm  { padding: 36px 0; }
.section--dark { background: var(--black); }
.section--card { background: var(--bg-card); }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title svg { width: 18px; height: 18px; flex-shrink: 0; }

.view-all {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  transition: all var(--transition);
  white-space: nowrap;
}
.view-all:hover { color: var(--gold); border-color: var(--gold); }

/* ============================================================
   SITE HEADER
============================================================ */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 20px rgba(0,0,0,0.8);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,0.95); }

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 20px;
}

/* BRANDING */
.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.custom-logo { height: 42px; width: auto; }

.site-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.site-name em {
  display: block;
  font-style: normal;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* PRIMARY NAV */
.primary-nav-wrap { flex: 1; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav a {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 1px;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
  color: var(--gold);
  background: var(--gold-glow);
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after {
  transform: scaleX(1);
}

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 7px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.icon-btn:hover { color: var(--gold); border-color: var(--border); background: var(--gold-glow); }
.icon-btn svg { width: 19px; height: 19px; }

/* HAMBURGER */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 9px;
  border-radius: var(--radius);
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* SEARCH PANEL */
.search-panel {
  background: #111;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  display: none;
}
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: 8px; max-width: 680px; margin: 0 auto; }
.search-panel input[type="search"] {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.search-panel input[type="search"]:focus { outline: none; border-color: var(--gold); }
.search-panel button[type="submit"] {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition);
}
.search-panel button[type="submit"]:hover { background: #fff; }

/* ============================================================
   BREAKING NEWS TICKER
============================================================ */
.breaking-ticker {
  background: var(--gold);
  overflow: hidden;
  position: relative;
}

.ticker-inner {
  display: flex;
  align-items: center;
  height: 36px;
}

.ticker-label {
  background: var(--black);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 20px;
  border-right: 2px solid rgba(207,184,124,0.3);
}

.ticker-overflow { overflow: hidden; flex: 1; }

.ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker-scroll 35s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--black);
}
.ticker-item a { color: var(--black); }
.ticker-item a:hover { text-decoration: underline; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section { overflow: hidden; }

.hero-main {
  position: relative;
  height: 580px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-main .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-main .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 8s ease;
}
.hero-main:hover .hero-bg img { transform: scale(1.04); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.97) 0%,
    rgba(0,0,0,0.65) 45%,
    rgba(0,0,0,0.15) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 44px 40px;
  width: 100%;
  max-width: 900px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-category {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
}

.hero-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.hero-title {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.08;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}
.hero-title a { color: inherit; }
.hero-title a:hover { color: var(--gold); }

.hero-excerpt {
  color: rgba(255,255,255,0.72);
  font-size: 1.02rem;
  max-width: 580px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  margin-bottom: 20px;
}
.hero-meta .author { color: var(--gold); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: none;
  transition: all var(--transition);
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #fff; color: var(--black); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(207,184,124,0.4); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn svg { width: 16px; height: 16px; }

/* HERO SIDE STACK */
.hero-secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--black);
}

.hero-side-post {
  position: relative;
  height: 189px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
}
.hero-side-post img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hero-side-post:hover img { transform: scale(1.06); }
.hero-side-post::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 60%);
}
.hero-side-content {
  position: relative;
  z-index: 1;
  padding: 14px 16px;
  width: 100%;
}
.hero-side-cat {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.hero-side-title {
  font-size: 0.88rem;
  color: #fff;
  line-height: 1.25;
}
.hero-side-title a { color: inherit; }
.hero-side-title a:hover { color: var(--gold); }

/* 3-PART HERO GRID */
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2px;
  background: #000;
}

/* ============================================================
   POST CARDS
============================================================ */
.post-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 36px rgba(0,0,0,0.5);
}

.post-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--bg-hover);
}
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.06); }

.post-card-thumb .no-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-hover) 100%);
}
.post-card-thumb .no-thumb svg {
  width: 40px;
  height: 40px;
  color: var(--border);
}

.post-card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-card-cat {
  font-family: var(--font-display);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
}

.post-card-title {
  font-size: 1.02rem;
  line-height: 1.3;
  flex: 1;
}
.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--gold); }

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.77rem;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.post-card-meta .author { color: rgba(207,184,124,0.8); }

/* CATEGORY COLOR MAP */
.cat-football    { color: #e85d04 !important; }
.cat-basketball  { color: #4cc9f0 !important; }
.cat-baseball    { color: #2dc653 !important; }
.cat-volleyball  { color: #f72585 !important; }
.cat-recruiting  { color: #c77dff !important; }
.cat-opinion     { color: #f9c74f !important; }
.cat-recap       { color: #43aa8b !important; }
.cat-track       { color: #fd8c00 !important; }

/* FEATURED TAG */
.post-card-thumb .tag-featured {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  z-index: 2;
}

/* ============================================================
   AD ZONES
============================================================ */
.ad-zone {
  text-align: center;
  padding: 16px;
}
.ad-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  opacity: 0.6;
}
.ad-placeholder {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 6px;
}
.ad-placeholder p { color: var(--text-muted); font-size: 0.8rem; }
.ad-leaderboard .ad-placeholder { min-height: 100px; }
.ad-rectangle  .ad-placeholder { min-height: 260px; max-width: 340px; margin: 0 auto; }
.ad-sidebar    .ad-placeholder { min-height: 260px; }

/* ============================================================
   SCORES WIDGET
============================================================ */
.scores-bar {
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.scores-scroll-wrap { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--gold) var(--border); }
.scores-scroll-wrap::-webkit-scrollbar { height: 3px; }
.scores-scroll-wrap::-webkit-scrollbar-track { background: var(--border); }
.scores-scroll-wrap::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.scores-track {
  display: flex;
  gap: 10px;
  padding: 4px 0 10px;
  min-width: min-content;
}

.score-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  min-width: 190px;
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.score-card:hover { border-color: var(--gold); }

.score-sport {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.score-matchup { display: flex; flex-direction: column; gap: 6px; }

.score-team {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.score-team-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.score-team-name.cu-team { color: var(--gold); font-weight: 700; }

.score-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 28px;
  text-align: right;
}
.score-num.winner { color: var(--gold); }

.score-status {
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.score-status.live {
  color: #ff4444;
  font-weight: 700;
}
.score-status.live::before {
  content: '● ';
  animation: blink 1.2s ease infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

/* ============================================================
   TWITTER / X FEED
============================================================ */
.x-feed-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.x-feed-header {
  background: var(--black);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.x-feed-header .x-logo { color: var(--text); flex-shrink: 0; }
.x-feed-header h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text);
}
.x-follow-btn {
  margin-left: auto;
  background: var(--text);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background var(--transition);
  flex-shrink: 0;
}
.x-follow-btn:hover { background: var(--gold); color: var(--black); }
.x-feed-body { padding: 16px; max-height: 540px; overflow-y: auto; }

/* ============================================================
   VIDEO SECTION
============================================================ */
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-card-body { padding: 16px 20px; }
.video-card-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.video-card-body p { font-size: 0.83rem; color: var(--text-muted); }

/* ============================================================
   SIDEBAR
============================================================ */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.widget-title {
  background: var(--black);
  padding: 12px 18px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.widget-body { padding: 14px 18px; }

/* Recent Posts */
.recent-list { display: flex; flex-direction: column; }
.recent-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.recent-item:last-child { border-bottom: none; }
.recent-thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-hover);
}
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--text);
  flex: 1;
}
.recent-title a { color: inherit; }
.recent-title a:hover { color: var(--gold); }
.recent-date { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; display: block; }

/* ============================================================
   SINGLE POST
============================================================ */
.single-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}
.single-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.single-hero .no-image { background: linear-gradient(135deg, var(--black) 0%, var(--bg-card) 100%); }

.single-header {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 40px;
  max-width: 960px;
}

.single-category-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.single-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.single-meta .author { color: var(--gold); font-weight: 600; }
.single-meta svg { width: 14px; height: 14px; }

/* POST BODY */
.post-body { padding: 48px 0; }

.post-content {
  font-size: 1.07rem;
  line-height: 1.82;
  color: var(--text-light);
  max-width: 720px;
}
.post-content p { margin-bottom: 1.5em; }
.post-content h2 {
  font-size: 1.5rem;
  color: var(--gold);
  margin: 2.2em 0 0.7em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.post-content h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 1.8em 0 0.6em;
}
.post-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: #fff; }
.post-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 18px 24px;
  margin: 2em 0;
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--text-light);
}
.post-content blockquote cite { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; font-style: normal; }
.post-content img { border-radius: var(--radius-lg); margin: 2em 0; }
.post-content ul { list-style: none; padding-left: 0; margin-bottom: 1.5em; }
.post-content ul li { padding-left: 1.4em; position: relative; margin-bottom: 0.5em; }
.post-content ul li::before { content: '▸'; position: absolute; left: 0; color: var(--gold); }
.post-content ol { padding-left: 1.5em; margin-bottom: 1.5em; }
.post-content ol li { margin-bottom: 0.5em; }
.post-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.post-content th {
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  padding: 10px 14px;
  text-align: left;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.post-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.post-content tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

/* SHARE BAR */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 36px 0;
  flex-wrap: wrap;
}
.share-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 4px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all var(--transition);
}
.share-btn svg { width: 14px; height: 14px; }
.share-x { background: #000; color: #fff; border-color: #333; }
.share-x:hover { border-color: var(--gold); color: var(--gold); }
.share-fb { background: #1877f2; color: #fff; }
.share-fb:hover { background: #1465cc; }
.share-copy { background: var(--bg-card); color: var(--text-muted); border-color: var(--border); }
.share-copy:hover { border-color: var(--gold); color: var(--gold); }

/* AUTHOR BOX */
.author-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 18px;
  margin: 36px 0;
  max-width: 720px;
}
.author-avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--gold); }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-family: var(--font-display); font-size: 1rem; color: var(--gold); margin-bottom: 6px; }
.author-bio { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   ARCHIVE PAGES
============================================================ */
.archive-banner {
  background: linear-gradient(135deg, var(--black) 0%, var(--bg-card) 100%);
  border-bottom: 2px solid var(--gold);
  padding: 44px 0;
}
.archive-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold);
  margin-bottom: 8px;
}
.archive-banner p { color: var(--text-muted); font-size: 0.9rem; }
.archive-banner .count { color: rgba(207,184,124,0.5); font-size: 0.75rem; font-family: var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* SPORT FILTER TABS */
.sport-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.sport-tabs::-webkit-scrollbar { display: none; }
.sport-tab {
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 18px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}
.sport-tab:hover, .sport-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ============================================================
   PAGINATION
============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 48px 0 20px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .current { background: var(--gold); color: var(--black); border-color: var(--gold); font-weight: 700; }
.pagination .dots { background: transparent; border-color: transparent; color: var(--text-muted); }

/* ============================================================
   BREADCRUMBS
============================================================ */
.breadcrumbs {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { opacity: 0.35; }
.breadcrumbs .current { color: var(--text); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--black);
  border-top: 2px solid var(--gold);
  margin-top: 72px;
}

.footer-top { padding: 56px 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-brand-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 260px;
}

.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-icon:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.social-icon svg { width: 16px; height: 16px; }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: all var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copyright { color: var(--text-muted); font-size: 0.8rem; }
.footer-copyright a { color: var(--text-muted); }
.footer-copyright a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--text-muted); font-size: 0.8rem; }
.footer-legal a:hover { color: var(--gold); }

/* ============================================================
   404 PAGE
============================================================ */
.not-found {
  text-align: center;
  padding: 120px 20px;
}
.not-found-num {
  font-family: var(--font-display);
  font-size: 9rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.15;
  margin-bottom: -20px;
}
.not-found h1 { font-size: 2rem; margin-bottom: 14px; }
.not-found p { color: var(--text-muted); max-width: 380px; margin: 0 auto 32px; }

/* ============================================================
   SEARCH RESULTS
============================================================ */
.search-header {
  padding: 44px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 44px;
}
.search-header h1 { font-size: 1.6rem; }
.search-header h1 .query { color: var(--gold); }
.search-header .count { color: var(--text-muted); font-size: 0.85rem; margin-top: 6px; }

/* ============================================================
   COMMENTS
============================================================ */
.comments-area { max-width: 720px; margin-top: 56px; }
.comments-title {
  font-size: 1.2rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.comment-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 44px; }
.comment-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.comment-author-name { font-family: var(--font-display); font-size: 0.88rem; color: var(--gold); }
.comment-date { font-size: 0.75rem; color: var(--text-muted); }
.comment-text { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; margin-top: 10px; }
.comment-reply-link { font-size: 0.75rem; color: var(--text-muted); display: inline-block; margin-top: 10px; }
.comment-reply-link:hover { color: var(--gold); }

.comment-form-title { font-size: 1.1rem; margin-bottom: 20px; }
.comment-form label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; font-family: var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 11px 15px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 16px;
  transition: border-color var(--transition);
}
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--gold); }
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .submit {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}
.comment-form .submit:hover { background: #fff; transform: translateY(-1px); }

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-secondary { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 58px; }

  .container { padding: 0 16px; }
  .section { padding: 36px 0; }

  /* Nav collapses */
  .primary-nav-wrap {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(8px);
    z-index: 999;
    padding: 28px 20px;
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .primary-nav-wrap.open { display: block; }
  .primary-nav { flex-direction: column; gap: 4px; }
  .primary-nav a {
    display: block;
    padding: 13px 16px;
    font-size: 1.05rem;
    border-radius: var(--radius);
    width: 100%;
  }
  .primary-nav a::after { display: none; }
  .nav-toggle { display: flex; }

  .grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .grid-2 { grid-template-columns: 1fr; gap: 16px; }
  .grid-4 { grid-template-columns: 1fr; }

  .hero-main { height: 400px; }
  .hero-content { padding: 28px 20px; }
  .hero-title { font-size: 1.6rem; }

  .single-hero { height: 300px; }
  .single-header { padding: 24px 20px; }
  .single-title { font-size: 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .share-bar { gap: 8px; }

  .not-found-num { font-size: 5rem; }

  .archive-banner { padding: 28px 0; }
}

/* ============================================================
   RESPONSIVE — SMALL (max 480px)
============================================================ */
@media (max-width: 480px) {
  .hero-main { height: 340px; }
  .ticker-label { padding: 0 12px; font-size: 0.62rem; }
  .score-card { min-width: 160px; }
  .btn { padding: 10px 18px; font-size: 0.78rem; }
}

/* ============================================================
   DARK / LIGHT MODE TOGGLE BUTTON
============================================================ */
.theme-toggle {
  width: 52px;
  height: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  padding: 3px;
  display: flex;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  transition: border-color var(--transition), background 0.3s ease;
}
.theme-toggle:hover { border-color: var(--gold); }

.toggle-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 5px rgba(0,0,0,0.4);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.toggle-thumb svg    { width: 12px; height: 12px; color: var(--black); }
.toggle-icon-sun     { display: none; }
.toggle-icon-moon    { display: flex; }

/* ============================================================
   LIGHT MODE — CSS variable overrides
   Applied when <body class="light-mode">
============================================================ */
body.light-mode {
  --bg:        #f2f2f2;
  --bg-card:   #ffffff;
  --bg-hover:  #f8f8f8;
  --border:    #e0e0e0;
  --text:      #111111;
  --text-light:#1a1a1a;
  --text-muted:#666666;
  --gold-glow: rgba(183, 140, 50, 0.1);
  --shadow:    0 4px 24px rgba(0,0,0,0.10);
}

/* Toggle thumb slides right + icon swaps */
body.light-mode .toggle-thumb     { transform: translateX(24px); }
body.light-mode .toggle-icon-sun  { display: flex; }
body.light-mode .toggle-icon-moon { display: none; }
body.light-mode .theme-toggle     { background: #e0e0e0; border-color: #ccc; }

/* Header */
body.light-mode .site-header  { background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,0.09); }
body.light-mode .site-name    { color: #111; }
body.light-mode .site-name em { color: var(--text-muted); }
body.light-mode .primary-nav a { color: #222; }
body.light-mode .primary-nav a:hover,
body.light-mode .primary-nav .current-menu-item > a { color: var(--gold); }
body.light-mode .icon-btn       { color: #555; }
body.light-mode .icon-btn:hover { color: var(--gold); }
body.light-mode .nav-toggle     { border-color: #ddd; }
body.light-mode .nav-toggle span { background: #222; }

/* Mobile nav overlay */
body.light-mode .primary-nav-wrap { background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); }

/* Search panel */
body.light-mode .search-panel       { background: #f4f4f4; border-color: #e0e0e0; }
body.light-mode .search-panel input { background: #fff; border-color: #ddd; color: #111; }

/* Layout sections */
body.light-mode .section--dark { background: #e8e8e8; }
body.light-mode .section--card { background: #f0f0f0; }

/* Scores */
body.light-mode .scores-bar  { background: #ebebeb; border-color: #ddd; }
body.light-mode .score-card  { background: #fff; border-color: #ddd; }

/* Cards */
body.light-mode .post-card       { background: #fff; border-color: #e8e8e8; }
body.light-mode .post-card:hover { border-color: var(--gold); box-shadow: 0 8px 28px rgba(0,0,0,0.10); }
body.light-mode .post-card-title a { color: #111; }
body.light-mode .post-card-meta  { border-color: #eee; }

/* Sidebar & widgets */
body.light-mode .sidebar-widget  { background: #fff; border-color: #e8e8e8; }
body.light-mode .widget-title    { background: #f4f4f4; }
body.light-mode .recent-item     { border-color: #eee; }

/* X / Twitter */
body.light-mode .x-feed-card   { background: #fff; border-color: #e8e8e8; }
body.light-mode .x-feed-header { background: #f4f4f4; border-color: #eee; }
body.light-mode .x-follow-btn  { background: #111; color: #fff; }

/* Single post */
body.light-mode .post-content        { color: #222; }
body.light-mode .post-content h2     { color: var(--gold); }
body.light-mode .post-content h3     { color: #111; }
body.light-mode .post-content blockquote { background: #f4f4f4; color: #333; }
body.light-mode .post-content td     { color: #333; }
body.light-mode .post-content tr:nth-child(even) td { background: rgba(0,0,0,0.03); }
body.light-mode .author-box         { background: #fff; border-color: #e8e8e8; }
body.light-mode .share-copy         { background: #f0f0f0; color: #555; }
body.light-mode .comment-body       { background: #fff; border-color: #e8e8e8; }
body.light-mode .comment-form input,
body.light-mode .comment-form textarea { background: #fff; border-color: #ddd; color: #111; }

/* Archive */
body.light-mode .archive-banner { background: linear-gradient(135deg, #e0e0e0 0%, #f0f0f0 100%); }
body.light-mode .sport-tabs     { border-color: #e0e0e0; }
body.light-mode .sport-tab      { color: #888; }

/* Pagination */
body.light-mode .pagination a,
body.light-mode .pagination span { background: #fff; border-color: #e0e0e0; color: #888; }

/* Video */
body.light-mode .video-card       { background: #fff; border-color: #e8e8e8; }
body.light-mode .video-card-body h3 { color: #111; }

/* Podcast section */
body.light-mode .podcast-section        { background: linear-gradient(135deg, #dde0e4 0%, #eceef0 100%); border-color: #d0d0d0; }
body.light-mode .podcast-section::before,
body.light-mode .podcast-section::after { display: none; }
body.light-mode .podcast-player         { background: #fff; border-color: #e0e0e0; }
body.light-mode .podcast-player-header  { border-color: #eee; }
body.light-mode .podcast-ep-art         { background: #f0f0f0; border-color: #e0e0e0; }
body.light-mode .podcast-placeholder-player { background: #f8f8f8; }

/* ============================================================
   PODCAST SECTION
============================================================ */
.podcast-section {
  background: linear-gradient(135deg, var(--black) 0%, #0a0a0a 50%, #111 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Decorative glow orbs */
.podcast-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 184, 124, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.podcast-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 8%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 184, 124, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.podcast-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* — Show Info (left column) — */
.podcast-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(207, 184, 124, 0.08);
  border: 1px solid rgba(207, 184, 124, 0.2);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.podcast-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

.podcast-show-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.08;
}
.podcast-show-title .gold { color: var(--gold); }

.podcast-show-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 28px;
}

.podcast-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.podcast-stat {}
.podcast-stat-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.podcast-stat-label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.podcast-subscribe {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.podcast-sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 22px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  transition: all var(--transition);
  white-space: nowrap;
}
.podcast-sub-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.sub-spotify { background: #1DB954; color: #fff; border-color: #1DB954; }
.sub-spotify:hover { background: #17a349; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(29,185,84,0.35); }

.sub-apple { background: rgba(255,255,255,0.06); color: var(--text); }
.sub-apple:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }

.sub-rss { background: transparent; color: var(--text-muted); }
.sub-rss:hover { border-color: var(--gold); color: var(--gold); }

/* — Player (right column) — */
.podcast-latest-label {
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.podcast-latest-label::before { content: ''; width: 20px; height: 1px; background: var(--border); }

.podcast-player {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.podcast-player-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}

.podcast-ep-art {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--bg-hover) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.podcast-ep-art img { width: 100%; height: 100%; object-fit: cover; }
.podcast-ep-art svg { width: 22px; height: 22px; color: var(--gold); }

.podcast-ep-number {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.podcast-ep-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 4px;
}
.podcast-ep-meta { font-size: 0.74rem; color: var(--text-muted); }

.podcast-embed iframe { width: 100%; display: block; border: none; }

.podcast-placeholder-player {
  padding: 32px 24px;
  text-align: center;
}
.podcast-mic-icon {
  width: 60px;
  height: 60px;
  background: rgba(207,184,124,0.08);
  border: 1px solid rgba(207,184,124,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--gold);
}
.podcast-mic-icon svg { width: 28px; height: 28px; }
.podcast-placeholder-player p { color: var(--text-muted); font-size: .84rem; line-height: 1.65; }
.podcast-placeholder-player strong { color: var(--gold); }

.podcast-all-eps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.podcast-all-eps:hover { color: var(--gold); background: var(--gold-glow); }
.podcast-all-eps svg { width: 14px; height: 14px; }

@media (max-width: 768px) {
  .podcast-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   ACCESSIBILITY
============================================================ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 20px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 9999;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.skip-link:focus { top: 0; }
