/*
Theme Name: Kings Odds
Theme URI: https://www.kingsodds.com/blog
Author: Beta Web Analysis Limited
Author URI: https://www.kingsodds.com/blog
Description: Premium editorial football-predictions theme for Kings Odds. No internal navigation other than the Home link; comments disabled on articles.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kingsodds
*/

/* ═══════════════════════════════════════════════════════════════
   KINGS ODDS — style.css (design system, ported into WP theme)
   Premium Editorial · Luxury Sports Intelligence
   Typefaces: Cormorant Garamond (display) · Outfit (body) · JetBrains Mono (data)
   ═══════════════════════════════════════════════════════════════ */

:root, [data-theme="dark"] {
  --bg-base:        #05050a;
  --bg-card:        #0b0b13;
  --bg-card2:       #0f0f18;
  --bg-elevated:    #141420;
  --bg-hover:       #1a1a28;
  --border:         rgba(255,255,255,0.055);
  --border-mid:     rgba(255,255,255,0.09);
  --border-gold:    rgba(186,148,62,0.28);
  --border-hover:   rgba(255,255,255,0.13);
  --text-1:         #ede9e0;
  --text-2:         #8a8696;
  --text-3:         #46434f;
  --text3:          var(--text-3);
  --gold:           #ba943e;
  --gold-l:         #d4ae58;
  --gold-dim:       rgba(186,148,62,0.08);
  --gold-glow:      rgba(186,148,62,0.15);
  --green:          #2da55e;
  --green-dim:      rgba(45,165,94,0.1);
  --red:            #e04545;
  --red-dim:        rgba(224,69,69,0.1);
  --amber:          #d4900a;
  --amber-dim:      rgba(212,144,10,0.1);
  --blue:           #4d8fd6;
  --blue-dim:       rgba(77,143,214,0.1);
  --purple:         #9b6fcf;
  --purple-dim:     rgba(155,111,207,0.1);
  --shadow-card:    0 1px 3px rgba(0,0,0,0.6), 0 4px 24px rgba(0,0,0,0.35);
  --shadow-elevated:0 8px 40px rgba(0,0,0,0.5);
  --shadow-mega:    0 32px 80px rgba(0,0,0,0.75);
  --topbar-bg:      #030307;
  --header-bg:      rgba(5,5,10,0.98);
  --mega-bg:        #080810;
  --hero-title-a:   #ede9e0;
  --hero-title-b:   var(--gold);
  --hero-stroke:    var(--text-3);
  --rule:           rgba(255,255,255,0.06);
}

