/* ===========================================================
   ContrePied — journal de football (actu + pronostics)
   Design system : presse sportive moderne
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #0e1b2e;
  --navy-soft: #1c2e45;
  --green: #16a34a;
  --green-dark: #15803d;
  --lime: #d9f99d;
  --lime-accent: #84cc16;
  --orange: #f97316;
  --ink: #0e1b2e;
  --gray-900: #18222f;
  --gray-700: #475569;
  --gray-500: #64748b;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(14, 27, 46, 0.08), 0 1px 2px rgba(14, 27, 46, 0.04);
  --shadow-md: 0 4px 14px rgba(14, 27, 46, 0.10);
  --shadow-lg: 0 10px 30px rgba(14, 27, 46, 0.14);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: 'Archivo', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================== TOP BAR ===================== */
.topbar {
  background: var(--navy);
  color: #cdd8e6;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.topbar .date { text-transform: uppercase; letter-spacing: 0.06em; }
.topbar .meta { display: flex; gap: 18px; }
.topbar .meta span { color: #8fa3bd; }
.topbar .meta strong { color: var(--lime); font-weight: 700; }

/* ===================== HEADER ===================== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.logo .mark {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--green) 0%, var(--lime-accent) 100%);
  display: grid; place-items: center;
  color: #fff; font-size: 22px;
  box-shadow: var(--shadow-sm);
}
.logo .accent { color: var(--green); }

.main-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
}
.main-nav a {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.main-nav a:hover { background: var(--gray-100); color: var(--green); }
.main-nav a.is-active { color: var(--green); }

.nav-toggle { display: none; }

/* ===================== BADGES / CATEGORY ===================== */
.cat {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 8px;
}
.cat.ligue1 { color: var(--green); }
.cat.mercato { color: var(--orange); }
.cat.europe { color: #2563eb; }
.cat.pronos { color: var(--lime-accent); }

.dateline {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}

/* ===================== HERO FEATURED ===================== */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 34px 0 18px;
}
.section-label h2 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.section-label .bar {
  flex: 1;
  height: 3px;
  background: var(--gray-200);
}
.section-label .bar::before {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 22px;
  margin-top: 26px;
}

.hero-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-md);
}
.hero-main .visual {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0e1b2e 0%, #16432b 55%, #166534 100%);
}
.hero-main .visual::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(132,204,22,0.35), transparent 45%),
    linear-gradient(0deg, rgba(8,15,26,0.92) 0%, rgba(8,15,26,0.25) 60%, transparent 100%);
}
.hero-main .body {
  position: relative;
  padding: 36px;
  color: #fff;
  z-index: 2;
}
.hero-main .cat { color: var(--lime); }
.hero-main h1 {
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 12px;
}
.hero-main p {
  color: #d4dded;
  font-size: 16px;
  max-width: 58ch;
}
.hero-main .dateline { color: #9fb0c6; margin-top: 14px; }

.hero-side {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 16px;
}
.side-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 14px;
  align-items: center;
  transition: transform .15s, box-shadow .15s;
}
.side-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.side-card .thumb {
  width: 78px; height: 78px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.thumb.g1 { background: linear-gradient(135deg, #1d4ed8, #60a5fa); }
.thumb.g2 { background: linear-gradient(135deg, #f97316, #fbbf24); }
.thumb.g3 { background: linear-gradient(135deg, #16a34a, #84cc16); }
.thumb.g4 { background: linear-gradient(135deg, #7c3aed, #c084fc); }
.thumb.g5 { background: linear-gradient(135deg, #0e1b2e, #334155); }
.thumb.g6 { background: linear-gradient(135deg, #be123c, #fb7185); }
.side-card h3 {
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 6px;
}
.side-card:hover h3 { color: var(--green); }

/* ===================== ARTICLE GRID ===================== */
.layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  margin-top: 30px;
  align-items: start;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-card .visual {
  height: 168px;
  position: relative;
}
.article-card .visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,15,26,0.18), transparent 50%);
}
.v-pitch { background: linear-gradient(135deg, #166534, #22c55e); }
.v-night { background: linear-gradient(135deg, #0e1b2e, #1e3a8a); }
.v-fire  { background: linear-gradient(135deg, #b91c1c, #f97316); }
.v-gold  { background: linear-gradient(135deg, #a16207, #fbbf24); }
.v-cool  { background: linear-gradient(135deg, #0369a1, #38bdf8); }
.v-violet{ background: linear-gradient(135deg, #5b21b6, #a78bfa); }
.article-card .body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card h3 {
  font-size: 18px;
  line-height: 1.22;
  margin-bottom: 8px;
}
.article-card:hover h3 { color: var(--green); }
.article-card p {
  color: var(--gray-700);
  font-size: 14px;
  flex: 1;
}
.article-card .dateline { margin-top: 12px; }

/* ===================== PRONOS DU JOUR ===================== */
.pronos-strip {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  margin-top: 36px;
  color: #fff;
}
.pronos-strip .strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.pronos-strip h2 {
  color: #fff;
  font-size: 22px;
  text-transform: uppercase;
}
.pronos-strip .strip-head .pill {
  background: var(--green);
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 99px;
}
.match-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.match-card {
  background: var(--navy-soft);
  border: 1px solid #2c3f59;
  border-radius: var(--radius-sm);
  padding: 16px 16px 18px;
}
.match-card .comp {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lime);
  font-weight: 700;
  margin-bottom: 12px;
}
.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.match-teams .team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
}
.team .dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
}
.match-teams .vs { color: #7d8fa8; font-weight: 700; font-size: 12px; }
.odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.odds .odd {
  background: #0c1626;
  border: 1px solid #2c3f59;
  border-radius: 7px;
  text-align: center;
  padding: 8px 4px;
  transition: border-color .15s, background .15s;
}
.odds .odd:hover { border-color: var(--green); background: #102338; }
.odds .odd .label { display: block; font-size: 10px; color: #7d8fa8; font-weight: 600; }
.odds .odd .val { display: block; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 16px; color: #fff; }
.odds .odd.best { border-color: var(--green); background: rgba(22,163,74,0.18); }
.odds .odd.best .val { color: var(--lime); }
.match-card .more {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lime);
}
.match-card .more:hover { color: #fff; }

/* ===================== SIDEBAR ===================== */
.sidebar { position: sticky; top: 88px; }
.widget {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 22px;
}
.widget-head {
  background: var(--navy);
  color: #fff;
  padding: 14px 18px;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-head .ico { color: var(--lime); }
.book-list { list-style: none; }
.book-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-200);
}
.book-item:last-child { border-bottom: none; }
.book-rank {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--gray-300);
  width: 22px;
  flex-shrink: 0;
}
.book-item:nth-child(1) .book-rank { color: var(--green); }
.book-logo {
  width: 40px; height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 16px;
}
.bl-unibet  { background: linear-gradient(135deg, #16a34a, #15803d); }
.bl-betclic { background: linear-gradient(135deg, #e11d48, #be123c); }
.bl-winamax { background: linear-gradient(135deg, #dc2626, #1c1917); }
.bl-pmu     { background: linear-gradient(135deg, #1d4ed8, #1e40af); }
.book-info { flex: 1; min-width: 0; }
.book-info .name { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 15px; }
.book-info .bonus { font-size: 12px; color: var(--green-dark); font-weight: 600; }
.btn-book {
  background: var(--green);
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 8px 14px;
  border-radius: 7px;
  white-space: nowrap;
  transition: background .15s, transform .1s;
}
.btn-book:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-book.orange { background: var(--orange); }
.btn-book.orange:hover { background: #ea580c; }

.widget-note {
  padding: 12px 16px;
  font-size: 11px;
  color: var(--gray-500);
  background: var(--gray-50);
  line-height: 1.5;
}

.widget-trend { padding: 6px 0; }
.trend-item {
  display: block;
  padding: 11px 16px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.trend-item:last-child { border-bottom: none; }
.trend-item:hover { color: var(--green); background: var(--gray-50); }
.trend-item .num {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  color: var(--green);
  margin-right: 8px;
}

/* ===================== PRONO PAGE ===================== */
.breadcrumb {
  font-size: 13px;
  color: var(--gray-500);
  padding: 18px 0 4px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--gray-300); }

.match-hero {
  background: linear-gradient(135deg, #0e1b2e 0%, #14342a 55%, #166534 100%);
  border-radius: var(--radius);
  padding: 38px 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}
.match-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 25%, rgba(132,204,22,0.28), transparent 50%);
  pointer-events: none;
}
.match-hero .comp-tag {
  position: relative;
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: var(--lime);
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 22px;
}
.match-hero .fixture {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.match-hero .club {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 200px;
}
.match-hero .crest {
  width: 84px; height: 84px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.crest.psg { background: linear-gradient(135deg, #0e1b2e, #1d4ed8); border: 3px solid #e11d48; }
.crest.om  { background: linear-gradient(135deg, #2dd4bf, #0ea5e9); border: 3px solid #fff; }
.match-hero .club .club-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 22px;
  text-align: center;
}
.match-hero .vsblock { text-align: center; }
.match-hero .vsblock .vs {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--lime);
}
.match-hero .vsblock .kick {
  font-size: 13px;
  color: #b9c6d8;
  margin-top: 6px;
}

.prono-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  margin-top: 28px;
  align-items: start;
}

.tip-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.tip-box .tip-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 8px;
}
.tip-box .tip-main {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 14px;
}
.tip-meta {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.tip-meta .item .k {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  font-weight: 600;
}
.tip-meta .item .v {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--navy);
}
.tip-meta .item .v.odd-val { color: var(--green); }
.confidence {
  display: inline-flex;
  gap: 4px;
  margin-top: 4px;
}
.confidence .star { color: var(--lime-accent); font-size: 18px; }
.confidence .star.off { color: var(--gray-300); }

/* COMPARATOR TABLE */
.comparator {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}
.comparator h3 {
  padding: 18px 22px 4px;
  font-size: 20px;
}
.comparator .sub {
  padding: 0 22px 16px;
  font-size: 13px;
  color: var(--gray-500);
}
.odds-table { width: 100%; border-collapse: collapse; }
.odds-table thead th {
  background: var(--gray-100);
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gray-700);
  padding: 12px 16px;
  text-align: center;
  border-bottom: 2px solid var(--gray-200);
}
.odds-table thead th:first-child { text-align: left; }
.odds-table tbody td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}
.odds-table tbody tr:last-child td { border-bottom: none; }
.odds-table tbody tr:hover { background: var(--gray-50); }
.odds-table .bk {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.odds-table .bk .mini {
  width: 30px; height: 30px;
  border-radius: 6px;
  display: grid; place-items: center;
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 12px;
}
.odds-table .bk .bkname { font-size: 14.5px; }
.odds-table td.best-odd {
  background: rgba(22,163,74,0.10);
  color: var(--green-dark);
  position: relative;
}
.odds-table td.best-odd::after {
  content: '★';
  position: absolute;
  top: 3px; right: 5px;
  font-size: 9px;
  color: var(--green);
}
.odds-table td.action { padding: 10px 16px; }
.odds-table .btn-bet {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  border-radius: 7px;
  transition: background .15s, transform .1s;
}
.odds-table .btn-bet:hover { background: #ea580c; transform: translateY(-1px); }

/* ANALYSIS */
.analysis {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
}
.analysis h2 {
  font-size: 24px;
  margin: 26px 0 12px;
}
.analysis h2:first-child { margin-top: 0; }
.analysis p { color: var(--gray-900); margin-bottom: 14px; font-size: 15.5px; }
.analysis .author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.analysis .author .ava {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--lime-accent));
}
.analysis .author .who { font-size: 13px; color: var(--gray-700); }
.analysis .author .who strong { display: block; color: var(--navy); font-family: 'Archivo', sans-serif; font-size: 15px; }

/* ===================== COMPLIANCE BANNER ===================== */
.compliance-strip {
  background: #fff7ed;
  border-top: 1px solid #fed7aa;
  border-bottom: 1px solid #fed7aa;
  padding: 12px 0;
  font-size: 12.5px;
  color: #9a3412;
}
.compliance-strip .container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.compliance-strip .age {
  background: #9a3412;
  color: #fff;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  padding: 3px 9px;
  border-radius: 6px;
  flex-shrink: 0;
}
.compliance-strip a { color: #9a3412; text-decoration: underline; font-weight: 700; }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--navy);
  color: #aebbcd;
  margin-top: 50px;
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 36px;
  border-bottom: 1px solid #243651;
}
.footer-grid .logo { color: #fff; font-size: 26px; margin-bottom: 14px; }
.footer-grid p { font-size: 13.5px; color: #93a3ba; max-width: 38ch; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13.5px; color: #aebbcd; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  padding: 20px 0 28px;
  font-size: 12px;
  color: #7d8fa8;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom .reco { color: #93a3ba; }
.footer-bottom .reco strong { color: var(--lime); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-main { min-height: 340px; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr 1fr; }
  .layout, .prono-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .match-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .topbar .meta { display: none; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 3px solid var(--navy);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px; }
  .main-nav a { display: block; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px; height: 40px;
    border: 2px solid var(--navy);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
    color: var(--navy);
  }
  .header-inner { position: relative; }
  .logo { font-size: 24px; }
  .hero-main h1 { font-size: 28px; }
  .hero-side { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .match-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .match-hero .fixture { flex-direction: column; gap: 18px; }
  .match-hero .vsblock .vs { font-size: 26px; }
  .tip-box .tip-main { font-size: 22px; }
  .odds-table thead th, .odds-table tbody td { padding: 10px 8px; font-size: 14px; }
  .odds-table .bk .bkname { display: none; }
  .analysis { padding: 22px 18px; }
}
