/*
Theme Name: BetRight
Theme URI: https://betright.co.uk
Author: BetRight
Description: Professional UK betting affiliate theme with bookmaker/casino reviews, betting tips, blog, and shortcode-powered comparison tables.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: betright
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --navy-950: #060d17;
  --navy-900: #0d1520;
  --navy-800: #111e2e;
  --navy-700: #162538;
  --navy-600: #1e3248;
  --navy-500: #264060;
  --navy-400: #3a5a80;
  --navy-300: #5a7fa0;

  --green-500: #00F5C4;
  --green-400: #33f7cf;
  --green-300: #66f9da;
  --green-600: #00d4aa;
  --green-700: #00a888;
  --green-900: #004d3d;
  --green-50:  #e6fff9;

  --gold-500: #ffc107;
  --gold-400: #ffcd38;

  --red-500: #f44336;
  --red-100: #fdecea;

  --white:    #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 100px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
  --shadow-green: 0 4px 20px rgba(0,245,196,0.3);

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', sans-serif;

  --nav-height: 64px;
  --max-width:  1200px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--gray-900);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; text-transform: none; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.site-main { min-height: calc(100vh - var(--nav-height) - 240px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy-900);
  border-bottom: 2px solid var(--green-600);
  height: var(--nav-height);
  overflow: visible;
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
  overflow: visible;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo__icon {
  width: 36px;
  height: 36px;
  background: var(--green-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--navy-900);
  font-weight: 900;
  font-family: var(--font-display);
}
.site-logo__text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.04em;
}
.site-logo__text span { color: var(--green-500); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;
}
.primary-nav a {
  display: block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav .current-menu-item a {
  color: var(--white);
  background: var(--navy-700);
}

/* Dropdown */
.nav-item--dropdown { position: relative; list-style: none; }
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-dropdown-toggle:hover { color: var(--white); background: var(--navy-700); }
.nav-dropdown-arrow { font-size: 10px; opacity: 0.7; transition: transform 0.2s; }
.nav-dropdown {
  display: none;
  position: fixed;
  background: var(--navy-800);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius-lg);
  padding: 6px;
  min-width: 220px;
  max-height: 70vh;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  list-style: none;
}
.nav-item--dropdown.is-open .nav-dropdown { display: block !important; }
.nav-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius-md);
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--navy-700); color: var(--white); }

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
}
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  padding: 4px;
  cursor: pointer;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--green-500);
  color: var(--navy-900);
  box-shadow: var(--shadow-green);
  font-weight: 800;
}
.btn--primary:hover { background: var(--green-400); color: var(--navy-900); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn--outline:hover { border-color: var(--green-500); color: var(--green-500); }
.btn--navy {
  background: var(--navy-700);
  color: var(--white);
}
.btn--navy:hover { background: var(--navy-600); }
.btn--ghost {
  background: var(--gray-100);
  color: var(--gray-700);
}
.btn--ghost:hover { background: var(--gray-200); }
.btn--large { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-lg); }
.btn--pill { border-radius: var(--radius-pill); }

/* ============================================================
   HOMEPAGE HERO
   ============================================================ */
.home-hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, #0d2040 100%);
  padding: 30px 0 52px;
  border-bottom: 1px solid var(--navy-700);
  overflow: hidden;
  position: relative;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,transparent,transparent 60px,rgba(255,255,255,0.015) 60px,rgba(255,255,255,0.015) 61px),
    repeating-linear-gradient(90deg,transparent,transparent 60px,rgba(255,255,255,0.01) 60px,rgba(255,255,255,0.01) 61px);
  pointer-events: none;
}
.home-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,230,118,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.home-hero__inner {
  display: grid;
  grid-template-columns: 1fr 550px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.home-hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 14px;
}
.home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.home-hero__title em {
  font-style: normal;
  color: var(--green-500);
  display: inline;
}
.home-hero__subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.65;
}
.hero-btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}
.hero-btn-row .btn {
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 7px;
}
.hero-btn-row .btn--large {
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 7px;
}