[data-theme="light"] {
  --bg-base:        #f5f2ec;
  --bg-card:        #ffffff;
  --bg-card2:       #faf8f4;
  --bg-elevated:    #f0ece4;
  --bg-hover:       #e8e3d8;
  --border:         rgba(0,0,0,0.07);
  --border-mid:     rgba(0,0,0,0.1);
  --border-gold:    rgba(140,100,20,0.25);
  --border-hover:   rgba(0,0,0,0.13);
  --text-1:         #1a1712;
  --text-2:         #5a5550;
  --text-3:         #a09688;
  --text3:          var(--text-3);
  --gold:           #8c6414;
  --gold-l:         #a87c20;
  --gold-dim:       rgba(140,100,20,0.08);
  --gold-glow:      rgba(140,100,20,0.12);
  --green:          #1a8c48;
  --green-dim:      rgba(26,140,72,0.08);
  --red:            #c73333;
  --red-dim:        rgba(199,51,51,0.08);
  --amber:          #b87008;
  --amber-dim:      rgba(184,112,8,0.08);
  --blue:           #2660b8;
  --blue-dim:       rgba(38,96,184,0.08);
  --purple:         #6b3db5;
  --purple-dim:     rgba(107,61,181,0.08);
  --shadow-card:    0 1px 3px rgba(0,0,0,0.07), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-elevated:0 8px 32px rgba(0,0,0,0.1);
  --shadow-mega:    0 24px 64px rgba(0,0,0,0.12);
  --topbar-bg:      #ece8df;
  --header-bg:      rgba(245,242,236,0.98);
  --mega-bg:        #ffffff;
  --hero-title-a:   #1a1712;
  --hero-title-b:   var(--gold);
  --hero-stroke:    var(--text-3);
  --rule:           rgba(0,0,0,0.06);
}
[data-theme="light"] .noise { opacity: 0.012; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-base);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.35s, color 0.35s;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul { list-style: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


.topbar { background: var(--topbar-bg); border-bottom: 1px solid var(--border); font-size: 11.5px; letter-spacing: 0.01em; transition: background 0.35s; }
.topbar-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar-left { display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.live-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; flex-shrink: 0; animation: livePulse 2.4s ease infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(45,165,94,0.5); } 70% { box-shadow: 0 0 0 8px rgba(45,165,94,0); } 100% { box-shadow: 0 0 0 0 rgba(45,165,94,0); } }
.topbar-sep { color: var(--text-3); opacity: 0.5; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-right a { color: var(--text-2); font-size: 11.5px; transition: color 0.15s; }
.topbar-right a:hover { color: var(--gold); }

.theme-toggle { position: relative; width: 50px; height: 24px; background: var(--bg-elevated); border-radius: 100px; border: 1px solid var(--border-mid); display: flex; align-items: center; justify-content: space-between; padding: 2px 5px; cursor: pointer; transition: background 0.3s, border-color 0.3s; overflow: hidden; flex-shrink: 0; }
.theme-icon { font-size: 11px; z-index: 1; transition: opacity 0.3s; line-height: 1; position: relative; }
.theme-track { position: absolute; width: 16px; height: 16px; background: var(--gold); border-radius: 50%; left: 3px; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
[data-theme="dark"] .theme-track  { transform: translateX(0); }
[data-theme="dark"] .light-icon   { opacity: 0.3; }
[data-theme="dark"] .dark-icon    { opacity: 1; }
[data-theme="light"] .theme-track { transform: translateX(24px); }
[data-theme="light"] .light-icon  { opacity: 1; }
[data-theme="light"] .dark-icon   { opacity: 0.3; }

.site-header { position: sticky; top: 0; z-index: 200; background: var(--header-bg); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border-bottom: 1px solid var(--border); transition: background 0.35s, box-shadow 0.35s; }
.header-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; height: 64px; display: flex; align-items: center; gap: 32px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.logo-svg { flex-shrink: 0; transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.logo-svg .logo-bg { fill: var(--gold); }
.logo:hover .logo-svg { transform: rotate(-6deg) scale(1.08); }
.logo-text { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-1); }
.logo-text em { color: var(--gold); font-style: normal; }

.main-nav { display: flex; align-items: center; gap: 1px; flex: 1; }
.nav-item { position: relative; }
.nav-link, .nav-btn { display: flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: 7px; font-size: 13px; font-weight: 500; letter-spacing: 0.025em; color: var(--text-2); transition: color 0.15s, background 0.15s; white-space: nowrap; background: none; }
.nav-link:hover, .nav-btn:hover { color: var(--text-1); background: var(--bg-elevated); }
.nav-link.active { color: var(--gold); background: var(--gold-dim); }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.live-indicator { display: flex; align-items: center; gap: 6px; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 500; color: var(--green); letter-spacing: 0.14em; }
.pulse-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: livePulse 2.4s ease infinite; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; justify-content: center; width: 44px; height: 44px; padding: 10px; background: none; border: none; cursor: pointer; margin-right: -8px; }
.menu-toggle span { display: block; height: 1.5px; background: var(--text-2); border-radius: 2px; transition: all 0.28s cubic-bezier(0.16,1,0.3,1); }
.menu-toggle span:nth-child(3) { width: 70%; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 100%; }

.mobile-drawer { display: none; background: var(--header-bg); border-top: 1px solid var(--border); max-height: 0; overflow: hidden; transition: max-height 0.38s cubic-bezier(0.16,1,0.3,1); }
.mobile-drawer.open { max-height: 600px; display: block; }
.mobile-drawer-inner { padding: 10px 24px 24px; display: flex; flex-direction: column; gap: 1px; }
.mobile-drawer-inner > a { padding: 11px 6px; font-size: 14px; font-weight: 500; color: var(--text-2); border-bottom: 1px solid var(--border); transition: color 0.15s; }
.mobile-drawer-inner > a:hover { color: var(--gold); }
.mobile-tg-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 11px 16px; border-radius: 8px; background: #0077b5; color: #fff !important; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: opacity 0.15s; }
.mobile-tg-link:hover { opacity: 0.88; }

.hero { position: relative; overflow: hidden; padding: 100px 0 110px; min-height: 520px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 72px 72px; }
.hero-grid::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 100%, var(--bg-base) 0%, transparent 70%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.g1 { width: 800px; height: 800px; top: -350px; left: -200px; background: radial-gradient(circle, rgba(186,148,62,0.08) 0%, transparent 65%); animation: glf 11s ease infinite; }
.g2 { width: 600px; height: 600px; bottom: -80px; right: 0; background: radial-gradient(circle, rgba(77,143,214,0.05) 0%, transparent 65%); animation: glf 14s ease infinite reverse; }
.g3 { width: 400px; height: 400px; top: 20%; right: 28%; background: radial-gradient(circle, rgba(155,111,207,0.04) 0%, transparent 65%); animation: glf 8s ease-in-out infinite; }
@keyframes glf { 0%,100% { transform: translate(0,0); } 50% { transform: translate(28px,-20px); } }
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--border-gold); border-radius: 2px; padding: 5px 16px; margin-bottom: 32px; background: var(--gold-dim); animation: fadeUp 0.7s ease both; }
.eyebrow-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.hero-title { font-family: 'Cormorant Garamond', serif; line-height: 0.88; margin-bottom: 32px; font-weight: 700; }
.ht-line { display: block; }
.ht-line.a { font-size: clamp(72px,11vw,148px); color: var(--hero-title-a); letter-spacing: -0.01em; animation: fadeUp 0.7s 0.06s ease both; }
.ht-line.b { font-size: clamp(72px,11vw,148px); color: var(--hero-title-b); letter-spacing: -0.01em; animation: fadeUp 0.7s 0.12s ease both; }
.ht-line.c { font-size: clamp(50px,8vw,96px); color: var(--hero-title-c, transparent); -webkit-text-stroke: 1px var(--hero-stroke); letter-spacing: 0.06em; animation: fadeUp 0.7s 0.18s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: translateY(0); } }
.hero-sub { font-size: 16px; color: var(--text-2); max-width: 540px; margin-bottom: 56px; line-height: 1.75; font-weight: 400; animation: fadeUp 0.7s 0.22s ease both; }
.hero-kpis { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; animation: fadeUp 0.7s 0.28s ease both; border: 1px solid var(--border-mid); border-radius: 12px; overflow: hidden; width: fit-content; background: var(--bg-card); }
.kpi { padding: 22px 36px; text-align: center; position: relative; transition: background 0.2s; }
.kpi:hover { background: var(--bg-elevated); }
.kpi-val { font-family: 'Cormorant Garamond', serif; font-size: 52px; line-height: 1; color: var(--gold); font-weight: 700; letter-spacing: -0.02em; }
.kpi-val span:not(.kpi-count) { font-size: 36px; }
.kpi-lbl { font-size: 11.5px; font-weight: 600; color: var(--text-1); margin-top: 5px; letter-spacing: 0.05em; }
.kpi-sub { font-size: 10px; color: var(--text-3); margin-top: 3px; letter-spacing: 0.08em; text-transform: uppercase; }
.kpi-div { width: 1px; background: var(--border-mid); align-self: stretch; }

