/* =============================================================
   SPZ Sports — Main Stylesheet
   ESPN news style + Flashscore score/table layout
   ============================================================= */

/* --- Variables --- */
:root {
  --spz-navy:        #080d16;
  --spz-navy-mid:    #0f1623;
  --spz-navy-light:  #162035;
  --spz-red:         #e53935;
  --spz-red-hover:   #c62828;
  --spz-gold:        #f5a623;
  --spz-live:        #00c853;
  --spz-live-bg:     #0a1f0a;
  --spz-upcoming:    #4fc3f7;
  --spz-finished:    #9e9e9e;
  --spz-postponed:   #ffb300;
  --spz-bg:          #0c1018;
  --spz-card:        #131923;
  --spz-border:      #222d3d;
  --spz-text:        #e2e8f0;
  --spz-text-mid:    #a8b4c2;
  --spz-text-light:  #6b7a8d;
  --spz-radius:      6px;
  --spz-shadow:      0 2px 8px rgba(0,0,0,.4);
  --spz-shadow-lg:   0 4px 20px rgba(0,0,0,.6);
  --container-max:   1280px;
  --font-main:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-main); font-size: 15px; color: var(--spz-text); background: var(--spz-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--spz-red); }
img { max-width: 100%; height: auto; display: block; image-rendering: -webkit-optimize-contrast; image-rendering: auto; }

ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
table { width: 100%; }

/* --- Layout --- */
.spz-container { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }

.spz-content-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  padding: 24px 0;
}
.spz-content-area { min-width: 0; }

/* --- Section Titles --- */
.spz-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--spz-text);
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 3px solid var(--spz-red);
  display: flex;
  align-items: center;
  gap: 8px;
}
.spz-section-title i { color: var(--spz-red); }
.spz-section-title a { font-size: 13px; font-weight: 500; color: var(--spz-red); margin-left: auto; }

/* --- Cards --- */
.spz-card {
  background: var(--spz-card);
  border-radius: var(--spz-radius);
  box-shadow: var(--spz-shadow);
  overflow: hidden;
}

