/*
Theme Name: SportVibe
Theme URI: https://sportvibe.com
Author: SportVibe Team
Author URI: https://sportvibe.com
Description: A modern, professional WordPress sports theme. Light mode default with dark mode toggle, horizontal responsive navigation, live scores, hero layout, standings, and more.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
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: sportvibe
Tags: sports, news, magazine, light, dark-mode, responsive, custom-menu, featured-images, custom-logo
*/

/* ============================================================
   GOOGLE FONTS
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Barlow:wght@300;400;500;600&display=swap');

/* ============================================================
   LIGHT MODE — DEFAULT
============================================================ */
:root {
  --bg:           #f4f4f8;
  --bg-alt:       #ffffff;
  --surface:      #ffffff;
  --surface2:     #f0f0f4;
  --surface3:     #e6e6ec;
  --border:       rgba(0,0,0,0.09);
  --border2:      rgba(0,0,0,0.05);

  --text:         #18182e;
  --text-sub:     #4a4a6a;
  --text-muted:   #9090b0;
  --white:        #ffffff;

  --accent:       #e8003d;
  --accent-h:     #c50034;
  --accent-light: rgba(232,0,61,0.07);
  --accent2:      #0066ff;
  --green:        #00b87a;
  --yellow:       #f59e0b;

  --shadow-sm:    0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.13);
  --shadow-glow:  0 0 28px rgba(232,0,61,0.2);

  --radius-sm:    4px;
  --radius-md:    10px;
  --radius-lg:    18px;
  --radius-pill:  999px;
  --transition:   0.22s cubic-bezier(0.4,0,0.2,1);
  --container:    1280px;
  --header-h:     68px;

  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
}

/* ============================================================
   DARK MODE
============================================================ */
[data-theme="dark"] {
  --bg:           #0d0d14;
  --bg-alt:       #111119;
  --surface:      #16161f;
  --surface2:     #1e1e2a;
  --surface3:     #26263a;
  --border:       rgba(255,255,255,0.08);
  --border2:      rgba(255,255,255,0.04);

  --text:         #eeeef6;
  --text-sub:     #a0a0c0;
  --text-muted:   #60608a;

  --accent:       #ff2255;
  --accent-h:     #ff4470;
  --accent-light: rgba(255,34,85,0.10);

  --shadow-sm:    0 1px 4px rgba(0,0,0,0.4);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.65);
  --shadow-glow:  0 0 28px rgba(255,34,85,0.25);
}

/* ============================================================
   RESET & BASE
============================================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  transition:background .3s ease,color .3s ease;
}
img,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{cursor:pointer;border:none;background:none;font-family:inherit}
input,textarea,select{font-family:inherit}

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);font-weight:800;line-height:1.1;color:var(--text)}
.display{font-family:var(--font-display);letter-spacing:.03em;text-transform:uppercase;line-height:.95}
p{color:var(--text-sub);line-height:1.7}
.text-accent{color:var(--accent)}
.text-muted{color:var(--text-muted)}
.eyebrow{font-family:var(--font-heading);font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.2em;color:var(--accent);display:block}

/* ============================================================
   LAYOUT
============================================================ */
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 clamp(1rem,4vw,2rem)}
section{padding:clamp(3rem,7vw,5rem) 0}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(1rem,2.5vw,1.75rem)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1rem,2.5vw,1.75rem)}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(1rem,2vw,1.5rem)}

/* ============================================================
   TICKER BAR
============================================================ */
.ticker-bar{
  background:var(--accent);
  height:36px;
  display:flex;
  align-items:center;
  overflow:hidden;
  position:relative;
  z-index:200;
}
.ticker-label{
  background:var(--text);
  color:#fff;
  font-family:var(--font-heading);
  font-weight:800;
  font-size:.68rem;
  text-transform:uppercase;
  letter-spacing:.15em;
  padding:0 2rem 0 1rem;
  height:100%;
  display:flex;
  align-items:center;
  white-space:nowrap;
  flex-shrink:0;
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%);
}
.ticker-track{display:flex;animation:sv-ticker 50s linear infinite;white-space:nowrap}
.ticker-track a{
  color:#fff;
  font-family:var(--font-heading);
  font-weight:600;
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.05em;
  padding:0 2.5rem;
}
.ticker-track a::before{content:'◆';margin-right:1rem;opacity:.55;font-size:.5rem;vertical-align:middle}
@keyframes sv-ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ============================================================
   SITE HEADER