.mfbar { background: var(--bg-card); border-bottom: 1px solid var(--border); position: sticky; top: 64px; z-index: 90; transition: background 0.35s; }
.mfbar .container { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 12px; }
.mfbar-scroll { display: flex; align-items: center; gap: 2px; overflow-x: auto; padding: 0 2px; }
.mfbar-scroll::-webkit-scrollbar { display: none; }
.mf { display: inline-flex; align-items: center; padding: 5px 15px; border-radius: 3px; font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--text-2); letter-spacing: 0.02em; border: 1px solid transparent; text-decoration: none; transition: all 0.15s; }
.mf:hover { color: var(--text-1); background: var(--bg-elevated); }
.mf.active { background: var(--gold); color: #fff; font-weight: 600; }
[data-theme="dark"] .mf.active { color: #0a0a0c; }
.mf-count { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-3); white-space: nowrap; letter-spacing: 0.05em; }

.acca-strip { padding: 24px 0; }
.acca-strip .acca-card { background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: 12px; padding: 24px 32px; display: flex; align-items: center; gap: 24px; position: relative; overflow: hidden; transition: box-shadow 0.25s, transform 0.25s; }
.acca-strip .acca-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.5; }
.acca-strip .acca-card:hover { transform: translateY(-2px); box-shadow: 0 12px 48px rgba(0,0,0,0.25), 0 0 0 1px var(--border-gold); }
.acca-icon { flex-shrink: 0; opacity: 0.7; }
.acca-info { flex: 1; }
.acca-label { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; margin-bottom: 5px; }
.acca-teams { font-weight: 500; font-size: 14px; color: var(--text-2); letter-spacing: 0.01em; }
.acca-odds-display { text-align: center; flex-shrink: 0; padding: 0 8px; }
.acca-num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 56px; color: var(--gold); line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
.acca-odl { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--gold); opacity: 0.5; letter-spacing: 0.15em; }
.acca-cta { background: var(--gold); color: #fff; font-family: 'Outfit', sans-serif; font-size: 11.5px; font-weight: 700; padding: 12px 24px; border-radius: 7px; white-space: nowrap; letter-spacing: 0.08em; text-transform: uppercase; transition: opacity 0.15s, transform 0.15s; flex-shrink: 0; cursor: default; }
[data-theme="dark"] .acca-cta { color: #0a0a0c; }

.preds-main { padding: 32px 0 72px; }
.preds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 16px; margin-bottom: 48px; }

.pred-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), border-color 0.25s, box-shadow 0.25s; box-shadow: var(--shadow-card); animation: cardRise 0.5s ease both; }
@keyframes cardRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.pred-card:hover { transform: translateY(-4px); border-color: var(--border-gold); box-shadow: 0 16px 48px rgba(0,0,0,0.25), 0 0 0 1px var(--border-gold); }
.pred-card.featured { border-color: rgba(186,148,62,0.18); }
.pred-card.featured::before { content: ''; display: block; height: 2px; background: linear-gradient(90deg, transparent 0%, var(--gold) 40%, var(--gold-l) 60%, transparent 100%); }