/* Hero right — upcoming fixtures */
.hero-upcoming__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.hero-upcoming__title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}
.hero-upcoming__all {
  font-size: 11px;
  font-weight: 600;
  color: var(--green-500);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.hero-upcoming__all:hover { opacity: 1; }
.hero-fixture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}
.hero-fixture-card {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  transition: border-color 0.15s, background 0.15s;
  min-width: 0;
}
.hero-fixture-card:hover {
  border-color: rgba(0,230,118,0.4);
  background: rgba(255,255,255,0.07);
}
.hero-fixture-card__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.hero-fixture-card__league {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-500);
}
.hero-fixture-card__time {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
}
.hero-fixture-card__teams {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  min-width: 0;
}
.hero-fixture-card__team { flex: 1; min-width: 0; overflow: hidden; }
.hero-fixture-card__team--away { text-align: right; }
.hero-fixture-card__badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  vertical-align: middle;
  margin-bottom: 4px;
}
.hero-fixture-card__badge img { width: 28px; height: 28px; object-fit: cover; }
.hero-fixture-card__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.hero-fixture-card__vs {
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  flex-shrink: 0;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.section-header__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-header__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--green-500);
  border-radius: 2px;
  margin-left: 4px;
}
.section-header__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-700);
  white-space: nowrap;
}
.section-header__link:hover { color: var(--green-600); }

/* ============================================================
   TIP CARDS (same structure as football-tips.co.uk)
   ============================================================ */
.tips-section { padding: 48px 0; background: var(--white); }
.tips-feed__section { margin-bottom: 16px; }
.tips-feed__section:last-child { margin-bottom: 0; }
.league-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  margin-top: 52px;
}
.league-heading:first-child { margin-top: 0; }
.league-heading__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.league-heading__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-900);
}
.league-heading__rule { flex: 1; height: 1px; background: var(--gray-100); }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.tip-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.tip-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tip-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
}
.tip-card__body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fixture { display: flex; align-items: center; gap: 10px; }
.fixture__team { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.fixture__team--home { align-items: flex-start; text-align: left; }
.fixture__team--away { align-items: flex-end; text-align: right; }
.fixture__badge-wrap { width: 42px; height: 42px; flex-shrink: 0; }
.fixture__badge-wrap img { width: 42px; height: 42px; object-fit: contain; border-radius: 4px; }
.fixture__badge-placeholder {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--white); flex-shrink: 0;
}
.fixture__team-name { font-size: 13px; font-weight: 600; color: var(--gray-800); line-height: 1.2; }
.fixture__vs { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.fixture__vs-text { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--gray-300); text-transform: uppercase; }
.tip-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: var(--radius-md); padding: 9px 12px;
}
.tip-row__label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-400); flex-shrink: 0; }
.tip-row__value { font-size: 13px; font-weight: 600; color: var(--gray-900); flex: 1; margin-top: 2px; }
.odds-badge {
  background: var(--green-50); color: var(--green-700);
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  padding: 3px 10px; border-radius: var(--radius-md); flex-shrink: 0;
}
.tip-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.confidence-box { border: 1px solid var(--gray-100); border-radius: var(--radius-md); padding: 6px 10px; text-align: center; }
.confidence-box__label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-400); margin-bottom: 4px; white-space: nowrap; }
.confidence-stars { display: flex; gap: 2px; justify-content: center; }
.confidence-stars__star { font-size: 13px; color: var(--gray-200); }
.confidence-stars__star.is-filled { color: var(--gold-500); }
.tip-card__writeup { font-size: 12px; color: var(--gray-400); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================================
   BOOKMAKER TABLE (shortcode output)
   ============================================================ */
.br-bookie-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.br-bookie-table__row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr 160px;
  gap: 0;
  align-items: center;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.br-bookie-table__row:hover { box-shadow: var(--shadow-md); }
.br-bookie-table__row--header {
  background: var(--navy-900);
  color: rgba(255,255,255,0.6);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-md);
  box-shadow: none;
}
.br-bookie-table__row--header:hover { box-shadow: none; }
.br-bookie-table__cell { padding: 16px 18px; }
.br-bookie-table__logo-cell {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.br-bookie-table__logo { max-width: 90px; max-height: 36px; object-fit: contain; }
.br-bookie-table__name { font-weight: 700; color: var(--gray-900); font-size: 14px; margin-bottom: 2px; }
.br-bookie-table__offer-headline { font-size: 14px; font-weight: 700; color: var(--gray-900); }
.br-bookie-table__tc {
  font-size: 11px;
  color: var(--gray-400);
  line-height: 1.5;
  max-height: 34px;
  overflow-y: auto;
  margin-top: 4px;
  scrollbar-width: thin;
}
.br-bookie-table__tc::-webkit-scrollbar { width: 3px; }
.br-bookie-table__tc::-webkit-scrollbar-track { background: transparent; }
.br-bookie-table__tc::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }
.br-bookie-table__cta { padding: 14px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; border-left: 1px solid var(--gray-100); }
.br-bookie-table__cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  background: var(--green-500);
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.15s;
  box-shadow: var(--shadow-green);
}
.br-bookie-table__cta-btn:hover { background: var(--green-400); color: var(--navy-900); }
.br-bookie-table__review-link { font-size: 11px; color: var(--gray-400); text-decoration: underline; }
.br-bookie-table__review-link:hover { color: var(--green-700); }

