/* ======================================================
   casinoenligne.sbs — French market · v2
   Bleu · Blanc · Rouge — mobile-first, breaking elements
   ====================================================== */

:root {
  --blue-900: #002654;
  --blue-800: #04305f;
  --blue-700: #003a7a;
  --blue-600: #0055A4;
  --blue-500: #1a6dbf;
  --blue-200: #b6d0ea;
  --blue-100: #e8f0fa;
  --blue-50:  #f4f8fc;

  --red:      #EF4135;
  --red-700:  #a41f14;
  --red-600:  #c8271b;
  --red-100:  #fde5e3;
  --red-50:   #fff2f1;

  --gold:     #ffd166;
  --gold-2:   #e6b143;

  --white:    #ffffff;
  --paper:    #f7f9fd;
  --ink:      #14213d;
  --ink-2:    #2d3557;
  --muted:    #5a6478;
  --dim:      #8a94a8;
  --line:     #e5e9f0;
  --line-2:   #cfd6e4;

  --bg-0: #f7f9fd;
  --bg-1: #ffffff;
  --bg-2: #eef3f9;

  --success: #16a34a;
  --success-100: #dcfce7;
  --danger:  #dc2626;
  --danger-100: #fee2e2;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 18px;

  --shadow-1: 0 1px 2px rgba(0,20,60,0.06), 0 2px 8px rgba(0,20,60,0.05);
  --shadow-2: 0 4px 16px rgba(0,20,60,0.08), 0 12px 32px rgba(0,20,60,0.08);
  --shadow-3: 0 20px 40px rgba(0,20,60,0.15);
  --shadow-red: 0 6px 18px rgba(239,65,53,0.35);

  --max-w: 1180px;

  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--red); text-decoration: underline; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 24px; } }

/* ---------- Flag inline ---------- */
h1 img.emoji, h2 img.emoji, .flag-emoji img.emoji {
  display: inline-block; height: 0.9em; width: auto; vertical-align: -0.12em; margin: 0 0.06em;
}
.flag-inline {
  display: inline-block; height: 0.85em; width: auto; vertical-align: -0.1em; margin: 0 0.15em;
  border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.flag-ico-img { display: inline-block; vertical-align: -4px; margin-right: 6px; border-radius: 2px; }

/* ---------- Header (mobile-first) ---------- */
.site-header {
  position: sticky;
  top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--blue-600);
  box-shadow: 0 1px 0 var(--line), 0 4px 12px rgba(0,20,60,0.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; gap: 12px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 36px; width: auto; }
@media (min-width: 720px) { .logo img { height: 44px; } .header-inner { padding: 14px 0; gap: 18px; } }

.header-search { display: none; }
@media (min-width: 1000px) {
  .header-search {
    position: relative; flex: 1; max-width: 320px;
    display: flex; align-items: center;
    background: var(--blue-50);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
  }
  .header-search .hs-ico { color: var(--muted); font-size: 14px; margin-right: 8px; }
  .hs-input { flex: 1; border: 0; background: transparent; outline: none; color: var(--ink); font-family: inherit; font-size: 14px; }
  .hs-input::placeholder { color: var(--dim); }
  .hs-results {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border: 1px solid var(--line);
    border-radius: 10px; box-shadow: var(--shadow-2);
    margin-top: 6px; padding: 8px; z-index: 200;
    max-height: 60vh; overflow: auto;
  }
  .hs-results a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--ink); font-size: 14px; }
  .hs-results a:hover { background: var(--blue-50); color: var(--blue-700); text-decoration: none; }
}
.hs-results[hidden] { display: none; }

.nav {
  display: none;
  align-items: center;
  gap: 20px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
}
.nav > a {
  color: var(--ink); padding: 8px 4px; position: relative;
}
.nav > a:hover { color: var(--red); text-decoration: none; }
.nav > a.active { color: var(--blue-600); }

@media (min-width: 960px) {
  .nav { display: flex; }
}

.menu-toggle {
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--blue-600); border: 0;
  color: var(--white); padding: 8px 12px;
  border-radius: 8px; font-size: 20px; cursor: pointer;
  line-height: 1;
}
@media (min-width: 960px) { .menu-toggle { display: none; } }