============================================================ */
.site-header{
  position:sticky;
  top:0;
  z-index:999;
  height:var(--header-h);
  background:var(--surface);
  border-bottom:1px solid var(--border);
  box-shadow:var(--shadow-sm);
  transition:background .3s ease,box-shadow .3s ease;
}
.site-header.scrolled{box-shadow:var(--shadow-md)}

.header-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}

/* --- Logo --- */
.site-logo{
  display:flex;
  align-items:center;
  flex-shrink:0;
  line-height:0;
  max-width:180px;
}
.site-logo .custom-logo-link{display:flex !important;align-items:center;line-height:0}
.site-logo .custom-logo-link img.custom-logo,
.site-logo img.custom-logo,
.custom-logo-link img.custom-logo{
  max-height:44px !important;
  max-width:160px !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
  display:block !important;
}
.logo-icon{
  width:36px;height:36px;
  background:var(--accent);
  border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-size:1.3rem;color:#fff;
  flex-shrink:0;
}
.logo-text{font-family:var(--font-display);font-size:1.5rem;color:var(--text);letter-spacing:.04em;margin-left:.5rem}
.logo-text span{color:var(--accent)}

/* --- PRIMARY NAV  (HORIZONTAL) --- */
.primary-nav{
  display:flex;           /* shown by default on desktop */
  align-items:center;
  flex:1;
  justify-content:center;
}

/* WordPress wraps nav items in a <ul> */
.primary-nav ul{
  display:flex;
  align-items:center;
  list-style:none;
  margin:0;padding:0;
  gap:0;
}

.primary-nav li{position:relative}

.primary-nav > ul > li > a{
  display:flex;
  align-items:center;
  height:var(--header-h);
  padding:0 .9rem;
  font-family:var(--font-heading);
  font-weight:700;
  font-size:.88rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--text-sub);
  white-space:nowrap;
  transition:color var(--transition);
  position:relative;
}
.primary-nav > ul > li > a::after{
  content:'';
  position:absolute;
  bottom:0;left:.9rem;right:.9rem;
  height:2px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform var(--transition);
  border-radius:2px;
}
.primary-nav > ul > li > a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a{color:var(--accent)}
.primary-nav > ul > li > a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after{transform:scaleX(1)}

/* Dropdown */
.primary-nav ul ul{
  position:absolute;
  top:100%;left:0;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg);
  min-width:200px;
  flex-direction:column;
  opacity:0;pointer-events:none;
  transform:translateY(8px);
  transition:opacity var(--transition),transform var(--transition);
  z-index:100;
  padding:.4rem 0;
}
.primary-nav li:hover > ul,
.primary-nav li:focus-within > ul{opacity:1;pointer-events:all;transform:translateY(0)}
.primary-nav ul ul a{
  height:auto;
  padding:.6rem 1.25rem;
  font-size:.82rem;
  border-bottom:1px solid var(--border2);
  display:block;
  color:var(--text-sub);
  transition:color var(--transition),background var(--transition);
}
.primary-nav ul ul li:last-child a{border-bottom:none}
.primary-nav ul ul a:hover{color:var(--accent);background:var(--accent-light)}
.primary-nav ul ul a::after{display:none !important}

/* --- Header Actions --- */
.header-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}

.btn-icon{
  width:38px;height:38px;
  border-radius:50%;
  background:var(--surface2);
  border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  color:var(--text-sub);
  transition:var(--transition);
  flex-shrink:0;
}
.btn-icon:hover{background:var(--surface3);color:var(--accent);border-color:var(--accent)}

/* Dark mode toggle */
.btn-theme{
  width:38px;height:38px;
  border-radius:50%;
  background:var(--surface2);
  border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;
  color:var(--text-sub);
  transition:var(--transition);
  flex-shrink:0;
  cursor:pointer;
}
.btn-theme:hover{background:var(--surface3);color:var(--accent);border-color:var(--accent)}
.icon-sun{display:block}
.icon-moon{display:none}
[data-theme="dark"] .icon-sun{display:none}
[data-theme="dark"] .icon-moon{display:block}

.btn-subscribe{
  background:var(--accent);
  color:#fff;
  font-family:var(--font-heading);
  font-weight:800;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.1em;
  padding:.55rem 1.25rem;
  border-radius:var(--radius-pill);
  transition:var(--transition);
  white-space:nowrap;
  display:inline-block;
}
.btn-subscribe:hover{background:var(--accent-h);box-shadow:var(--shadow-glow);transform:translateY(-1px)}

