/*
Theme Name: Koran Bola Dunia
Theme URI: https://koranboladunia.com
Author: Koran Bola Dunia
Author URI: https://koranboladunia.com
Description: Tema majalah olahraga modern untuk koranboladunia.com — berita sepakbola, prediksi pertandingan, jadwal pertandingan satu musim, dan video. Dibangun dengan struktur SEO lengkap: schema.org JSON-LD (NewsArticle, SportsEvent, BreadcrumbList, WebSite), Open Graph, Twitter Cards, breadcrumb, dan HTML5 semantik.
Version: 1.2.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koranboladunia
Tags: news, magazine, sports, blog, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Surfaces */
  --bg:        #0B0F19;   /* navy-black base */
  --bg-soft:   #101624;
  --surface:   #151C2E;
  --surface-2: #1C2540;
  --line:      #26304A;
  --line-soft: #1D2540;

  /* Text */
  --text:      #F2F5FA;
  --text-dim:  #AEB6CC;
  --muted:     #7C86A6;

  /* Accents */
  --accent:    #C8F135;   /* electric lime — brand */
  --accent-2:  #FF5A1F;   /* orange — prediksi */
  --live:      #FF3B3B;   /* red — live */
  --ok:        #2EE67F;   /* green — hasil akhir */
  --blue:      #4DA3FF;

  /* Type */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Shape & depth */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  --container: 1400px;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .18s ease; }
a:hover { color: #dfff6a; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 .5em;
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
figure { margin: 0; }
input, select, textarea, button { font-family: inherit; font-size: 1rem; }
button { cursor: pointer; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--accent);
  color: #000; padding: 10px 16px; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #000; }

/* ==========================================================================
   3. LAYOUT HELPERS
   ========================================================================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.site-main { padding: 32px 0 64px; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.section { padding: 60px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* Section header (magazine style) */
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 26px; border-bottom: 2px solid var(--line); padding-bottom: 12px;
}
.section-head h2 {
  margin: 0; font-size: 2.4rem; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.section-head h2::before {
  content: ''; width: 7px; height: 30px; background: var(--accent);
  border-radius: 3px; display: inline-block;
}
.section-head .all-link {
  font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-dim); white-space: nowrap;
}
.section-head .all-link:hover { color: var(--accent); }

/* ==========================================================================
   4. TOP BAR
   ========================================================================== */