/* Mobile bookmaker table */
@media (max-width: 680px) {
  .br-bookie-table__row {
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto auto;
  }
  .br-bookie-table__logo-cell { grid-row: 1 / 3; border-right: 1px solid var(--gray-100); }
  .br-bookie-table__offer-cell { border-bottom: 1px solid var(--gray-100); }
  .br-bookie-table__cta { grid-column: 2; border-left: none; flex-direction: row; justify-content: space-between; }
  .br-bookie-table__cta-btn { width: auto; }
  .br-bookie-table__row--header { display: none; }
}

/* ============================================================
   BOOKMAKER / CASINO REVIEW PAGES
   ============================================================ */
.review-hero {
  background: var(--navy-900);
  padding: 40px 0;
  border-bottom: 2px solid var(--green-600);
}
.review-hero__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.review-hero__logo-wrap {
  width: 100px;
  height: 60px;
  background: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}
.review-hero__logo { max-width: 80px; max-height: 40px; object-fit: contain; }
.review-hero__name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.review-hero__rating { display: flex; gap: 4px; align-items: center; }
.review-hero__star { font-size: 20px; color: rgba(255,255,255,0.2); }
.review-hero__star.is-filled { color: var(--gold-500); }
.review-hero__rating-text { font-size: 13px; color: rgba(255,255,255,0.5); margin-left: 8px; }
.review-hero__cta { flex-shrink: 0; text-align: center; }
.review-hero__cta-note { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 6px; }

.review-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
  padding: 40px 0 60px;
}
.review-sidebar { position: sticky; top: calc(var(--nav-height) + 16px); }

.offer-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.offer-card__header {
  background: var(--navy-900);
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
}
.offer-card__body { padding: 18px; }
.offer-card__headline { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; line-height: 1.3; }
.offer-card__tc { font-size: 11px; color: var(--gray-400); line-height: 1.55; margin-bottom: 14px; max-height: 48px; overflow-y: auto; }
.offer-card__btn {
  display: block;
  text-align: center;
  padding: 12px;
  background: var(--green-500);
  color: var(--navy-900);
  font-size: 15px;
  font-weight: 800;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.15s;
  box-shadow: var(--shadow-green);
}
.offer-card__btn:hover { background: var(--green-400); color: var(--navy-900); }
.offer-card__rgd { font-size: 10px; color: var(--gray-400); margin-top: 10px; text-align: center; line-height: 1.5; }

.review-content { font-size: 15px; line-height: 1.8; color: var(--gray-600); }
.review-content h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-900);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-500);
}
.review-content h2:first-child { margin-top: 0; }
.review-content h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; text-transform: none; color: var(--gray-800); margin: 20px 0 8px; }
.review-content p { margin-bottom: 1rem; }
.review-content ul, .review-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.review-content li { margin-bottom: 0.4rem; }
.review-content a { color: var(--green-700); text-decoration: underline; }