/* --- Hamburger (mobile only) --- */
.btn-hamburger{
  display:none;       /* hidden on desktop */
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:38px;height:38px;
  border-radius:8px;
  background:var(--surface2);
  border:1px solid var(--border);
  padding:0 9px;
  flex-shrink:0;
  cursor:pointer;
}
.btn-hamburger span{display:block;height:2px;background:var(--text);border-radius:2px;transition:var(--transition);width:100%}
.btn-hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.btn-hamburger.active span:nth-child(2){opacity:0;transform:scaleX(0)}
.btn-hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* --- Mobile Drawer --- */
.mobile-drawer{
  display:none;
  position:fixed;inset:0;z-index:9998;
}
.mobile-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.5);backdrop-filter:blur(4px)}
.mobile-panel{
  position:absolute;top:0;right:0;bottom:0;
  width:min(300px,85vw);
  background:var(--surface);
  box-shadow:var(--shadow-lg);
  display:flex;flex-direction:column;
  transform:translateX(100%);
  transition:transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y:auto;
}
.mobile-drawer.active{display:block}
.mobile-drawer.active .mobile-panel{transform:translateX(0)}

.mobile-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:1rem 1.25rem;
  border-bottom:1px solid var(--border);
}
.mobile-close{
  width:34px;height:34px;border-radius:50%;
  background:var(--surface2);border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;color:var(--text-sub);cursor:pointer;
  transition:var(--transition);
}
.mobile-close:hover{background:var(--accent);color:#fff;border-color:var(--accent)}

.mobile-links{flex:1;padding:.5rem 0}
.mobile-links a{
  display:block;
  padding:.8rem 1.25rem;
  font-family:var(--font-heading);
  font-weight:700;font-size:.95rem;
  text-transform:uppercase;letter-spacing:.08em;
  color:var(--text-sub);
  border-bottom:1px solid var(--border2);
  transition:var(--transition);
}
.mobile-links a:hover{color:var(--accent);background:var(--accent-light);padding-left:1.75rem}

/* ============================================================
   SEARCH OVERLAY
============================================================ */
.search-overlay{
  position:fixed;inset:0;
  background:rgba(0,0,0,.65);
  backdrop-filter:blur(14px);
  z-index:10000;
  display:flex;align-items:center;justify-content:center;
  opacity:0;pointer-events:none;
  transition:opacity .3s ease;
}
.search-overlay.active{opacity:1;pointer-events:all}
.search-box{
  background:var(--surface);
  border-radius:var(--radius-lg);
  padding:2rem 2.5rem;
  width:min(620px,92vw);
  box-shadow:var(--shadow-lg);
  border:1px solid var(--border);
}
.search-box label{
  display:block;
  font-family:var(--font-heading);font-size:.7rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.2em;color:var(--accent);
  margin-bottom:1rem;
}
.search-box form{display:flex;gap:.75rem}
.search-box input[type="search"],.search-box input[type="text"]{
  flex:1;
  background:var(--surface2);border:1px solid var(--border);
  border-radius:var(--radius-pill);
  padding:.75rem 1.5rem;
  color:var(--text);font-size:1rem;outline:none;
  transition:border-color var(--transition);
}
.search-box input:focus{border-color:var(--accent)}
.search-box input::placeholder{color:var(--text-muted)}
.search-box button{
  background:var(--accent);color:#fff;
  border-radius:var(--radius-pill);
  padding:.75rem 1.5rem;
  font-family:var(--font-heading);font-weight:700;font-size:.82rem;
  text-transform:uppercase;letter-spacing:.1em;
  transition:var(--transition);
}
.search-box button:hover{background:var(--accent-h)}
.search-close-btn{
  position:absolute;top:1.5rem;right:1.5rem;
  width:42px;height:42px;
  background:var(--surface);border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem;color:var(--text-sub);cursor:pointer;
  border:1px solid var(--border);transition:var(--transition);
}
.search-close-btn:hover{background:var(--accent);color:#fff;border-color:var(--accent)}

/* ============================================================
   BADGES & TAGS
============================================================ */
.cat-badge{
  display:inline-block;
  background:var(--accent);color:#fff;
  font-family:var(--font-heading);font-weight:800;font-size:.62rem;
  text-transform:uppercase;letter-spacing:.14em;
  padding:.22rem .65rem;border-radius:var(--radius-pill);
}
.cat-badge.blue{background:var(--accent2)}
.cat-badge.green{background:var(--green)}
.cat-badge.yellow{background:var(--yellow);color:#1a1a2e}
.cat-badge.outline{background:transparent;color:var(--accent);border:1px solid var(--accent)}

/* ============================================================
   SECTION HEADER
============================================================ */
.section-header{
  display:flex;align-items:flex-end;justify-content:space-between;
  margin-bottom:2rem;padding-bottom:1rem;
  border-bottom:2px solid var(--border);
  position:relative;
}
.section-header::after{
  content:'';position:absolute;bottom:-2px;left:0;
  width:50px;height:2px;background:var(--accent);border-radius:2px;
}
.section-label{display:flex;flex-direction:column;gap:.2rem}
.section-title{
  font-family:var(--font-display);
  font-size:clamp(1.6rem,3.5vw,2.4rem);
  color:var(--text);text-transform:uppercase;line-height:1;
}
.see-all{
  font-family:var(--font-heading);font-weight:700;font-size:.78rem;
  text-transform:uppercase;letter-spacing:.12em;
  color:var(--accent);display:flex;align-items:center;gap:.3rem;
  transition:gap var(--transition);white-space:nowrap;
}
.see-all:hover{gap:.6rem}
.see-all::after{content:'→'}

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section{padding-top:2rem;padding-bottom:0}
.hero-wrap{
  display:grid;
  grid-template-columns:1fr 360px;
  grid-template-rows:auto auto;
  gap:2px;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-lg);
}
.hero-main{
  grid-row:1/3;
  position:relative;overflow:hidden;
  min-height:520px;
  background:var(--surface2);cursor:pointer;
}
.hero-main:hover .hero-img{transform:scale(1.04)}
.hero-img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;
  transition:transform .7s cubic-bezier(.4,0,.2,1);
}
.hero-bg-placeholder{
  position:absolute;inset:0;
  background:linear-gradient(135deg,#1a2a4a 0%,#2d3a5a 100%);
}
.hero-gradient{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.9) 0%,rgba(0,0,0,.35) 50%,rgba(0,0,0,.05) 100%);
}
.hero-content{position:absolute;bottom:0;left:0;right:0;padding:2rem 2.5rem}
.hero-main .hero-title{
  font-family:var(--font-heading);font-weight:800;
  font-size:clamp(1.5rem,2.8vw,2.3rem);
  color:#fff;line-height:1.1;margin:.6rem 0 .75rem;
}
.hero-meta{
  display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;
  font-family:var(--font-heading);font-size:.75rem;
  color:rgba(255,255,255,.55);letter-spacing:.04em;
}
.hero-side{
  position:relative;overflow:hidden;
  background:var(--surface2);min-height:255px;cursor:pointer;
}
.hero-side:hover .hero-img{transform:scale(1.06)}
.hero-side .hero-gradient{
  background:linear-gradient(to top,rgba(0,0,0,.92) 0%,rgba(0,0,0,.2) 60%,transparent 100%);
}
.hero-side .hero-content{padding:1.25rem 1.5rem}
.hero-side .hero-title{
  font-family:var(--font-heading);font-weight:800;
  font-size:clamp(.9rem,1.4vw,1.1rem);
  color:#fff;line-height:1.25;margin:.35rem 0 .35rem;
}

