/* ============================================================================
   La Revoltosa theme (client: The Wilde Florist sibling site) — recreated for
   Altawfer casino / hub / editorial landing pages.
   Design tokens: warm cream body, orange-red accent, heavy condensed display
   type (Anton EN / Cairo AR), Inter body. Full RTL support.
   Served at /assets/css/style.css
   ========================================================================== */

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --cream: #f4efe6;
  --ink: #1c1a17;
  --accent: #fe3e29;
  --accent-dark: #e23016;
  --white: #ffffff;
  --muted: #6b6459;
  --line: rgba(28, 26, 23, 0.12);
  --tint-orange: rgba(254, 62, 41, 0.08);
  --tint-blue: #eef3f8;
  --footer-bg: #1c1a17;

  --font-display: "Anton", "Cairo", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius-pill: 999px;
  --radius-card: 14px;
  --container: 1120px;
  --header-h: 68px;
}

/* Arabic: swap display + body families (Anton has no Arabic glyphs). */
html[lang="ar"],
[dir="rtl"] {
  --font-display: "Cairo", "Tajawal", sans-serif;
  --font-body: "Cairo", "Tajawal", system-ui, sans-serif;
}

/* ---- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

h1, h2, h3, h4, .brand-name, .btn {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] .brand-name,
html[lang="ar"] .btn {
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
}

h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 0.6em; }
h3, h4 { font-size: 1.15rem; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.7em 1.5em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.05s;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.85em 1.9em; font-size: 1.05rem; }
.btn-sm { padding: 0.5em 1.1em; font-size: 0.8rem; }
.btn-block { display: flex; width: 100%; }

/* Solid orange on cream sections */
.btn-cta { background: var(--accent); color: var(--white); }
.btn-cta:hover { background: var(--accent-dark); color: var(--white); }

/* Hero variants (over solid orange) */
.btn-primary { background: var(--cream); color: var(--accent); }
.btn-primary:hover { background: var(--white); color: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: currentColor; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand-name {
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.brand-accent { color: var(--accent); }
.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  margin-top: 3px;
}

.main-nav > ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav .submenu { list-style: none; margin: 0; }
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.main-nav a:hover { color: var(--accent); text-decoration: none; }

/* ---- Mega-nav dropdowns -------------------------------------------------- */
.main-nav li.has-sub { position: relative; }

/* Sub-toggle caret: hidden on desktop, visible on mobile */
.sub-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0 4px;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--ink);
  vertical-align: middle;
}

/* Submenu: hidden by default, shown on hover/focus-within on desktop */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  min-width: 200px;
  max-height: 380px;
  overflow-y: auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 200;
}
.submenu li a {
  display: block;
  padding: 7px 16px;
  font-size: 0.85rem;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}
.submenu li a:hover { background: var(--line); color: var(--accent); text-decoration: none; }

/* Show on hover (desktop, pointer devices only) */
@media (hover: hover) {
  .has-sub:hover > .submenu { display: block; }
}
.has-sub:focus-within > .submenu { display: block; }

/* RTL: submenu aligns to inline-end */
[dir="rtl"] .submenu { inset-inline-start: auto; inset-inline-end: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---- RG banner ----------------------------------------------------------- */
.rg-banner {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}
.rg-banner .container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
}
.rg-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.72rem;
  font-family: var(--font-body);
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  background: var(--accent);
  color: var(--cream);
  padding: clamp(48px, 8vw, 96px) 0 clamp(60px, 9vw, 110px);
  text-align: center;
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 8vw, 6rem);
  margin: 0 auto 0.35em;
  max-width: 20ch;
}
.hero .hero-meta {
  font-family: var(--font-body);
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1em;
}
.hero .lead {
  font-family: var(--font-body);
  font-size: 1.2rem;
  max-width: 60ch;
  margin: 0 auto 1.6em;
}