.nav.open {
  display: flex; flex-direction: column; align-items: stretch;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 12px 16px; gap: 2px;
  max-height: 80vh; overflow-y: auto;
  box-shadow: var(--shadow-2);
}
.nav.open > a {
  width: 100%; text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.nav.open > a:last-child { border-bottom: 0; }

/* ---------- Market subnav (fluid horizontal scroll) ---------- */
.market-subnav {
  background: var(--blue-900);
  color: var(--white);
  border-bottom: 3px solid var(--red);
}
.subnav-scroll {
  display: flex; gap: 2px; overflow-x: auto;
  padding: 6px 0;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.subnav-scroll::-webkit-scrollbar { height: 4px; }
.subnav-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 4px; }
.subnav-scroll a {
  color: rgba(255,255,255,0.85);
  padding: 10px 14px; border-radius: 6px;
  font-weight: 600; font-size: 13.5px;
  white-space: nowrap; flex-shrink: 0;
}
.subnav-scroll a:hover { background: rgba(255,255,255,0.10); color: var(--white); text-decoration: none; }
.subnav-scroll a.active { background: var(--red); color: var(--white); }

/* ---------- Hero ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(1000px 400px at 90% 0%, rgba(239,65,53,0.25), transparent 60%),
    radial-gradient(800px 400px at 0% 100%, rgba(255,209,102,0.15), transparent 60%),
    linear-gradient(135deg, var(--blue-900) 0%, var(--blue-600) 100%);
  color: var(--white);
  padding: 30px 0 26px;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, transparent 33.33%, rgba(255,255,255,0.04) 33.33%, rgba(255,255,255,0.04) 66.66%, rgba(239,65,53,0.08) 66.66%);
  pointer-events: none;
}
.page-hero .blob { display: none; }
.page-hero .container { position: relative; z-index: 1; }

.breadcrumbs {
  font-size: 12.5px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.breadcrumbs a { color: rgba(255,255,255,0.85); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs .sep { color: rgba(255,255,255,0.45); }

.page-hero h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(24px, 5.5vw, 40px);
  line-height: 1.18; margin-bottom: 12px;
  color: var(--white);
  letter-spacing: -0.01em;
}
.page-hero h1 .flag-inline { height: 0.8em; }
.page-hero .lead {
  font-size: 15px; line-height: 1.65;
  color: rgba(255,255,255,0.92);
  max-width: 880px;
}
@media (min-width: 720px) {
  .page-hero { padding: 46px 0 40px; }
  .page-hero .lead { font-size: 16.5px; line-height: 1.7; }
}
.page-hero .lead a { color: var(--gold); }
.page-hero .lead a:hover { color: var(--white); }

/* ---------- Read more collapsible intro ---------- */
.read-more-wrap {
  position: relative;
  margin-top: 6px;
}
.read-more-wrap .read-more-content {
  max-height: 4.5em;
  overflow: hidden;
  transition: max-height 0.35s ease;
  position: relative;
}
.read-more-wrap:not(.expanded) .read-more-content::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 2.4em;
  background: linear-gradient(180deg, transparent, var(--blue-900));
  pointer-events: none;
}
.read-more-wrap.expanded .read-more-content {
  max-height: 200em;
}
.read-more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.30);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.15s ease;
}
.read-more-btn:hover { background: rgba(255,255,255,0.22); }
.read-more-btn .icon { transition: transform 0.2s ease; font-size: 14px; }
.read-more-wrap.expanded .read-more-btn .icon { transform: rotate(180deg); }

/* ---------- Section headings ---------- */
.list-heading {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(20px, 3.5vw, 26px);
  color: var(--blue-900);
  margin: 28px 0 14px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--red);
  display: inline-block;
}