/* ============================================================
   LIVE SCORES STRIP
============================================================ */
.scores-strip{
  background:var(--surface);
  border-top:1px solid var(--border);
  border-bottom:3px solid var(--accent);
  overflow:hidden;
}
.scores-inner{
  display:flex;overflow-x:auto;
  scrollbar-width:none;
}
.scores-inner::-webkit-scrollbar{display:none}
.score-card{
  flex:0 0 auto;
  padding:.75rem 1.25rem;
  border-right:1px solid var(--border);
  display:flex;align-items:center;gap:1rem;
  min-width:200px;cursor:pointer;
  transition:background var(--transition);
}
.score-card:hover{background:var(--surface2)}
.score-league{
  font-family:var(--font-heading);font-size:.6rem;font-weight:800;
  text-transform:uppercase;letter-spacing:.12em;color:var(--accent);
  margin-bottom:.15rem;
}
.score-teams{display:flex;flex-direction:column;gap:.2rem;flex:1}
.score-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.score-name{font-family:var(--font-heading);font-weight:700;font-size:.8rem;color:var(--text)}
.score-num{font-family:var(--font-display);font-size:1rem;color:var(--text);min-width:18px;text-align:right}
.score-status{
  font-family:var(--font-heading);font-weight:800;font-size:.58rem;
  text-transform:uppercase;letter-spacing:.1em;
  background:var(--accent);color:#fff;
  padding:.18rem .45rem;border-radius:3px;white-space:nowrap;
  animation:live-blink 2s infinite;
}
.score-status.final{background:var(--surface2);color:var(--text-muted);animation:none}
@keyframes live-blink{0%,100%{opacity:1}50%{opacity:.45}}