/* Rating breakdown */
.rating-breakdown { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); padding: 18px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.rating-breakdown__title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); margin-bottom: 14px; }
.rating-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rating-item:last-child { margin-bottom: 0; }
.rating-item__label { font-size: 12px; font-weight: 500; color: var(--gray-600); min-width: 100px; }
.rating-item__bar { flex: 1; height: 6px; background: var(--gray-100); border-radius: 3px; overflow: hidden; }
.rating-item__fill { height: 100%; background: var(--green-500); border-radius: 3px; }
.rating-item__score { font-size: 12px; font-weight: 700; color: var(--gray-900); min-width: 28px; text-align: right; }

/* ============================================================
   BOOKMAKERS / CASINOS LISTING PAGE
   ============================================================ */
.listing-hero {
  background: var(--navy-900);
  padding: 40px 0;
  border-bottom: 2px solid var(--green-600);
}
.listing-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.listing-hero__sub { font-size: 15px; color: rgba(255,255,255,0.6); max-width: 560px; }

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  padding: 40px 0 60px;
}
.listing-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.listing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.listing-card__header {
  background: var(--navy-900);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.listing-card__logo-wrap {
  width: 72px;
  height: 44px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
}
.listing-card__logo { max-width: 60px; max-height: 32px; object-fit: contain; }
.listing-card__info { flex: 1; }
.listing-card__name { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.listing-card__stars { display: flex; gap: 2px; }
.listing-card__star { font-size: 13px; color: rgba(255,255,255,0.2); }
.listing-card__star.is-filled { color: var(--gold-500); }
.listing-card__body { padding: 18px; flex: 1; }
.listing-card__offer { font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.listing-card__tc { font-size: 11px; color: var(--gray-400); line-height: 1.55; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-card__footer { padding: 0 18px 18px; display: flex; gap: 10px; }
.listing-card__claim { flex: 1; text-align: center; padding: 10px; background: var(--green-500); color: var(--navy-900); font-size: 13px; font-weight: 800; border-radius: var(--radius-md); text-decoration: none; box-shadow: var(--shadow-green); transition: background 0.15s; }
.listing-card__claim:hover { background: var(--green-400); color: var(--navy-900); }
.listing-card__review { padding: 10px 16px; background: var(--gray-100); color: var(--gray-600); font-size: 13px; font-weight: 600; border-radius: var(--radius-md); text-decoration: none; transition: background 0.15s; }
.listing-card__review:hover { background: var(--gray-200); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-hero {
  background: var(--navy-900);
  padding: 40px 0;
  border-bottom: 2px solid var(--green-600);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 40px 0 60px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card__thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--gray-100); }
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-card__thumb img { transform: scale(1.04); }
.blog-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green-700); margin-bottom: 8px; }
.blog-card__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; line-height: 1.25; text-transform: uppercase; }
.blog-card__excerpt { font-size: 13px; color: var(--gray-500); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__footer { padding: 14px 20px; border-top: 1px solid var(--gray-100); display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--gray-400); }

/* Single blog post */
.single-blog-hero { background: var(--navy-900); padding: 48px 0; }
.single-blog-hero__cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green-500); margin-bottom: 12px; }
.single-blog-hero__title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; color: var(--white); max-width: 800px; line-height: 1.1; margin-bottom: 16px; }
.single-blog-hero__meta { font-size: 13px; color: rgba(255,255,255,0.5); }
.single-blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 40px 0 60px; align-items: start; }
.single-blog-content { font-size: 15px; line-height: 1.85; color: var(--gray-600); }
.single-blog-content h2 { font-family: var(--font-display); font-size: 1.3rem; color: var(--gray-900); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--green-500); text-transform: uppercase; }
.single-blog-content h2:first-child { margin-top: 0; }
.single-blog-content h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; text-transform: none; color: var(--gray-800); margin: 20px 0 8px; }
.single-blog-content p { margin-bottom: 1rem; }
.single-blog-content a { color: var(--green-700); text-decoration: underline; }
.single-blog-content ul, .single-blog-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }

