/* ============================================================
   Casino Compass Florida - static-build overrides.
   Extends the design CSS: real logo imgs, feature-chip toplist rows,
   payments grid, game-types strip, lobby shots, <details> FAQ/nav,
   brand-logo fix, mobile density (HARD RULE 10).
   ============================================================ */

/* ---- brand logo: prevent name/locale overlap ---- */
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--ink); letter-spacing: -.01em; }
.brand-locale { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-top: 1px; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-locale { color: var(--gold); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.ic-accent { color: var(--accent); vertical-align: -2px; }

/* ---- real casino logo boxes (HARD RULE 9) - landscape, per-context size ---- */
.clogo { display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm); flex: none; overflow: hidden; }
.clogo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.clogo.is-dark { background: #161e1b; border-color: #2c3c35; }
.clogo-top    { width: 152px; height: 66px; padding: 8px 12px; }
.clogo-hero   { width: 248px; height: 112px; padding: 12px 18px; }
.clogo-hub    { width: 100%;  height: 104px; padding: 14px 20px; }
.clogo-sticky { width: 134px; height: 56px; padding: 6px 11px; }
.clogo-chip   { width: 66px;  height: 36px; padding: 4px 7px; border-radius: 9px; }

/* ---- TOPLIST ROW (dense, full-width, chips + big bonus) ---- */
/* .list-rows prefix beats design's `.list-rows .casino-row` (4-col) specificity */
.list-rows .ccx-row { grid-template-columns: 44px 164px minmax(0,1fr) 210px 162px; gap: 16px 18px;
  align-items: center; padding: 18px 22px; position: relative; }
.list-rows .ccx-row.is-top { border: 2px solid var(--gold); box-shadow: var(--shadow-lg); }
.ccx-row .casino-row-info { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.casino-row-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.casino-row-name h3 { font-family: var(--font-head); font-size: 22px; margin: 0; }
.ccx-award { font-size: 12.5px; font-weight: 700; color: var(--accent); background: var(--accent-soft);
  padding: 3px 9px; border-radius: 99px; }
.ccx-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.ccx-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600;
  color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; }
.ccx-chip svg { color: var(--accent); }
.ccx-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--ink-3); }
.ccx-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ccx-bonus-block { background: var(--gold-soft); border: 1px solid #ecdcb4; border-radius: 12px;
  padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.ccx-bonus-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #9a7a2e; }
.ccx-bonus-val { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); line-height: 1.15; }
.ccx-code { font-size: 11.5px; color: var(--ink-2); margin-top: 2px; }
.list-rows .ccx-row .casino-row-cta { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: center; min-width: 0; grid-column: auto; }
.casino-row-score { display: flex; align-items: baseline; justify-content: center; gap: 3px; }
.casino-row-score b { font-family: var(--font-head); font-size: 30px; color: var(--accent); }
.casino-row-score span { font-size: 13px; color: var(--ink-3); }
.casino-row-review { font-size: 13px; color: var(--ink-2); font-weight: 600; text-decoration: none; }
.casino-row-review:hover { color: var(--accent); }
.row-ribbon { position: absolute; top: -13px; left: 22px; }