/* ============================================================
   POST CARDS
============================================================ */
.post-card{
  background:var(--surface);
  border-radius:var(--radius-md);
  overflow:hidden;
  border:1px solid var(--border);
  display:flex;flex-direction:column;
  transition:transform var(--transition),box-shadow var(--transition),border-color var(--transition);
}
.post-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--accent)}
.post-card-thumb{
  display:block;position:relative;overflow:hidden;
  aspect-ratio:16/9;background:var(--surface2);
}
.post-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease}
.post-card:hover .post-card-thumb img{transform:scale(1.04)}
.thumb-placeholder{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  font-size:2.5rem;background:var(--surface2);opacity:.6;
}
.post-card-body{
  padding:1.1rem 1.25rem 1.25rem;
  flex:1;display:flex;flex-direction:column;gap:.55rem;
}
.post-card-body h3{font-size:clamp(.9rem,1.4vw,1.04rem);line-height:1.35;transition:color var(--transition)}
.post-card:hover .post-card-body h3{color:var(--accent)}
.post-meta{
  display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-top:auto;
}
.post-meta span{
  font-family:var(--font-heading);font-size:.72rem;
  color:var(--text-muted);letter-spacing:.04em;
}
.post-meta .sep{opacity:.35}

/* Horizontal card */
.post-card-h{
  display:flex;align-items:center;gap:1rem;
  background:var(--surface);
  border-radius:var(--radius-md);border:1px solid var(--border);
  padding:.9rem;
  transition:border-color var(--transition),transform var(--transition);
  margin-bottom:.75rem;
}
.post-card-h:last-child{margin-bottom:0}
.post-card-h:hover{border-color:var(--accent);transform:translateX(4px)}
.post-card-h .h-thumb{flex:0 0 85px;height:64px;border-radius:6px;overflow:hidden;background:var(--surface2)}
.post-card-h .h-thumb img{width:100%;height:100%;object-fit:cover}
.post-card-h .h-info{flex:1;display:flex;flex-direction:column;gap:.3rem}
.post-card-h .h-info h4{font-size:.88rem;line-height:1.3;transition:color var(--transition)}
.post-card-h:hover .h-info h4{color:var(--accent)}