.topbar {
  background: #070A12; border-bottom: 1px solid var(--line-soft);
  font-size: .82rem; color: var(--muted);
}
.topbar-inner {
  max-width: var(--container); margin: 0 auto; padding: 8px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar .tb-date { display: flex; align-items: center; gap: 8px; }
.topbar .tb-date strong { color: var(--text-dim); font-weight: 600; }
.topbar .tb-tag {
  background: var(--accent); color: #0B0F19; font-weight: 800; text-transform: uppercase;
  font-size: .68rem; letter-spacing: 1.2px; padding: 3px 10px; border-radius: 999px;
}
.topbar .tb-social { display: flex; gap: 14px; }
.topbar .tb-social a { color: var(--muted); font-size: .9rem; }
.topbar .tb-social a:hover { color: var(--accent); }

/* ==========================================================================
   5. HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(11, 15, 25, .92); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--accent);
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 88px;
}
.site-branding { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-branding .custom-logo {
  max-height: 68px;
  max-width: 380px;
  width: auto;
  height: auto;
  display: block;
}
.site-branding .custom-logo img { max-height: 68px; width: auto; height: auto; }
.site-branding .theme-logo {
  max-height: 68px;
  width: auto;
  height: auto;
  display: block;
}
.site-title {
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem;
  text-transform: uppercase; letter-spacing: .5px; line-height: 1; margin: 0;
}
.site-title a { color: #fff; }
.site-title a:hover { color: var(--accent); }
.site-title .kbd { color: var(--accent); }
.site-desc { display: none; }

.main-nav { flex: 1; display: flex; justify-content: flex-end; align-items: center; }
.main-nav ul {
  list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px;
}
.main-nav li { position: relative; }
.main-nav a {
  display: block; color: var(--text-dim); font-weight: 600; font-size: .98rem;
  padding: 12px 14px; border-radius: var(--radius-sm);
}
.main-nav a:hover { color: #fff; background: var(--surface); }
.main-nav .current-menu-item > a,
.main-nav .current-cat > a,
.main-nav .current_page_item > a { color: var(--accent); }

/* Nav CTA (Jadwal) */
.main-nav li.menu-cta a {
  background: var(--accent); color: #0B0F19; font-weight: 800;
  margin-left: 8px; padding: 9px 16px;
}
.main-nav li.menu-cta a:hover { background: #dfff6a; color: #0B0F19; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions button {
  background: var(--surface); border: 1px solid var(--line); color: var(--text-dim);
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  font-size: 1rem; transition: all .18s ease;
}
.header-actions button:hover { color: var(--accent); border-color: var(--accent); }

/* Search dropdown */
.search-drop {
  position: absolute; top: 100%; right: 20px; width: min(420px, calc(100vw - 40px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px; z-index: 95; display: none;
}
.search-drop.open { display: block; }
.search-drop form { display: flex; gap: 8px; }
.search-drop input[type="search"] {
  flex: 1; background: var(--bg); border: 1px solid var(--line); color: var(--text);
  border-radius: var(--radius-sm); padding: 11px 14px; outline: none;
}
.search-drop input[type="search"]:focus { border-color: var(--accent); }
.search-drop button {
  background: var(--accent); color: #0B0F19; font-weight: 800; border: 0;
  border-radius: var(--radius-sm); padding: 0 18px;
}

/* Mobile nav */
.nav-toggle { display: none; }
.mobile-nav {
  display: none; background: var(--bg-soft); border-top: 1px solid var(--line-soft);
  padding: 10px 0;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a {
  display: block; color: var(--text-dim); padding: 13px 24px; font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .menu-cta a { color: var(--accent); }

/* ==========================================================================
   6. BREAKING NEWS TICKER
   ========================================================================== */
.ticker {
  background: #070A12; border-bottom: 1px solid var(--line-soft); overflow: hidden;
}
.ticker-inner {
  max-width: var(--container); margin: 0 auto; display: flex; align-items: stretch;
}
.ticker-label {
  background: var(--accent-2); color: #fff; font-weight: 800; text-transform: uppercase;
  font-size: .72rem; letter-spacing: 1.5px; padding: 9px 16px; display: flex; align-items: center;
  gap: 6px; white-space: nowrap; flex-shrink: 0;
}
.ticker-label::before { content: '●'; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.ticker-track {
  overflow: hidden; flex: 1; display: flex; align-items: center;
}
.ticker-items {
  display: flex; gap: 40px; white-space: nowrap; padding-left: 24px;
  animation: ticker 38s linear infinite;
}
.ticker:hover .ticker-items { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-items a {
  color: var(--text-dim); font-size: .86rem; display: flex; align-items: center; gap: 8px;
}
.ticker-items a:hover { color: var(--accent); }
.ticker-items a::before { content: '▸'; color: var(--accent); }

/* ==========================================================================
   7. HERO (front page)
   ========================================================================== */
.hero { padding: 28px 0 0; }
.hero-grid {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px;
}
.hero-main { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 500px; }
.hero-main .thumb { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-main .thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,15,25,0) 30%, rgba(11,15,25,.95) 100%);
}
.hero-main .hero-body { position: absolute; inset: auto 0 0 0; padding: 36px; z-index: 2; }
.hero-cat {
  display: inline-block; background: var(--accent); color: #0B0F19; font-size: .68rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.hero-cat--prediksi { background: var(--accent-2); color: #fff; }
.hero-cat--video { background: var(--blue); color: #fff; }
.hero-cat--jadwal { background: var(--ok); color: #0B0F19; }
.hero-main h1, .hero-main h2.entry-title {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem); margin-bottom: 12px;
}
.hero-main h1 a, .hero-main h2.entry-title a { color: #fff; }
.hero-main h1 a:hover, .hero-main h2.entry-title a:hover { color: var(--accent); }
.hero-excerpt { color: var(--text-dim); font-size: .95rem; margin-bottom: 14px; }
.hero-meta { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .8rem; }

.hero-side { display: flex; flex-direction: column; gap: 16px; }
.hero-side-item {
  display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 12px; align-items: center; flex: 1;
  transition: border-color .18s ease, transform .18s ease;
}
.hero-side-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.hero-side-item .thumb {
  width: 118px; height: 84px; flex-shrink: 0; border-radius: var(--radius-sm);
  background-size: cover; background-position: center; position: relative; overflow: hidden;
}
.hero-side-item .t-info { min-width: 0; }
.hero-side-item h3 { font-size: 1.18rem; margin: 0 0 6px; line-height: 1.25; }
.hero-side-item h3 a { color: #fff; }
.hero-side-item h3 a:hover { color: var(--accent); }
.hero-side-item .t-meta { font-size: .75rem; color: var(--muted); display: flex; gap: 10px; align-items: center; }

/* ==========================================================================
   8. MATCH STRIP (jadwal pekan ini)
   ========================================================================== */
.match-strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.match-strip .container { padding-top: 26px; padding-bottom: 26px; }
.match-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px;
}
.match-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; transition: border-color .18s ease, transform .18s ease;
}
.match-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.match-card .mc-round {
  font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--muted); margin-bottom: 10px;
}
.match-card .mc-teams {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px;
}
.match-card .mc-team {
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff;
  line-height: 1.1; max-width: 100px;
}
.match-card .mc-vs {
  font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; color: var(--muted);
}
.match-card .mc-vs.live { color: var(--live); animation: pulse 1.4s infinite; }
.match-card .mc-score {
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 8px;
}
.match-card .mc-info { font-size: .75rem; color: var(--muted); }
.match-card .mc-status {
  display: inline-block; font-size: .64rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; padding: 3px 10px; border-radius: 999px; margin-top: 8px;
}
.mc-status.upcoming { background: var(--surface-2); color: var(--text-dim); }
.mc-status.live { background: var(--live); color: #fff; }
.mc-status.finished { background: var(--ok); color: #0B0F19; }

/* ==========================================================================
   9. POST CARDS
   ========================================================================== */
.card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.card .thumb { aspect-ratio: 16/10; background-size: cover; background-position: center; position: relative; }
.card .thumb .card-cat {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--accent); color: #0B0F19; font-size: .64rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.1px; padding: 4px 10px; border-radius: 999px;
}
.card .thumb .card-cat.cat-prediksi { background: var(--accent-2); color: #fff; }
.card .thumb .card-cat.cat-video { background: var(--blue); color: #fff; }
.card .thumb .card-cat.cat-jadwal { background: var(--ok); color: #0B0F19; }
.card .card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.35rem; margin: 0 0 10px; line-height: 1.2; }
.card h3 a { color: #fff; }
.card h3 a:hover { color: var(--accent); }
.card .card-excerpt { color: var(--text-dim); font-size: .93rem; margin-bottom: 14px; flex: 1; }
.card .card-meta {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: .74rem; border-top: 1px solid var(--line-soft); padding-top: 12px;
}
.card .card-meta .author { color: var(--text-dim); font-weight: 600; }

/* Compact horizontal card */
.card-row {
  display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 12px; align-items: flex-start;
  transition: border-color .18s ease;
}
.card-row:hover { border-color: var(--accent); }
.card-row .thumb {
  width: 120px; height: 84px; flex-shrink: 0; border-radius: var(--radius-sm);
  background-size: cover; background-position: center;
}
.card-row .cr-body { min-width: 0; }
.card-row h3 { font-size: 1.02rem; margin: 0 0 6px; line-height: 1.25; }
.card-row h3 a { color: #fff; }
.card-row h3 a:hover { color: var(--accent); }
.card-row .cr-meta { font-size: .74rem; color: var(--muted); }

/* ==========================================================================
   10. PREDIKSI CARDS (probability bars)
   ========================================================================== */
.pred-card .pc-bars { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.pc-bar { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 8px; font-size: .72rem; }
.pc-bar .pc-label { font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .5px; }
.pc-bar .pc-val { font-weight: 800; color: var(--text-dim); text-align: right; }
.pc-bar .pc-track { height: 7px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.pc-bar .pc-fill { height: 100%; border-radius: 999px; }
.pc-bar.pc-home .pc-fill { background: var(--accent); }
.pc-bar.pc-draw .pc-fill { background: var(--blue); }
.pc-bar.pc-away .pc-fill { background: var(--accent-2); }

/* ==========================================================================
   11. SEASON SCHEDULE (jadwal 1 musim)
   ========================================================================== */
.season-nav {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 22px;
  scrollbar-width: thin;
}
.season-nav a {
  background: var(--surface); border: 1px solid var(--line); color: var(--text-dim);
  font-size: .8rem; font-weight: 700; padding: 8px 16px; border-radius: 999px;
  white-space: nowrap; text-transform: uppercase; letter-spacing: .5px;
}
.season-nav a:hover { color: var(--accent); border-color: var(--accent); }
.match-table-wrap { overflow-x: auto; }
.match-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.match-table th {
  font-size: .68rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted);
  text-align: left; padding: 10px 14px; border-bottom: 2px solid var(--line);
}
.match-table td { padding: 13px 14px; border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
.match-table tr { transition: background .15s ease; }
.match-table tbody tr:hover { background: var(--surface); }
.match-table .mt-home { text-align: right; font-weight: 700; color: #fff; }
.match-table .mt-away { font-weight: 700; color: #fff; }
.match-table .mt-score {
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: 1px;
  color: var(--accent); text-align: center; min-width: 76px;
}
.match-table .mt-score .vs { color: var(--muted); }
.match-table .mt-time { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.match-table .mt-status {
  font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.match-table .mt-status.upcoming { background: var(--surface-2); color: var(--text-dim); }
.match-table .mt-status.live { background: var(--live); color: #fff; }
.match-table .mt-status.finished { background: var(--ok); color: #0B0F19; }
.match-table .mt-venue { color: var(--muted); font-size: .8rem; }

/* ==========================================================================
   12. LEAGUE STRIP & BADGES
   ========================================================================== */
.league-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.league-card {
  position: relative; border-radius: var(--radius); padding: 26px 22px; overflow: hidden;
  border: 1px solid var(--line); min-height: 170px; display: flex; flex-direction: column;
  justify-content: space-between; transition: transform .18s ease, box-shadow .18s ease;
}
.league-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.league-card .lc-top { display: flex; align-items: center; justify-content: space-between; }
.league-card .lc-short {
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.85);
}
.league-card .lc-ball { font-size: 1.4rem; opacity: .9; }
.league-card .lc-name { font-family: var(--font-display); font-weight: 700; font-size: 1.85rem; color: #fff; line-height: 1.05; margin: 14px 0 8px; }
.league-card .lc-count { font-size: .82rem; color: rgba(255,255,255,.75); }
.league-card .lc-arrow { position: absolute; right: 14px; bottom: 12px; font-size: 1.1rem; color: rgba(255,255,255,.7); }

.league-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-dim);
  font-size: .78rem; font-weight: 700; padding: 7px 14px; border-radius: 999px;
  white-space: nowrap; text-transform: uppercase; letter-spacing: .5px;
}
.league-pill:hover { color: var(--accent); border-color: var(--accent); }
.league-pill.active { background: var(--accent); color: #0B0F19; border-color: var(--accent); }

.league-badge {
  display: inline-block; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text-dim); font-size: .62rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; padding: 2px 9px; border-radius: 999px;
}

/* Standings */
.standings-wrap { overflow-x: auto; }
.standings-table td.st-team { text-align: left; font-weight: 600; color: #fff; }
.standings-table td.st-pts { color: var(--accent); font-weight: 800; }
.standings-table tr.top td.st-team { color: var(--accent); }
.standings-table tr.releg td.st-team { color: var(--live); }
.standings-table tr.releg td:first-child { color: var(--live); }
.standings-empty { color: var(--muted); font-size: .88rem; }

.standings-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.standings-tabs .league-pill { font-size: .72rem; padding: 6px 12px; }
.standings-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: start; }
.standings-box {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 22px;
}
.standings-box .sb-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--accent);
}
.standings-box .sb-name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: #fff; text-transform: uppercase; }
.standings-box .sb-more { font-size: .7rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; }
.standings-box .sb-more:hover { color: var(--accent); }

/* League hub (taxonomy-liga) */
.league-hero {
  background: linear-gradient(135deg, var(--surface-2), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; margin: 26px 0 8px; position: relative; overflow: hidden;
}
.league-hero .lh-ball { position: absolute; right: -14px; bottom: -30px; font-size: 8rem; opacity: .08; transform: rotate(-12deg); }
.league-hero h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 0 0 8px; text-transform: uppercase; }
.league-hero .lh-desc { color: var(--text-dim); max-width: 640px; font-size: .92rem; margin-bottom: 16px; }
.league-hero .lh-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.league-hero .lh-stat { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.league-hero .lh-stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); letter-spacing: 0; }

.league-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 4px;
  position: sticky; top: 96px; z-index: 40; background: rgba(11,15,25,.94);
  padding: 8px 0; backdrop-filter: blur(8px); border-radius: var(--radius);
}
.league-tabs a {
  background: var(--surface); border: 1px solid var(--line); color: var(--text-dim);
  font-size: .8rem; font-weight: 700; padding: 9px 16px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .6px;
}
.league-tabs a:hover { color: var(--accent); border-color: var(--accent); }

/* ==========================================================================
   13. ARCHIVE / BREADCRUMB
   ========================================================================== */
.page-head {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-bottom: 1px solid var(--line-soft); padding: 34px 0 26px;
}
.page-head h1 { margin: 0 0 6px; text-transform: uppercase; }
.page-head .archive-desc { color: var(--text-dim); max-width: 720px; font-size: .95rem; }
.page-head .archive-count { color: var(--muted); font-size: .8rem; }

.breadcrumbs { font-size: .78rem; color: var(--muted); margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: var(--muted); opacity: .6; }
.breadcrumbs .current { color: var(--accent); font-weight: 600; }

/* ==========================================================================
   13. SINGLE POST
   ========================================================================== */
.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.article { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px; }
.article header h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.article .entry-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .82rem;
  padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line-soft);
}
.article .entry-meta .cat-badge {
  background: var(--accent); color: #0B0F19; font-size: .66rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px; padding: 3px 10px; border-radius: 999px;
}
.article .entry-meta .cat-badge.cat-prediksi { background: var(--accent-2); color: #fff; }
.article .entry-meta .cat-badge.cat-video { background: var(--blue); color: #fff; }
.article .entry-meta .cat-badge.cat-jadwal { background: var(--ok); color: #0B0F19; }
.article .entry-thumb { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 24px; }
.article .entry-content { font-size: 1.03rem; color: var(--text-dim); }
.article .entry-content h2, .article .entry-content h3, .article .entry-content h4 { color: #fff; margin-top: 1.6em; }
.article .entry-content h2 { font-size: 1.7rem; }
.article .entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.article .entry-content img { border-radius: var(--radius-sm); }
.article .entry-content blockquote {
  border-left: 4px solid var(--accent); margin: 1.6em 0; padding: 8px 20px;
  background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #fff;
}
.article .entry-content table { width: 100%; border-collapse: collapse; }
.article .entry-content td, .article .entry-content th { border: 1px solid var(--line); padding: 8px 12px; }

.entry-tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.entry-tags .tag-link {
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--text-dim);
  font-size: .76rem; padding: 5px 12px; border-radius: 999px;
}
.entry-tags .tag-link:hover { border-color: var(--accent); color: var(--accent); }

.share-row { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.share-row a {
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--text-dim);
  font-size: .78rem; font-weight: 700; padding: 8px 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 7px;
}
.share-row a:hover { border-color: var(--accent); color: var(--accent); }

.author-box {
  display: flex; gap: 16px; background: var(--bg-soft); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 20px; margin-top: 28px; align-items: center;
}
.author-box .avatar-wrap {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--surface-2); display: grid; place-items: center; font-size: 1.4rem;
}
.author-box .ab-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff; margin-bottom: 4px; }
.author-box .ab-desc { color: var(--muted); font-size: .86rem; margin: 0; }

/* Related posts */
.related { margin-top: 48px; }

/* Post navigation */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px;
}
.post-nav a {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 16px; font-size: .82rem; color: var(--muted);
  transition: border-color .18s ease;
}
.post-nav a:hover { border-color: var(--accent); }
.post-nav a strong { display: block; color: #fff; font-size: .98rem; margin-top: 4px; font-family: var(--font-display); }
.post-nav .next { text-align: right; }

/* ==========================================================================
   14. SIDEBAR / WIDGETS
   ========================================================================== */
.sidebar { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 26px; }
.widget {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 22px;
}
.widget-title {
  font-size: 1.35rem; text-transform: uppercase; margin: 0 0 16px; color: #fff;
  padding-bottom: 10px; border-bottom: 2px solid var(--accent); display: flex; align-items: center; gap: 8px;
}
.widget-title::before { content: ''; width: 6px; height: 20px; background: var(--accent); border-radius: 3px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { color: var(--text-dim); }
.widget ul li a:hover { color: var(--accent); }
.widget .wp-block-tag-cloud a, .widget .tagcloud a {
  display: inline-block; background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--text-dim); font-size: .76rem !important; padding: 5px 12px; border-radius: 999px;
  margin: 0 6px 8px 0;
}
.widget .wp-block-tag-cloud a:hover { border-color: var(--accent); color: var(--accent); }
.widget_search input[type="search"] {
  width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text);
  border-radius: var(--radius-sm); padding: 11px 14px; outline: none; margin-bottom: 10px;
}
.widget_search input[type="search"]:focus { border-color: var(--accent); }
.widget_search button {
  width: 100%; background: var(--accent); color: #0B0F19; font-weight: 800; border: 0;
  border-radius: var(--radius-sm); padding: 11px;
}

/* Standings mini */
.standings-table { width: 100%; font-size: .88rem; border-collapse: collapse; }
.standings-table th { color: var(--muted); font-size: .64rem; text-transform: uppercase; letter-spacing: .8px; padding: 6px 4px; text-align: center; border-bottom: 1px solid var(--line); }
.standings-table th:first-child, .standings-table td:first-child { text-align: left; }
.standings-table td { padding: 7px 4px; border-bottom: 1px solid var(--line-soft); text-align: center; color: var(--text-dim); }
.standings-table tr.top td:first-child { color: var(--accent); font-weight: 700; }

/* ==========================================================================
   15. NEWSLETTER CTA
   ========================================================================== */
.newsletter {
  background: linear-gradient(120deg, #151C2E 0%, #0B0F19 70%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 56px 40px; text-align: center; position: relative; overflow: hidden;
}
.newsletter::before {
  content: '⚽'; position: absolute; font-size: 9rem; opacity: .06; right: -10px; top: -30px;
  transform: rotate(-15deg);
}
.newsletter h2 { text-transform: uppercase; margin-bottom: 8px; }
.newsletter p { color: var(--text-dim); max-width: 520px; margin: 0 auto 22px; }
.newsletter form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.newsletter input[type="email"] {
  flex: 1; background: var(--bg); border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: 13px 20px; outline: none;
}
.newsletter input[type="email"]:focus { border-color: var(--accent); }
.newsletter button {
  background: var(--accent); color: #0B0F19; font-weight: 800; border: 0;
  border-radius: 999px; padding: 13px 26px; white-space: nowrap;
}
.newsletter button:hover { background: #dfff6a; }

/* ==========================================================================
   16. PAGINATION
   ========================================================================== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers {
  background: var(--surface); border: 1px solid var(--line); color: var(--text-dim);
  min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center;
  justify-content: center; border-radius: 10px; font-weight: 700; font-size: .9rem;
}
.pagination .page-numbers.current { background: var(--accent); color: #0B0F19; border-color: var(--accent); }
.pagination .page-numbers:hover:not(.current) { border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.site-footer { background: #070A12; border-top: 3px solid var(--accent); margin-top: 64px; }
.footer-widgets {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 36px;
  padding: 52px 0 40px;
}
.footer-widgets .widget { background: transparent; border: 0; padding: 0; }
.footer-widgets .widget-title { border-bottom-color: var(--line); }
.footer-widgets .about-text { color: var(--muted); font-size: .88rem; }
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.footer-logo .kbd { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line-soft); padding: 18px 0; font-size: .78rem; color: var(--muted);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-bottom a { color: var(--text-dim); }

/* ==========================================================================
   18. MISC / UTILITIES
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #0B0F19;
  font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .8px;
  padding: 12px 22px; border-radius: 999px; border: 0;
}
.btn:hover { background: #dfff6a; color: #0B0F19; }
.btn--ghost { background: transparent; color: var(--text-dim); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Placeholder thumb (no featured image) */
.thumb-ph {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--bg-soft) 60%, var(--line) 100%);
  display: grid; place-items: center; font-size: 2.2rem; color: var(--accent);
  position: relative; overflow: hidden;
}
.thumb-ph::after {
  content: '⚽'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem;
}

/* 404 */
.error-404 { text-align: center; padding: 80px 0; }
.error-404 .big { font-family: var(--font-display); font-size: clamp(5rem, 12vw, 9rem); font-weight: 800; color: var(--surface-2); line-height: 1; }
.error-404 .big span { color: var(--accent); }
.error-404 .search-404 { max-width: 420px; margin: 24px auto; display: flex; gap: 8px; }
.error-404 .search-404 input { flex: 1; background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 12px 18px; outline: none; }
.error-404 .search-404 button { background: var(--accent); color: #0B0F19; border: 0; border-radius: 999px; padding: 0 20px; font-weight: 800; }

/* Entry content — search list */
.search-list { display: flex; flex-direction: column; gap: 16px; }

/* Global search form (header dropdown, 404, hasil kosong) */
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
  flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: 12px 18px; outline: none;
}
.search-form input[type="search"]:focus { border-color: var(--accent); }
.search-form button {
  background: var(--accent); color: #0B0F19; font-weight: 800; border: 0;
  border-radius: 999px; padding: 0 22px; white-space: nowrap;
}
.search-form button:hover { background: #dfff6a; }

/* ==========================================================================
   19. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; flex-wrap: wrap; }
  .hero-side-item { flex: 1 1 220px; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar .widget { flex: 1 1 280px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
  .league-strip { grid-template-columns: repeat(2, 1fr); }
  .standings-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 782px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .nav-toggle { display: grid; }
  .post-nav { grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; }
  .article { padding: 20px; }
  .hero-main { min-height: 340px; }
  .league-strip { grid-template-columns: 1fr; }
  .standings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr; }
  .topbar .tb-social { display: none; }
  .section { padding: 36px 0; }
}
