/* ============================================================
   FIFA World Cup 2026 page styles
   Self-contained — uses the site's existing colour vars where
   useful (--red, --radius, --muted, --font-serif).
   ============================================================ */

.kt-wc-hero {
  background: linear-gradient(135deg, #0a2540 0%, #1e3a8a 50%, #6d28d9 100%);
  color: #fff;
  padding: 36px 24px;
  border-radius: var(--radius);
  margin-top: 18px;
  margin-bottom: 24px;
}
.kt-wc-hero-inner { max-width: 720px; }
.kt-wc-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.16);
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
}
.kt-wc-hero h1 { font-size: clamp(28px, 5vw, 44px); margin: 12px 0 8px; line-height: 1.1; color: #fff; }
.kt-wc-sub { color: rgba(255,255,255,.88); font-size: 16px; margin: 0; }

.kt-wc-page { padding-bottom: 40px; }
.kt-wc-section { margin: 32px 0; }
.kt-wc-section h2 { font-size: 22px; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--red); display: inline-block; }
.kt-wc-empty { color: var(--muted); background: #fafafa; padding: 18px; border-radius: var(--radius); font-size: 14px; }

/* ─── Live / next match featured card ─── */
.kt-wc-featured {
  background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius);
  padding: 22px; margin-bottom: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.kt-wc-featured-tag { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.kt-wc-live { background: var(--red); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .5px; display: inline-flex; align-items: center; gap: 6px; }
.kt-wc-next { background: #1e3a8a; color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .5px; }
.kt-wc-stage { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.kt-wc-dot { width: 8px; height: 8px; background: #fff; border-radius: 50%; display: inline-block; animation: kt-wc-pulse 1.4s infinite; }
@keyframes kt-wc-pulse { 0%,100% {opacity:1} 50% {opacity:.35} }
.kt-wc-featured-body { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.kt-wc-team { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.kt-wc-team-name { font-size: 16px; font-weight: 600; }
.kt-wc-crest { width: 64px; height: 64px; object-fit: contain; }
.kt-wc-crest-blank { display: inline-block; width: 64px; height: 64px; background: #f3f4f6; border-radius: 50%; }
.kt-wc-vs { text-align: center; }
.kt-wc-vs-x { font-size: 28px; font-weight: 700; color: var(--muted); }
.kt-wc-score-big { font-size: 40px; font-weight: 800; line-height: 1; }
.kt-wc-kick { color: var(--muted); font-size: 13px; margin-top: 6px; }
.kt-wc-venue { margin-top: 14px; color: var(--muted); font-size: 13px; text-align: center; }

/* ─── Tabs + match list ─── */
.kt-wc-tabs { display: flex; gap: 4px; border-bottom: 1px solid #e5e7eb; margin-bottom: 16px; }
.kt-wc-tab { background: none; border: 0; padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.kt-wc-tab.is-active { color: var(--red); border-bottom-color: var(--red); }
.kt-wc-pane { display: none; }
.kt-wc-pane.is-active { display: block; }

.kt-wc-match-list { list-style: none; padding: 0; margin: 0; }
.kt-wc-match-row {
  display: grid;
  grid-template-columns: 110px 1fr 80px;
  align-items: center; gap: 14px;
  padding: 12px 14px;
  border: 1px solid #eee; border-radius: var(--radius);
  margin-bottom: 8px;
  background: #fff;
}
.kt-wc-match-row.is-live { border-color: var(--red); background: #fff5f5; }
.kt-wc-match-time { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.kt-wc-dot-live { background: var(--red); }
.kt-wc-match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.kt-wc-row-team { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.kt-wc-row-team-away { justify-content: flex-end; }
.kt-wc-row-team .kt-wc-crest { width: 24px; height: 24px; }
.kt-wc-row-score { font-size: 16px; min-width: 60px; text-align: center; }
.kt-wc-vs-small { color: var(--muted); font-size: 12px; }
.kt-wc-match-meta { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; text-align: right; }

/* ─── Standings ─── */
.kt-wc-groups-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.kt-wc-group { background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius); padding: 14px; }
.kt-wc-group h3 { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--red); }
.kt-wc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.kt-wc-table th { text-align: left; font-weight: 600; color: var(--muted); padding: 6px 4px; border-bottom: 1px solid #eee; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.kt-wc-table td { padding: 8px 4px; border-bottom: 1px solid #f3f4f6; }
.kt-wc-table tr:last-child td { border-bottom: 0; }
.kt-wc-table th:nth-child(n+3), .kt-wc-table td:nth-child(n+3) { text-align: center; width: 32px; }
.kt-wc-team-cell { display: flex; align-items: center; gap: 8px; }
.kt-wc-team-cell .kt-wc-crest { width: 20px; height: 20px; }
.kt-wc-table tr.kt-wc-q { background: linear-gradient(90deg, rgba(34,197,94,.06), transparent); }
.kt-wc-table tr.kt-wc-q td:first-child { border-left: 3px solid #22c55e; }

/* ─── Top scorers ─── */
.kt-wc-scorers { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.kt-wc-scorers li { display: grid; grid-template-columns: 50px 28px 1fr auto 80px; gap: 12px; align-items: center; padding: 10px 14px; background: #fff; border: 1px solid #eee; border-radius: var(--radius); font-size: 14px; }
.kt-wc-rank { font-weight: 700; color: var(--muted); }
.kt-wc-scorers .kt-wc-crest { width: 24px; height: 24px; }
.kt-wc-player { font-weight: 600; }
.kt-wc-player-team { color: var(--muted); font-size: 12px; }
.kt-wc-goals { text-align: right; }
.kt-wc-goals strong { font-size: 18px; color: var(--red); }
.kt-wc-goals small { color: var(--muted); font-size: 11px; }

/* ─── Footer note ─── */
.kt-wc-sync-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 30px; }
.kt-wc-more { text-align: right; margin-top: 14px; }
.kt-wc-more a { color: var(--red); font-weight: 600; text-decoration: none; }

/* ─── Mobile ─── */
@media (max-width: 640px) {
  .kt-wc-featured-body { grid-template-columns: 1fr; gap: 14px; }
  .kt-wc-match-row { grid-template-columns: 1fr; gap: 8px; }
  .kt-wc-match-meta { text-align: left; }
  .kt-wc-match-teams { grid-template-columns: 1fr auto 1fr; }
  .kt-wc-scorers li { grid-template-columns: 36px 28px 1fr 60px; }
  .kt-wc-player-team { display: none; }
}