/* Blog sidebar */
.blog-sidebar { position: sticky; top: calc(var(--nav-height) + 16px); }
.sidebar-widget { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.sidebar-widget__header { background: var(--navy-900); padding: 12px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }
.sidebar-widget__body { padding: 16px; }
.sidebar-post { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-50); }
.sidebar-post:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-post__thumb { width: 56px; height: 42px; border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0; background: var(--gray-100); }
.sidebar-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post__title { font-size: 12px; font-weight: 600; color: var(--gray-800); line-height: 1.35; }
.sidebar-post__title a:hover { color: var(--green-700); }
.sidebar-post__date { font-size: 11px; color: var(--gray-400); margin-top: 3px; }

/* ============================================================
   SINGLE TIP PAGE
   ============================================================ */
.match-hero {
  background: var(--navy-900);
  padding: 40px 0;
}
.match-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--green-400) 0%, var(--white) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@supports not (-webkit-background-clip: text) { .match-hero__h1 { color: var(--white); background: none; } }
.match-hero__breadcrumb { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.match-hero__breadcrumb a { color: rgba(255,255,255,0.6); }
.match-hero__breadcrumb a:hover { color: var(--white); }
.match-hero__fixture { display: flex; align-items: center; justify-content: center; gap: 32px; margin-bottom: 20px; }
.match-hero__team { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 110px; }
.match-hero__badge { width: 68px; height: 68px; object-fit: contain; }
.match-hero__badge-placeholder { width: 68px; height: 68px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--white); }
.match-hero__team-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; text-transform: uppercase; color: var(--white); text-align: center; line-height: 1.2; }
.match-hero__vs { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--green-500); text-transform: uppercase; }
.match-hero__meta { text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); }
.match-content { padding: 40px 0 60px; }
.match-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.match-writeup { font-size: 15px; line-height: 1.8; color: var(--gray-600); }
.match-writeup h2 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; text-transform: uppercase; color: var(--gray-900); margin: 36px 0 4px; padding-bottom: 10px; border-bottom: 2px solid var(--green-500); }
.match-writeup h2:first-child { margin-top: 0; }
.match-writeup h3 { font-family: var(--font-body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green-700); margin: 0 0 14px; }
.match-sidebar { position: sticky; top: calc(var(--nav-height) + 16px); }
.sidebar-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.sidebar-card__header { padding: 12px 16px; background: var(--gray-50); border-bottom: 1px solid var(--gray-100); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); }
.sidebar-card__body { padding: 16px; }
.tip-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--gray-50); font-size: 13px; }
.tip-summary-row:last-child { border-bottom: none; }
.tip-summary-row__label { color: var(--gray-400); }
.tip-summary-row__value { font-weight: 600; color: var(--gray-900); }
.bet-cta { background: var(--navy-900); border-radius: var(--radius-xl); padding: 20px; text-align: center; margin-bottom: 16px; border: 1px solid var(--navy-700); }
.bet-cta__bookie-logo-wrap { display: inline-flex; align-items: center; justify-content: center; background: var(--white); border-radius: var(--radius-md); padding: 4px; margin: 0 auto 14px; width: 64px; height: 64px; }
.bet-cta__bookie-logo { width: 56px; height: 56px; object-fit: contain; display: block; border-radius: 4px; }
.bet-cta__market { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.bet-cta__tip { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.bet-cta__odds { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--green-500); line-height: 1; margin-bottom: 14px; }
.bet-cta__btn { display: block; width: 100%; padding: 13px; background: var(--green-500); color: var(--navy-900); font-size: 15px; font-weight: 800; border: none; border-radius: var(--radius-lg); cursor: pointer; text-align: center; transition: background 0.15s; text-decoration: none; box-shadow: var(--shadow-green); }
.bet-cta__btn:hover { background: var(--green-400); color: var(--navy-900); }
.bet-cta__disclaimer { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 10px; line-height: 1.5; }

/* ============================================================
   SEO CONTENT BLOCK (homepage + league pages)
   ============================================================ */
.seo-content-block { background: var(--white); border-top: 1px solid var(--gray-100); padding: 52px 0; }
.seo-content-block__inner { font-size: 15px; line-height: 1.8; color: var(--gray-600); }
.seo-content-block__inner h2 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; text-transform: uppercase; color: var(--gray-900); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--green-500); }
.seo-content-block__inner h2:first-child { margin-top: 0; }
.seo-content-block__inner p { margin-bottom: 1rem; }
.seo-content-block__inner a { color: var(--green-700); text-decoration: underline; }