/* ---------- Info strip (breaking element) ---------- */
.info-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  margin: 14px 0 20px;
}
.info-strip .item {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
}
.info-strip .item + .item { border-top: 1px solid var(--line); padding-top: 12px; }
.info-strip .ico {
  width: 34px; height: 34px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--blue-50); color: var(--blue-600);
  font-weight: 800; font-size: 16px;
}
.info-strip .txt { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.info-strip .txt strong { color: var(--blue-900); font-weight: 700; }
@media (min-width: 720px) {
  .info-strip { grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px 16px; }
  .info-strip .item + .item { border-top: 0; border-left: 1px solid var(--line); padding-top: 6px; padding-left: 14px; }
  .info-strip .item:first-child { padding-left: 0; }
}

/* ---------- Casino cards (mobile-first) ---------- */
.casino-list {
  display: grid; gap: 14px;
  margin: 14px 0 20px;
}
.casino-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-areas:
    "rank thumb"
    "info info"
    "bonus bonus"
    "cta cta";
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-1);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-left-color 0.15s ease;
}
.casino-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-left-color: var(--red); }

.rank-badge {
  grid-area: rank;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-900); color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 18px;
  box-shadow: var(--shadow-1);
}
.casino-card:nth-child(1) .rank-badge { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--blue-900); }
.casino-card:nth-child(2) .rank-badge { background: linear-gradient(135deg, #c0c8d4, #9098a8); color: var(--white); }
.casino-card:nth-child(3) .rank-badge { background: linear-gradient(135deg, #cd7f32, #a4682a); color: var(--white); }

.casino-thumb {
  grid-area: thumb;
  width: 100%; height: 90px;
  background: var(--blue-50);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.casino-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 6px; }

.casino-info {
  grid-area: info;
  display: flex; flex-direction: column; gap: 6px;
}
.casino-info h3 {
  font-family: var(--font-head); font-weight: 700;
  font-size: 18px; color: var(--blue-900);
}
.rating {
  display: inline-block;
  font-size: 14px; color: var(--gold-2);
  font-weight: 700;
  margin: 4px 0 6px;
}
.casino-features {
  list-style: none; padding: 0; margin: 0;
  font-size: 13.5px; color: var(--muted);
}
.casino-features li {
  padding-left: 18px; position: relative; margin-bottom: 3px; line-height: 1.4;
}
.casino-features li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--success); font-weight: 700;
}

.casino-bonus {
  grid-area: bonus;
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 12px; background: var(--blue-50);
  border-radius: 8px;
  border-left: 3px solid var(--red);
}
.bonus-label {
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.bonus-amount {
  font-family: var(--font-head); font-weight: 700;
  font-size: 15px; color: var(--blue-900); line-height: 1.3;
}

.casino-cta {
  grid-area: cta;
  display: flex; flex-direction: column; gap: 10px; align-items: stretch;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  text-align: center; cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--red); color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-600); color: var(--white);
  transform: translateY(-1px); text-decoration: none;
  box-shadow: 0 8px 22px rgba(239,65,53,0.5);
}
.btn-block { width: 100%; }
.btn-outline { background: transparent; color: var(--blue-600); border-color: var(--blue-600); }
.btn-outline:hover { background: var(--blue-600); color: var(--white); text-decoration: none; }

.payment-icons {
  display: flex; gap: 6px; flex-wrap: wrap;
  justify-content: center; align-items: center;
}
.payment-icons img { height: 20px; width: auto; opacity: 0.95; border-radius: 3px; }

@media (min-width: 720px) {
  .casino-card {
    grid-template-columns: 50px 130px 1.4fr 1fr 200px;
    grid-template-areas: "rank thumb info bonus cta";
    gap: 16px; padding: 16px 18px; align-items: center;
  }
  .casino-thumb { height: 90px; }
  .payment-icons { justify-content: flex-start; }
}

/* ---------- Content sections (mobile-first, no forced grid) ---------- */
.content {
  padding: 24px 0 20px;
}
@media (min-width: 720px) {
  .content { padding: 30px 0 26px; }
}

/* Money page grid — only when TOC + sections coexist as top-level children */
.content .container > aside.toc + section,
.content .container > aside.toc {
  /* Money-page layout uses grid only above 900px */
}

@media (min-width: 900px) {
  /* Float-based sidebar so short first sections don't create a giant gap next to the TOC */
  .content > .container:has(> aside.toc) {
    display: block;
    position: relative;
  }
  .content > .container:has(> aside.toc)::after {
    content: ""; display: block; clear: both;
  }
  .content > .container:has(> aside.toc) > aside.toc {
    float: left;
    width: 240px;
    margin: 0 26px 20px 0;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
  .content > .container:has(> aside.toc) > *:not(aside.toc) {
    margin-left: 266px;
  }
}

.content h2 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(19px, 3.2vw, 24px);
  color: var(--blue-900); line-height: 1.25;
  margin: 28px 0 12px;
  scroll-margin-top: 90px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}
.content h3 {
  font-family: var(--font-head); font-weight: 700;
  font-size: 17px; color: var(--blue-700);
  margin: 18px 0 8px;
}
.content p {
  margin-bottom: 12px;
  font-size: 15.5px; line-height: 1.7;
  color: var(--ink-2);
}
@media (min-width: 720px) {
  .content p { font-size: 16px; line-height: 1.75; }
}
.content ul, .content ol { padding-left: 22px; margin-bottom: 12px; color: var(--ink-2); }
.content li { margin-bottom: 6px; }

/* ---------- TOC ---------- */
.toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-1);
  font-size: 13.5px;
  margin: 14px 0;
}
@media (min-width: 900px) {
  .toc {
    position: sticky; top: 90px;
    max-height: calc(100vh - 110px); overflow-y: auto;
  }
}
.toc-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px; margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.toc-title {
  font-family: var(--font-head); font-weight: 700;
  color: var(--blue-900); font-size: 13px; letter-spacing: 0.02em;
  text-transform: uppercase;
}
.toc-toggle {
  background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 14px;
}
.toc-list { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc-list li { counter-increment: toc; padding: 4px 0; line-height: 1.4; }
.toc-list li::before {
  content: counter(toc) ".";
  color: var(--red); font-weight: 700; margin-right: 6px;
}
.toc-list a { color: var(--ink-2); font-size: 13px; }
.toc-list a:hover { color: var(--red); }
.toc.collapsed .toc-list { display: none; }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  margin: 14px 0 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  -webkit-overflow-scrolling: touch;
}
.table-wrap table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
  min-width: 520px;
}
.table-wrap thead { background: var(--blue-900); color: var(--white); }
.table-wrap th {
  padding: 11px 12px; text-align: left;
  font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.03em; text-transform: uppercase;
  white-space: nowrap;
}
.table-wrap td {
  padding: 11px 12px; border-top: 1px solid var(--line);
  color: var(--ink-2); line-height: 1.5;
}
.table-wrap tbody tr:nth-child(even) { background: var(--blue-50); }
.table-wrap tbody tr:hover { background: #eef4fa; }
@media (min-width: 720px) {
  .table-wrap table { font-size: 14.5px; }
  .table-wrap th, .table-wrap td { padding: 12px 14px; }
}

/* ---------- Review banner ---------- */
.review-banner {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 16px 0 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.review-banner img { width: 100%; height: auto; display: block; }

/* ---------- Feature cards ---------- */
.feature-cards {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
  margin: 14px 0 20px;
}
@media (min-width: 560px) { .feature-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feature-cards { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-1);
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--blue-500); box-shadow: var(--shadow-2); }
.feature-card .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
  color: var(--blue-600);
  font-size: 20px; font-weight: 700;
  margin-bottom: 10px;
}
.feature-card h3 { font-size: 16px; margin-bottom: 6px; }
.feature-card h3 a { color: var(--blue-900); }
.feature-card h3 a:hover { color: var(--red); text-decoration: none; }
.feature-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- Callout ---------- */
.callout {
  border-left: 4px solid var(--blue-600);
  background: var(--blue-50);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 16px 0;
}
.callout h3 { color: var(--blue-900); font-size: 16px; margin: 0 0 6px; }
.callout p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.callout.is-warning { border-left-color: var(--red); background: var(--red-50); }
.callout.is-warning h3 { color: var(--red-700); }
.callout.is-info { border-left-color: var(--blue-600); background: var(--blue-50); }
.callout.is-success { border-left-color: var(--success); background: var(--success-100); }
.callout.is-success h3 { color: #14532d; }

/* ---------- Pros / Cons boxes (BREAKING ELEMENT) ---------- */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 16px 0 22px;
}
@media (min-width: 640px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros, .cons {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-1);
}
.pros { border-top: 4px solid var(--success); }
.cons { border-top: 4px solid var(--danger); }
.pros h4, .cons h4 {
  font-family: var(--font-head); font-weight: 700;
  font-size: 15px; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.pros h4 { color: var(--success); }
.cons h4 { color: var(--danger); }
.pros h4::before, .cons h4::before {
  content: ""; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  font-weight: 800; font-size: 15px;
}
.pros h4::before { content: "+"; background: var(--success-100); color: var(--success); }
.cons h4::before { content: "−"; background: var(--danger-100); color: var(--danger); }
.pros ul, .cons ul {
  list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--ink-2);
}
.pros li, .cons li {
  padding: 6px 0 6px 22px; position: relative; line-height: 1.5;
  border-bottom: 1px dashed var(--line);
}
.pros li:last-child, .cons li:last-child { border-bottom: 0; }
.pros li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  color: var(--success); font-weight: 800;
}
.cons li::before {
  content: "×"; position: absolute; left: 0; top: 6px;
  color: var(--danger); font-weight: 800;
}