/* ---- game-types strip ---- */
.ccx-gametypes { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 22px; }
.ccx-gt { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; width: 84px;
  padding: 12px 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.ccx-gt img { width: 30px; height: 30px; opacity: .85; filter: invert(28%) sepia(18%) saturate(900%) hue-rotate(120deg); }
.ccx-gt small { font-size: 11.5px; font-weight: 600; color: var(--ink-2); }

/* ---- payments grid ---- */
.ccx-payments { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 14px 0 6px; }
.pay-ic { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; }
.pay-ic img { width: 38px; height: 38px; }
.pay-ic small { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.pay-card img { background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 5px; }
.pay-text { font-size: 13px; font-weight: 600; color: var(--ink-2); }

/* ---- tested-from-FL lead (HARD RULE 11) ---- */
.ccx-lead { max-width: 820px; margin: 0 auto; font-size: 18px; line-height: 1.6; color: var(--ink-2);
  border-left: 4px solid var(--gold); padding: 6px 0 6px 20px; background: linear-gradient(90deg, var(--gold-soft), transparent); }
.ccx-lead strong { color: var(--ink); }

/* ---- prose width + helpers ---- */
.ccx-prose-narrow { max-width: 820px; margin: 0 auto; }
.ccx-mt { margin-top: 18px; }
.ccx-mt-lg { margin-top: 36px; }
.ccx-page-h1 { font-family: var(--font-head); font-size: clamp(30px, 4vw, 46px); margin: 0 0 18px; }
.ccx-faq-h { font-family: var(--font-head); font-size: 28px; margin-bottom: 16px; }

/* ---- review page ---- */
.ccx-review-h1 { font-family: var(--font-head); font-size: clamp(30px, 4.2vw, 46px); margin: 10px 0 8px; }
.ccx-hero-sub { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--ink-3); font-size: 14px; }
.ccx-verdict-label { font-size: 12px; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.ccx-verdict-word { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--ink); }
.ccx-bonus-aside { margin: 14px 0; }
.ccx-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.ccx-shots img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* ---- article (guide) ---- */
.ccx-article-h1 { font-family: var(--font-head); font-size: clamp(30px, 4.6vw, 50px); margin: 16px 0; max-width: 20ch; }
.ccx-article-dek { max-width: 62ch; }
.ccx-guide-ic { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); color: var(--gold); }
.ccx-guide-ic svg { width: 40px; height: 40px; }
.ccx-guide-ic-lg svg { width: 64px; height: 64px; }

/* ---- reviews hub cards (full-width logo banner + rank badge overlaid) ---- */
.ccx-rev-card-top { position: relative; padding: 16px 16px 0; }
.ccx-rev-card-top .rank-badge { position: absolute; top: 24px; left: 24px; z-index: 2; box-shadow: var(--shadow-sm); }
.ccx-score-sm { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 17px; }
.ccx-rev-card .guide-card-body { padding-top: 12px; }