/* ============================================================
   STANDINGS TABLE
============================================================ */
.standings-wrap{background:var(--surface);border-radius:var(--radius-md);border:1px solid var(--border);overflow:hidden}
.standings-table{width:100%;border-collapse:collapse;font-family:var(--font-heading)}
.standings-table thead th{
  padding:.7rem .6rem;font-size:.62rem;text-transform:uppercase;
  letter-spacing:.15em;color:var(--text-muted);font-weight:700;
  text-align:left;border-bottom:1px solid var(--border);background:var(--surface2);
}
.standings-table td{
  padding:.7rem .6rem;font-size:.84rem;color:var(--text);
  border-bottom:1px solid var(--border2);
}
.standings-table tr:last-child td{border-bottom:none}
.standings-table tbody tr:hover td{background:var(--surface2)}
.rank-num{font-family:var(--font-display);font-size:1rem;color:var(--text-muted);width:28px}
tr.rank-1 .rank-num{color:var(--accent)}
tr.rank-2 .rank-num{color:var(--text)}
tr.rank-3 .rank-num{color:#cd7f32}
.team-cell{display:flex;align-items:center;gap:.6rem}
.team-badge{
  width:24px;height:24px;border-radius:4px;
  background:var(--surface2);border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  font-size:.55rem;font-weight:900;color:var(--accent);flex-shrink:0;
}
.form-pills{display:flex;gap:2px}
.form-pill{
  width:17px;height:17px;border-radius:3px;
  font-size:.58rem;font-weight:800;
  display:flex;align-items:center;justify-content:center;
}
.form-pill.w{background:rgba(0,184,122,.15);color:var(--green)}
.form-pill.d{background:rgba(245,158,11,.15);color:var(--yellow)}
.form-pill.l{background:rgba(232,0,61,.12);color:var(--accent)}

/* ============================================================
   VIDEO CARDS
============================================================ */
.video-card{
  position:relative;border-radius:var(--radius-md);overflow:hidden;
  aspect-ratio:16/9;background:var(--surface2);cursor:pointer;display:block;
}
.video-card img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease}
.video-card:hover img{transform:scale(1.04)}
.video-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,.1) 60%,transparent 100%)}
.play-btn{
  position:absolute;top:50%;left:50%;
  transform:translate(-50%,-50%);
  width:54px;height:54px;
  background:rgba(255,255,255,.18);
  backdrop-filter:blur(8px);
  border-radius:50%;border:2px solid rgba(255,255,255,.4);
  display:flex;align-items:center;justify-content:center;
  transition:transform .3s ease,background .3s ease;
}
.video-card:hover .play-btn{transform:translate(-50%,-50%) scale(1.12);background:var(--accent);border-color:var(--accent)}
.play-btn::after{
  content:'';width:0;height:0;
  border-style:solid;border-width:9px 0 9px 17px;
  border-color:transparent transparent transparent #fff;
  margin-left:3px;
}
.video-card .v-meta{position:absolute;bottom:1rem;left:1rem;right:1rem}
.video-card .v-meta h3{font-size:.95rem;color:#fff;margin-top:.4rem;line-height:1.3}

/* ============================================================
   SPOTLIGHT / ATHLETE
============================================================ */
.spotlight-section{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.spotlight-grid{display:grid;grid-template-columns:1fr 1fr;min-height:440px}
.spotlight-img{position:relative;overflow:hidden;background:var(--surface2)}
.spotlight-img img{width:100%;height:100%;object-fit:cover}
.bg-number{
  position:absolute;bottom:-20px;right:-10px;
  font-family:var(--font-display);font-size:11rem;line-height:1;
  color:rgba(0,0,0,.05);user-select:none;pointer-events:none;
}
[data-theme="dark"] .bg-number{color:rgba(255,255,255,.04)}
.spotlight-info{
  padding:clamp(2rem,5vw,3.5rem);
  display:flex;flex-direction:column;justify-content:center;gap:1.25rem;
}
.athlete-name{
  font-family:var(--font-display);
  font-size:clamp(2.5rem,5.5vw,4.5rem);
  line-height:.92;color:var(--text);text-transform:uppercase;
}
.athlete-name span{color:var(--accent);display:block}
.stats-row{display:flex;gap:1.5rem;padding:1.25rem 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.stat-box{flex:1}
.stat-val{font-family:var(--font-display);font-size:1.9rem;color:var(--accent);line-height:1}
.stat-lbl{font-family:var(--font-heading);font-size:.62rem;text-transform:uppercase;letter-spacing:.15em;color:var(--text-muted);margin-top:.15rem}

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary{
  display:inline-flex;align-items:center;gap:.4rem;
  background:var(--accent);color:#fff;
  font-family:var(--font-heading);font-weight:800;font-size:.82rem;
  text-transform:uppercase;letter-spacing:.1em;
  padding:.75rem 1.75rem;border-radius:var(--radius-pill);
  transition:var(--transition);cursor:pointer;border:none;
}
.btn-primary:hover{background:var(--accent-h);box-shadow:var(--shadow-glow);transform:translateY(-1px)}
.btn-outline{
  display:inline-flex;align-items:center;gap:.4rem;
  background:transparent;color:var(--accent);
  font-family:var(--font-heading);font-weight:800;font-size:.82rem;
  text-transform:uppercase;letter-spacing:.1em;
  padding:.72rem 1.75rem;border-radius:var(--radius-pill);
  border:2px solid var(--accent);transition:var(--transition);cursor:pointer;
}
.btn-outline:hover{background:var(--accent);color:#fff}

/* ============================================================
   NEWSLETTER
============================================================ */
.newsletter-band{
  background:var(--accent);
  padding:clamp(2.5rem,6vw,4rem) 0;
  position:relative;overflow:hidden;
}
.newsletter-band::before{
  content:'SPORT';
  position:absolute;right:-1rem;top:50%;transform:translateY(-50%);
  font-family:var(--font-display);font-size:14rem;
  color:rgba(255,255,255,.06);line-height:1;user-select:none;pointer-events:none;
}
.newsletter-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:2rem;flex-wrap:wrap;
}
.newsletter-text h2{
  font-family:var(--font-display);font-size:clamp(1.8rem,4vw,3rem);
  color:#fff;text-transform:uppercase;line-height:1;margin-bottom:.4rem;
}
.newsletter-text p{color:rgba(255,255,255,.75)}
.newsletter-form-inner{display:flex;gap:.75rem;flex-wrap:wrap}
.newsletter-form-inner input[type="email"]{
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.3);
  border-radius:var(--radius-pill);
  padding:.75rem 1.5rem;color:#fff;
  font-size:.9rem;outline:none;
  min-width:240px;transition:border-color var(--transition);
}
.newsletter-form-inner input::placeholder{color:rgba(255,255,255,.6)}
.newsletter-form-inner input:focus{border-color:#fff}
.newsletter-form-inner button{
  background:#fff;color:var(--accent);
  font-family:var(--font-heading);font-weight:800;font-size:.82rem;
  text-transform:uppercase;letter-spacing:.1em;
  padding:.75rem 1.75rem;border-radius:var(--radius-pill);
  border:none;cursor:pointer;transition:var(--transition);white-space:nowrap;
}
.newsletter-form-inner button:hover{background:var(--text);color:#fff}

/* ============================================================
   WIDGETS / SIDEBAR
============================================================ */
.widget{
  background:var(--surface);border-radius:var(--radius-md);
  padding:1.25rem;border:1px solid var(--border);margin-bottom:1.5rem;
}
.widget-title{
  font-family:var(--font-display);font-size:1.15rem;text-transform:uppercase;
  letter-spacing:.04em;padding-bottom:.75rem;margin-bottom:1rem;
  border-bottom:2px solid var(--border);position:relative;color:var(--text);
}
.widget-title::after{content:'';position:absolute;bottom:-2px;left:0;width:36px;height:2px;background:var(--accent)}

/* ============================================================
   PAGE LAYOUT
============================================================ */
.content-sidebar-wrap{display:grid;grid-template-columns:1fr 300px;gap:2.5rem;align-items:start}

/* ============================================================
   FOOTER
============================================================ */
.site-footer{background:var(--surface);border-top:3px solid var(--accent);padding-top:4rem}
.footer-grid{
  display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:2.5rem;padding-bottom:3rem;border-bottom:1px solid var(--border);
}
.footer-brand-p{color:var(--text-sub);font-size:.88rem;margin:.75rem 0 1.25rem;line-height:1.7}
.social-row{display:flex;gap:.5rem}
.social-btn{
  width:34px;height:34px;border-radius:8px;
  background:var(--surface2);border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-heading);font-weight:800;font-size:.65rem;
  color:var(--text-muted);transition:var(--transition);
}
.social-btn:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.footer-col-title{
  font-family:var(--font-heading);font-weight:800;font-size:.78rem;
  text-transform:uppercase;letter-spacing:.15em;color:var(--text);margin-bottom:1.1rem;
}
.footer-col ul{display:flex;flex-direction:column;gap:.5rem}
.footer-col a{font-size:.88rem;color:var(--text-sub);transition:color var(--transition)}
.footer-col a:hover{color:var(--accent)}
.footer-bottom{
  display:flex;align-items:center;justify-content:space-between;
  padding:1.5rem 0;gap:1rem;flex-wrap:wrap;
}
.footer-bottom p{font-size:.8rem;color:var(--text-muted)}
.footer-bottom a{color:var(--accent)}

/* ============================================================
   PAGINATION
============================================================ */
.pagination{
  display:flex;align-items:center;gap:.4rem;
  justify-content:center;padding:2.5rem 0;flex-wrap:wrap;
}
.page-numbers{
  width:40px;height:40px;border-radius:var(--radius-sm);
  background:var(--surface);border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-heading);font-weight:700;font-size:.85rem;
  color:var(--text-sub);transition:var(--transition);
}
.page-numbers:hover,.page-numbers.current{background:var(--accent);color:#fff;border-color:var(--accent)}

/* ============================================================
   SINGLE POST
============================================================ */
.post-page-header{background:var(--surface);border-bottom:1px solid var(--border);padding:2.5rem 0 2rem}
.breadcrumb{
  display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;
  font-family:var(--font-heading);font-size:.72rem;
  text-transform:uppercase;letter-spacing:.1em;color:var(--text-muted);margin-bottom:1.25rem;
}
.breadcrumb a{color:var(--text-muted);transition:color var(--transition)}
.breadcrumb a:hover{color:var(--accent)}
.breadcrumb .current{color:var(--accent)}
.post-main-title{font-size:clamp(1.8rem,4.5vw,3rem);line-height:1.08;color:var(--text);margin:.75rem 0 1rem}
.post-excerpt-lead{font-size:1.1rem;color:var(--text-sub);line-height:1.7;max-width:680px}
.author-bar{
  display:flex;align-items:center;gap:1.5rem;
  margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border);flex-wrap:wrap;
}
.author-info{display:flex;align-items:center;gap:.75rem}
.author-avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;border:2px solid var(--border);flex-shrink:0}
.author-avatar img{width:100%;height:100%;object-fit:cover}
.author-name{font-family:var(--font-heading);font-weight:700;font-size:.88rem;color:var(--text)}
.author-date{font-size:.72rem;color:var(--text-muted)}
.post-hero-img{width:100%;aspect-ratio:21/8;object-fit:cover;border-radius:var(--radius-md);margin:2rem 0}
.entry-content p{margin-bottom:1.5rem;font-size:1.05rem;line-height:1.8;color:var(--text-sub)}
.entry-content h2{font-size:1.6rem;margin:2.5rem 0 1rem}
.entry-content h3{font-size:1.3rem;margin:2rem 0 .75rem}
.entry-content blockquote{
  border-left:3px solid var(--accent);
  padding:1rem 1.5rem;
  background:var(--accent-light);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;margin:2rem 0;
}
.entry-content blockquote p{font-family:var(--font-heading);font-size:1.15rem;font-style:italic;color:var(--text);margin:0}

/* ============================================================
   WP ALIGNMENTS
============================================================ */
.alignleft{float:left;margin:0 1.5rem 1rem 0}
.alignright{float:right;margin:0 0 1rem 1.5rem}
.aligncenter{text-align:center;margin:0 auto}
.wp-caption-text{font-size:.8rem;color:var(--text-muted);margin-top:.4rem}

/* ============================================================
   SCROLL REVEAL
============================================================ */
.sv-reveal{opacity:0;transform:translateY(22px);transition:opacity .5s ease,transform .5s ease}
.sv-reveal.visible{opacity:1;transform:translateY(0)}

/* Scrollbar */
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:var(--surface3);border-radius:3px}
::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}