.card-header { padding: 16px 18px 0; display: flex; align-items: center; justify-content: space-between; }
.card-meta { display: flex; align-items: center; gap: 10px; }
.card-time { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; }
.card-comp { font-size: 11.5px; color: var(--text-3); letter-spacing: 0.02em; }
.card-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.tag { font-size: 9.5px; font-weight: 700; letter-spacing: 0.09em; padding: 3px 9px; border-radius: 2px; white-space: nowrap; text-transform: uppercase; }
.tag.hot    { background: var(--red-dim);    color: var(--red);    border: 1px solid rgba(224,69,69,0.2); }
.tag.banker { background: var(--green-dim);  color: var(--green);  border: 1px solid rgba(45,165,94,0.2); }
.tag.value  { background: var(--blue-dim);   color: var(--blue);   border: 1px solid rgba(77,143,214,0.2); }
.tag.market { background: var(--bg-elevated); color: var(--text-2); border: 1px solid var(--border); }

.card-fixture { padding: 16px 18px 0; display: flex; align-items: center; gap: 12px; }
.fixture-team { flex: 1; }
.fixture-team.home { text-align: left; }
.fixture-team.away { text-align: right; }
.ft-name { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 16px; color: var(--text-1); line-height: 1.2; }
.ft-form { display: flex; gap: 3px; margin-top: 7px; }
.fixture-team.away .ft-form { justify-content: flex-end; }
.fd { width: 18px; height: 18px; border-radius: 3px; font-size: 8.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; }
.fd.w { background: var(--green-dim); color: var(--green); }
.fd.d { background: var(--amber-dim); color: var(--amber); }
.fd.l { background: var(--red-dim);   color: var(--red); }

.fixture-center { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 122px; }
.fx-vs { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--text-3); letter-spacing: 0.12em; }
.fx-odds-row { display: flex; gap: 4px; }
.fx-odd { display: flex; flex-direction: column; align-items: center; padding: 5px 8px; border-radius: 5px; background: var(--bg-elevated); border: 1px solid var(--border); cursor: pointer; transition: all 0.15s; min-width: 35px; }
.fx-odd:hover { border-color: var(--border-mid); background: var(--bg-hover); }
.fx-odd.active { background: var(--gold-dim); border-color: var(--border-gold); }
.fx-odd-label { font-size: 8.5px; color: var(--text-3); font-weight: 600; letter-spacing: 0.06em; }
.fx-odd-val { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: var(--text-1); margin-top: 1px; }
.fx-odd.active .fx-odd-val { color: var(--gold); }