/* ---------- Stat tiles (BREAKING ELEMENT) ---------- */
.stat-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px; margin: 16px 0 22px;
}
@media (min-width: 720px) { .stat-tiles { grid-template-columns: repeat(4, 1fr); } }
.stat-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-600);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  box-shadow: var(--shadow-1);
}
.stat-tile:nth-child(4n+2) { border-top-color: var(--red); }
.stat-tile:nth-child(4n+3) { border-top-color: var(--gold-2); }
.stat-tile:nth-child(4n+4) { border-top-color: var(--success); }
.stat-tile .num {
  font-family: var(--font-head); font-weight: 800;
  font-size: 26px; line-height: 1;
  color: var(--blue-900);
  display: block; margin-bottom: 6px;
}
.stat-tile .lbl {
  font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}

/* ---------- Quick verdict box ---------- */
.verdict-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin: 18px 0;
  box-shadow: var(--shadow-2);
}
.verdict-box h3 {
  font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}
.verdict-box p { margin: 0; color: rgba(255,255,255,0.95); font-size: 15px; line-height: 1.6; }
.verdict-box .verdict-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; background: var(--red); color: var(--white);
  border-radius: 8px; font-weight: 700; font-size: 14px;
  align-self: start;
  box-shadow: var(--shadow-red);
}
.verdict-box .verdict-cta:hover { background: var(--red-600); text-decoration: none; }
@media (min-width: 720px) {
  .verdict-box { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- FAQ ---------- */
.faq-accordion { margin: 14px 0 20px; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}
.faq-item[open] { box-shadow: var(--shadow-1); }
.faq-item summary {
  padding: 14px 16px; cursor: pointer;
  list-style: none;
  font-family: var(--font-head); font-weight: 600;
  color: var(--blue-900);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--red); font-size: 24px; font-weight: 300;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: 12px 16px 16px; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }
.faq-answer p { margin: 0 0 8px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Author box ---------- */
.author-box {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-600);
  border-radius: var(--radius);
  padding: 18px; margin: 26px 0;
  box-shadow: var(--shadow-1);
}
.author-avatar {
  width: 76px; height: 76px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue-100);
}
@media (min-width: 560px) {
  .author-box { grid-template-columns: 88px 1fr; align-items: start; gap: 16px; }
  .author-avatar { width: 88px; height: 88px; }
}
.author-eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 4px;
}
.author-name-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px;
}
.author-name { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--blue-900); }
.author-email-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 6px;
  background: var(--blue-50); color: var(--blue-700);
  font-size: 12.5px; font-weight: 600;
}
.author-email-btn:hover { background: var(--blue-100); color: var(--blue-900); text-decoration: none; }
.author-role {
  display: block;
  font-size: 13px; color: var(--muted); margin-bottom: 8px;
  font-style: italic;
}
.author-bio { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }

