/* ==========================================================================
   Badass.bet - main stylesheet
   Dark by default, light mode via [data-theme="light"] on <html>.
   No frameworks. Plain CSS, custom properties, grid + flexbox.
   ========================================================================== */

:root {
  --bg: #0A0A0B;
  --card: #141416;
  --border: #26262A;
  --text: #F5F5F7;
  --text-2: #A1A1A6;
  --accent: #FF4B12;
  --accent-hover: #E63E08;
  --green: #22C55E;
  --red: #EF4444;
  --surface-2: #1A1A1D;
  --surface-2-border: #2A2A2E;
  --header-h: 60px;
  --radius: 12px;
  --container: 1180px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #FAFAFA;
  --card: #FFFFFF;
  --border: #E5E5E7;
  --text: #0A0A0B;
  --text-2: #5B5B60;
  --surface-2: #F5F3EE;
  --surface-2-border: #E5E5E7;
  color-scheme: light;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color .2s ease, color .2s ease;
}

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

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

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 2.2em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

p { margin: 0 0 1.1em; color: var(--text); }

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

ul, ol { padding-left: 1.3em; }
li { margin-bottom: .5em; }

/* ---------- Disclosure bar ---------- */
.disclosure-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  font-size: 12.5px;
  text-align: center;
  padding: 8px 16px;
}
.disclosure-bar a { color: var(--text-2); text-decoration: underline; }
.disclosure-bar a:hover { color: var(--accent); }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: height .2s ease, box-shadow .2s ease;
}
header.site-header.scrolled {
  height: 52px;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  line-height: 1;
}
.logo:hover { text-decoration: none; }
.logo-svg {
  display: block;
  width: 150px;
  height: 36px;
  color: var(--text);
}
/* Logo SVG has white letterforms + orange donkey. Dark mode = default.
   Light mode: invert brightness so letters become dark, then re-hue the
   orange donkey back to accent orange with a hue rotation. */
[data-theme="light"] .logo-svg { filter: invert(1) hue-rotate(180deg); }
@media (max-width: 720px) {
  .logo-svg { width: 128px; height: 30px; }
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.main-nav a {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
}
nav.main-nav a:hover { color: var(--accent); text-decoration: none; }

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.theme-toggle:hover { border-color: var(--accent); }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn:active { transform: scale(.98); }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 48px;
  text-align: left;
}
.hero .eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.hero h1 { max-width: 820px; }
.hero .subhead {
  color: var(--text-2);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 700px;
  margin-top: 16px;
}
.hero .hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.grid {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.brand-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.brand-card .brand-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand-card .brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.rating-badge {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.rating-badge.lg { font-size: 20px; padding: 10px 18px; }
.rating-badge .rating-label {
  font-size: 0.65em;
  font-weight: 600;
  opacity: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 4px;
}
.brand-card .hook { color: var(--text-2); font-size: 14.5px; }
.brand-card .card-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }

.coming-soon-badge {
  display: inline-block;
  background: var(--border);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Tables ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--text-2);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.table-wrap { overflow-x: auto; }

/* ---------- Quick facts ---------- */
.quick-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}
.quick-facts .qf-score {
  text-align: center;
}
.quick-facts .qf-score .num {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.quick-facts .qf-score .out-of { color: var(--text-2); font-size: 13px; }
.qf-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.qf-list li { margin: 0; font-size: 14.5px; color: var(--text-2); }
.qf-list strong { color: var(--text); }

/* ---------- Pros / Cons ---------- */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.pros-cons .box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.pros-cons .box h3 { margin-top: 0; }
.pros-cons .pros h3 { color: var(--green); }
.pros-cons .cons h3 { color: var(--red); }
.pros-cons ul { list-style: none; padding: 0; margin: 0; }
.pros-cons li {
  padding-left: 24px;
  position: relative;
  color: var(--text-2);
  font-size: 14.5px;
}
.pros-cons .pros li::before { content: "+"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.pros-cons .cons li::before { content: "\2212"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* ---------- Byline ---------- */
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text-2);
  flex-wrap: wrap;
}
.byline .avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #7A1E00);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.byline strong { color: var(--text); }
.byline .sep { opacity: .5; }

/* ---------- TL;DR / verdict box ---------- */
.tldr-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.tldr-box .verdict { flex: 1; min-width: 240px; }
.tldr-box .verdict .label {
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.tldr-box .tldr-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.tldr-box .tldr-right .rating-badge.lg {
  display: inline-block;
  width: auto;
  align-self: center;
  min-width: 0;
}
@media (max-width: 640px) {
  .tldr-box {
    padding: 18px 18px 20px;
    gap: 16px;
    align-items: flex-start;
  }
  .tldr-box .verdict { min-width: 100%; }
  .tldr-box .tldr-right {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
  }
  .tldr-box .tldr-right .rating-badge.lg {
    font-size: 17px;
    padding: 8px 16px;
    width: auto;
    flex: 0 0 auto;
  }
  /* Sticky footer already carries the primary Visit CTA on mobile; hide the
     duplicate here so the TL;DR reads as a summary, not a second exit. */
  .tldr-box .tldr-right .btn { display: none; }
}

/* ---------- Scoring table ---------- */
.scoring-table td.score { font-weight: 700; color: var(--accent); }
.scoring-table td.weight { color: var(--text-2); }

/* ---------- Promo code box ---------- */
.promo-box {
  background: var(--card);
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 24px 0;
}
.promo-box .promo-label {
  color: var(--text-2);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.promo-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.promo-code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent);
  background: transparent;
}
.copy-btn {
  background: var(--border);
  color: var(--text);
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.copy-btn:hover { background: var(--accent); color: #fff; }
.promo-box .promo-cta { margin-top: 22px; }
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--green);
  color: #06210F;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  z-index: 999;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  gap: 12px;
}
.faq-question .chevron {
  transition: transform .2s ease;
  flex-shrink: 0;
  color: var(--accent);
}
.faq-item.open .faq-question .chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  color: var(--text-2);
}
.faq-item.open .faq-answer { max-height: 800px; }
.faq-answer-inner { padding: 0 0 18px; }