/* --- Buttons --- */
.spz-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--spz-radius);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.spz-btn-primary { background: var(--spz-red); color: #fff; }
.spz-btn-primary:hover { background: var(--spz-red-hover); color: #fff; }
.spz-btn-outline { background: transparent; color: var(--spz-red); border: 1.5px solid var(--spz-red); }
.spz-btn-outline:hover { background: var(--spz-red); color: #fff; }
.spz-btn-navy { background: var(--spz-navy); color: #fff; }
.spz-btn-navy:hover { background: var(--spz-navy-mid); color: #fff; }
.spz-btn-sm { padding: 5px 12px; font-size: 12px; }

/* =============================================================
   TOP BAR
   ============================================================= */
.spz-topbar {
  background: var(--spz-navy);
  color: #aab4c0;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-right { display: flex; gap: 16px; }
.topbar-right a { color: #aab4c0; transition: color .2s; }
.topbar-right a:hover { color: #fff; }
.text-live { color: var(--spz-live); animation: blink 1.2s step-start infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* =============================================================
   HEADER
   ============================================================= */
.spz-header {
  background: var(--spz-navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

/* Logo */
.spz-logo a,
.spz-logo .custom-logo-link {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}
.spz-logo .logo-text {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}
.spz-logo .logo-sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--spz-red);
  letter-spacing: 2px;
  text-transform: uppercase;
}
/* Custom logo image — no crop, contain inside fixed height */
.spz-logo img,
.spz-logo .custom-logo {
  height: 64px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: center;
  display: block;
  flex-shrink: 0;
}

/* Nav */
.spz-nav { flex: 1; }
.nav-menu { display: flex; gap: 2px; }
.nav-menu li a {
  display: block;
  color: #d0dae6;
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .4px;
  transition: background .2s, color .2s;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item > a,
.nav-menu li.current-page-ancestor > a { background: rgba(255,255,255,.1); color: #fff; }
.nav-menu li a.live-link { color: var(--spz-live); }

/* Dropdown */
.nav-menu li { position: relative; }
.nav-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--spz-navy-mid);
  min-width: 180px;
  border-radius: 0 0 var(--spz-radius) var(--spz-radius);
  box-shadow: var(--spz-shadow-lg);
  z-index: 999;
}
.nav-menu li:hover > ul { display: block; }
.nav-menu li ul li a { font-size: 13px; padding: 9px 16px; border-radius: 0; text-transform: none; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; }
.search-toggle, .mobile-menu-toggle {
  color: #d0dae6;
  font-size: 18px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.search-toggle:hover, .mobile-menu-toggle:hover { background: rgba(255,255,255,.1); color: #fff; }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; width: 38px; height: 38px; justify-content: center; align-items: center; }
.mobile-menu-toggle span { display: block; width: 22px; height: 2px; background: #d0dae6; border-radius: 2px; transition: .3s; }

/* Search bar */
.spz-search-bar {
  background: var(--spz-navy-mid);
  padding: 12px 0;
  display: none;
  border-top: 1px solid rgba(255,255,255,.1);
}
.spz-search-bar.active { display: block; }
.spz-search-bar form { display: flex; gap: 0; }
.spz-search-bar input {
  flex: 1;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-right: none;
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: var(--spz-radius) 0 0 var(--spz-radius);
  outline: none;
}
.spz-search-bar input::placeholder { color: rgba(255,255,255,.5); }
.spz-search-bar button[type="submit"] {
  background: var(--spz-red);
  color: #fff;
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 0 var(--spz-radius) var(--spz-radius) 0;
}
.spz-search-bar .search-close {
  background: rgba(255,255,255,.1);
  color: #aaa;
  padding: 10px 14px;
  margin-left: 8px;
  border-radius: var(--spz-radius);
}

/* Mobile nav overlay — full-screen backdrop + slide-in panel */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2000;
  backdrop-filter: blur(2px);
}
.mobile-nav-overlay.active { display: block; }

.mobile-nav-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 88vw);
  height: 100%;
  background: var(--spz-navy-mid);
  border-left: 1px solid rgba(255,255,255,.08);
  overflow-y: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,.5);
}

.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  background: none;
  border-top: none;
  border-right: none;
  border-left: none;
  width: 100%;
  text-align: left;
}
.mobile-nav-close::before {
  content: 'Menu';
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: .5px;
  text-transform: uppercase;
}

.mobile-menu {
  padding: 8px 0 24px;
  flex: 1;
}
.mobile-menu li a {
  display: block;
  color: #d0dae6;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .15s, color .15s;
}
.mobile-menu li a:hover,
.mobile-menu li.current-menu-item > a {
  color: var(--spz-red);
  background: rgba(229,57,53,.06);
}

/* =============================================================
   LIVE TICKER (Flashscore-style)
   ============================================================= */
.spz-live-ticker {
  background: var(--spz-navy-mid);
  border-bottom: 2px solid var(--spz-red);
  overflow: hidden;
}
.ticker-container { display: flex; align-items: stretch; height: 38px; overflow: hidden; }
.ticker-label {
  background: var(--spz-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.ticker-label .pulse { color: #fff; font-size: 8px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.5);opacity:.6} }
.ticker-track {
  flex: 1;
  overflow: hidden;
  clip-path: inset(0);
  position: relative;
  display: flex;
  align-items: center;
}
.ticker-inner {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c8d5e3;
  font-size: 12.5px;
  padding: 0 24px;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.08);
  height: 38px;
}
.ticker-item strong { color: #fff; font-size: 14px; font-weight: 700; }
.ticker-minute { color: var(--spz-live); font-weight: 600; font-size: 11px; }
.ticker-no-live { color: rgba(255,255,255,.4); font-style: italic; }
.ticker-all {
  background: rgba(255,255,255,.06);
  color: #aab4c0;
  font-size: 12px;
  font-weight: 600;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background .2s, color .2s;
  position: relative;
  z-index: 2;
}
.ticker-all:hover { background: rgba(255,255,255,.12); color: #fff; }

/* =============================================================
   STATUS BADGES
   ============================================================= */
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.status-live     { background: var(--spz-live); color: #fff; animation: blink 1.5s step-start infinite; }
.status-upcoming { background: #0d2340; color: var(--spz-upcoming); }
.status-finished { background: #1e2530; color: var(--spz-finished); }
.status-postponed{ background: #2a1f00; color: var(--spz-postponed); }

/* =============================================================
   HOMEPAGE HERO
   ============================================================= */
.spz-hero { background: var(--spz-navy); padding: 32px 0 28px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  align-items: stretch; /* both columns same height */
}

/* Featured article card */
.hero-featured {
  position: relative;
  border-radius: var(--spz-radius);
  overflow: hidden;
  background-color: var(--spz-navy-mid);
  background-size: cover;
  background-position: center;
  min-height: 340px;
}
/* Smooth zoom on hover */
.hero-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
  z-index: 0;
}
.hero-featured:hover::before { transform: scale(1.04); }

.hero-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,.92) 0%,
    rgba(0,0,0,.55) 40%,
    rgba(0,0,0,.15) 70%,
    transparent 100%
  );
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 1;
}
.hero-featured-cat {
  display: inline-block; background: var(--spz-red); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 3px; margin-bottom: 10px; width: fit-content;
}
.hero-featured-title { color: #fff; font-size: 22px; font-weight: 800; line-height: 1.35; margin: 0 0 8px; }
.hero-featured-title a { color: #fff; }
.hero-featured-title a:hover { color: var(--spz-gold); }
.hero-featured-meta { color: rgba(255,255,255,.65); font-size: 12px; }

/* Today's fixtures sidebar */
.hero-fixtures {
  background: rgba(255,255,255,.05);
  border-radius: var(--spz-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-fixtures-header { background: rgba(255,255,255,.08); padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.hero-fixtures-header h3 { color: #fff; font-size: 14px; font-weight: 700; }
.hero-fixtures-header a { color: var(--spz-gold); font-size: 12px; }

/* =============================================================
   SCORE ROW (Flashscore-style)
   ============================================================= */
.score-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .15s;
}
.score-row:hover { background: rgba(255,255,255,.05); }
.score-row:last-child { border-bottom: none; }

.score-row-team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #d0dae6;
  font-weight: 500;
}
.score-row-team.home { justify-content: flex-end; text-align: right; }
.score-row-team.away { justify-content: flex-start; text-align: left; }
.team-logo-sm { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.team-logo-placeholder { width: 22px; height: 22px; background: rgba(255,255,255,.1); border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; color: rgba(255,255,255,.3); }

.score-center { text-align: center; min-width: 80px; }
.score-main { color: #fff; font-size: 18px; font-weight: 800; line-height: 1; display: block; }
.score-time { color: rgba(255,255,255,.5); font-size: 11px; margin-top: 3px; display: block; }

/* Light version of score-row (for white card backgrounds) */
.score-row-light {
  background: var(--spz-card);
  border-bottom: 1px solid var(--spz-border);
}
.score-row-light:hover { background: #1a2133; }
.score-row-light .score-row-team { color: var(--spz-text); }
.score-row-light .score-main { color: var(--spz-text); }
.score-row-light .score-time { color: var(--spz-text-light); }

/* League header row */
.league-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: #1a2133;
  border-bottom: 1px solid var(--spz-border);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--spz-text);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.league-header img { width: 18px; height: 18px; object-fit: contain; }

/* =============================================================
   NEWS GRID  (homepage + archive)
   ============================================================= */

/* ── Shared category badge ── */
.ng-cat {
  display: inline-block; background: var(--spz-red); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px; margin-bottom: 6px;
}
.ng-meta { font-size: 11.5px; color: rgba(255,255,255,.55); margin-top: 6px; }
.ng-meta i { font-size: 10px; margin-right: 3px; }
.ng-source { background: rgba(255,255,255,.15); padding: 1px 6px; border-radius: 10px; font-size: 10.5px; }

/* ── TOP ROW: featured (2/3) + side stack (1/3) ── */
.ng-top-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
  align-items: stretch;
}

/* Featured card */
.ng-featured {
  position: relative;
  border-radius: var(--spz-radius);
  overflow: hidden;
  box-shadow: var(--spz-shadow-lg);
  min-height: 340px;
}
.ng-featured-img {
  display: block;
  height: 100%;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  transition: transform .4s;
}
.ng-featured:hover .ng-featured-img { transform: scale(1.03); }
.ng-featured-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
  padding: 24px 20px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.ng-featured-title { font-size: 20px; font-weight: 800; line-height: 1.35; color: #fff; margin: 0; }
.ng-featured-title a { color: #fff; }
.ng-featured-title a:hover { color: var(--spz-gold); }

/* Side stack */
.ng-side-stack { display: flex; flex-direction: column; gap: 14px; }

.ng-side-item {
  display: flex;
  background: var(--spz-card);
  border-radius: var(--spz-radius);
  overflow: hidden;
  box-shadow: var(--spz-shadow);
  flex: 1;
  transition: transform .2s, box-shadow .2s;
}
.ng-side-item:hover { transform: translateY(-2px); box-shadow: var(--spz-shadow-lg); }

.ng-side-img {
  width: 115px;
  min-height: 110px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  transition: transform .3s;
}
.ng-side-item:hover .ng-side-img { transform: scale(1.04); }

.ng-side-body { padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; }
.ng-side-body .ng-cat { background: var(--spz-red); }
.ng-side-body .ng-meta { color: var(--spz-text-light); }

.ng-side-title { font-size: 13.5px; font-weight: 700; line-height: 1.4; margin: 0 0 4px; }
.ng-side-title a { color: var(--spz-text); }
.ng-side-title a:hover { color: var(--spz-red); }
.ng-side-item { background: var(--spz-card); }

/* ── BOTTOM ROW: 3 equal cards ── */
.ng-bottom-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ng-card {
  background: var(--spz-card);
  border-radius: var(--spz-radius);
  overflow: hidden;
  box-shadow: var(--spz-shadow);
  transition: transform .2s, box-shadow .2s;
}
.ng-card:hover { transform: translateY(-3px); box-shadow: var(--spz-shadow-lg); }

.ng-card-img { position: relative; overflow: hidden; }
.ng-card-img a { transition: transform .3s; display: block; }
.ng-card:hover .ng-card-img a { transform: scale(1.04); }
.ng-card-img .ng-cat { position: absolute; top: 10px; left: 10px; }

.ng-card-body { padding: 13px 14px 14px; }
.ng-card-title { font-size: 14px; font-weight: 700; line-height: 1.4; margin: 0 0 8px; }
.ng-card-title a { color: var(--spz-text); }
.ng-card-title a:hover { color: var(--spz-red); }
.ng-card-body .ng-meta { color: var(--spz-text-light); }

/* ── Legacy classes (used in home.php archive + widgets) ── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-grid-2col { grid-template-columns: repeat(2, 1fr); }
.news-card { background: var(--spz-card); border-radius: var(--spz-radius); overflow: hidden; box-shadow: var(--spz-shadow); transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--spz-shadow-lg); }
.news-card-img { position: relative; overflow: hidden; }
.news-card-cat {
  position: absolute; top: 10px; left: 10px;
  background: var(--spz-red); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px;
}
.news-card-body { padding: 14px; }
.news-card-title { font-size: 14.5px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.news-card-title a { color: var(--spz-text); }
.news-card-title a:hover { color: var(--spz-red); }
.news-card-meta { font-size: 11.5px; color: var(--spz-text-light); display: flex; align-items: center; gap: 12px; }
.news-card-meta i { font-size: 10px; }
.news-card-featured { grid-column: span 2; }
.news-card-excerpt { font-size: 13.5px; color: var(--spz-text-mid); line-height: 1.6; margin-bottom: 12px; }

/* Horizontal news list item */
.news-list-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--spz-border); }
.news-list-item:last-child { border-bottom: none; }
.news-list-img { width: 90px; height: 65px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.news-list-body { flex: 1; }
.news-list-title { font-size: 13.5px; font-weight: 600; line-height: 1.4; margin-bottom: 5px; }
.news-list-title a:hover { color: var(--spz-red); }
.news-list-meta { font-size: 11px; color: var(--spz-text-light); }

/* =============================================================
   STANDINGS TABLE
   ============================================================= */
.standings-table-wrap { overflow-x: auto; }
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.standings-table th {
  background: var(--spz-navy);
  color: rgba(255,255,255,.7);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 9px 10px;
  text-align: center;
  white-space: nowrap;
}
.standings-table th:first-child,
.standings-table th:nth-child(2) { text-align: left; }
.standings-table td { padding: 9px 10px; text-align: center; border-bottom: 1px solid var(--spz-border); white-space: nowrap; vertical-align: middle; }
.standings-table td:first-child,
.standings-table td:nth-child(2) { text-align: left; }
.standings-table tr:nth-child(even) td { background: #161e2d; }
.standings-table tr:hover td { background: #1a2540; }

.standings-rank { font-size: 13px; font-weight: 700; color: var(--spz-text-light); width: 32px; }
.standings-team { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.standings-team img { width: 22px; height: 22px; object-fit: contain; }
.standings-points { font-weight: 800; color: #fff; }
.standings-gd.positive { color: var(--spz-live); }
.standings-gd.negative { color: var(--spz-red); }

/* Zone indicators */
.zone-champions { border-left: 3px solid #1565c0; }
.zone-europa    { border-left: 3px solid #f57f17; }
.zone-relegation{ border-left: 3px solid var(--spz-red); }

/* Form pills */
.form-badges { display: flex; gap: 3px; }
.form-w { display:inline-block; width:16px; height:16px; border-radius:50%; background:var(--spz-live); color:#fff; font-size:9px; font-weight:700; text-align:center; line-height:16px; }
.form-d { display:inline-block; width:16px; height:16px; border-radius:50%; background:#aaa; color:#fff; font-size:9px; font-weight:700; text-align:center; line-height:16px; }
.form-l { display:inline-block; width:16px; height:16px; border-radius:50%; background:var(--spz-red); color:#fff; font-size:9px; font-weight:700; text-align:center; line-height:16px; }

/* =============================================================
   STATS TABLES / LEADERBOARDS
   ============================================================= */
.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.stats-table th { background: var(--spz-navy); color: rgba(255,255,255,.75); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 9px 12px; }
.stats-table th:nth-child(n+3) { text-align: center; }
.stats-table td { padding: 9px 12px; border-bottom: 1px solid var(--spz-border); vertical-align: middle; }
.stats-table td:nth-child(n+3) { text-align: center; }
.stats-table tr:hover td { background: #1a2540; }
.stats-table .rank-num { font-weight: 700; color: var(--spz-text-light); width: 36px; text-align: center; }
.stats-table .top3 { color: var(--spz-gold); font-weight: 700; }
.player-cell { display: flex; align-items: center; gap: 10px; }
.player-cell img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.player-cell-info .name { font-weight: 600; font-size: 14px; }
.player-cell-info .team { font-size: 12px; color: var(--spz-text-light); }
.stat-highlight { font-weight: 800; color: var(--spz-red); font-size: 16px; }

/* =============================================================
   MATCH CARDS & SCHEDULE
   ============================================================= */
.match-card {
  background: var(--spz-card);
  border-radius: var(--spz-radius);
  box-shadow: var(--spz-shadow);
  overflow: hidden;
  margin-bottom: 4px;
}
.match-card-header { background: var(--spz-navy); display: flex; align-items: center; gap: 8px; padding: 7px 14px; }
.match-card-league { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8); }
.match-card-league img { width: 16px; height: 16px; object-fit: contain; }
.match-card-round { font-size: 11px; color: rgba(255,255,255,.4); margin-left: auto; }

.match-teams-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
}
.match-team { display: flex; align-items: center; gap: 10px; }
.match-team.home { flex-direction: row-reverse; text-align: right; }
.match-team img { width: 44px; height: 44px; object-fit: contain; }
.match-team-logo-placeholder { width: 44px; height: 44px; background: #1e2a3a; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #555; flex-shrink: 0; }
.match-team-name { font-size: 15px; font-weight: 700; }
.match-team-name small { display: block; font-size: 11px; font-weight: 400; color: var(--spz-text-light); }

.match-score-center { text-align: center; }
.match-score-main { font-size: 28px; font-weight: 900; color: #fff; line-height: 1; }
.match-score-dash { font-size: 24px; font-weight: 300; color: var(--spz-text-light); }
.match-time-kickoff { font-size: 20px; font-weight: 800; color: #7eb8f7; }
.match-date-small { font-size: 12px; color: var(--spz-text-light); margin-top: 4px; }

/* Schedule filter bar */
.schedule-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--spz-card);
  border-radius: var(--spz-radius);
  box-shadow: var(--spz-shadow);
}
.schedule-filters select,
.schedule-filters input[type="date"] {
  padding: 8px 12px;
  border: 1px solid var(--spz-border);
  border-radius: var(--spz-radius);
  font-size: 13px;
  color: var(--spz-text);
  background: #1a2133;
  outline: none;
  color-scheme: dark;
}
.schedule-filters select:focus,
.schedule-filters input:focus { border-color: var(--spz-red); }
.date-tab-btn {
  padding: 8px 14px;
  border: 1px solid var(--spz-border);
  border-radius: var(--spz-radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--spz-text);
  background: #1a2133;
  transition: .2s;
}
.date-tab-btn.active,
.date-tab-btn:hover { background: var(--spz-red); color: #fff; border-color: var(--spz-red); }

/* =============================================================
   TEAM & PLAYER PROFILES
   ============================================================= */
.team-header {
  background: linear-gradient(135deg, var(--spz-navy) 0%, var(--spz-navy-light) 100%);
  padding: 36px 0;
  color: #fff;
}
.team-header-inner { display: flex; align-items: center; gap: 28px; }
.team-logo-lg { width: 100px; height: 100px; object-fit: contain; background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px; }
.team-info h1 { font-size: 32px; font-weight: 900; }
.team-info .league-badge { display: inline-block; background: rgba(255,255,255,.12); padding: 3px 10px; border-radius: 20px; font-size: 12px; margin-top: 6px; }
.team-info .team-meta { display: flex; gap: 20px; margin-top: 12px; }
.team-meta-item { font-size: 13px; color: rgba(255,255,255,.7); }
.team-meta-item span { display: block; font-size: 15px; font-weight: 700; color: #fff; }

.team-form-row { display: flex; gap: 6px; margin-top: 14px; }
.form-pill { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-size: 12px; font-weight: 800; }
.form-pill.W { background: var(--spz-live); color: #fff; }
.form-pill.D { background: #888; color: #fff; }
.form-pill.L { background: var(--spz-red); color: #fff; }

/* Player header */
.player-header {
  background: linear-gradient(135deg, var(--spz-navy) 0%, var(--spz-navy-light) 100%);
  padding: 36px 0;
  color: #fff;
}
.player-header-inner { display: flex; align-items: flex-end; gap: 28px; }
.player-photo { width: 120px; height: 150px; object-fit: cover; border-radius: var(--spz-radius); border: 3px solid rgba(255,255,255,.2); }
.player-photo-placeholder { width: 120px; height: 150px; background: rgba(255,255,255,.1); border-radius: var(--spz-radius); display: flex; align-items: center; justify-content: center; font-size: 48px; color: rgba(255,255,255,.3); }
.player-info h1 { font-size: 30px; font-weight: 900; }
.player-number { font-size: 72px; font-weight: 900; opacity: .08; position: absolute; right: 20px; top: 0; line-height: 1; }
.player-pos-badge { display: inline-block; background: var(--spz-red); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; margin: 6px 0; }
.player-stats-bar { display: flex; gap: 24px; margin-top: 12px; }
.player-stat-item { text-align: center; }
.player-stat-item .val { font-size: 26px; font-weight: 900; line-height: 1; }
.player-stat-item .lbl { font-size: 11px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .5px; }

/* Stat boxes grid */
.stat-boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-box { background: var(--spz-card); border-radius: var(--spz-radius); box-shadow: var(--spz-shadow); padding: 20px; text-align: center; border-top: 3px solid var(--spz-red); }
.stat-box-val { font-size: 32px; font-weight: 900; color: #fff; line-height: 1; }
.stat-box-lbl { font-size: 12px; color: var(--spz-text-light); text-transform: uppercase; letter-spacing: .5px; margin-top: 6px; }

/* Squad grid */
.squad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.player-card { background: var(--spz-card); border-radius: var(--spz-radius); overflow: hidden; text-align: center; box-shadow: var(--spz-shadow); transition: transform .2s; }
.player-card:hover { transform: translateY(-4px); }
.player-card-img { height: 140px; object-fit: cover; width: 100%; }
.player-card-img-placeholder { height: 140px; background: #1e2a3a; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #444; }
.player-card-body { padding: 10px; }
.player-card-name { font-size: 13px; font-weight: 700; }
.player-card-pos  { font-size: 11px; color: var(--spz-text-light); }
.player-card-num  { font-size: 22px; font-weight: 900; color: var(--spz-red); opacity: .3; }

/* =============================================================
   PREDICTIONS
   ============================================================= */
.prediction-card { background: var(--spz-card); border-radius: var(--spz-radius); box-shadow: var(--spz-shadow); overflow: hidden; }
.prediction-card-header { background: var(--spz-navy); padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; }
.prediction-card-match { color: #fff; font-size: 14px; font-weight: 700; }
.prediction-card-date { color: rgba(255,255,255,.5); font-size: 12px; }
.prediction-card-body { padding: 16px; }
.prediction-teams { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 14px; }
.prediction-team-name { font-size: 16px; font-weight: 700; }
.prediction-vs { font-size: 14px; color: var(--spz-text-light); }
.prediction-score { font-size: 28px; font-weight: 900; color: #fff; text-align: center; margin-bottom: 12px; }

.prediction-verdict {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #1a2133;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 12px;
}
.verdict-label { font-size: 12px; color: var(--spz-text-light); }
.verdict-value { font-size: 14px; font-weight: 800; color: var(--spz-text); }

.confidence-high   { color: var(--spz-live); }
.confidence-medium { color: var(--spz-gold); }
.confidence-low    { color: var(--spz-postponed); }

.odds-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.odds-item { background: #1a2133; border-radius: 4px; padding: 8px; }
.odds-label { font-size: 11px; color: var(--spz-text-light); }
.odds-value { font-size: 15px; font-weight: 800; color: var(--spz-text); }

/* =============================================================
   SIDEBAR WIDGETS
   ============================================================= */
.spz-sidebar { display: flex; flex-direction: column; gap: 20px; }

.widget { background: var(--spz-card); border-radius: var(--spz-radius); box-shadow: var(--spz-shadow); overflow: hidden; }
.widget-title { font-size: 14px; font-weight: 800; color: #fff; background: var(--spz-navy); padding: 10px 14px; text-transform: uppercase; letter-spacing: .5px; border-left: 4px solid var(--spz-red); margin: 0; }

.widget-body { padding: 14px; }
.widget-list li { padding: 8px 0; border-bottom: 1px solid var(--spz-border); font-size: 13.5px; display: flex; gap: 10px; align-items: flex-start; }
.widget-list li:last-child { border-bottom: none; }
.widget-list-num { font-size: 11px; font-weight: 700; color: var(--spz-red); min-width: 18px; }

/* =============================================================
   SINGLE ARTICLE (News)
   ============================================================= */
.single-article-header { margin-bottom: 24px; }
.article-cat { display: inline-block; background: var(--spz-red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 3px; margin-bottom: 12px; }
.article-title { font-size: 28px; font-weight: 900; line-height: 1.3; color: var(--spz-text); margin-bottom: 12px; }
.article-meta { display: flex; gap: 16px; align-items: center; color: var(--spz-text-light); font-size: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--spz-border); }
.article-meta img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.article-featured-img { width: 100%; border-radius: var(--spz-radius); margin-bottom: 24px; }
.article-content { font-size: 15.5px; line-height: 1.8; color: var(--spz-text-mid); }
.article-content h2, .article-content h3 { color: var(--spz-text); margin: 24px 0 12px; }
.article-content p { margin-bottom: 16px; }
.article-content a { color: var(--spz-red); text-decoration: underline; }
.article-content blockquote { border-left: 4px solid var(--spz-red); padding-left: 16px; color: var(--spz-text-light); font-style: italic; margin: 20px 0; }

/* =============================================================
   PAGE HERO BANNER
   ============================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--spz-navy) 0%, var(--spz-navy-light) 100%);
  padding: 28px 0;
  margin-bottom: 24px;
}
.page-hero h1 { color: #fff; font-size: 26px; font-weight: 900; }
.page-hero p  { color: rgba(255,255,255,.65); font-size: 14px; margin-top: 4px; }
.page-hero-breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.page-hero-breadcrumb a { color: rgba(255,255,255,.6); }
.page-hero-breadcrumb a:hover { color: #fff; }
.page-hero-breadcrumb span { color: rgba(255,255,255,.3); }

/* =============================================================
   TABS
   ============================================================= */
.spz-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--spz-border); margin-bottom: 20px; background: var(--spz-card); border-radius: var(--spz-radius) var(--spz-radius) 0 0; }
.spz-tab-btn {
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--spz-text-light);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: .2s;
}
.spz-tab-btn.active, .spz-tab-btn:hover { color: var(--spz-red); border-bottom-color: var(--spz-red); }
.spz-tab-content { display: none; }
.spz-tab-content.active { display: block; }

/* =============================================================
   PAGINATION
   ============================================================= */
.spz-pagination { margin-top: 30px; display: flex; justify-content: center; }
.spz-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--spz-radius); font-size: 13.5px; font-weight: 600; color: var(--spz-text); margin: 0 3px; border: 1px solid var(--spz-border); transition: .2s; }
.spz-pagination .page-numbers.current, .spz-pagination .page-numbers:hover { background: var(--spz-red); color: #fff; border-color: var(--spz-red); }

/* =============================================================
   SEARCH RESULTS
   ============================================================= */
.search-results-header { margin-bottom: 20px; }
.search-results-header h1 { font-size: 22px; font-weight: 800; }
.search-results-header p { color: var(--spz-text-light); font-size: 13.5px; }

/* =============================================================
   404
   ============================================================= */
.error-404-wrap { text-align: center; padding: 80px 20px; }
.error-404-num { font-size: 120px; font-weight: 900; color: var(--spz-red); line-height: 1; opacity: .15; }
.error-404-wrap h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.error-404-wrap p { color: var(--spz-text-light); font-size: 15px; margin-bottom: 24px; }

/* =============================================================
   FOOTER
   ============================================================= */
.spz-footer { background: var(--spz-navy); color: #aab4c0; margin-top: 48px; }
.footer-widgets { padding: 48px 0 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-widgets-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }

.footer-logo { display: flex; align-items: center; gap: 2px; margin-bottom: 14px; }
.footer-logo .logo-text { font-size: 26px; font-weight: 900; color: #fff; }
.footer-logo .logo-sub { font-size: 10px; font-weight: 700; color: var(--spz-red); letter-spacing: 2px; text-transform: uppercase; }
.footer-logo .custom-logo-link { display: flex; align-items: center; }
.footer-logo .custom-logo-link img,
.footer-logo .custom-logo { height: 100px !important; width: auto !important; max-width: 320px !important; display: block; object-fit: contain; }
.footer-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.5); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: 15px; transition: .2s; }
.footer-social a:hover { background: var(--spz-red); color: #fff; }

.footer-heading { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .2s; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--spz-red); }
.footer-links .fa-angle-right { font-size: 11px; }

.footer-newsletter { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.footer-newsletter input { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; padding: 9px 12px; border-radius: var(--spz-radius); font-size: 13px; outline: none; }
.footer-newsletter input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter button { background: var(--spz-red); color: #fff; padding: 9px; border-radius: var(--spz-radius); font-size: 13px; font-weight: 700; transition: background .2s; }
.footer-newsletter button:hover { background: var(--spz-red-hover); }

.footer-bottom { padding: 16px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.copyright { font-size: 12.5px; }
.copyright a { color: rgba(255,255,255,.6); }
.footer-legal-menu { display: flex; gap: 16px; }
.footer-legal-menu a { font-size: 12.5px; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-legal-menu a:hover { color: #fff; }
.data-credit { font-size: 11px; color: rgba(255,255,255,.3); }

/* =============================================================
   UTILITIES
   ============================================================= */
.text-center { text-align: center; }
.text-red    { color: var(--spz-red); }
.text-live   { color: var(--spz-live); }
.text-light  { color: var(--spz-text-light); }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.spz-no-content { text-align: center; padding: 48px; color: var(--spz-text-light); font-size: 15px; }
.spz-loader { text-align: center; padding: 32px; color: var(--spz-text-light); font-size: 24px; }

/* =============================================================
   PLAYER PROFILE PAGE
   ============================================================= */
.player-profile-hero { padding: 32px 0; }
.player-profile-hero-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 10px; }
.player-profile-hero-img img,
.player-profile-thumb { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.3); }
.player-profile-hero-info h1 { margin: 0 0 8px; font-size: 30px; color: #fff; }
.player-profile-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.player-meta-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.15); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.player-meta-badge i { font-size: 11px; }

.player-profile-content h2 { font-size: 18px; font-weight: 800; color: var(--spz-text); border-left: 3px solid var(--spz-red); padding-left: 10px; margin: 28px 0 12px; }
.player-profile-content h3 { font-size: 15px; font-weight: 700; color: var(--spz-text); margin: 20px 0 8px; }
.player-profile-content p { font-size: 14.5px; line-height: 1.75; color: var(--spz-text-mid); margin: 0 0 12px; }
.player-profile-content strong { color: var(--spz-text); }

/* =============================================================
   WORLD CUP TEAM PAGE
   ============================================================= */
.team-wc-hero { padding: 32px 0; }
.team-wc-content h2 { font-size: 18px; font-weight: 800; color: var(--spz-text); border-left: 3px solid var(--spz-red); padding-left: 10px; margin: 28px 0 12px; }
.team-wc-content h3 { font-size: 15px; font-weight: 700; color: var(--spz-text); border-bottom: 1px solid var(--spz-border); padding-bottom: 6px; margin: 18px 0 10px; }
.team-wc-content p { font-size: 14.5px; line-height: 1.75; color: var(--spz-text-mid); margin: 0 0 12px; }
.team-wc-content strong { color: var(--spz-text); }

/* =============================================================
   RESPONSIVE
   ============================================================= */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .hero-inner                   { grid-template-columns: 1fr !important; }
  .fp-hero-grid                 { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer-widgets-grid          { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  .spz-content-wrap             { grid-template-columns: 1fr; }
  .ng-top-row                   { grid-template-columns: 1fr; }
  .ng-bottom-row                { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Header */
  .spz-nav                      { display: none; }
  .mobile-menu-toggle           { display: flex !important; }
  .header-actions               { margin-left: auto; }
  .spz-topbar                   { display: none; }
  .header-inner                 { height: 58px; gap: 12px; }
  .spz-logo img,
  .spz-logo .custom-logo        { height: 44px !important; }

  /* Container padding */
  .spz-container                { padding: 0 14px; }

  /* Homepage hero */
  .fp-hero-grid                 { grid-template-columns: 1fr !important; gap: 20px !important; }
  .fp-stat-strip                { grid-template-columns: repeat(2, 1fr) !important; }
  .fp-stat-strip > div:nth-child(2) { border-right: none !important; }

  /* Content + sidebar */
  .spz-content-wrap             { grid-template-columns: 1fr; gap: 16px; }
  .spz-sidebar                  { display: none; }

  /* News grids */
  .ng-top-row                   { grid-template-columns: 1fr; }
  .ng-bottom-row                { grid-template-columns: 1fr; }
  .ng-featured, .ng-featured-img{ min-height: 220px; }
  .news-grid                    { grid-template-columns: 1fr; }
  .news-grid-2col               { grid-template-columns: 1fr; }
  .news-card-featured           { grid-column: span 1; }
  .ng-side-stack                { flex-direction: column; }

  /* Stat boxes */
  .stat-boxes                   { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Tables — horizontal scroll */
  .standings-table-wrap,
  .stats-table                  { font-size: 12px; }
  .standings-table td,
  .standings-table th           { padding: 7px 6px; }

  /* Footer */
  .footer-widgets-grid          { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-logo .custom-logo-link img,
  .footer-logo .custom-logo     { height: 60px !important; max-width: 180px !important; }
  .footer-bottom-inner          { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-legal-menu            { flex-wrap: wrap; gap: 10px; }

  /* Match card */
  .match-teams-row              { padding: 12px 10px; gap: 6px; }
  .match-team img               { width: 32px; height: 32px; }
  .match-team-logo-placeholder  { width: 32px; height: 32px; }
  .match-team-name              { font-size: 13px; }
  .match-score-main             { font-size: 22px; }

  /* Score row */
  .score-row                    { padding: 8px 10px; gap: 4px; }
  .score-row-team               { font-size: 12px; }
  .score-main                   { font-size: 15px; }

  /* Schedule filters */
  .schedule-filters             { flex-direction: column; gap: 8px; }
  .schedule-filters select,
  .schedule-filters input[type="date"] { width: 100%; }

  /* Team header */
  .team-header-inner            { flex-direction: column; gap: 14px; text-align: center; }
  .team-info .team-meta         { justify-content: center; flex-wrap: wrap; gap: 10px; }
  .team-info h1                 { font-size: 24px; }

  /* Player header */
  .player-header-inner          { flex-direction: column; gap: 14px; align-items: center; text-align: center; }
  .player-info h1               { font-size: 24px; }
  .player-stats-bar             { justify-content: center; flex-wrap: wrap; gap: 14px; }
  .player-single-grid           { grid-template-columns: 1fr !important; }
  .spz-player-body-grid         { grid-template-columns: 1fr !important; }

  /* Article */
  .article-title                { font-size: 22px; }
  .article-meta                 { flex-wrap: wrap; gap: 8px; }

  /* Page hero */
  .page-hero h1                 { font-size: 20px; }
  .page-hero                    { padding: 20px 0; margin-bottom: 16px; }

  /* Section titles */
  .spz-section-title            { font-size: 15px; }

  /* Tabs — horizontal scroll */
  .spz-tabs                     { overflow-x: auto; white-space: nowrap; }
  .spz-tab-btn                  { padding: 9px 14px; font-size: 13px; }

  /* Predictions */
  .odds-row                     { gap: 4px; }

  /* Two-col grids that should stack */
  .spz-two-col-grid             { grid-template-columns: 1fr !important; }

  /* Error 404 */
  .error-404-num                { font-size: 72px; }
  .error-404-wrap h2            { font-size: 22px; }
}

/* ── Small phones (≤480px) ── */
@media (max-width: 480px) {
  .spz-container                { padding: 0 10px; }
  .fp-stat-strip                { grid-template-columns: repeat(2, 1fr) !important; }
  .ng-side-img                  { width: 80px; min-height: 80px; }
  .stat-boxes                   { grid-template-columns: repeat(2, 1fr); }
  .footer-widgets-grid          { grid-template-columns: 1fr; }

  /* Hero section padding */
  section[id]                   { padding-top: 32px !important; padding-bottom: 28px !important; }

  /* Match card padding */
  .match-teams-row              { padding: 10px 8px; }
  .match-team img               { width: 28px; height: 28px; }

  /* Player card in archive */
  .squad-grid                   { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   Contact Form 7
   ============================================================= */
.article-content .wpcf7 { margin-top: 8px; }

.article-content .wpcf7 form > p,
.article-content .wpcf7 label {
  display: block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--spz-text-mid);
}

.article-content .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 7px; }

.article-content .wpcf7 input[type="text"],
.article-content .wpcf7 input[type="email"],
.article-content .wpcf7 input[type="tel"],
.article-content .wpcf7 input[type="url"],
.article-content .wpcf7 textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--spz-text);
  background: var(--spz-navy-mid);
  border: 1px solid var(--spz-border);
  border-radius: var(--spz-radius);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.article-content .wpcf7 textarea { min-height: 140px; resize: vertical; line-height: 1.5; }

.article-content .wpcf7 input::placeholder,
.article-content .wpcf7 textarea::placeholder { color: var(--spz-text-light); }

.article-content .wpcf7 input:focus,
.article-content .wpcf7 textarea:focus {
  border-color: var(--spz-red);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, .15);
}

.article-content .wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  background: var(--spz-red);
  border: none;
  border-radius: var(--spz-radius);
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.article-content .wpcf7 .wpcf7-submit:hover { background: var(--spz-red-hover); }
.article-content .wpcf7 .wpcf7-submit:active { transform: translateY(1px); }

/* Validation / required markers */
.article-content .wpcf7 .wpcf7-not-valid {
  border-color: var(--spz-red);
}
.article-content .wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: #ff6b68;
}

/* Response / status messages */
.article-content .wpcf7 .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  border-radius: var(--spz-radius);
  border: 1px solid var(--spz-border);
}
.article-content .wpcf7-mail-sent-ok .wpcf7-response-output {
  border-color: var(--spz-live);
  background: var(--spz-live-bg);
  color: var(--spz-live);
}
.article-content .wpcf7-validation-errors .wpcf7-response-output,
.article-content .wpcf7-mail-sent-ng .wpcf7-response-output {
  border-color: var(--spz-red);
  background: rgba(229, 57, 53, .08);
  color: #ff8a87;
}

.article-content .wpcf7 .wpcf7-spinner { margin: 0 0 0 12px; }