.card-pick-row { margin: 14px 18px 0; display: flex; align-items: center; gap: 14px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 9px; padding: 12px 16px; }
.pick-box { min-width: 96px; }
.pick-mkt { font-family: 'JetBrains Mono', monospace; font-size: 8.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 3px; }
.pick-sel { font-weight: 700; font-size: 13.5px; color: var(--text-1); letter-spacing: 0.01em; }
.pick-odds { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--gold); margin-top: 3px; }
.conf-box { flex: 1; }
.conf-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.conf-lbl { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.13em; }
.conf-pct { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: var(--text-1); }
.conf-bar { height: 4px; background: var(--bg-base); border-radius: 2px; overflow: hidden; }
.cb-fill { height: 100%; width: var(--w, 50%); border-radius: 2px; background: var(--c, var(--green)); animation: cbAnim 1.3s cubic-bezier(0.16,1,0.3,1) both; animation-play-state: paused; }
@keyframes cbAnim { from { width: 0; } to { width: var(--w, 50%); } }

.card-analysis { padding: 14px 18px 18px; }
.analysis-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; padding: 9px 14px; border-radius: 7px; background: var(--bg-elevated); border: 1px solid var(--border); font-size: 11.5px; font-weight: 600; color: var(--text-2); letter-spacing: 0.025em; cursor: pointer; transition: all 0.15s; user-select: none; }
.analysis-toggle:hover { border-color: var(--border-gold); color: var(--gold); }
.analysis-toggle.open  { border-color: var(--border-gold); color: var(--gold); }
.at-arrow { transition: transform 0.26s; font-size: 10px; }
.analysis-toggle.open .at-arrow { transform: rotate(180deg); }
.analysis-body { max-height: 0; overflow: hidden; transition: max-height 0.42s cubic-bezier(0.16,1,0.3,1), opacity 0.32s ease; opacity: 0; }
.analysis-body.open { max-height: 1200px; opacity: 1; }
.analysis-verdict { margin-top: 12px; padding: 14px 16px; background: var(--gold-dim); border: 1px solid var(--border-gold); border-radius: 9px; font-size: 13px; color: var(--text-2); line-height: 1.65; }
.analysis-verdict strong { color: var(--text-1); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 36px 0 48px; flex-wrap: wrap; }
.pg { width: 36px; height: 36px; border-radius: 5px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-2); background: var(--bg-card); border: 1px solid var(--border); transition: all 0.15s; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; }
.pg:hover { border-color: var(--border-gold); color: var(--gold); }
.pg.active { background: var(--gold); color: #fff; border-color: var(--gold); font-weight: 700; }
[data-theme="dark"] .pg.active { color: #0a0a0c; }
.pagination span { color: var(--text-3); font-size: 13px; padding: 0 4px; }
.pg-prev, .pg-next { padding: 0 16px; height: 36px; border-radius: 5px; font-size: 12px; font-weight: 600; color: var(--gold); background: var(--gold-dim); border: 1px solid var(--border-gold); transition: all 0.15s; cursor: pointer; display: inline-flex; align-items: center; font-family: 'JetBrains Mono', monospace; }
.pg-prev:hover, .pg-next:hover { background: var(--gold); color: #fff; }
[data-theme="dark"] .pg-prev:hover, [data-theme="dark"] .pg-next:hover { color: #0a0a0c; }

.seo-block { border-top: 1px solid var(--border); padding-top: 48px; width: 100%; }
.seo-block h2 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700; letter-spacing: 0.02em; color: var(--text-1); margin-bottom: 24px; text-align: center; }
.seo-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 700; letter-spacing: 0.02em; color: var(--text-1); margin: 32px 0 14px; }
.seo-body p { font-size: 14.5px; color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.seo-body strong { color: var(--text-1); }
.seo-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.seo-tag { display: inline-block; font-size: 11px; color: var(--text-3); background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 2px; padding: 4px 14px; letter-spacing: 0.02em; }

.faq-section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.faq-section h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 700; letter-spacing: 0.02em; color: var(--text-1); margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 9px; overflow: hidden; transition: border-color 0.2s; }
.faq-item[open] { border-color: var(--border-gold); }
.faq-q { padding: 16px 20px; font-size: 14px; font-weight: 600; color: var(--text-1); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; user-select: none; transition: color 0.15s; letter-spacing: 0.01em; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--gold); font-weight: 300; flex-shrink: 0; transition: transform 0.22s; margin-left: 12px; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-item[open] .faq-q { color: var(--gold); }
.faq-a { padding: 0 20px 16px; font-size: 13.5px; color: var(--text-2); line-height: 1.75; }

.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 700; letter-spacing: 0.02em; color: var(--text-1); }
.section-sub { font-size: 14px; color: var(--text-2); margin-top: 6px; max-width: 560px; line-height: 1.6; }

.blog-section { padding: 72px 0; background: var(--bg-card2); border-top: 1px solid var(--border); transition: background 0.35s; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.blog-card--featured { grid-column: 1 / -1; display: flex; gap: 0; overflow: hidden; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), border-color 0.25s, box-shadow 0.25s; }
.blog-card:hover { transform: translateY(-3px); border-color: var(--border-gold); box-shadow: 0 10px 32px rgba(0,0,0,0.15); }
.blog-card--featured .blog-card-img { flex-shrink: 0; width: 340px; min-height: 220px; overflow: hidden; border-radius: 0; }
.blog-card--featured .blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-img-placeholder { width: 100%; height: 100%; min-height: 220px; background: linear-gradient(135deg, rgba(186,148,62,0.15) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(77,143,214,0.08) 0%, transparent 60%), var(--bg-elevated); }
.blog-card-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.blog-cat { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); background: var(--gold-dim); border: 1px solid var(--border-gold); padding: 4px 11px; border-radius: 2px; width: fit-content; }
.blog-title { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--text-1); }
.blog-card--featured .blog-title { font-size: 22px; }
.blog-title a { color: inherit; text-decoration: none; transition: color 0.15s; }
.blog-title a:hover { color: var(--gold); }
.blog-excerpt { font-size: 13px; color: var(--text-2); line-height: 1.7; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--text-3); flex-wrap: wrap; }
.blog-author { font-weight: 600; color: var(--text-2); }
.blog-read { font-family: 'JetBrains Mono', monospace; background: var(--bg-elevated); border-radius: 2px; padding: 2px 8px; font-size: 10px; }