/* ---------- Test log table ---------- */
.test-log { font-size: 14.5px; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 -8px 24px rgba(0,0,0,.3);
}
.sticky-cta .cta-text { font-size: 14px; color: var(--text-2); }
.sticky-cta .cta-text strong { color: var(--text); }
body.has-sticky-cta { padding-bottom: 80px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-grid h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-2);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--text); font-size: 14.5px; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { color: var(--text-2); font-size: 14px; }
.footer-rg { color: var(--text-2); font-size: 13px; margin-top: 14px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  color: var(--text-2);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--text-2); text-decoration: underline; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Misc content blocks ---------- */
.breadcrumbs {
  font-size: 13px;
  color: var(--text-2);
  padding: 16px 0 0;
}
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--accent); }
.section { padding: 40px 0; }
.section-tight { padding: 20px 0; }
.lede { font-size: 1.15rem; color: var(--text-2); }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.mono { font-family: Consolas, monospace; }
.tag {
  display: inline-block;
  background: var(--border);
  color: var(--text-2);
  font-size: 12.5px;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0 6px 6px 0;
}
.stub-hero { padding: 90px 0 100px; text-align: center; }
.stub-hero .stub-icon { font-size: 48px; margin-bottom: 18px; }
.notice-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
  color: var(--text-2);
  font-size: 14.5px;
}
.author-card {
  display: flex;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  align-items: flex-start;
}
.author-card .avatar { width: 64px; height: 64px; flex-shrink: 0; }
.ranked-table td.rank { font-weight: 800; color: var(--accent); font-size: 18px; }
.news-list { list-style: none; padding: 0; }
.news-list li {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.news-list .news-date { color: var(--text-2); font-size: 13px; }
.news-list a { color: var(--text); font-weight: 600; font-size: 17px; }
.news-list a:hover { color: var(--accent); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flex { display: flex; }
.gap-12 { gap: 12px; }
.wrap { flex-wrap: wrap; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .quick-facts { grid-template-columns: 1fr; text-align: center; }
  .qf-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav.main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 18px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    z-index: 99;
  }
  nav.main-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
  }
  .hamburger { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero { padding: 40px 0 32px; }
  .sticky-cta { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .promo-code { font-size: 26px; }
  .quick-facts { padding: 18px; }
  h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .container { padding: 0 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 360px) {
  .promo-code { font-size: 22px; letter-spacing: .03em; }
  .logo { font-size: 16px; }
}

/* ===== v2 additions: compare, best-of, guides, rank badges ===== */
.vs-header { display:flex; align-items:center; justify-content:center; gap:24px; flex-wrap:wrap; text-align:center; }
.vs-header .vs-brand { display:flex; flex-direction:column; align-items:center; gap:8px; }
.vs-header .vs-divider { font-size:28px; font-weight:800; color:var(--text-2); }
.rank-badge-lg { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border-radius:12px; background:var(--accent); color:#fff; font-weight:800; font-size:22px; flex-shrink:0; }
.best-of-row { display:flex; align-items:center; gap:16px; padding:20px; border:1px solid var(--border); border-radius:12px; margin-bottom:14px; background:var(--card); }
.best-of-row .row-body { flex:1; }
.guide-card { padding:22px; border:1px solid var(--border); border-radius:12px; background:var(--card); text-decoration:none; display:block; }
.guide-card h3 { margin:0 0 8px; color:var(--text-1); }
.guide-card p { margin:0; color:var(--text-2); font-size:14px; }
.filter-bar { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px; }
.filter-bar button { background:var(--card); border:1px solid var(--border); color:var(--text-2); padding:8px 14px; border-radius:20px; font-size:13px; cursor:pointer; }
.filter-bar button.active { background:var(--accent); color:#fff; border-color:var(--accent); }
.evidence-list li { margin-bottom:10px; }
.warn-box { border:1px solid #C93A3A; background:rgba(201,58,58,.08); border-radius:12px; padding:16px 18px; margin:20px 0; }
.good-box { border:1px solid #1FD08E; background:rgba(31,208,142,.08); border-radius:12px; padding:16px 18px; margin:20px 0; }

/* Header/footer mascot mark (SITS BETWEEN 'BADASS' and 'BET' as the punctuation) */
.logo-mark {
  width: 38px;
  height: 38px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  margin: 0 -3px;
  transform: translateY(-2px);
  /* Use CSS mask so the shape follows currentColor (auto light/dark) */
  -webkit-mask: url("/assets/badass-mark.png") center / contain no-repeat;
          mask: url("/assets/badass-mark.png") center / contain no-repeat;
  background-color: currentColor;
}
.footer-brand .logo-mark { width: 42px; height: 42px; }
@media (max-width: 720px) {
  .logo { font-size: 17px; }
  .logo-mark { width: 30px; height: 30px; }
}

/* ===== Marketing tagline + slogan strip + hero scene backdrops ===== */

/* Header tagline (marketing pages only) */
.header-tagline {
  display: none;
  font-family: var(--font-serif, Georgia, "Times New Roman", serif);
  font-style: italic;
  font-size: 14px;
  color: var(--text-2);
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--border);
  letter-spacing: 0.005em;
  white-space: nowrap;
  opacity: .85;
}
@media (min-width: 980px) {
  .header-tagline { display: inline-block; }
}

/* Slogan strip - pull-quote style block used between sections and under H1 */
.slogan-strip {
  display: block;
  margin: 22px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(255,255,255,0.03), transparent);
  font-family: var(--font-serif, Georgia, "Times New Roman", serif);
  font-style: italic;
  color: var(--text-1);
  letter-spacing: 0.005em;
}
.slogan-strip span {
  display: block;
  line-height: 1.35;
}
.slogan-strip--sm { font-size: 15px; padding: 10px 14px; margin: 14px 0; }
.slogan-strip--md { font-size: 18px; }
.slogan-strip--lg { font-size: clamp(20px, 2.4vw, 26px); padding: 18px 22px; }

/* Homepage hero subline slogan variant - centered, bigger */
.hero .slogan-strip {
  margin-top: 20px;
  max-width: 700px;
}

/* ---------- Hero with standalone figure (image ABOVE H1, not behind) ---------- */
.hero--figure {
  padding: 24px 0 8px;
}
.hero--figure .hero-figure {
  margin: 0 auto 24px;
  max-width: 1180px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  background: var(--surface-2);
}
/* Same width for the standalone figure-block used in-body */
.figure-block { max-width: 1180px; margin: 20px auto; }
.hero--figure .hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
  aspect-ratio: 11 / 4;
  object-fit: cover;
  object-position: center 28%;
  background: #0a0a0a;
}
.hero--figure .hero-figure figcaption {
  padding: 10px 16px 14px;
  font-size: 13.5px;
  color: var(--text-2);
  background: var(--surface-2);
  font-style: italic;
  border-top: 1px solid var(--border, #e5e5e5);
}
.hero--figure .eyebrow { color: var(--accent, #ff5c1a); }
.hero--figure h1 { color: var(--text, #111); }
.hero--figure .subhead { color: var(--text, #333); }

@media (max-width: 720px) {
  .hero--figure { padding: 12px 0 4px; }
  .hero--figure .hero-figure { margin: 0 auto 18px; border-radius: 10px; }
  .hero--figure .hero-figure img {
    max-height: 52vh;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 22%;
    background: #0a0a0a;
  }
  .hero--figure .hero-figure figcaption { padding: 8px 12px 10px; font-size: 12.5px; }
  /* Portrait-source override: for hero images where subject would be cropped by cover.
     Cap at 50vh so H1 + body still show above the fold on 844-tall viewports. */
  .hero--figure .hero-figure.hero-figure--portrait img {
    max-height: 50vh;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center center;
  }
}

/* ---------- Scene banner (hero image + H1 overlay used on hub pages) ---------- */
.scene-banner {
  position: relative;
  margin: 20px auto 24px;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0a0a;
  isolation: isolate;
}
.scene-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  object-fit: cover;
  object-position: center 45%;
}
.scene-banner-inner {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 26px 22px;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,0) 100%);
  color: #fff;
}
.scene-banner-inner h1 {
  margin: 0 0 6px;
  color: #fff;
  line-height: 1.05;
}
.scene-banner-inner p {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 15px;
}
@media (max-width: 720px) {
  .scene-banner { margin: 12px 0 18px; border-radius: 10px; }
  .scene-banner img {
    aspect-ratio: 4 / 5;
    max-height: 60vh;
    object-position: center 55%;
  }
  .scene-banner-inner {
    padding: 16px 16px 14px;
  }
  .scene-banner-inner h1 { font-size: 24px; }
  .scene-banner-inner p { font-size: 14px; }
}

/* ---------- Standalone figure block (full-width figure with caption) ---------- */
.figure-block {
  margin: 36px auto;
  max-width: 1100px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e5e5e5);
}
.figure-block img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 45%;
  background: #0a0a0a;
}
.figure-block figcaption {
  padding: 12px 18px 14px;
  font-size: 13.5px;
  color: var(--text-2);
  background: var(--surface-2);
  font-style: italic;
  border-top: 1px solid var(--border, #e5e5e5);
}
@media (max-width: 720px) {
  .figure-block { margin: 24px 0; border-radius: 10px; }
  .figure-block img {
    aspect-ratio: auto;
    max-height: 78vh;
    object-fit: contain;
    background: #0a0a0a;
  }
  .figure-block figcaption { padding: 10px 14px 12px; font-size: 12.5px; }
}

/* ---------- Portrait figure (1:1, tighter frame, for author-style callouts) ---------- */
.figure-portrait {
  margin: 24px auto;
  max-width: 380px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e5e5e5);
}
.figure-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.figure-portrait figcaption {
  padding: 10px 14px 12px;
  font-size: 13px;
  color: var(--text-2, #666);
  font-style: italic;
  border-top: 1px solid var(--border, #e5e5e5);
}

/* ---------- Callout boxes ---------- */
/* Callouts always have light backgrounds, so force dark body text regardless
   of theme. Otherwise dark-mode --text (white) makes body copy invisible. */
.callout {
  margin: 24px 0;
  padding: 18px 22px;
  border-radius: 12px;
  border-left: 4px solid var(--accent, #ff5c1a);
  background: #faf7f2;
  color: #1a1a1a;
  font-size: 15.5px;
  line-height: 1.65;
}
[data-theme="light"] .callout,
[data-theme="light"] .callout p,
[data-theme="light"] .callout li,
[data-theme="light"] .callout span { color: #1a1a1a; }
[data-theme="light"] .callout a { color: #0a58ca; text-decoration: underline; }
[data-theme="light"] .callout a:hover { color: #073b8a; }
[data-theme="light"] .callout strong { color: #0a0a0a; }
.callout .callout-title {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #ff5c1a);
  margin: 0 0 6px;
}
.callout p { margin: 6px 0 0; }
.callout ul { margin: 8px 0 0; padding-left: 20px; }
.callout li { margin: 4px 0; }

.callout--tested { border-left-color: #2ea043; }
.callout--tested .callout-title { color: #2ea043; }
.callout--warning { border-left-color: #d97706; }
.callout--warning .callout-title { color: #b45309; }
.callout--rule { border-left-color: #0969da; }
.callout--rule .callout-title { color: #0969da; }
.callout--fun { border-left-color: #a855f7; }
.callout--fun .callout-title { color: #a855f7; }
.callout--history { border-left-color: #78716c; }
.callout--history .callout-title { color: #78716c; }
.callout--howto { border-left-color: var(--accent, #ff5c1a); }
.callout--howto .callout-title { color: var(--accent, #ff5c1a); }

/* Light-mode: keep the original pastel backgrounds + dark body text.
   Dark-mode inherits --callout-bg / --callout-text from the token block below. */
[data-theme="light"] .callout--tested { background: #f0f9f2; }
[data-theme="light"] .callout--warning { background: #fff8ec; }
[data-theme="light"] .callout--warning, [data-theme="light"] .callout--warning p, [data-theme="light"] .callout--warning li { color: #4a2f00; }
[data-theme="light"] .callout--rule { background: #eff6ff; }
[data-theme="light"] .callout--rule, [data-theme="light"] .callout--rule p, [data-theme="light"] .callout--rule li { color: #0b3d5c; }
[data-theme="light"] .callout--fun { background: #faf5ff; }
[data-theme="light"] .callout--fun, [data-theme="light"] .callout--fun p, [data-theme="light"] .callout--fun li { color: #3b0764; }
[data-theme="light"] .callout--history { background: #f5f4f2; }
[data-theme="light"] .callout--history, [data-theme="light"] .callout--history p, [data-theme="light"] .callout--history li { color: #292524; }
[data-theme="light"] .callout--howto { background: #fff5ef; }
[data-theme="light"] .callout--howto, [data-theme="light"] .callout--howto p, [data-theme="light"] .callout--howto li { color: #3a1a00; }

@media (max-width: 720px) {
  .callout { padding: 14px 16px; font-size: 15px; margin: 18px 0; }
}

/* ---------- Fact grid (mini info table under H1s) ---------- */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--surface-2-border);
  border-radius: 12px;
}
.fact-grid .fact-item .fact-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-2, #666);
  font-weight: 600;
  margin: 0 0 4px;
}
.fact-grid .fact-item .fact-value {
  font-size: 15px;
  color: var(--text, #111);
  font-weight: 500;
  margin: 0;
}

/* ---------- Related reading module ---------- */
.related-reading {
  margin: 40px 0 24px;
  padding: 22px 24px;
  background: var(--surface-2);
  border: 1px solid var(--surface-2-border);
  border-radius: 14px;
  border-top: 3px solid var(--accent, #ff5c1a);
}
.related-reading h3 {
  margin: 0 0 14px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}
.related-reading ul { margin: 0; padding: 0; list-style: none; }
.related-reading li { margin: 8px 0; padding: 0; }
.related-reading a {
  color: var(--accent, #ff5c1a);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
  min-height: 36px;
  line-height: 1.5;
}
.related-reading a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .related-reading { padding: 16px 18px; margin: 28px 0 20px; }
}

/* ---------- History sidebar ---------- */
.history-sidebar {
  margin: 28px 0;
  padding: 22px 24px;
  background: #faf7f2;
  border-radius: 12px;
  border: 1px solid #e8dfd0;
}
.history-sidebar h3 {
  font-size: 15px;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #78716c;
}
.history-sidebar dl { margin: 0; display: grid; grid-template-columns: 90px 1fr; gap: 8px 16px; }
.history-sidebar dt { color: #78716c; font-weight: 600; font-size: 14px; }
.history-sidebar dd { margin: 0; font-size: 14.5px; color: #292524; }
@media (max-width: 480px) {
  .history-sidebar dl { grid-template-columns: 1fr; gap: 2px 0; }
  .history-sidebar dt { margin-top: 6px; }
}

/* ---------- Mobile UX guardrails + spacing tighten ---------- */
@media (max-width: 720px) {
  .section { padding: 28px 0; }
  .hero { padding: 40px 0 28px; }
  .container { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: clamp(28px, 7vw, 40px); }
  h2 { font-size: clamp(22px, 5vw, 28px); }
  .subhead { font-size: 16px; }
  /* Ensure all buttons meet ≥36px tap target */
  .btn, .btn-sm, button, .card-actions a { min-height: 36px; }
}
/* Global tap-target and text floor even at desktop scale */
.btn { min-height: 40px; }
.btn-sm { min-height: 36px; }

/* ---------- Mobile footer tap floor ---------- */
@media (max-width: 720px) {
  .footer-grid li { margin-bottom: 14px; }
  .footer-grid a { display: inline-block; padding: 8px 0; }
}
/* Mobile drawer nav tap targets */
@media (max-width: 900px) {
  nav.main-nav a { display: block; padding: 12px 16px; min-height: 44px; }
}

/* ===== Cross-link footer (auto-injected on every brand subpage) ===== */
.cross-link-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border, #e5e5e5);
}
.cross-link-footer h3 {
  margin: 0 0 12px;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-2, #555);
}
.cross-link-footer .link-list {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.cross-link-footer .link-list li {
  margin: 6px 0;
}
.cross-link-footer .link-list a {
  color: var(--text-1, #111);
  text-decoration: none;
  font-weight: 500;
}
.cross-link-footer .link-list a:hover {
  text-decoration: underline;
  color: var(--accent, #ff5c1a);
}
.cross-link-footer .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 720px) {
  .cross-link-footer .grid-3 { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Joke quip (per-section one-liner) ---------- */
.joke-quip {
  margin: 8px 0 18px;
  padding: 12px 20px;
  border-left: 3px solid var(--accent, #ff5c1a);
  background: transparent;
}
.joke-quip p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  color: var(--text, #fff);
  opacity: 0.92;
}
@media (max-width: 720px) {
  .joke-quip { padding: 10px 14px; margin: 6px 0 14px; }
  .joke-quip p { font-size: 16.5px; }
}

/* ============================================================
   2026-07-23 UX FIXES v1
   Purpose: compact mobile above-fold, fix mobile menu backdrop,
            rich hub cards, news hub v2, compare hero v2.
   ============================================================ */

/* ---------- Compact review above-fold on mobile ---------- */
@media (max-width: 720px) {
  /* Compact byline: no avatar circle wasting 40px, tight one-liner */
  .byline { margin: 12px 0; font-size: 13px; gap: 6px; line-height: 1.4; }
  .byline .avatar { display: none; }
  .byline .sep { margin: 0 2px; }

  /* Compact hero image and figure caption */
  .hero--figure .hero-figure {
    margin: 4px 0 10px;
    max-height: 200px;
    overflow: hidden;
    border-radius: 12px;
  }
  .hero--figure .hero-figure img {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
    display: block;
  }
  .hero--figure .hero-figure figcaption {
    font-size: 12px;
    padding: 6px 10px;
    opacity: 0.7;
  }

  /* Compact H1 */
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2rem); margin: 8px 0 6px; }

  /* Compact slogan strip */
  .slogan-strip { padding: 8px 12px; margin: 8px 0; font-size: 15px; }
  .slogan-strip--lg { font-size: 15px; padding: 8px 12px; margin: 8px 0; }

  /* Compact TL;DR: stack tight, small rating badge, prominent CTA */
  .tldr-box { padding: 14px 16px; margin: 12px 0 8px; gap: 12px; }
  .tldr-box .verdict .label { margin-bottom: 4px; }
  .tldr-box .verdict p { font-size: 14.5px; line-height: 1.45; }
  .rating-badge.lg { font-size: 16px; padding: 6px 12px; }
  .rating-badge.lg .rating-label { font-size: 10px; }

  /* Tuck section-tight padding down on mobile */
  .section-tight { padding-top: 8px; padding-bottom: 8px; }
}

/* ---------- Mobile nav: proper backdrop + density ---------- */
@media (max-width: 768px) {
  nav.main-nav {
    background: var(--surface, var(--bg));
    box-shadow: 0 12px 32px rgba(0,0,0,0.55);
    padding: 12px 18px 18px;
    gap: 2px;
    border-top: 1px solid var(--border);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  nav.main-nav a {
    padding: 14px 8px;
    margin: 0;
    min-height: 48px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    box-sizing: border-box;
  }
  nav.main-nav a:last-child { border-bottom: none; }
  /* Scrim behind the menu so page content doesn't bleed through */
  nav.main-nav.open::before {
    content: "";
    position: fixed;
    left: 0; right: 0;
    top: var(--header-h);
    bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: -1;
    pointer-events: none;
  }
}

/* ---------- Rich hub rank cards (best-crypto-sportsbook/casino) ---------- */
.hub-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  margin: 14px 0 20px;
  background: linear-gradient(180deg, rgba(214,169,74,0.10), rgba(214,169,74,0.02));
  border: 1px solid var(--border);
  border-radius: 12px;
  flex-wrap: wrap;
}
.hub-cta-strip .hub-cta-copy { font-size: 14.5px; color: var(--text-2); flex: 1; min-width: 200px; }
.hub-cta-strip .btn { min-height: 44px; padding: 10px 18px; }

.rank-card {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  margin: 0 0 12px;
  transition: border-color .15s ease, transform .15s ease;
}
.rank-card:hover { border-color: var(--accent); }
.rank-card .rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}
.rank-card .rank-num-1 { background: linear-gradient(135deg, #D6A94A, #B8892E); }
.rank-card .rank-num-2 { background: linear-gradient(135deg, #B8B8B8, #7f7f7f); }
.rank-card .rank-num-3 { background: linear-gradient(135deg, #CD7F32, #A5652B); }
.rank-card .rank-body { min-width: 0; }
.rank-card .rank-brand { font-size: 20px; font-weight: 800; color: var(--text); margin: 0 0 4px; }
.rank-card .rank-brand .rank-score {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-left: 8px;
}
.rank-card .rank-line { color: var(--text-2); font-size: 14.5px; line-height: 1.4; margin: 0 0 8px; }
.rank-card .rank-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.rank-card .rank-chips .chip {
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(214,169,74,0.10);
  color: var(--text);
  border: 1px solid rgba(214,169,74,0.35);
}
.rank-card .rank-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 140px; }
.rank-card .rank-actions .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.rank-card .rank-actions .rank-promo {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 1px;
  text-align: center;
}

@media (max-width: 720px) {
  .rank-card {
    grid-template-columns: 44px 1fr;
    padding: 14px;
    gap: 12px;
  }
  .rank-card .rank-num { width: 36px; height: 36px; font-size: 17px; }
  .rank-card .rank-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
  }
  .rank-card .rank-actions .btn { flex: 1; }
  .rank-card .rank-actions .rank-promo { text-align: left; }
  .rank-card .rank-brand { font-size: 17px; }
  .rank-card .rank-brand .rank-score { display: block; margin-left: 0; margin-top: 2px; }
  .rank-card .rank-line { font-size: 13.5px; }
}

/* ---------- News hub v2 (featured + dek cards) ---------- */
.news-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid var(--accent);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(214,169,74,0.10), rgba(214,169,74,0.02));
  margin: 0 0 24px;
  text-decoration: none;
  color: inherit;
}
.news-featured .featured-body h2 { margin: 8px 0 10px; font-size: 26px; line-height: 1.15; }
.news-featured .featured-body .dek { font-size: 15px; color: var(--text-2); line-height: 1.5; margin: 0 0 12px; }
.news-featured .featured-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--card);
}
.news-featured .featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-featured .kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.news-featured .featured-meta { font-size: 13px; color: var(--text-2); }
.news-featured .featured-meta strong { color: var(--text); font-weight: 600; }

.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.news-list .news-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease;
}
.news-list .news-card:hover { border-color: var(--accent); }
.news-list .news-thumb {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}
.news-list .news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-list .news-body h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.25; color: var(--text); }
.news-list .news-body .dek { margin: 0 0 8px; font-size: 13.5px; color: var(--text-2); line-height: 1.4; }
.news-list .news-body .meta { font-size: 12px; color: var(--text-2); }
.news-list .news-body .meta .brand-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(214,169,74,0.10);
  border: 1px solid rgba(214,169,74,0.35);
  color: var(--text);
  font-weight: 600;
  margin-right: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

@media (max-width: 900px) {
  .news-featured { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .news-featured .featured-body h2 { font-size: 22px; }
  .news-featured .featured-image { aspect-ratio: 16/9; }
  .news-list { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 480px) {
  .news-list .news-card { grid-template-columns: 72px 1fr; gap: 12px; padding: 12px; }
  .news-list .news-thumb { width: 72px; height: 72px; }
}

/* ---------- Compare hero v2 (side-by-side operator cards) ---------- */
.compare-hero {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin: 12px 0 24px;
}
.compare-hero .cmp-side {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.compare-hero .cmp-side .cmp-brand { font-size: 22px; font-weight: 800; margin: 0; }
.compare-hero .cmp-side .cmp-rating {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}
.compare-hero .cmp-side .cmp-rating .rating-out { font-size: 13px; color: var(--text-2); font-weight: 500; }
.compare-hero .cmp-side .cmp-stats { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 5px; font-size: 13.5px; color: var(--text-2); }
.compare-hero .cmp-side .cmp-stats li strong { color: var(--text); font-weight: 600; margin-right: 4px; }
.compare-hero .cmp-side .cmp-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.compare-hero .cmp-side .cmp-promo {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 1px;
  text-align: center;
  padding: 6px 10px;
  border: 1px dashed var(--accent);
  border-radius: 8px;
}
.compare-hero .cmp-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-2);
  min-width: 32px;
}

@media (max-width: 720px) {
  .compare-hero { grid-template-columns: 1fr; gap: 10px; }
  .compare-hero .cmp-vs { padding: 4px 0; font-size: 15px; }
  .compare-hero .cmp-side { padding: 14px; }
  .compare-hero .cmp-side .cmp-brand { font-size: 19px; }
}

/* ---------- Callout dark-theme fix (fun-fact, how-this-works asides) ---------- */
:root { --callout-bg: rgba(214,169,74,0.08); --callout-text: var(--text); }
[data-theme="light"] { --callout-bg: #fef8ea; --callout-text: #1a1a1a; }
.callout, .fun-fact, .how-this-works-aside {
  background: var(--callout-bg);
  color: var(--callout-text);
}

/* ============================================================
   2026-07-23 UX FIXES v2
   Purpose: desktop hero cap, stacked-card compare table on
            mobile, larger rating label, home top-3 strip,
            news promo strip, compare #1 pick strip.
   ============================================================ */

/* ---------- Desktop hero cap (fold usability) ---------- */
/* On 900px+ viewports, prevent the hero image from filling the
   entire fold. Cap at 380px so H1 + subhead + first CTA are
   visible above the fold on home, rank hubs, compare hub, and
   every review page. */
@media (min-width: 900px) {
  .hero--figure .hero-figure {
    max-width: 1100px;
  }
  .hero--figure .hero-figure img {
    max-height: 380px;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    object-position: center 40%;
  }
  /* Portrait sources also capped so their 3:2 native ratio does
     not eat the fold. Retain contain-fit so subject is not cropped. */
  .hero--figure .hero-figure.hero-figure--portrait img {
    max-height: 380px;
    object-fit: contain;
    background: #0a0a0a;
  }
}

/* ---------- Compare-hub ranked-table: stacked cards on mobile ---------- */
@media (max-width: 640px) {
  .ranked-table thead { display: none; }
  .ranked-table,
  .ranked-table tbody,
  .ranked-table tr,
  .ranked-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .ranked-table {
    border-collapse: separate;
    border-spacing: 0;
  }
  .ranked-table tr {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 0 0 12px;
  }
  .ranked-table td {
    padding: 6px 0;
    border: none;
    font-size: 14.5px;
    color: var(--text-2);
  }
  .ranked-table td::before {
    content: attr(data-label);
    display: inline-block;
    width: 118px;
    color: var(--text-2);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    opacity: 0.75;
  }
  .ranked-table td[data-label="Operator"] {
    padding-top: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
  }
  .ranked-table td[data-label="Operator"]::before { display: none; }
  .ranked-table td[data-label="Operator"] a {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    display: inline-block;
    min-height: 36px;
    padding: 6px 0;
    line-height: 1.2;
  }
  .ranked-table td[data-label="CTA"] {
    padding-top: 10px;
  }
  .ranked-table td[data-label="CTA"]::before { display: none; }
  .ranked-table td[data-label="CTA"] .btn {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    box-sizing: border-box;
  }
  .table-wrap { overflow: visible; }
}

/* ---------- Badass Rating label + value bump ---------- */
/* Rating-block on review pages: label was 10px, below mobile floor.
   Scope to .rating-block only so the badge internal label (inside
   .rating-badge.lg) doesn't inherit the accent color that would make
   it invisible against the accent-coloured pill background. */
.rating-block { margin: 12px 0; }
.rating-block .rating-label {
  font-size: 12px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 4px;
}
.rating-block .rating-value,
.rating-value {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}
@media (max-width: 480px) {
  .rating-block .rating-value,
  .rating-value { font-size: 34px; }
}
/* Compact rating badges (TL;DR box) keep their compact size but
   the internal label must clear the 11px mobile floor.
   Force white so the label is legible on the accent pill background. */
.rating-badge .rating-label { color: #fff !important; }
.rating-badge.lg .rating-label { font-size: 11px !important; }

/* ---------- Home top-3 strip + generic pick-strip ---------- */
.pick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0 24px;
}
.pick-strip .pick-tile {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.pick-strip .pick-tile:hover { border-color: var(--accent); transform: translateY(-1px); }
.pick-strip .pick-tile .pick-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-right: 8px;
}
.pick-strip .pick-tile .pick-rank-1 { background: linear-gradient(135deg, #D6A94A, #B8892E); }
.pick-strip .pick-tile .pick-rank-2 { background: linear-gradient(135deg, #B8B8B8, #7f7f7f); }
.pick-strip .pick-tile .pick-rank-3 { background: linear-gradient(135deg, #CD7F32, #A5652B); }
.pick-strip .pick-tile .pick-brand {
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
  vertical-align: middle;
}
.pick-strip .pick-tile .pick-score {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  margin-left: 6px;
}
.pick-strip .pick-tile .pick-line {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.4;
  margin: 8px 0 4px;
}
.pick-strip .pick-tile .pick-review {
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .pick-strip { grid-template-columns: 1fr; gap: 10px; }
  .pick-strip .pick-tile { padding: 12px 14px; }
}

/* ---------- News hub promo strip (above-fold commercial exit) ---------- */
.news-promo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin: 4px 0 16px;
  background: linear-gradient(180deg, rgba(214,169,74,0.10), rgba(214,169,74,0.02));
  border: 1px solid var(--border);
  border-radius: 12px;
  flex-wrap: wrap;
}
.news-promo-strip .promo-copy { font-size: 14px; color: var(--text-2); flex: 1; min-width: 220px; }
.news-promo-strip .promo-copy strong { color: var(--text); }
.news-promo-strip a.promo-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  display: inline-block;
}
.news-promo-strip a.promo-link:hover { background: var(--accent); color: #fff; }

/* ---------- Brand review screenshot gallery ---------- */
.screenshot-gallery {
  margin: 40px auto;
}
.screenshot-gallery h2 {
  margin-bottom: 20px;
}
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.screenshot-grid:has(> .screenshot-figure:only-child) {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}
.screenshot-figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e5e5e5);
}
.screenshot-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: #0a0a0a;
}
.screenshot-figure figcaption {
  padding: 10px 14px 12px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-2);
  background: var(--surface-2);
  font-style: italic;
  border-top: 1px solid var(--border, #e5e5e5);
}
@media (max-width: 720px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .screenshot-figure {
    border-radius: 10px;
  }
  .screenshot-figure img {
    aspect-ratio: auto;
    max-height: 62vh;
    object-fit: cover;
  }
  .screenshot-figure figcaption {
    padding: 9px 12px 11px;
    font-size: 12px;
  }
}

/* ---------- Reviews hub: ranked card list ---------- */
.review-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 8px;
}
.review-list-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px 22px;
  align-items: start;
}
.rlc-rank {
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  padding-top: 2px;
}
.rlc-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.rlc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.rlc-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.rlc-name:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.rlc-score {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}
.rlc-hook {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}
.rlc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.45;
}
.rlc-type {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
  opacity: 0.85;
}
.rlc-licence {
  opacity: 0.85;
}
.rlc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.rlc-actions .btn {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.2;
}
.rlc-read {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.rlc-read:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.rlc-visit {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.rlc-promo {
  font-weight: 600;
  font-size: 12.5px;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .review-list-card {
    grid-template-columns: 44px 1fr;
    padding: 18px 16px 20px;
    gap: 10px 14px;
    border-radius: 12px;
  }
  .rlc-rank {
    font-size: 26px;
    padding-top: 2px;
  }
  .rlc-body {
    gap: 8px;
  }
  .rlc-head {
    gap: 8px 12px;
  }
  .rlc-name {
    font-size: 20px;
  }
  .rlc-score {
    font-size: 17px;
  }
  .rlc-hook {
    font-size: 14.5px;
  }
  .rlc-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
  }
  .rlc-actions .btn {
    width: 100%;
  }
}

/* ============================================================
   Promo-codes hub — ranked cards matching the /reviews pattern
   ============================================================ */
.promo-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0;
}
.promo-list-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.promo-list-card:hover {
  border-color: var(--accent);
}
.plc-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.plc-rank {
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
  font-size: 15px;
  color: var(--text-2);
  font-weight: 700;
  min-width: 32px;
}
.plc-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  line-height: 1.2;
  flex: 1 1 auto;
}
.plc-name:hover { color: var(--accent); }
.plc-score {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}
.plc-code-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.plc-code-box {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--surface-2, rgba(255,90,31,0.06));
  border: 1.5px dashed var(--accent);
  border-radius: 10px;
  padding: 10px 18px;
  flex: 1 1 auto;
  min-width: 0;
}
.plc-code-label {
  font-size: 11px;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  flex: 0 0 auto;
}
.plc-code {
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .06em;
  line-height: 1;
  word-break: break-all;
}
.plc-copy {
  background: var(--border);
  color: var(--text);
  border: none;
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  min-height: 44px;
  flex: 0 0 auto;
}
.plc-copy:hover { background: var(--accent); color: #fff; }
.plc-bonus {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.plc-actions {
  display: flex;
  gap: 12px;
  margin-top: 2px;
  flex-wrap: wrap;
}
.plc-actions .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 700;
  flex: 1 1 180px;
  text-align: center;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.2;
}
.plc-terms {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.plc-terms:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.plc-visit {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.plc-visit:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
@media (max-width: 640px) {
  .promo-list { gap: 16px; margin: 20px 0; }
  .promo-list-card {
    padding: 18px 16px;
    gap: 12px;
  }
  .plc-head { gap: 10px; }
  .plc-name { font-size: 19px; flex-basis: 100%; order: 2; }
  .plc-rank { order: 1; min-width: 0; font-size: 14px; }
  .plc-score { order: 3; font-size: 16px; margin-left: auto; }
  .plc-head { flex-direction: row; align-items: baseline; }
  .plc-code-row { gap: 10px; }
  .plc-code-box {
    padding: 10px 14px;
    width: 100%;
    justify-content: center;
    flex-basis: 100%;
  }
  .plc-code { font-size: 20px; }
  .plc-copy { width: 100%; }
  .plc-bonus { font-size: 14.5px; }
  .plc-actions {
    flex-direction: column;
    gap: 8px;
  }
  .plc-actions .btn { width: 100%; flex: 1 1 auto; }
}

/* =========================================================================
   Design QC pass — 2026-07-24 (Devendra design feedback)
   ========================================================================= */

/* ---- Global: CTA font-size ---- */
.btn { font-size: 16px; }
.btn-sm { font-size: 14px; }

/* ---- Brand-card polish: identity row (logo circle + name) + first-place badge ---- */
.brand-card { position: relative; }
.brand-card .brand-top {
  align-items: center;
}
.brand-card .brand-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-card .brand-name {
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
}
.brand-card--first { border-color: var(--accent); box-shadow: 0 8px 24px rgba(255,75,18,0.15); }
.first-place-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 50px;
  height: 50px;
  z-index: 2;
  pointer-events: none;
}
/* Push the score dial + rating badge away from the badge on cards that carry one */
.brand-card--first .brand-top .score-dial { margin-right: 56px; }

/* ---- Brand logo circle (used everywhere a brand renders in a card / row) ---- */
.brand-logo-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 999px;
  padding: 8px;
  overflow: hidden;
}
.brand-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);   /* force white silhouette so it reads on the coloured bg */
}
.brand-logo-circle--sm { width: 28px; height: 28px; min-width: 28px; padding: 5px; }
.brand-logo-circle--lg { width: 56px; height: 56px; min-width: 56px; padding: 10px; }

/* ---- Score dial (replaces .rating-badge.lg) ---- */
.score-dial {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
}
.score-dial--md { width: 68px; height: 68px; }
.score-dial--sm { width: 52px; height: 52px; }
.score-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-dial .dial-track,
.score-dial .dial-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}
.score-dial .dial-track { stroke: rgba(128,128,128,0.18); }
.score-dial .dial-fill {
  stroke: var(--accent);
  stroke-dasharray: 264;   /* 2 * PI * 42 ≈ 263.9 */
  stroke-dashoffset: 264;
  transition: stroke-dashoffset 1.2s cubic-bezier(.22,.61,.36,1);
}
.score-dial.is-in-view .dial-fill {
  stroke-dashoffset: calc(264 - (264 * var(--dial-pct) / 100));
}
.score-dial-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -62%);
  font-weight: 900;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.score-dial--md .score-dial-num { font-size: 18px; }
.score-dial--sm .score-dial-num { font-size: 15px; }
.score-dial-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 58%);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-2);
  text-align: center;
  line-height: 1;
}
.score-dial--sm .score-dial-label { display: none; }

/* ---- Brand review header: H1 + inline score dial + Visit CTA ---- */
.brand-header .brand-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.brand-header-title { flex: 1 1 60%; min-width: 260px; }
.brand-header-title h1 { margin: 0; }
.brand-header-title .subhead { margin: 8px 0 0; }
.brand-header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}
@media (max-width: 720px) {
  .brand-header .brand-header-inner { gap: 14px; }
  .brand-header-cta { width: 100%; justify-content: space-between; }
}

/* Full-width TL;DR (score-dial moved out) */
.tldr-box--full { display: block; }
.tldr-box--full .verdict { min-width: 0; }

/* ---- Pick-tiles: circular medallion rank + first-place badge ---- */
.pick-strip .pick-tile { position: relative; }
.pick-strip .pick-tile .pick-rank {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15), inset 0 -2px 4px rgba(0,0,0,0.15);
  border: 2px solid rgba(255,255,255,0.35);
  vertical-align: middle;
}
.pick-strip .pick-tile--first { border-color: var(--accent); }
.pick-strip .pick-tile--first .first-place-badge {
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
}

/* ---- Slogan-strip --lg polish ---- */
.slogan-strip--lg {
  background: linear-gradient(90deg, rgba(255, 75, 18, 0.20), transparent);
  border-left: none;
  border-radius: 12px;
  padding: 18px 22px;
}

/* ---- .callout--howto: unify with TL;DR ---- */
.callout--howto {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}
.callout--howto .callout-title {
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
  margin: 0 0 6px;
}
[data-theme="light"] .callout--howto { background: var(--card); }
[data-theme="light"] .callout--howto,
[data-theme="light"] .callout--howto p,
[data-theme="light"] .callout--howto li { color: var(--text); }

/* ---- .history-sidebar: dark mode variant ---- */
[data-theme="light"] .history-sidebar { background: #faf7f2; border-color: #e8dfd0; }
[data-theme="light"] .history-sidebar dd { color: #292524; }
:root:not([data-theme="light"]) .history-sidebar {
  background: #14161c;
  border-color: rgba(255,255,255,0.08);
}
:root:not([data-theme="light"]) .history-sidebar h3,
:root:not([data-theme="light"]) .history-sidebar dt { color: #b8b8b8; }
:root:not([data-theme="light"]) .history-sidebar dd { color: #e8e8e8; }

/* ---- .callout--fun dark-mode contrast fix ---- */
:root:not([data-theme="light"]) .callout--fun {
  background: rgba(168, 85, 247, 0.10);
  border-left-color: #c084fc;
}
:root:not([data-theme="light"]) .callout--fun,
:root:not([data-theme="light"]) .callout--fun p,
:root:not([data-theme="light"]) .callout--fun li { color: #f3e8ff; }
:root:not([data-theme="light"]) .callout--fun .callout-title { color: #d8b4fe; }

/* ---- Pros / Cons: swap +/− for badass-thumbs-up.svg / half-assed-thumbs-down.svg ---- */
.pros-cons li {
  padding-left: 26px;
  min-height: 20px;
}
.pros-cons .pros li::before,
.pros-cons .cons li::before { content: ""; }
.pros-cons .pros li,
.pros-cons .cons li {
  background-repeat: no-repeat;
  background-position: 0 2px;
  background-size: 16px 16px;
}
.pros-cons .pros li { background-image: url("/assets/badass-thumbs-up.svg"); }
.pros-cons .cons li { background-image: url("/assets/half-assed-thumbs-down.svg"); }

/* ---- Promo-codes hub: bigger cards with brand identity + code box + Visit primary ---- */
.promo-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  margin: 12px 0;
}
.promo-card .promo-identity { display: flex; align-items: center; gap: 12px; }
.promo-card .promo-brand-name { font-weight: 800; font-size: 18px; color: var(--text); }
.promo-card .promo-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.promo-card .promo-tagline { color: var(--text-2); font-size: 14.5px; margin: 0; }
.promo-card .promo-code-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.promo-card .code-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,75,18,0.08);
  border: 1px dashed var(--accent);
  border-radius: 8px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-weight: 800;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color .15s ease;
}
.promo-card .code-box:hover { background: rgba(255,75,18,0.14); }
.promo-card .code-copy-icon {
  width: 14px; height: 14px; opacity: 0.75;
}
.promo-card .code-toast {
  display: none;
  font-size: 12.5px;
  color: #2ea043;
  font-weight: 700;
}
.promo-card .code-box.is-copied + .code-toast { display: inline-block; }
.promo-card .promo-terms-link {
  font-size: 13px;
  color: var(--text-2);
  text-decoration: underline;
}
.promo-card .promo-cta { flex: 0 0 auto; }
@media (max-width: 720px) {
  .promo-card { grid-template-columns: 1fr; }
  .promo-card .promo-cta .btn { width: 100%; }
}

/* ---- How-we-rate hero: donkey figure right of H1 ---- */
.hwr-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
}
.hwr-hero-figure {
  width: 340px;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.hwr-hero-figure img { display: block; width: 100%; height: auto; }
@media (max-width: 720px) {
  .hwr-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hwr-hero-figure { width: 100%; }
}

/* ---- News article: feature image + sticky TOC layout ---- */
.news-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  align-items: start;
}
.news-article-toc {
  position: sticky;
  top: 92px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.news-article-toc h3 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.news-article-toc ul { list-style: none; padding: 0; margin: 0; }
.news-article-toc li { margin: 6px 0; line-height: 1.35; }
.news-article-toc a {
  color: var(--text-2);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 8px;
  margin-left: -8px;
  display: block;
}
.news-article-toc a:hover,
.news-article-toc a.is-active { color: var(--accent); border-left-color: var(--accent); }
.news-article-feature {
  margin: 0 0 24px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
}
.news-article-feature img { display: block; width: 100%; height: auto; }
.news-article-authorbox {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 32px 0;
}
.news-article-authorbox img {
  width: 54px; height: 54px; border-radius: 999px; object-fit: cover; flex: 0 0 auto;
}
.news-article-authorbox h4 { margin: 0 0 4px; font-size: 15px; }
.news-article-authorbox p { margin: 0 0 6px; font-size: 14px; color: var(--text-2); }
.news-article-authorbox a { color: var(--accent); font-weight: 700; font-size: 13.5px; }
.related-news-wrap { max-width: 900px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) {
  .news-article-layout { grid-template-columns: 1fr; }
  .news-article-toc { position: static; max-height: none; }
}

/* ---- Author avatar 34px in review byline ---- */
.byline .byline-avatar,
.byline img.author-avatar {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px;
  object-fit: cover;
}

/* ===== Best-in-breed promo code pages (2026-07) ================================= */
.key-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  margin: 22px 0 34px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.key-facts .kf-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-height: 62px;
}
.key-facts .kf-row:nth-child(3n) { border-right: none; }
.key-facts .kf-row:nth-last-child(-n+3) { border-bottom: none; }
.key-facts .kf-key {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.key-facts .kf-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}
.key-facts .kf-code {
  display: inline-block;
  padding: 2px 8px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
@media (max-width: 640px) {
  .key-facts { grid-template-columns: 1fr 1fr; }
  .key-facts .kf-row { border-right: 1px solid var(--border) !important; border-bottom: 1px solid var(--border) !important; }
  .key-facts .kf-row:nth-child(2n) { border-right: none !important; }
  .key-facts .kf-row:nth-last-child(-n+2) { border-bottom: none !important; }
}
@media (max-width: 380px) {
  .key-facts { grid-template-columns: 1fr; }
  .key-facts .kf-row { border-right: none !important; }
}

.terms-list,
.mistakes-list,
.steps-list {
  margin: 14px 0 22px;
  padding-left: 22px;
  line-height: 1.7;
}
.terms-list li,
.mistakes-list li,
.steps-list li {
  margin-bottom: 8px;
}
.mistakes-list {
  padding: 16px 22px 16px 40px;
  background: rgba(255, 75, 18, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  list-style: disc;
}
.terms-list li strong,
.steps-list li strong {
  color: var(--text);
}

.test-log {
  margin: 28px 0;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.test-log-title {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--text-muted);
}
.test-log ul {
  margin: 0 0 10px;
  padding-left: 20px;
  line-height: 1.65;
}
.test-log ul li { margin-bottom: 4px; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0 20px;
}
.compare-table th,
.compare-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.compare-table th {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
}
.compare-table tr.is-current {
  background: rgba(255, 75, 18, 0.08);
}
.compare-table code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  padding: 2px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  letter-spacing: 0.06em;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 8px;
}

.related-links {
  margin-top: 26px;
  padding: 14px 18px;
  background: var(--surface);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.rg-line {
  margin: 26px 0 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-style: normal;
}

/* Dark mode adjustments */
[data-theme="dark"] .key-facts { background: rgba(255, 255, 255, 0.02); }
[data-theme="dark"] .mistakes-list { background: rgba(255, 75, 18, 0.12); }
[data-theme="dark"] .compare-table tr.is-current { background: rgba(255, 75, 18, 0.16); }
[data-theme="dark"] .compare-table th { background: rgba(255, 255, 255, 0.03); }
[data-theme="dark"] .compare-table code { background: rgba(255, 255, 255, 0.04); }
