/* ============================================================
   Online Pokies Australia — Main Stylesheet
   Colors: Dark Green #14532d, Gold #d4a843, White #fff
   Typography: System stack + Georgia fallback
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #14532d; text-decoration: none; transition: color .2s; }
a:hover { color: #d4a843; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
button { cursor: pointer; font: inherit; }

/* --- Layout --- */
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
section { padding: 48px 0; }
/* section:nth-child(even) { background: #f8faf8; } */

/* --- Responsible Gambling Banner --- */
.rg-banner {
  background: #0f172a;
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  position: relative;
  z-index: 2000;
}
.rg-banner a { color: #facc15; text-decoration: underline; text-underline-offset: 2px; }
.rg-banner strong { color: #fff; }

/* --- Header & Navigation --- */
.site-header {
  background: #14532d;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1140px;
  margin: 0 auto;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.logo img { height: 50px; width: auto; max-height: 50px; }
.logo span { color: #fbbf24; }
.footer-brand .logo img { height: 38px; width: auto; max-height: 42px; }

/* Desktop nav */
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* Mobile hamburger */
.nav-toggle { display: none; background: none; border: none; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform .3s, opacity .3s;
  border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #14532d 0%, #1a6b3a 50%, #0f3d1e 100%);
  padding: 56px 0 64px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,168,67,.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 800;
}
.hero h1 em { color: #fbbf24; font-style: normal; }
.hero-subtitle {
  font-size: 1.1rem;
  color: #bbf7d0;
  margin-bottom: 24px;
  line-height: 1.6;
}
.hero-facts {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-fact {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 10px 16px;
  text-align: center;
  min-width: 100px;
}
.hero-fact strong { display: block; font-size: 1.3rem; color: #fbbf24; }
.hero-fact span { font-size: .8rem; color: #bbf7d0; }
.hero-img { text-align: center; }
.hero-img img { border-radius: 12px; max-height: 360px; margin: 0 auto; display: block; transition: transform .35s ease, box-shadow .35s ease, filter .35s ease; will-change: transform; }
.hero-img img:hover { transform: scale(1.03); box-shadow: 0 14px 38px rgba(0,0,0,.25); filter: brightness(1.04) saturate(1.08); }

/* CTA Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  transition: transform .15s, box-shadow .2s, background .2s;
  border: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.btn-gold {
  background: linear-gradient(135deg, #d4a843 0%, #e6af45 100%);
  color: #14532d;
}
.btn-gold:hover { background: linear-gradient(135deg, #e0b84f 0%, #c69933 100%); color: #14532d; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-green {
  background: #14532d;
  color: #fff;
}
.btn-green:hover { background: #1a6b3a; color: #fff; }
.btn-sm { padding: 10px; font-size: 16px; width: 170px;}
.cta-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Casino Card / List --- */
.casino-logo{
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.casino-logo .casino-rating { margin-top: 4px; }
.casino-logo-link{display:inline-block;transition:transform .2s ease;border-radius:8px}
.casino-logo-link img{transition:filter .2s ease,box-shadow .2s ease;display:block;max-width:180px;max-height:80px;width:auto;height:auto;object-fit:contain}
.casino-logo-link:hover{transform:scale(1.06)}
.casino-logo-link:hover img{filter:drop-shadow(0 6px 16px rgba(0,0,0,.2))}
.casino-list { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }
.casino-card {
  /* background: #fff; */
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: 150px 1fr 200px 160px;
  gap: 20px;
  align-items: center;
  transition: box-shadow .2s, border-color .2s;
  position: relative;
}
.casino-card:hover {
  box-shadow: 0 4px 16px rgba(20,83,45,.1);
  border-color: #14532d;
}
.casino-rank {
  width: 30px; height: 30px;
  background: #14532d;
  color: #fbbf24;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  position: absolute;
  left: -15px;
  top: -10px;
}
.casino-rank.top-3 { background: linear-gradient(135deg, #d4a843, #b8892e); color: #fff; }
.casino-info h3 { font-size: 1.2rem; margin-bottom: 4px; }
.casino-info h3 a { color: #14532d; }
.casino-info h3 a:hover { color: #d4a843; }
.casino-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #475569;
  margin-top: 6px;
}
.casino-meta .tag {
  /* background: #f0fdf4; */
  color: #14532d;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #a7adb4;
  box-shadow: 0 4px 16px rgba(20, 83, 45, .1);
  border-color: #14532d;
}
.casino-bonus {
  text-align: center;
  padding: 12px;
  /* background: #f0fdf4;
  border-radius: 8px; */
}

/* --- Pros / Cons --- */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
  font-size: 13px;
}
.pros-cons .pros-col {
  background: #f0fdf4;
  padding: 10px 12px;
  border-radius: 6px;
}
.pros-cons .cons-col {
  background: #fef2f2;
  padding: 10px 12px;
  border-radius: 6px;
}
.pros-cons .pros-col strong { color: #15803d; }
.pros-cons .cons-col strong { color: #dc2626; }
.pros-cons ul {
  margin-top: 6px;
  padding-left: 16px;
  list-style: disc;
  color: #1e293b;
}
.casino-bonus strong {
  display: block;
  font-size: 1.1rem;
  color: #14532d;
  margin-bottom: 2px;
}
.casino-bonus small { color: #475569; font-size: 12px; }
.casino-cta { text-align: center; }
/* Mobile-only rating (sibling of casino-logo) — hidden on desktop */
.casino-card > .mobile-rating { display: none; }
/* "More Information" toggle — visible on both desktop and mobile */
.card-more {
  margin-top: 12px;
  border-top: 1px solid #cbd5e1;
  padding-top: 8px;
}
.card-more summary {
  cursor: pointer;
  font-size: 13px;
  color: #14532d;
  font-weight: 700;
  text-align: center;
  padding: 8px 12px;
  list-style: none;
  user-select: none;
  border-radius: 6px;
  transition: background .15s ease;
}
.card-more summary:hover { background: #f1f5f9; }
.card-more summary::-webkit-details-marker { display: none; }
.card-more summary::after { content: " ▼"; font-size: 10px; margin-left: 6px; }
.card-more[open] summary::after { content: " ▲"; }
.card-more .pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
.casino-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  justify-content: center;
  flex-direction: column;
}
.rating-score {
  background: #14532d;
  color: #fbbf24;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 16px;
}
.stars { color: #d4a843; font-size: 18px; letter-spacing: 1px; }

/* Casino Description Toggle (progressive enhancement — JS adds .desc-truncated) */
.casino-list .casino-info > p.desc-truncated {
  max-height: 3em;
  overflow: hidden;
  position: relative;
  transition: max-height .35s ease;
  margin-bottom: 4px;
}
.casino-list .casino-info > p.desc-truncated::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 22px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #f1f5f9);
  pointer-events: none;
  transition: opacity .2s;
}
.casino-list .casino-info > p.desc-open {
  max-height: 600px;
}
.casino-list .casino-info > p.desc-open::after {
  opacity: 0;
}
.desc-toggle {
  background: none;
  border: none;
  color: #14532d;
  font-size: 13px;
  font-weight: 600;
  padding: 2px 0;
  cursor: pointer;
  display: block;
  margin-bottom: 6px;
}
.desc-toggle:hover { color: #d4a843; }

/* Badge */
.badge {
  position: absolute;
  top: -8px;
  left: 20px;
  background: linear-gradient(135deg, #d4a843, #b8892e);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* --- Section Headers --- */
.section-header { text-align: center; margin-bottom: 36px; }
.section-header h2 {
  font-size: 2rem;
  color: #14532d;
  margin-bottom: 10px;
  font-weight: 800;
}
.section-header p {
  color: #64748b;
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}
h2 { font-size: 1.8rem; color: #14532d; margin-bottom: 16px; font-weight: 800; }
h3 { font-size: 1.3rem; color: #1e293b; margin-bottom: 10px; font-weight: 700; }
h4 { font-size: 1.1rem; color: #14532d; margin-bottom: 8px; font-weight: 700; }

/* --- Content Typography --- */
.content p { margin-bottom: 16px; }
.content ul, .content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
.content ul { list-style: disc; }
.content ol { list-style: decimal; }
.content li { margin-bottom: 6px; }
.content strong { color: #0f172a; }
.content a { color: #14532d; text-decoration: underline; text-underline-offset: 2px; }
.content a:hover { color: #d4a843; }
.content blockquote {
  border-left: 4px solid #d4a843;
  padding: 16px 20px;
  margin: 20px 0;
  background: #fffbeb;
  border-radius: 0 8px 8px 0;
  color: #78350f;
  font-style: italic;
}

/* --- Tables --- */
.table-wrap { overflow-x: auto; margin: 20px 0; border-radius: 8px; border: 1px solid #e2e8f0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead { background: #14532d; color: #fff; }
th { padding: 12px 16px; text-align: left; font-weight: 600; white-space: nowrap; }
td { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; }
tbody tr:hover { background: #f0fdf4; }
tbody tr:last-child td { border-bottom: none; }

/* --- FAQ Accordion --- */
.faq-list { max-width: 1140px; margin: 0 auto; }
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: #fff;
  border: none;
  padding: 18px 20px;
  margin: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #14532d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background .2s;
  line-height: 1.4;
}
.faq-q:focus-visible { outline: 2px solid #14532d; outline-offset: -2px; }
.faq-q:hover { background: #f0fdf4; }
.faq-q::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: #64748b;
  transition: transform .3s;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item.open .faq-q::after { content: "\2212"; }
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: #475569;
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 20px 20px; }

/* --- Pros & Cons --- */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.pros, .cons {
  padding: 20px;
  border-radius: 10px;
}
.pros { background: #f0fdf4; border: 1px solid #bbf7d0; }
.cons { background: #fef2f2; border: 1px solid #fecaca; }
.pros h4 { color: #14532d; }
.cons h4 { color: #991b1b; }
.pros li::before { content: "\2713 "; color: #14532d; font-weight: 700; }
.cons li::before { content: "\2717 "; color: #dc2626; font-weight: 700; }
.pros ul, .cons ul { list-style: none; padding: 0; }
.pros li, .cons li { padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.pros li:last-child, .cons li:last-child { border-bottom: none; }

/* --- Payment Icons Grid --- */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.payment-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Info Box / Callout --- */
.info-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-box.warning { background: #fffbeb; border-color: #fde68a; }
.info-box.danger { background: #fef2f2; border-color: #fecaca; }
.info-box .icon { font-size: 24px; flex-shrink: 0; }

/* --- Footer --- */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { margin-top: 12px; line-height: 1.7; }
.site-footer .footer-heading { color: #e2e8f0; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; font-weight: 700; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: #94a3b8; transition: color .2s; }
.site-footer a:hover { color: #d4a843; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; }
.rg-logos { display: flex; gap: 16px; align-items: center; font-size: 12px; }
.rg-logos span {
  padding: 4px 10px;
  border: 1px solid #334155;
  border-radius: 4px;
  white-space: nowrap;
}

/* --- Affiliate Disclosure --- */
.disclosure {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 13px;
  color: #475569;
  margin: 24px 0;
  line-height: 1.6;
}
.disclosure a { text-decoration: underline; text-underline-offset: 2px; }

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: #64748b;
}
.breadcrumb ol { display: flex; gap: 4px; list-style: none; padding: 0; flex-wrap: wrap; }
.breadcrumb li::after { content: " / "; margin: 0 4px; color: #cbd5e1; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: #14532d; }
.breadcrumb li:last-child { color: #94a3b8; }

/* --- TOC (Table of Contents) --- */
.toc {
  background: #f8faf8;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
}
.toc h4 { margin-bottom: 10px; color: #14532d; }
.toc ol { list-style: decimal; padding-left: 20px; }
.toc li { margin-bottom: 6px; font-size: 14px; }
.toc a { color: #334155; }
.toc a:hover { color: #14532d; text-decoration: underline; }

/* --- Author Box --- */
.author-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #f8faf8;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin: 24px 0;
  align-items: flex-start;
}
.author-box img {
  width: 64px; height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
.author-box .name { font-weight: 700; color: #14532d; }
.author-box .role { font-size: 13px; color: #64748b; }
.author-box .bio { font-size: 14px; margin-top: 6px; color: #475569; }

/* --- Compare Table (multi-casino) --- */
.compare-table th:first-child { position: sticky; left: 0; background: #14532d; z-index: 2; }
.compare-table td:first-child { position: sticky; left: 0; background: #fff; z-index: 1; font-weight: 600; }
.compare-table .highlight { background: #f0fdf4; }

/* --- Last Updated --- */
.last-updated {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 16px;
}

/* --- 18+ Badge --- */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: #dc2626;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .casino-card { grid-template-columns: 150px 1fr 200px; }
  .casino-cta { grid-column: 1 / -1; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
    /* Mobile nav */
  .main-nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #14532d;
    flex-direction: column;
    padding: 12px 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .section-header h2 { font-size: 1.5rem; }
  h2 { font-size: 1.4rem; }
  section { padding: 32px 0; }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 0.95rem; line-height: 1.55; }
  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    justify-content: center;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-fact { min-width: 0; padding: 10px 8px; }
  .key-takeaways { padding: 16px 18px; }
  .key-takeaways h2 { font-size: 1.05rem; }
  .key-takeaways ul { font-size: 0.9rem; line-height: 1.55; padding-left: 18px; }
  .key-takeaways ul li { margin-bottom: 6px; }
  /* TOC: один столбец вместо двух */
  .toc { padding: 16px 18px !important; }
  .toc h2 { font-size: 1rem !important; }
  .toc ol { columns: 1 !important; font-size: 13px !important; }
  /* Disclosure padding */
  .disclosure { padding: 12px 16px; font-size: 12px; line-height: 1.5; }
  /* Inline H2 переопределение для крупных разделов */
  #compare h2, #rtp-table h2 { font-size: 1.25rem !important; }
  /* Provider cards / volatility cards padding */
  section .wrap > .content > div[style*="grid-template-columns"] > div[style*="border:1px solid"] {
    padding: 14px 16px !important;
  }
  /* Changelog font */
  details.changelog { font-size: 13px !important; }
  /* Quick answer blocks */
  p.quick-answer { font-size: 0.9rem !important; padding: 12px 14px !important; }
  .hero-img { display: none; }
  .cta-group { justify-content: center; }

  .casino-card {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-areas:
      "logo    bonus"
      "rating  cta"
      "info    info";
    gap: 8px;
    padding: 28px 12px 14px;
    align-items: center;
  }
  .casino-logo {
    grid-area: logo;
    align-self: end;
    max-width: 100%;
    margin: 0 auto;
    padding: 8px 4px 0;
  }
  .casino-logo .casino-logo-link img { max-width: 150px; }
  .casino-card > .mobile-rating {
    display: flex;
    grid-area: rating;
    align-self: center;
    justify-self: center;
    flex-direction: row;
    gap: 6px;
  }
  .casino-bonus .casino-rating { display: none; }
  .casino-bonus { grid-area: bonus; align-self: center; padding: 6px 4px; text-align: center; }
  .casino-bonus strong { font-size: 0.95rem; white-space: nowrap; }
  .casino-bonus small { font-size: 11px; white-space: nowrap; }
  .casino-cta { grid-area: cta; align-self: center; text-align: center; }
  .casino-cta .btn { width: 100%; max-width: 200px; }
  .casino-info { grid-area: info; }
  .casino-info h3, .desc-truncated, .desc-toggle{
    display: none;
  }
  .casino-meta{
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .card-more .pros-cons {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
  }

  .casino-rank {
    width: 25px;
    height: 25px;
    font-size: 12px;
    left: -12px;
    top: -2%;
  }
  /* (mobile .casino-logo via grid-area above) */

  /* Mobile: fully collapse description */
  .casino-list .casino-info > p.desc-truncated {
    max-height: 0;
    margin: 0;
  }
  .casino-list .casino-info > p.desc-truncated::after { display: none; }
  .casino-list .casino-info > p.desc-open { max-height: 600px; margin-bottom: 4px; }

  .pros-cons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Universal heading + section size tweaks */
  section { padding: 32px 0; }
  h2 { font-size: 1.35rem; line-height: 1.3; margin-bottom: 12px; }
  h3 { font-size: 1.1rem; line-height: 1.35; margin: 18px 0 8px; }
  h4 { font-size: 1rem; }
  .section-header h2 { font-size: 1.4rem; }
  .section-header { margin-bottom: 24px; }

  /* Article body */
  .content p, .content li { font-size: 0.94rem; line-height: 1.65; }
  .content ul, .content ol { padding-left: 20px; }

  /* Tables — compact but readable */
  table { font-size: 12.5px; }
  table th { padding: 9px 7px; font-size: 12px; line-height: 1.3; }
  table td { padding: 9px 7px; line-height: 1.4; }
  .table-wrap, .content > div[style*="overflow-x:auto"] { -webkit-overflow-scrolling: touch; }

  /* FAQ */
  .faq-q { font-size: 14px; padding: 14px 16px; }
  .faq-q::after { font-size: 18px; margin-left: 8px; }
  .faq-a { padding: 0 16px; font-size: 14px; }
  .faq-item.open .faq-a { padding: 0 16px 16px; }

  /* Info boxes */
  .info-box { padding: 14px 16px; font-size: 13px; line-height: 1.55; }
  .info-box .icon { font-size: 20px; }

  /* Figure captions */
  figcaption { font-size: 12px !important; }

  /* Inline H3 with inline style (review pages add h3 with inline font-size) */
  h3[style*="font-size:1.2rem"] { font-size: 1.05rem !important; }

  /* Brand-hero on review pages (defined inline in each review file) */
  .brand-hero .bh-title { font-size: 1.5rem !important; line-height: 1.2 !important; margin-bottom: 8px !important; }
  .brand-hero .bh-desc { font-size: 0.92rem !important; line-height: 1.5 !important; }
  .brand-hero .bh-cta { font-size: 1rem !important; padding: 14px 22px !important; }
  .brand-hero .bh-logo { width: 90px !important; height: 90px !important; padding: 10px !important; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-fact { min-width: 80px; padding: 8px 10px; }
  .hero-fact strong { font-size: 1.1rem; }
  /* .btn { padding: 12px 20px; font-size: 14px; width: 100%; } */
  .cta-group { flex-direction: column; }
  .rg-logos{flex-wrap: wrap;}

  /* Tighter heading sizes on smallest phones */
  section { padding: 24px 0; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  .section-header h2 { font-size: 1.25rem; }
  .content p, .content li { font-size: 0.92rem; }
  table { font-size: 11.5px; }
  table th, table td { padding: 7px 5px; }
  .faq-q { font-size: 13.5px; padding: 12px 14px; }
  .faq-a { font-size: 13.5px; padding: 0 14px; }
  .faq-item.open .faq-a { padding: 0 14px 14px; }
  .info-box { padding: 12px 14px; font-size: 12.5px; }

  /* Brand-hero tighter for smallest phones */
  .brand-hero .bh-title { font-size: 1.3rem !important; }
  .brand-hero .bh-desc { font-size: 0.88rem !important; }
  .brand-hero .bh-cta { font-size: 0.95rem !important; padding: 12px 18px !important; }
  .brand-hero .bh-logo { width: 78px !important; height: 78px !important; padding: 8px !important; }
}

/* --- Section Images (centered, consistent size) --- */
.section-img {
  display: block;
  margin: 0 auto 28px;
  max-width: 700px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* --- Author Byline (under H1 on every page) --- */
.author-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.byline-label { font-size: 12px; color: #64748b; display: block; }
.author-name {
  font-weight: 700;
  color: #14532d;
  text-decoration: none;
  font-size: 15px;
}
.author-name:hover { color: #d4a843; text-decoration: underline; }
.byline-title { font-size: 13px; color: #64748b; display: block; }
.byline-meta {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* --- Author Page --- */
.author-hero {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 0;
}
.author-photo {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #d4a843;
}
.author-intro h1 { margin-bottom: 4px; }
.author-intro .title { font-size: 1.1rem; color: #d4a843; font-weight: 600; margin-bottom: 8px; }
.author-intro .stats {
  display: flex;
  gap: 16px;
  margin: 12px 0 16px;
  flex-wrap: wrap;
}
.author-intro .stat {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #14532d;
}

.qa-section { margin: 32px 0; }
.qa-item { margin-bottom: 24px; }
.qa-item .question {
  font-weight: 700;
  color: #14532d;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.qa-item .answer { color: #475569; line-height: 1.7; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.article-card {
  background: #f8faf8;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  transition: border-color .2s;
}
.article-card:hover { border-color: #14532d; }
.article-card .article-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; display: block; }
.article-card .article-title a { color: #14532d; }
.article-card .date { font-size: 12px; color: #94a3b8; }
.btn-sm {width: 150px;}

/* --- Credential List --- */
.credentials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.credential-item {
  background: #f8faf8;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.credential-item .number {
  font-size: 2rem;
  font-weight: 800;
  color: #14532d;
  display: block;
}
.credential-item .label { font-size: 13px; color: #64748b; }

@media (max-width: 768px) {
  .author-hero { flex-direction: column; align-items: center; text-align: center; }
  .author-photo { width: 140px; height: 140px; }
  .author-intro .stats { justify-content: center; }
  .byline-meta { margin-left: 0; width: 100%; }
}

/* --- Screenshot zoom on hover (review figures) --- */
@media (hover: hover) and (pointer: fine) {
  figure img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: zoom-in;
    transform-origin: center center;
    will-change: transform;
  }
  figure img:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
    position: relative;
    z-index: 100;
  }
}

/* --- Print --- */
@media print {
  .rg-banner, .site-header, .site-footer, .nav-toggle, .btn, .casino-cta { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  section { padding: 16px 0; break-inside: avoid; }
}

/* --- Accessibility: WCAG AA contrast + link distinguishability (added 2026-05-01) --- */

/* Higher-contrast text everywhere we previously used #64748b on light backgrounds.
   #64748b on #f1f5f9 = 4.0:1 (fails AA). #475569 on #f1f5f9 = 5.74:1 (passes AA). */
.casino-info p,
.casino-info > p,
.casino-meta span,
.byline-label,
.byline-title,
.byline-meta,
small,
figcaption {
  color: #475569;
}

/* Top-card text — ensures EDITOR'S CHOICE badge readable */
.casino-card.top-card .badge,
.casino-card .badge {
  color: #fff;
  background: #14532d;
  font-weight: 700;
}

/* Provider list spans inside casino-meta — explicit dark text */
.casino-meta > span:last-child,
.casino-info .casino-meta + span {
  color: #1e293b;
  font-weight: 500;
}

/* Inline links inside narrative content must be distinguishable without colour.
   Catch <p>, <li>, <td>, <dd> children. Skip buttons, logos, nav, footer nav. */
main p a:not(.btn):not(.logo),
main li a:not(.btn):not(.logo):not([role="menuitem"]),
main td a:not(.btn),
main dd a,
main aside a:not(.btn):not(.logo) {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

/* Hover keeps underline + colour change */
main p a:not(.btn):hover,
main li a:not(.btn):not([role="menuitem"]):hover,
main td a:not(.btn):hover,
main aside a:not(.btn):hover {
  text-decoration-thickness: 2px;
}

/* Footer links also need underline for AA */
.site-footer a:not(.logo) {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* v260708: md-content + handoff table classes */
.cell-c{padding:10px;text-align:center}.cell{padding:10px}.cell-lg{padding:12px}.cell-lg-c{padding:12px;text-align:center}
.row{border-bottom:1px solid #e2e8f0}.row-alt{border-bottom:1px solid #e2e8f0;background:#f8fafc}
.txt-neg{color:#dc2626}.txt-warn{color:#f59e0b}
.content{padding:32px 0 48px}
.content h1{font-size:2.1rem;line-height:1.2;margin:10px 0 18px;color:#14532d}
.content h2{margin:34px 0 14px}
.content h3{margin:26px 0 10px;color:#14532d;font-size:1.2rem;font-weight:700}
.content h4{margin:20px 0 8px;color:#1e293b;font-size:1.05rem}
.content p{margin:0 0 14px}
.content ul,.content ol{margin:0 0 16px 22px}
.content ul{list-style:disc}.content ol{list-style:decimal}
.content li{margin-bottom:6px}
.content blockquote{border-left:3px solid #14532d;background:#f8fafc;padding:12px 18px;margin:0 0 16px;border-radius:4px}
.content hr{border:0;border-top:1px solid #e2e8f0;margin:32px 0}
.content code{background:#f1f5f9;border-radius:4px;padding:1px 5px;font-size:.92em}
.tbl-wrap{overflow-x:auto;margin:18px 0}
.md-table{width:100%;border-collapse:collapse;font-size:14px;background:#fff}
.md-table th{background:#14532d;color:#fff;padding:10px;text-align:left;white-space:nowrap}
.md-table td{padding:10px;border-bottom:1px solid #e2e8f0;vertical-align:top}
.md-table tr:nth-child(even) td{background:#f8fafc}
.shot{margin:20px 0}
.shot img{border:1px solid #e2e8f0;border-radius:8px}
.breadcrumb{font-size:13px;color:#64748b;margin:14px 0 4px}
.breadcrumb a{color:#14532d}
.page-hero{background:#14532d;padding:34px 0 30px}
.page-hero h1{color:#fff;font-size:2.1rem;line-height:1.2;margin:0}
.page-hero .breadcrumb{color:#a7f3d0;margin:0 0 12px}
.page-hero .breadcrumb a{color:#fbbf24}
.cta-group{margin:18px 0}
.author-photo{border-radius:12px;margin:0 0 18px}
.guides-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin:20px 0}
.guide-card{padding:18px}
.guide-card-h{font-size:1.1rem;margin:0 0 8px}
.back-to-top{position:fixed;bottom:24px;right:24px;display:none;z-index:900;border-radius:50%;width:48px;height:48px;padding:0;align-items:center;justify-content:center}

/* v260708-ux: verdict/toc/related/mobile */
.verdict-card{display:flex;flex-wrap:wrap;gap:18px;align-items:center;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;padding:18px 20px;margin:18px 0}
.score-badge{flex:0 0 auto;width:86px;height:86px;border-radius:50%;background:#14532d;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:800;text-align:center}
.score-badge b{font-size:1.7rem;line-height:1.1}
.score-badge span{font-size:10px;font-weight:600;color:#bbf7d0;letter-spacing:.4px}
.verdict-cols{flex:1 1 280px;display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:240px}
.verdict-cols p{margin:0;font-size:13.5px;line-height:1.55}
.verdict-cta{flex:0 0 auto}
.verdict-cta .btn{white-space:nowrap}
.toc{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:14px 18px;margin:20px 0;font-size:14px}
.toc-title{font-weight:700;color:#14532d;margin-bottom:8px}
.toc ul{margin:0;padding:0;list-style:none;columns:2;column-gap:28px}
.toc li{margin:0 0 6px;break-inside:avoid}
.hero-badge{display:inline-block;background:rgba(255,255,255,.14);color:#bbf7d0;font-size:12.5px;font-weight:600;padding:4px 12px;border-radius:999px;margin-top:12px}
.tbl-logo{display:inline-block;height:22px;width:auto;max-width:66px;vertical-align:middle;margin-right:8px;background:#fff;border-radius:4px}
.cell-brand{white-space:nowrap}
.cell-brand a{font-weight:700}
.md-table tr:hover td{background:#eef7f0}
.md-table th:first-child,.md-table td:first-child{position:sticky;left:0;z-index:1}
.md-table td:first-child{background:#fff;box-shadow:2px 0 4px -2px rgba(0,0,0,.12)}
.md-table tr:nth-child(even) td:first-child{background:#f8fafc}
.md-table tr:hover td:first-child{background:#eef7f0}
.related{margin-top:36px;border-top:1px solid #e2e8f0;padding-top:18px}
.related h2{font-size:1.3rem}
.related ul{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.related a{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px 14px;font-weight:600;font-size:14px;line-height:1.4}
.related a:hover{border-color:#14532d}
.related .rel-tag{display:block;font-size:11.5px;color:#64748b;font-weight:500;margin-top:4px;text-transform:uppercase;letter-spacing:.4px}
.skip-link{position:absolute;left:-9999px;top:0;background:#14532d;color:#fff;padding:10px 16px;z-index:2000;border-radius:0 0 8px 0}
.skip-link:focus{left:0}
.m-cta{display:none}
@media(max-width:760px){
.m-cta{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:950;background:#fff;border-top:1px solid #e2e8f0;padding:10px 14px;gap:10px;align-items:center;justify-content:space-between;box-shadow:0 -4px 16px rgba(0,0,0,.08)}
.m-cta .m-cta-name{font-weight:700;font-size:14px;color:#14532d}
body.has-mcta{padding-bottom:64px}
body.has-mcta .back-to-top{bottom:78px}
.footer-grid>div:not(.footer-brand) .footer-heading{cursor:pointer;position:relative;padding:10px 0;margin:0;border-bottom:1px solid rgba(255,255,255,.15)}
.footer-grid>div:not(.footer-brand) .footer-heading::after{content:"+";position:absolute;right:4px;font-weight:700}
.footer-grid>div:not(.footer-brand).open .footer-heading::after{content:"\2212"}
.footer-grid>div:not(.footer-brand) ul{display:none;padding:8px 0}
.footer-grid>div:not(.footer-brand).open ul{display:block}
}
@media(max-width:640px){
.page-hero h1{font-size:1.55rem}
.content{padding:22px 0 40px}
.toc ul{columns:1}
.verdict-cols{grid-template-columns:1fr}
.verdict-cta{width:100%}
.verdict-cta .btn{display:block;text-align:center}
.main-nav.open a{padding:13px 16px;font-size:16px}
.faq-q{font-size:15px;padding:15px 16px}
}

/* v260709-dmca */
.dmca-h{font-size:1.4rem;color:#14532d;margin:32px 0 12px}
.dmca-h1{font-size:2rem;color:#14532d;margin-bottom:16px}
.list-num{padding-left:20px;list-style:decimal;line-height:1.9}
.list-disc{padding-left:20px;list-style:disc;line-height:1.9}
.txt-mut{color:#475569}
.txt-sm-mut{font-size:14px;color:#475569}
.txt-soft{color:#64748b;margin-bottom:32px}
.sec-pad{padding:48px 0}
.narrow{max-width:780px}
.band{background:#f8fafc;padding:12px 0}
.code-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:16px;font-family:monospace}

/* v260709-parity: hero-facts on listings, cards, pros-cons */
.hero-author{color:#bbf7d0;text-decoration:underline}
.hero .hero-img img{border-radius:12px;max-width:100%;height:auto}
.hero .cta-group{margin-top:22px}
.page-hero .hero-facts{display:flex;gap:22px;margin-top:16px;flex-wrap:wrap}
.page-hero .hero-fact strong{color:#fbbf24;display:block;font-size:1.15rem}
.page-hero .hero-fact span{color:#a7f3d0;font-size:12px}
.home-top-list{margin:26px 0}
.card-review-link{display:block;margin-top:8px;font-size:13px;color:#14532d;text-decoration:underline}
.all-reviews-link{text-align:center;font-weight:600}
.pros-cons-block{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px 18px}
.pros-cons-block ul{margin:8px 0 0 18px}
.pros-cons-block .pros-col strong{color:#16a34a}
.pros-cons-block .cons-col strong{color:#dc2626}
@media(max-width:640px){.pros-cons-block{grid-template-columns:1fr}.hero-grid{grid-template-columns:1fr}.hero .hero-img{order:-1}}

/* v260709-fix: logo flex-shrink + .content a.btn override */
.header-inner .logo{flex-shrink:0}
.content a.btn{text-decoration:none}
.content a.btn-green,.content a.btn-green:hover{color:#fff}
.content a.btn-gold,.content a.btn-gold:hover{color:#14532d}
.content .casino-info h3 a{text-decoration:none}
.content .casino-logo-link{text-decoration:none}
.content .verdict-cta a.btn{color:#14532d}
@media(max-width:1150px){.main-nav a{padding:8px 9px;font-size:13px}}

/* v260709-authors: circular centered author photos */
.author-photo{display:block;width:220px;height:220px;border-radius:50%;object-fit:cover;object-position:50% 15%;margin:6px auto 24px;border:4px solid #bbf7d0;box-shadow:0 6px 20px rgba(20,83,45,.18)}
.author-photo-sm{width:150px;height:150px;margin:16px auto 20px;border-width:3px}
.author-byline .author-avatar{border:2px solid #bbf7d0;box-shadow:0 1px 4px rgba(20,83,45,.15)}
@media(max-width:640px){.author-photo{width:180px;height:180px}}

/* v260709-cards2: no underline in cards, hub filters */
.content .casino-card a,.content .casino-card a:hover{text-decoration:none}
.casino-info h3 a:hover{color:#1a6b3a}
.content a.btn:hover{text-decoration:none}
.btn-gold:hover{background:linear-gradient(135deg,#c99a38 0%,#d9a53f 100%)}
.card-review-link{display:block;margin-top:8px;font-size:13px;font-weight:600;color:#14532d;text-decoration:none}
.card-review-link:hover{color:#1a6b3a}
.content .related a,.content .toc a{text-decoration:none}
.content .related a:hover,.content .toc a:hover{text-decoration:underline}
.filter-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:18px 0 22px}
.filter-chip{border:1px solid #cbd5e1;background:#fff;border-radius:999px;padding:8px 16px;font-size:13.5px;font-weight:600;color:#334155;cursor:pointer;transition:all .15s}
.filter-chip:hover{border-color:#14532d;color:#14532d}
.filter-chip.active{background:#14532d;color:#fff;border-color:#14532d}
.filter-sort{margin-left:auto;display:flex;gap:8px;align-items:center;font-size:13.5px;color:#475569}
.filter-sort select{padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;background:#fff}
.casino-card.hidden{display:none}
@media(max-width:640px){.filter-sort{margin-left:0;width:100%}}
.card-tag-line{font-size:14px;color:#475569;margin:0 0 10px}

/* v260709-logos: uniform offer logos, focus ring, card spacing */
.casino-logo{margin:0;align-self:center}
.casino-logo-link,.content .casino-card .casino-logo-link{display:flex;align-items:center;justify-content:center;width:150px;height:64px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:8px;box-sizing:border-box}
.casino-logo-link img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;transition:none}
.casino-logo-link:hover{transform:scale(1.04)}
.casino-logo-link:hover img{filter:none}
.casino-info h3{margin:0 0 6px}
.casino-info>p{margin:0 0 10px}
.card-more summary:focus,.card-more summary:focus-visible,summary:focus-visible,.filter-chip:focus-visible,.content a.btn:focus-visible{outline:2px solid #14532d;outline-offset:2px}
summary:focus:not(:focus-visible){outline:none}
@media(max-width:760px){.casino-logo-link,.content .casino-card .casino-logo-link{width:132px;height:56px}}

/* v260709-mobfix: card grid blowout, toc/related underline specificity */
.casino-bonus strong,.casino-bonus small{white-space:normal}
.content nav.toc li a:not(.btn):not(.logo):not([role="menuitem"]),
.content .related li a:not(.btn):not(.logo):not([role="menuitem"]){text-decoration:none}
.content nav.toc li a:hover,.content .related li a:hover{text-decoration:underline}
@media(max-width:760px){
.byline-meta{margin-left:0;flex-basis:100%;display:block;font-size:12.5px}
.casino-card{grid-template-columns:1fr 1fr}
.casino-card>*{min-width:0}
.casino-bonus strong{font-size:15px;overflow-wrap:anywhere;display:block}
.casino-bonus{padding:8px 4px}
.casino-cta .btn{max-width:100%}
}