.tg-section { padding: 40px 0; }
.tg-card { background: linear-gradient(130deg, #003a56 0%, #005f8f 60%, #0077b5 100%); border-radius: 14px; padding: 36px 40px; display: flex; align-items: center; gap: 28px; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 4px 40px rgba(0, 119, 181, 0.18); position: relative; overflow: hidden; }
.tg-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent); }
.tg-icon { color: rgba(255,255,255,0.8); flex-shrink: 0; }
.tg-text { flex: 1; }
.tg-title { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700; color: #fff; letter-spacing: 0.02em; margin-bottom: 7px; }
.tg-sub { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.6; max-width: 520px; }
.tg-btn { background: #fff; color: #0055a5; font-weight: 700; font-size: 12.5px; padding: 13px 28px; border-radius: 8px; white-space: nowrap; letter-spacing: 0.06em; text-transform: uppercase; transition: opacity 0.15s, transform 0.15s; text-decoration: none; flex-shrink: 0; }
.tg-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.rg-strip { background: var(--topbar-bg); border-top: 1px solid var(--border); padding: 13px 0; font-size: 12px; color: var(--text-3); transition: background 0.35s; }
.rg-strip .container { display: flex; align-items: center; gap: 9px; }
.rg-strip a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }

.site-footer { background: var(--topbar-bg); border-top: 1px solid var(--border); padding: 0; transition: background 0.35s; }
.site-footer::before { content: ''; display: block; height: 1px; background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%); opacity: 0.25; }
.footer-body { padding: 48px 0 32px; }
.footer-brand { max-width: 480px; }
.footer-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--text-3); line-height: 1.75; margin-bottom: 20px; }
.footer-tg { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; color: var(--text-2); border: 1px solid var(--border-mid); border-radius: 7px; padding: 9px 16px; transition: all 0.15s; text-decoration: none; }
.footer-tg:hover { color: #fff; background: #0077b5; border-color: #0077b5; }
.footer-tg svg { flex-shrink: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--border); gap: 12px; flex-wrap: wrap; }
.footer-bottom p { font-size: 11.5px; color: var(--text-3); line-height: 1.6; max-width: 640px; }
.footer-18 { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: var(--text-3); border: 1px solid var(--border-mid); border-radius: 4px; padding: 4px 10px; flex-shrink: 0; }