/* ---- Lead clamp + Show more toggle ---------------------------------------- */
.lead--clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin-bottom: 0;
}
.lead--clamp.is-expanded {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  display: block;
  overflow: visible;
}
.lead-toggle-wrap {
  text-align: center;
  margin-top: .75rem;
  margin-bottom: 1.6em;
}
.lead-toggle {
  display: inline-block;
  margin: 0 auto;
  cursor: pointer;
  background: transparent;
  border: 1.5px solid rgba(244, 239, 230, 0.7);
  color: var(--cream);
  border-radius: var(--radius-pill);
  padding: .35em 1.1em;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .15s, border-color .15s;
}
.lead-toggle:hover {
  background: rgba(244, 239, 230, 0.15);
  border-color: var(--cream);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- Marquee + wave ------------------------------------------------------ */
.rev-marquee {
  background: var(--accent);
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 0;
}
.rev-marquee__track {
  display: inline-flex;
  animation: rev-marquee 22s linear infinite;
}
.rev-marquee__track span {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  padding-inline: 6px;
}
@keyframes rev-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
[dir="rtl"] .rev-marquee__track { animation-name: rev-marquee-rtl; }
@keyframes rev-marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) {
  .rev-marquee__track { animation: none; }
}

.rev-wave { line-height: 0; margin-top: -1px; background: var(--cream); }
.rev-wave svg { width: 100%; height: clamp(48px, 7vw, 100px); display: block; }