/* ---------- Related cards ---------- */
.related-title {
  font-family: var(--font-head); font-weight: 800;
  color: var(--blue-900); font-size: 20px;
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.related-grid {
  display: grid; gap: 10px;
  grid-template-columns: 1fr;
  margin-bottom: 20px;
}
@media (min-width: 480px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 720px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .related-grid { grid-template-columns: repeat(4, 1fr); } }
.related-card {
  display: flex; flex-direction: column;
  padding: 12px 14px; background: var(--white);
  border: 1px solid var(--line); border-radius: 8px;
  transition: transform 0.15s ease, border-color 0.15s ease;
  color: var(--ink);
}
.related-card:hover { transform: translateY(-2px); border-color: var(--blue-500); color: var(--ink); text-decoration: none; }
.r-tag {
  display: inline-block;
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 4px;
}
.r-title { font-family: var(--font-head); font-weight: 700; color: var(--blue-900); font-size: 14.5px; }

/* ---------- Forms ---------- */
form { display: block; }
.form-group { margin-bottom: 14px; }
label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; padding: 11px 12px;
  border: 1px solid var(--line-2); border-radius: 8px;
  background: var(--white); color: var(--ink);
  font-family: inherit; font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(0,85,164,0.15);
}
button[type="submit"] {
  padding: 12px 24px; background: var(--red); color: var(--white);
  border: 0; border-radius: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  cursor: pointer; box-shadow: var(--shadow-red);
}
button[type="submit"]:hover { background: var(--red-600); }