/* ============================================================
   RGD NOTICE
   ============================================================ */
.rgd-notice { background: var(--gray-100); border-radius: var(--radius-md); padding: 12px 16px; display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--gray-500); line-height: 1.55; }
.rgd-notice a { color: var(--green-700); font-weight: 600; }

/* ============================================================
   LEAGUE FILTER BAR
   ============================================================ */
.league-filter { background: var(--white); border-bottom: 1px solid var(--gray-100); position: sticky; top: var(--nav-height); z-index: 90; }
.league-filter__inner { display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.league-filter__inner::-webkit-scrollbar { display: none; }
.league-filter__btn { display: flex; align-items: center; gap: 7px; padding: 14px 16px; font-size: 13px; font-weight: 600; color: var(--gray-400); background: none; border: none; border-bottom: 2px solid transparent; white-space: nowrap; transition: color 0.15s, border-color 0.15s; cursor: pointer; text-decoration: none; }
.league-filter__btn:hover { color: var(--gray-900); }
.league-filter__btn.is-active { color: var(--green-700); border-bottom-color: var(--green-500); }
.league-filter__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.league-filter__count { font-size: 11px; background: var(--gray-100); color: var(--gray-400); border-radius: 20px; padding: 1px 7px; font-weight: 600; }
.league-filter__btn.is-active .league-filter__count { background: var(--green-50); color: var(--green-700); }

/* ============================================================
   GENERAL PAGE TEMPLATE
   ============================================================ */
.page-hero { background: var(--navy-900); padding: 48px 0; border-bottom: 2px solid var(--green-600); }
.page-hero__title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; text-transform: uppercase; color: var(--white); }
.page-content { padding: 48px 0 60px; font-size: 15px; line-height: 1.8; color: var(--gray-600); max-width: 800px; }
.page-content h2 { font-family: var(--font-display); font-size: 1.3rem; color: var(--gray-900); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--green-500); text-transform: uppercase; }
.page-content h2:first-child { margin-top: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-950); border-top: 2px solid var(--green-700); padding: 52px 0 24px; color: rgba(255,255,255,0.5); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand__desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.65; max-width: 280px; margin-top: 14px; }
.footer-col__title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.footer-col__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col__links a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer-col__links a:hover { color: var(--green-400); }
.footer-bottom { border-top: 1px solid var(--navy-700); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; gap: 16px; flex-wrap: wrap; }
.footer-bottom__rgd { font-size: 12px; color: rgba(255,255,255,0.3); max-width: 540px; line-height: 1.5; }

/* ============================================================
   NO RESULTS / UTILITIES
   ============================================================ */
.no-results { text-align: center; padding: 60px 20px; color: var(--gray-300); }
.no-results__icon { font-size: 3rem; margin-bottom: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .home-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .home-hero__graphic { display: none; }
  .review-layout { grid-template-columns: 1fr; }
  .review-sidebar { position: static; }
  .single-blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}
@media (max-width: 900px) {
  .match-layout { grid-template-columns: 1fr; }
  .match-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .home-hero {
    padding: 32px 0 36px;
  }
  .hero-btn-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-btn-row .btn,
  .hero-btn-row .btn--large {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 7px;
    flex: 1;
    min-width: 0;
    text-align: center;
    justify-content: center;
  }
  .home-hero__upcoming {
    width: 100%;
    overflow: hidden;
  }
  .hero-fixture-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hero-fixture-card {
    min-width: 0;
    overflow: hidden;
  }
  .hero-fixture-card__name {
    font-size: 10px;
    word-break: break-word;
  }
  .primary-nav { display: none; }
  .primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--navy-900); padding: 12px; border-bottom: 1px solid var(--navy-700); gap: 2px; z-index: 99; }
  .nav-hamburger { display: block; }
  .tips-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .review-hero__inner { grid-template-columns: 1fr; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