/* ---- Sections ------------------------------------------------------------ */
.section { padding: clamp(36px, 6vw, 64px) 0; }
.section--alt { background: #efe8db; }
.content { max-width: 820px; }
.section > .content { margin-inline: auto; }

/* ---- Offer table --------------------------------------------------------- */
/* DESKTOP (default, >768px): polished framed table.
   MOBILE (<=768px): white cards — see the responsive block below. */
.offer-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--font-body);
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(28, 26, 23, 0.12);
}
.offer-table thead th {
  text-align: start;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  padding: 14px 18px;
}
html[lang="ar"] .offer-table thead th { font-weight: 800; letter-spacing: 0; }
.offer-table tbody tr { background: var(--white); }
.offer-table tbody td {
  padding: 18px;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.offer-table tbody tr:last-child td { border-bottom: 0; }
/* Top-pick row: light pink tint + solid red left accent */
.offer-table tr.is-top td { background: rgba(254, 62, 41, 0.06); }
.offer-table tr.is-top td:first-child { box-shadow: inset 4px 0 0 var(--accent); }
[dir="rtl"] .offer-table tr.is-top td:first-child { box-shadow: inset -4px 0 0 var(--accent); }

/* Rank: large bold red number, no circle on desktop */
.offer-rank {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
}
html[lang="ar"] .offer-rank { font-weight: 800; }

/* Casino cell: logo box on top, brand name below */
.offer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
/* All table brands have logos → hide the letter chip */
.offer-chip { display: none; }
/* Uniform logo box: every operator logo scales into the SAME size box */
.offer-logo {
  width: 150px; height: 64px; max-width: 100%;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  display: block;
}
.offer-name {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
html[lang="ar"] .offer-name { font-weight: 800; letter-spacing: 0; }
.badge--top-pick {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Welcome bonus: dark, normal weight */
.offer-bonus { font-weight: 400; font-size: 1rem; color: var(--ink); }
.offer-bonus small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }

/* Rating: red stars + dark-maroon score badge */
.rating { display: inline-flex; align-items: center; gap: 8px; }
.rating-score {
  background: #8f1d10;
  color: #fff;
  border-radius: 6px;
  padding: 2px 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.3;
}
/* Five red stars filled to --pct over a light track.
   ★★★★★ glyph acts as the mask; the gradient supplies the fill. */
.stars {
  --pct: 0%;
  display: inline-block;
  width: 6em;
  height: 1.1em;
  font-size: 0.95rem;
  line-height: 1;
  background: linear-gradient(90deg, var(--accent) 0 var(--pct), rgba(28,26,23,0.18) var(--pct) 100%);
  -webkit-mask: var(--stars-mask);
          mask: var(--stars-mask);
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
:root {
  --stars-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20' viewBox='0 0 100 20'%3E%3Ctext x='0' y='16' font-size='20' font-family='Arial,sans-serif'%3E%E2%98%85%E2%98%85%E2%98%85%E2%98%85%E2%98%85%3C/text%3E%3C/svg%3E");
}
[dir="rtl"] .stars {
  background: linear-gradient(-90deg, var(--accent) 0 var(--pct), rgba(28,26,23,0.18) var(--pct) 100%);
}

.terms { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 6px; text-align: center; }

/* ---- Notes --------------------------------------------------------------- */
.note {
  border-radius: var(--radius-card);
  padding: 18px 20px;
  margin: 20px 0;
}
.note-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; margin: 0 0 0.4em; }
html[lang="ar"] .note-title { font-weight: 800; }
.note--info { background: var(--tint-blue); border-inline-start: 4px solid #5a83a8; }
.note--warning { background: var(--tint-orange); border-inline-start: 4px solid var(--accent); }
.note--warning .note-title { color: var(--accent-dark); }

/* ---- Cards / reviews ----------------------------------------------------- */
.card-grid { display: grid; gap: 20px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
/* Per-brand reviews: full-width cards stacked one below the other */
.reviews-stack { display: flex; flex-direction: column; gap: 24px; }
.reviews-stack .review-card { width: 100%; }
/* "See all ..." link — breathing room below the table + centered */
.see-all { margin-top: 32px; margin-bottom: 0; text-align: center; }
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
}
.review-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.review-card-title .offer-name { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; text-transform: uppercase; }
html[lang="ar"] .review-card-title .offer-name { font-weight: 800; }
.review-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
/* Pros / Cons boxed panels */
.review-pros-cons .pros,
.review-pros-cons .cons {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px 14px;
}
.review-pros-cons .pros { background: #eef7ee; border-color: rgba(34,139,64,0.28); }
.review-pros-cons .cons { background: var(--tint-orange); border-color: rgba(254,62,41,0.28); }
.review-pros-cons .pros .note-title { color: #1f7a34; }
.review-pros-cons .cons .note-title { color: var(--accent-dark); }
.review-pros-cons .note-title { margin: 0 0 8px; }
.review-features { margin: 0; padding-inline-start: 18px; font-size: 0.92rem; }
.review-features li { margin-bottom: 6px; }
.review-features--pros li::marker { color: #1f7a34; }
.review-features--cons li::marker { color: var(--accent); }
.payments { font-size: 0.88rem; color: var(--muted); }
.job-title { color: var(--accent-dark); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: -6px; }

/* ---- Getting-started steps ----------------------------------------------- */
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.steps-item {
  counter-increment: step;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 20px 18px 64px;
}
[dir="rtl"] .steps-item { padding: 18px 64px 18px 20px; }
.steps-item::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.steps-title {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.steps-detail { display: block; color: var(--muted); }

/* ---- Popular-games grid -------------------------------------------------- */
.games-grid .game-card { background: var(--white); }
.game-card .offer-name { color: var(--accent-dark); }

/* ---- FAQ ----------------------------------------------------------------- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  margin-bottom: 12px;
  padding: 0 20px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  font-family: var(--font-body);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: inline-end; color: var(--accent); font-weight: 700; }
[dir="rtl"] .faq-item summary::after { float: left; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-body { padding-bottom: 16px; }

/* ---- Country list (hub) -------------------------------------------------- */
.country-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.country-list .btn { justify-content: flex-start; }

/* ---- Country grid (homepage) --------------------------------------------- */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.country-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 16px 14px;
  transition: box-shadow 0.18s;
}
.country-card:hover { box-shadow: 0 4px 18px rgba(254, 62, 41, 0.14); }
.country-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 10px;
  color: var(--ink);
}
.country-card__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.country-card__links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
}
.country-card__links a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 600px) {
  .country-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--cream);
  padding: 48px 0 28px;
  margin-top: 40px;
}
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.8em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-about .brand-name { color: var(--cream); font-size: 1.4rem; }
.footer-rg {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.82rem;
}
.footer-rg .rg-18 { border-color: var(--cream); color: var(--cream); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.78rem;
  opacity: 0.8;
}

/* ---- Cookie banner ------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 150;
  background: var(--ink);
  color: var(--cream);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.cookie-banner__text { margin: 0; font-size: 0.85rem; }
.cookie-banner__actions { display: flex; gap: 10px; }

/* ---- RTL mirroring ------------------------------------------------------- */
[dir="rtl"] .brand-tagline { letter-spacing: 0; }
[dir="rtl"] .offer-table thead th,
[dir="rtl"] .terms { text-align: start; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .card-grid--2, .card-grid--3 { grid-template-columns: 1fr; }
  .review-pros-cons { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .main-nav li { padding: 8px 0; border-bottom: 1px solid var(--line); }

  /* Sub-toggle caret: visible on mobile */
  .sub-toggle { display: inline-block; }

  /* Submenu: inline expand (not absolute) on mobile */
  .submenu {
    position: static;
    max-height: none;
    overflow-y: visible;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 0 16px;
  }
  .submenu li { padding: 4px 0; border-bottom: 0; }

  /* Show submenu when .has-sub[data-open] on mobile */
  .has-sub > .submenu { display: none; }
  .has-sub[data-open] > .submenu { display: block; }
}

/* ---- Offer table → white cards on mobile --------------------------------- */
@media (max-width: 768px) {
  /* Drop the desktop frame; the table is just a stack of cards now. */
  .offer-table {
    display: block;
    width: 100%;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
  }
  .offer-table thead { display: none; }
  .offer-table tbody { display: block; width: 100%; }

  /* Each row → a white card. */
  .offer-table tbody tr,
  .offer-table tr.is-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    margin: 0 0 34px;
    padding: 22px 18px 18px;
    position: relative;
  }
  /* Keep the top-pick tint but as a white card (only a subtle red edge). */
  .offer-table tr.is-top { border-color: rgba(254, 62, 41, 0.35); }
  .offer-table tr.is-top td:first-child { box-shadow: none; }

  /* Every cell: block, centered, no borders, no data-label pseudo-text. */
  .offer-table tbody td {
    display: block;
    width: 100%;
    text-align: center;
    border: 0;
    padding: 6px 0;
    background: transparent;
  }
  .offer-table tbody td::before { content: none; }

  /* Visual order: top-pick pill, logo, name, stars, bonus, cta, terms.
     Source order is rank(1) casino(2) bonus(3) rating(4) cta(5). */
  .offer-table tbody td.col-rank { order: 0; }      /* rank → absolute circle */
  .offer-table tbody td:nth-child(2) { order: 2; }  /* casino: logo + name */
  .offer-table tbody td:nth-child(4) { order: 3; }  /* rating: stars + score */
  .offer-table tbody td.offer-bonus { order: 4; }   /* bonus */
  .offer-table tbody td.offer-cta { order: 5; }     /* cta + terms */

  /* Rank → solid red circle overlapping the card top-left (top-right in RTL). */
  .offer-table tbody td.col-rank {
    position: absolute;
    top: -16px;
    inset-inline-start: 16px;
    width: 40px;
    height: 40px;
    padding: 0;
  }
  .offer-table td.col-rank .offer-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1;
  }
  html[lang="ar"] .offer-table td.col-rank .offer-rank { font-weight: 800; }

  /* Casino cell → centered logo box (a bit larger) + name, stars pill floated up. */
  .offer-brand { align-items: center; gap: 12px; }
  .offer-logo {
    width: 180px; height: 84px;
    margin: 0 auto;
  }
  /* Name as a centered column so the top-pick pill sits above the name text. */
  .offer-name {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .offer-name .badge--top-pick { order: -1; }

  /* Stars + score centered. */
  .rating { justify-content: center; }

  /* Bonus centered, red, slightly larger + bold. */
  .offer-table td.offer-bonus {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
  }

  /* CTA full-width red pill; terms centered under it. */
  .offer-table td.offer-cta { padding-top: 10px; }
  .offer-cta .btn { width: 100%; }
  .terms,
  [dir="rtl"] .terms { text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* ── Author / reviewer headshots ───────────────────────────────────────── */
.author-photo,
.reviewer-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  display: block;
  margin-block-end: 12px;
}
html[dir="rtl"] .author-photo,
html[dir="rtl"] .reviewer-photo {
  margin-inline-start: auto;
}
.persona-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  display: block;
  margin-block-end: 16px;
}
html[dir="rtl"] .persona-photo {
  margin-inline-start: auto;
}