/* ---------- Responsible badge ---------- */
.responsible-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--red); color: var(--white);
  font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-900);
  color: rgba(255,255,255,0.85);
  padding: 30px 0 20px;
  margin-top: 40px;
  border-top: 4px solid var(--red);
}
.site-footer .logo img { height: 40px; filter: brightness(0) invert(1); }
.footer-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; } }
.site-footer h3 {
  color: var(--white);
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.site-footer p { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,0.85); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: rgba(255,255,255,0.75); font-size: 13.5px; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.footer-bottom {
  margin-top: 24px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,0.60);
}

/* ---------- Utility ---------- */
.reveal { opacity: 1; transform: none; }
.text-muted { color: var(--muted); }
.text-small { font-size: 13.5px; }

/* ================================================
   POLICY / LEGAL / ARTICLE PAGES  (fixes narrow layout)
   ================================================ */
.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 0 20px;
  width: 100%;
}
@media (min-width: 900px) {
  /* Cancel the two-column grid from .content on article pages */
  .content > .container:has(.article) {
    display: block !important;
    grid-template-columns: none !important;
  }
  .content > .container > .article {
    grid-column: 1 / -1 !important;
    max-width: 860px;
  }
}
.article-hero {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
  color: var(--white);
  padding: 26px 22px 22px;
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  box-shadow: var(--shadow-2);
  position: relative; overflow: hidden;
}
.article-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, transparent 33%, rgba(255,255,255,0.05) 33%, rgba(255,255,255,0.05) 66%, rgba(239,65,53,0.10) 66%);
  pointer-events: none;
}
.article-hero .breadcrumbs { color: rgba(255,255,255,0.75); position: relative; z-index: 1; }
.article-hero .breadcrumbs a { color: rgba(255,255,255,0.85); }
.article-hero h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(24px, 5vw, 32px);
  color: var(--white); line-height: 1.2; margin: 6px 0 12px;
  position: relative; z-index: 1;
}
.article-hero .lead {
  font-size: 15px; line-height: 1.7;
  color: rgba(255,255,255,0.92);
  position: relative; z-index: 1;
}
@media (min-width: 720px) { .article-hero .lead { font-size: 16px; } }

.disclosure-hero-img {
  width: 100%; height: auto; margin: 4px 0 20px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-1); border: 1px solid var(--line);
}