/* Article / single post */
.article-main { padding: 32px 0 72px; }
.article-wrap { max-width: 780px; margin: 0 auto; }
.article-header { margin-bottom: 24px; }
.article-cat { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); background: var(--gold-dim); border: 1px solid var(--border-gold); padding: 4px 11px; border-radius: 2px; margin-bottom: 14px; }
.article-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px,5vw,42px); font-weight: 700; color: var(--text-1); line-height: 1.15; margin-bottom: 14px; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-3); flex-wrap: wrap; }
.article-thumb { border-radius: 12px; overflow: hidden; margin: 24px 0; border: 1px solid var(--border); }
.article-body { font-size: 15px; color: var(--text-2); line-height: 1.85; }
.article-body p { margin-bottom: 18px; }
.article-body h2, .article-body h3 { font-family: 'Cormorant Garamond', serif; color: var(--text-1); margin: 28px 0 12px; }
.article-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.article-body img { border-radius: 10px; margin: 16px 0; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-drawer { display: block; }
  .footer-brand { max-width: 100%; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  .topbar-inner { padding: 0 16px; }
  .hero { padding: 48px 0 56px; }
  .ht-line.a, .ht-line.b { font-size: clamp(48px, 14vw, 88px); }
  .ht-line.c { font-size: clamp(34px, 10vw, 60px); }
  .hero-sub { font-size: 15px; margin-bottom: 36px; }
  .hero-kpis { width: 100%; flex-wrap: wrap; border-radius: 0; border: none; background: none; gap: 8px; }
  .kpi { padding: 16px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; flex: 1; min-width: 120px; }
  .kpi-div { display: none; }
  .kpi-val { font-size: 38px; }
  .preds-grid { grid-template-columns: 1fr; }
  .acca-strip .acca-card { flex-direction: column; gap: 16px; text-align: center; padding: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .topbar-upd { display: none; }
  .topbar-upd { display: none; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .blog-card--featured { flex-direction: column; grid-column: auto; }
  .blog-card--featured .blog-card-img { width: 100%; height: 180px; border-radius: 12px 12px 0 0; }
  .blog-grid { grid-template-columns: 1fr; }
  .tg-card { flex-direction: column; text-align: center; padding: 28px 20px; gap: 20px; }
  .tg-sub { max-width: 100%; }
  .card-fixture { padding: 12px 14px 0; gap: 8px; }
  .ft-name { font-size: 14px; }
  .card-header { padding: 14px 14px 0; flex-wrap: wrap; gap: 8px; }
  .card-pick-row { margin: 12px 14px 0; padding: 10px 12px; gap: 10px; }
  .card-analysis { padding: 12px 14px 14px; }
  .fixture-center { min-width: 96px; }
  .fx-odd { min-width: 31px; padding: 4px 6px; }
  .fx-odd-val { font-size: 10.5px; }
  .mfbar .container { gap: 8px; height: 48px; }
  .mf { padding: 8px 12px; min-height: 36px; }
}
@media (max-width: 560px) {
  .card-fixture { flex-direction: column; gap: 10px; align-items: stretch; }
  .fixture-team.home, .fixture-team.away { text-align: left; flex: none; }
  .fixture-team.away .ft-form { justify-content: flex-start; }
  .fixture-center { min-width: unset; width: 100%; flex-direction: row; justify-content: space-between; align-items: center; gap: 8px; }
  .fx-vs { display: none; }
  .fx-odds-row { flex: 1; justify-content: stretch; gap: 6px; }
  .fx-odd { flex: 1; max-width: none; min-width: 0; }
  .card-pick-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .pick-box { min-width: unset; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ════════════════════════════════════════════════════════════════
   EDITORIAL BLOG LANDING — featured banner, article list, sidebar
   ════════════════════════════════════════════════════════════════ */

/* ── Featured post banner (replaces static hero copy) ── */
.feature-banner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #05050a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.feature-banner-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.feature-banner-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9) brightness(0.55);
}
/* No featured image: same dark grid + glow treatment as the main site's hero */
.feature-banner-media.no-image {
  background-color: #05050a;
  background-image:
    radial-gradient(ellipse 60% 55% at 12% 0%, rgba(186,148,62,0.20) 0%, transparent 62%),
    radial-gradient(ellipse 50% 50% at 92% 100%, rgba(77,143,214,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 40% 45% at 60% 15%, rgba(155,111,207,0.08) 0%, transparent 65%),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: auto, auto, auto, 64px 64px, 64px 64px;
}
.feature-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, #05050a 2%, rgba(5,5,10,0.72) 40%, rgba(5,5,10,0.28) 78%, rgba(5,5,10,0.05) 100%);
  z-index: 1;
}
.feature-banner-content {
  position: relative; z-index: 2;
  padding: 64px 0 48px;
  max-width: 820px;
}
.feature-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.feature-eyebrow-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 700; line-height: 1.06;
  color: #fff; margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.feature-title a { color: inherit; text-decoration: none; }
.feature-title a:hover { color: var(--gold-l); }
.feature-excerpt {
  font-size: 16px; line-height: 1.7;
  color: rgba(237,233,224,0.78);
  max-width: 620px; margin-bottom: 22px;
}
.feature-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: rgba(237,233,224,0.55);
}
.feature-meta span:not(:last-child)::after { content: '·'; margin-left: 10px; color: rgba(237,233,224,0.3); }

/* ── Editorial layout: article rows + sidebar ── */
.editorial-main { padding: 56px 0 72px; }
.editorial-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.editorial-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 700; color: var(--text-1);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* Article row (horizontal card) */
.article-row-list { display: flex; flex-direction: column; }
.article-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.article-row:first-child { padding-top: 0; }
.article-row-thumb {
  width: 160px; height: 110px; border-radius: 10px; overflow: hidden;
  background: var(--bg-elevated); flex-shrink: 0;
}
.article-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-row-thumb.no-image {
  background: linear-gradient(135deg, rgba(186,148,62,0.14) 0%, transparent 60%), var(--bg-elevated);
}
.article-row-body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.article-row-cat {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.article-row-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px; font-weight: 700; line-height: 1.28;
  color: var(--text-1);
}
.article-row-title a { color: inherit; text-decoration: none; transition: color 0.15s; }
.article-row-title a:hover { color: var(--gold); }
.article-row-excerpt { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.article-row-meta { display: flex; gap: 8px; font-size: 11px; color: var(--text-3); margin-top: 2px; }
.article-row-meta span:not(:last-child)::after { content: '·'; margin-left: 8px; }

/* ── Sidebar ── */
.editorial-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 84px; }
.sidebar-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
}
.sidebar-card-title {
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.sidebar-mini-list { display: flex; flex-direction: column; gap: 14px; }
.sidebar-mini-post { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.sidebar-mini-num {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700;
  color: var(--gold); opacity: 0.45; line-height: 1.3;
}
.sidebar-mini-title { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--text-1); }
.sidebar-mini-title a { color: inherit; text-decoration: none; }
.sidebar-mini-title a:hover { color: var(--gold); }
.sidebar-mini-date { font-size: 10.5px; color: var(--text-3); margin-top: 4px; }

.sidebar-tg-card {
  background: linear-gradient(150deg, #003a56 0%, #005f8f 60%, #0077b5 100%);
  border-radius: 12px; padding: 22px; border: 1px solid rgba(255,255,255,0.08);
}
.sidebar-tg-title { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.sidebar-tg-sub { font-size: 12.5px; color: rgba(255,255,255,0.75); line-height: 1.55; margin-bottom: 14px; }
.sidebar-tg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; background: #fff; color: #0055a5; font-weight: 700; font-size: 12px;
  padding: 11px; border-radius: 7px; letter-spacing: 0.04em; text-decoration: none;
  transition: opacity 0.15s;
}
.sidebar-tg-btn:hover { opacity: 0.9; }

.sidebar-about-card p { font-size: 12.5px; color: var(--text-2); line-height: 1.65; }
.sidebar-about-card p:not(:last-child) { margin-bottom: 10px; }

/* Responsive */
@media (max-width: 980px) {
  .editorial-layout { grid-template-columns: 1fr; }
  .editorial-sidebar { position: static; flex-direction: row; overflow-x: auto; }
  .editorial-sidebar .sidebar-card { min-width: 260px; flex-shrink: 0; }
}
@media (max-width: 720px) {
  .feature-banner { min-height: 460px; }
  .feature-banner-content { padding: 44px 0 36px; }
  .article-row { grid-template-columns: 96px 1fr; gap: 14px; padding: 18px 0; }
  .article-row-thumb { width: 96px; height: 76px; }
  .article-row-title { font-size: 17px; }
  .article-row-excerpt { display: none; }
  .editorial-sidebar { flex-direction: column; }
  .editorial-sidebar .sidebar-card { min-width: auto; }
}