/* ---- authors ---- */
.ccx-authors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ccx-author-link { text-decoration: none; }
.ccx-author-hero { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.author-card-avatar-lg { width: 120px; height: 120px; }
.author-card-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* ---- <details> FAQ (replaces React accordion) ---- */
.faq-item summary.faq-q { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary.faq-q svg { transform: rotate(45deg); }
.faq-q svg { transition: transform .2s ease; }

/* ---- mobile nav (<details>) ---- */
.nav-mobile-wrap { position: relative; }
.nav-mobile-wrap summary { list-style: none; cursor: pointer; }
.nav-mobile-wrap summary::-webkit-details-marker { display: none; }
.nav-mobile { position: absolute; right: 0; top: calc(100% + 10px); background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 220px; z-index: 60; display: flex; flex-direction: column; }
.nav-mobile-link { padding: 11px 14px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-mobile-link:hover { background: var(--surface-2); }
.nav-toggle { display: none; }
.hero-shot { width: 100%; height: auto; object-fit: cover; border-radius: 20px; display: block; }

/* ============================================================
   RESPONSIVE - tablet/mobile density (HARD RULE 10)
   ============================================================ */
@media (max-width: 1080px) {
  .list-rows .ccx-row { grid-template-columns: 40px 140px minmax(0,1fr) 196px; }
  .list-rows .ccx-row .casino-row-cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
  .list-rows .ccx-row .casino-row-cta .btn { flex: 1 1 auto; }
}
@media (max-width: 760px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .list-rows .ccx-row { grid-template-columns: 52px minmax(0,1fr); gap: 12px 14px; padding: 16px; }
  .list-rows .ccx-row .clogo-top { grid-column: 1 / -1; order: -1; width: 100%; height: 88px; }
  .list-rows .ccx-row .casino-row-info { grid-column: 1 / -1; }
  .list-rows .ccx-row .rank-badge { grid-row: 1; align-self: start; }
  .list-rows .ccx-row .ccx-bonus-block { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .ccx-bonus-val { font-size: 18px; }
  .list-rows .ccx-row .casino-row-cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 10px; align-items: center; }
  .casino-row-score { flex: 0 0 auto; }
  .list-rows .ccx-row .casino-row-cta .btn { flex: 1 1 140px; }
  .ccx-shots { grid-template-columns: 1fr; }
  .ccx-authors-grid { grid-template-columns: 1fr; }
  .ccx-lead { font-size: 16px; }
  .review-body { display: block; }
  .review-body aside { display: none; }
  .article-body { display: block; }
  .article-aside { display: none; }
}

/* ============================================================
   ABOVE-THE-FOLD COMPACTION (toplist sooner) + responsive logos
   ============================================================ */
/* tighter hero so the toplist climbs up */
.hero-split .hero-grid { padding: 20px 0 24px !important; gap: 36px; }
.hero h1 { font-size: clamp(29px, 3.5vw, 43px) !important; }
.hero-kicker { margin-bottom: 14px; }
.hero-intro { font-size: 16.5px !important; margin-top: 13px !important; max-width: 48ch; }
.hero-meta { margin-top: 16px !important; }
.hero-trust-row { margin-top: 16px !important; }
.hero-shot { max-height: 330px; object-fit: cover; }
.hero-visual { position: relative; }
/* compact tested-from-FL lead band */
.ccx-lead-band { padding: 16px 0; }
.ccx-lead-band .ccx-lead { font-size: 16px; padding: 8px 0 8px 18px; }
/* toplist climbs: small top padding, compact head + game strip */
#toplist { padding-top: 20px !important; }
.toplist-head { margin-bottom: 14px; }
.toplist-head .sec-title { font-size: clamp(22px, 2.6vw, 30px); }
.ccx-gametypes { gap: 8px; margin: 2px 0 16px; }
.ccx-gt { width: 78px; padding: 9px 6px; }
.ccx-gt img { width: 26px; height: 26px; }

@media (max-width: 760px) {
  /* hero: drop the big image, tighten copy hard so casinos show fast */
  .hero-split .hero-grid { padding: 12px 0 14px !important; gap: 0; }
  .hero-visual { display: none; }
  .hero-kicker { margin-bottom: 10px; padding: 5px 11px; font-size: 12px; }
  .hero h1 { font-size: clamp(25px, 6.6vw, 32px) !important; }
  .hero-intro { font-size: 14.5px !important; line-height: 1.5; margin-top: 10px !important; max-width: none;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  /* stats: one tight row */
  .hero-meta { gap: 14px; margin-top: 12px !important; }
  .hero-stat strong { font-size: 20px; }
  .hero-stat span { font-size: 11.5px; }
  .hero-stat-div { height: 26px; }
  .hero-trust-row { margin-top: 12px !important; gap: 10px; }
  .crumbs { display: none; }
  /* tested-FL lead: compact */
  .ccx-lead-band { padding: 10px 0; }
  .ccx-lead-band .ccx-lead { font-size: 14px; padding: 6px 0 6px 14px; }
  /* toplist climbs; hide decorative game strip on mobile to surface casinos */
  #toplist { padding-top: 12px !important; }
  .toplist-head { margin-bottom: 10px; }
  .toplist-updated { display: none; }
  .ccx-gametypes { display: none; }
  /* review hero logo uses near-full width on mobile (user request) */
  .clogo-hero { width: 100%; height: 116px; }
  .review-hero-id { flex-direction: column; align-items: flex-start; gap: 14px; }
  /* All Star-style square badges: give them more height on mobile */
  .list-rows .ccx-row .clogo-top { height: 92px; }
}

/* ---- hero image as a CTA button (links to #1 golink) ---- */
.hero-cta-link { display: block; position: relative; border-radius: 20px; overflow: hidden;
  cursor: pointer; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.hero-cta-link:hover { transform: translateY(-2px); }
.hero-cta-link:hover .hero-shot { filter: brightness(.94); }
.hero-cta-btn { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 16px;
  padding: 13px 26px; border-radius: 999px; box-shadow: var(--shadow-lg);
  transition: background .18s; }
.hero-cta-link:hover .hero-cta-btn { background: var(--accent-strong); }
/* ---- keyword intro under the toplist heading ---- */
.ccx-toplist-intro { max-width: 78ch; margin: 6px 0 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.ccx-toplist-intro a { color: var(--accent); font-weight: 600; }
@media (max-width: 760px) {
  .hero-cta-btn { font-size: 14px; padding: 11px 20px; bottom: 14px; }
  .ccx-toplist-intro { font-size: 14.5px; }
}

/* ============================================================
   GUIDES HUB - clean editorial cards (no empty image blocks)
   ============================================================ */
.gcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.gcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); text-decoration: none;
  transition: box-shadow .18s, transform .18s, border-color .18s; }
.gcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.gcard-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gcard-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); color: var(--gold); flex: none; }
.gcard-title { font-family: var(--font-head); font-size: 20px; line-height: 1.22; color: var(--ink); margin: 0; }
.gcard-dek { font-size: 14.5px; color: var(--ink-2); margin: 10px 0 16px; flex: 1; line-height: 1.55; }
.gcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 14px; border-top: 1px solid var(--line-2); }

/* featured guide - horizontal, panel never collapses */
.gfeature { display: grid; grid-template-columns: 300px 1fr; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; }
.gfeature:hover { box-shadow: var(--shadow-lg); }
.gfeature-panel { position: relative; min-height: 230px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; padding: 28px;
  background: linear-gradient(150deg, var(--hero-a), var(--hero-b)); color: var(--gold); text-align: center; }
.gfeature-eyebrow { position: absolute; top: 18px; left: 0; right: 0; text-align: center; color: #cfe6df;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gfeature-ic { display: inline-flex; }
.gfeature-body { padding: 34px 38px; display: flex; flex-direction: column; justify-content: center; }
.gfeature-body h3 { font-family: var(--font-head); font-size: clamp(23px, 2.4vw, 31px); line-height: 1.14; margin: 0 0 12px; color: var(--ink); }
.gfeature-body .gcard-dek { font-size: 16px; flex: none; }

@media (max-width: 920px) { .gcard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .gcard-grid { grid-template-columns: 1fr; gap: 14px; }
  .gfeature { grid-template-columns: 1fr; }
  .gfeature-panel { min-height: 150px; padding: 22px; }
  .gfeature-body { padding: 24px 22px; }
}

/* ---- games section intro ---- */
.ccx-games-intro { max-width: 78ch; margin: 4px 0 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }

/* ---- All Star Slots: badge is square, scale it up ~25% on desktop only ---- */
@media (min-width: 761px) {
  .clogo-top.clogo-s-all-star-slots { overflow: visible; }
  .clogo-top.clogo-s-all-star-slots img { transform: scale(1.25); }
}

/* ---- prose list fix ----
   02.css styles .prose li as display:flex + list-style:none, assuming each <li>
   begins with an inline icon SVG. Generated guide/review content uses plain text
   <li> (no icon), so flex laid the inline text/<strong> runs out HORIZONTALLY and
   the marker was suppressed. Restore normal vertical bulleted/numbered lists.
   (Real icon-lists use .pc-col / .rg-signs-list / .casino-card-feats / .toc.) */
.prose ul { list-style: disc; padding-left: 1.5em; margin: 0 0 20px; }
.prose ol { list-style: decimal; padding-left: 1.5em; margin: 0 0 20px; }
.prose li { display: list-item; gap: 0; font-size: 17px; color: var(--ink);
  margin-bottom: 10px; line-height: 1.6; }
.prose li::marker { color: var(--accent); }
.prose li > ul, .prose li > ol { margin: 8px 0 4px; }

/* ---- guide illustration figures (license / providers / payments) ---- */
.prose .ccx-figure { margin: 26px 0; padding: 18px 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; }
.prose .ccx-figure figcaption { margin-top: 12px; font-size: 13px; line-height: 1.5;
  color: var(--ink-3); text-align: center; }

/* license jurisdiction badges */
.ccx-lic-row { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; }
.ccx-lic { display: inline-flex; align-items: center; gap: 11px; }
.ccx-lic img { width: 42px; height: 32px; border-radius: 4px; border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.ccx-lic-txt { display: inline-flex; flex-direction: column; line-height: 1.25; }
.ccx-lic-txt b { font-size: 14.5px; color: var(--ink); }
.ccx-lic-txt small { font-size: 11.5px; color: var(--ink-3); }

/* game-provider logo strip (white chips for white-bg marks) */
.ccx-prov-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.ccx-prov { display: inline-flex; align-items: center; justify-content: center; height: 56px;
  padding: 0 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.ccx-prov img { height: 40px; width: auto; display: block; }

/* payment-method brand marks */
.ccx-pm-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.ccx-pm { display: inline-flex; align-items: center; justify-content: center; height: 40px;
  padding: 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.ccx-pm-card img { height: 20px; width: auto; }
.ccx-pm-coin { padding: 0 10px; }
.ccx-pm-coin img { width: 26px; height: 26px; }