.article-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 20px 26px;
  box-shadow: var(--shadow-1);
}
@media (min-width: 720px) {
  .article-body { padding: 26px 30px 30px; }
}
.article-body h2 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(19px, 3vw, 24px);
  color: var(--blue-900);
  margin: 26px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
  scroll-margin-top: 90px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: var(--font-head); font-weight: 700;
  font-size: 17px; color: var(--blue-700);
  margin: 18px 0 8px;
}
.article-body p { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); margin-bottom: 12px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 14px; color: var(--ink-2); }
.article-body li { margin-bottom: 6px; line-height: 1.6; }
.article-body a { color: var(--blue-600); font-weight: 600; }
.article-body a:hover { color: var(--red); }

/* Article page — hide TOC on mobile, sticky on desktop */
.article .toc { margin: 14px 0 18px; }
@media (min-width: 900px) {
  .article {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    max-width: 1100px;
  }
  .article > .article-hero,
  .article > .disclosure-hero-img { grid-column: 1 / -1; }
  .article > aside.toc { grid-column: 1; }
  .article > .article-body { grid-column: 2; }
}

/* ================================================
   Accessibility & motion
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }


/* ======================================================
   v2.2 patch — mobile above-the-fold compaction
   ====================================================== */
@media (max-width: 719px) {
  .page-hero { padding: 20px 0 18px; }
  .page-hero h1 { font-size: clamp(22px, 6vw, 28px); margin-bottom: 8px; }
  .page-hero .lead { font-size: 14px; line-height: 1.55; }
  .read-more-wrap .read-more-content { max-height: 3em; }
  .read-more-btn { margin-top: 8px; padding: 6px 14px; font-size: 12.5px; }
  .list-heading { margin: 18px 0 10px; font-size: 18px; }
  .breadcrumbs { margin-bottom: 8px; font-size: 12px; }
  .casino-card { padding: 12px; gap: 10px; }
  .casino-thumb { height: 74px; }
  .casino-info h3 { font-size: 17px; }
  .btn-primary { padding: 11px 16px; font-size: 13.5px; }
}

/* ======================================================
   v2.3 patch — orphan classes from earlier agent inserts
   ====================================================== */

/* Numbered step grid used on some fr guide pages (e.g. "Les 4 tests…") */
.step-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin: 16px 0 22px;
}
@media (min-width: 560px) { .step-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .step-grid { grid-template-columns: repeat(4, 1fr); } }

.step-box {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 16px 16px;
  box-shadow: var(--shadow-1);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.step-box:hover {
  transform: translateY(-2px);
  border-color: var(--blue-500);
  box-shadow: var(--shadow-2);
}
.step-num {
  position: absolute;
  top: -14px; left: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-600));
  color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 16px;
  box-shadow: var(--shadow-red);
  border: 3px solid var(--white);
}
.step-box h3 {
  font-family: var(--font-head); font-weight: 700;
  font-size: 16px; color: var(--blue-900);
  margin: 0 0 6px;
}
.step-box p {
  font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin: 0;
}

/* .tile is used as an alias/variant of .stat-tile inside .stat-tiles wrappers */
.stat-tiles > .tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-600);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  box-shadow: var(--shadow-1);
}
.stat-tiles > .tile:nth-child(4n+2) { border-top-color: var(--red); }
.stat-tiles > .tile:nth-child(4n+3) { border-top-color: var(--gold-2); }
.stat-tiles > .tile:nth-child(4n+4) { border-top-color: var(--success); }
.stat-tiles > .tile > .num {
  font-family: var(--font-head); font-weight: 800;
  font-size: 24px; line-height: 1;
  color: var(--blue-900);
  display: block; margin-bottom: 6px;
}
.stat-tiles > .tile > .lbl {
  font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}

/* Author box: some pages use inner wrapper divs .author-info / .author-meta / .author-contact */
.author-box .author-info,
.author-box .author-meta { min-width: 0; }
.author-box .author-contact {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 8px;
}

/* v2.4 — hide market-subnav on mobile (hamburger already covers same links) */
@media (max-width: 959px) {
  .market-subnav { display: none; }
}

/* v2.4b — hide market-subnav on ALL viewports (main nav is enough everywhere) */
.market-subnav { display: none !important; }