/* ============================================================
   RESPONSIVE — TABLET ≤1100px
============================================================ */
@media(max-width:1100px){
  .hero-wrap{grid-template-columns:1fr}
  .hero-main{grid-row:auto;min-height:420px}
  .hero-side{min-height:220px}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .spotlight-grid{grid-template-columns:1fr}
  .spotlight-img{min-height:280px}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .content-sidebar-wrap{grid-template-columns:1fr}
  .newsletter-inner{flex-direction:column;align-items:flex-start}
  /* Tighten nav on tablet */
  .primary-nav > ul > li > a{padding:0 .6rem;font-size:.82rem}
}

/* ============================================================
   RESPONSIVE — MOBILE ≤768px
============================================================ */
@media(max-width:768px){
  /* HIDE desktop nav, SHOW hamburger */
  .primary-nav{display:none !important}
  .btn-hamburger{display:flex !important}
  .btn-subscribe{display:none}

  /* Grids → single column */
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}

  /* Hero */
  .hero-main{min-height:300px}
  .hero-side{min-height:190px}
  .hero-main .hero-title{font-size:1.35rem}
  .hero-content{padding:1.25rem}

  /* Scores */
  .score-card{min-width:170px;padding:.6rem 1rem}

  /* Newsletter */
  .newsletter-text h2{font-size:1.5rem}
  .newsletter-form-inner{flex-direction:column}
  .newsletter-form-inner input[type="email"]{min-width:0;width:100%}
  .newsletter-form-inner button{width:100%}

  /* Footer */
  .footer-grid{grid-template-columns:1fr;gap:2rem}
  .footer-bottom{flex-direction:column;text-align:center}

  /* Section header */
  .section-header{flex-direction:column;align-items:flex-start;gap:.75rem}
  .section-header::after{display:none}

  /* Stats */
  .stats-row{gap:.75rem}
  .stat-val{font-size:1.5rem}
}

/* ============================================================
   RESPONSIVE — SMALL ≤480px
============================================================ */
@media(max-width:480px){
  .hero-main{min-height:240px}
  .hero-main .hero-title{font-size:1.1rem}
  .score-card{min-width:150px}
  /* Hide less important standings columns */
  .standings-table th:nth-child(n+5),
  .standings-table td:nth-child(n+5){display:none}
}
