:root {
  --color-bg: #fafaf7;
  --color-text: #1a1a1a;
  --color-muted: #5a5a5a;
  --color-brand: #c8102e;
  --color-brand-dark: #9a0c23;
  --color-accent: #ffb81c;
  --color-link: #0a5cab;
  --color-link-hover: #073d72;
  --color-border: #e3e3df;
  --color-card: #ffffff;
  --color-callout: #fff8e1;
  --color-ribbon: #1a1a1a;
  --maxw: 900px;
  --maxw-wide: 1200px;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* RG ribbon */
.rg-ribbon {
  background: var(--color-ribbon);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: 0.01em;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .brand-mark { width: 84px; height: 84px; }
}
@media (max-width: 400px) {
  .brand-mark { width: 72px; height: 72px; }
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}
.brand-tag {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.2;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease;
}
.site-nav a:hover {
  background: #f1f1ec;
  color: var(--color-brand);
}

/* Page layout */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.content {
  font-size: 17px;
  line-height: 1.7;
}

/* Typography */
.content h1 {
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  font-weight: 800;
}
.content h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 56px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-weight: 750;
  letter-spacing: -0.005em;
}
.content h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 32px;
}
.content h3 {
  font-size: 22px;
  line-height: 1.25;
  margin: 32px 0 12px;
  font-weight: 700;
}
.content h4 {
  font-size: 18px;
  margin: 24px 0 8px;
  font-weight: 700;
}
.content p {
  margin: 0 0 18px;
}
.content a {
  color: var(--color-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.content a:hover {
  color: var(--color-link-hover);
}

.content strong {
  font-weight: 700;
}

/* Callouts (blockquotes) */
.content blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--color-callout);
  border-left: 4px solid var(--color-accent);
  border-radius: 6px;
  font-style: normal;
  color: var(--color-text);
}
.content blockquote p:last-child {
  margin-bottom: 0;
}

/* Lists */
.content ul,
.content ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.content li {
  margin: 6px 0;
}
.content li > strong:first-child {
  color: var(--color-text);
}

/* Tables */
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  background: var(--color-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.content thead {
  background: #1a1a1a;
  color: #fff;
}
.content th,
.content td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.content tbody tr:last-child td {
  border-bottom: none;
}
.content tbody tr:nth-child(even) {
  background: #fafaf7;
}

/* HR */
.content hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 48px 0;
}

/* Inline code */
.content code {
  background: #f1f1ec;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9em;
}
.content pre {
  background: #1a1a1a;
  color: #f5f5f0;
  padding: 16px 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.5;
  margin: 24px 0;
}
.content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #c8c8c0;
  padding: 48px 24px 24px;
  font-size: 14px;
  line-height: 1.5;
}
.footer-grid {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin: 6px 0;
}
.footer-col a {
  color: #c8c8c0;
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--color-accent);
}
.footer-base {
  max-width: var(--maxw-wide);
  margin: 32px auto 0;
  padding-top: 16px;
  border-top: 1px solid #333;
  font-size: 13px;
  color: #888880;
  line-height: 1.5;
}
.footer-base a {
  color: var(--color-accent);
  text-decoration: none;
}

/* ============================================================
   Hamburger toggle — hidden on desktop, shown on mobile
   ============================================================ */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-toggle-btn {
  display: none;
}

/* Responsive */
@media (max-width: 720px) {
  .content h1 {
    font-size: 30px;
  }
  .content h2 {
    font-size: 24px;
  }

  /* Header becomes a single row: brand on the left, hamburger on the right */
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    flex-wrap: nowrap;
  }
  .brand-tag {
    display: none; /* save horizontal space on mobile */
  }

  /* Hamburger button */
  .nav-toggle-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: #fff;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
  }
  .nav-toggle-btn:hover {
    background: #f4f4ef;
  }
  .nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.15s ease;
  }
  /* When checkbox is checked → animate bars into an "X" */
  .nav-toggle:checked ~ .nav-toggle-btn .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-toggle-btn .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-toggle-btn .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Mobile nav panel — hidden by default, slides down when toggle is checked */
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 10px 16px 16px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 49;
  }
  .nav-toggle:checked ~ .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 2px;
    padding: 0;
    margin: 0;
  }
  .site-nav li {
    width: 100%;
  }
  .site-nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--color-text);
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
  }
  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: #B84A20;
    color: #fff;
  }

  /* When the menu is open, prevent the body from scrolling underneath */
  body:has(.nav-toggle:checked) {
    overflow: hidden;
  }

  .page {
    padding: 24px 16px 64px;
  }
}

/* ============================================================
   Affiliate cards (Top 10 Online Casinos — Quick Picks)
   ============================================================ */
.affiliate-cards {
  /* Uluru palette: rock red / desert sky / sand / cream */
  --ac-sky:        #3D85CC;   /* outback sky */
  --ac-sky-deep:   #2C6FB8;   /* deeper sky band */
  --ac-rock:       #B84A20;   /* Uluru rock face */
  --ac-rock-light: #D86840;   /* sunlit rock highlight */
  --ac-rock-dark:  #5C2618;   /* shadowed rock */
  --ac-sand:       #A0763D;   /* desert sand */
  --ac-cream:      #F5E6CC;   /* card text / cream */
  --ac-peach:      #F5B968;   /* warm gold accent */
  --ac-peach-soft: #E6BC8E;   /* muted peach for secondary text */
  --ac-ink:        #2A0F08;   /* darkest brown */

  /* Legacy aliases so existing rules below keep working */
  --ac-bg: var(--ac-sky-deep);
  --ac-card-bg: var(--ac-rock);
  --ac-card-border: var(--ac-rock-dark);
  --ac-text: var(--ac-cream);
  --ac-muted: var(--ac-peach-soft);
  --ac-gold: var(--ac-peach);
  --ac-gold-soft: #F0A85A;
  --ac-red: var(--ac-rock-dark);
  --ac-red-hover: #7E3013;

  background:
    radial-gradient(ellipse at 50% 0%, rgba(184, 74, 32, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--ac-sky) 0%, var(--ac-sky-deep) 100%);
  padding: 32px 20px;
  margin: 28px 0;
  border-radius: 16px;
  color: var(--ac-text);
  box-shadow: inset 0 0 0 1px rgba(245, 230, 204, 0.08);
}

.affiliate-cards .ac-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ac-card {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1.6fr 1.5fr 1fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  background: var(--ac-card-bg);
  border: 1px solid var(--ac-card-border);
  border-radius: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.ac-card:hover {
  border-color: var(--ac-rock-light);
}

.ac-top-pick {
  border-color: var(--ac-peach);
  box-shadow: 0 0 0 1px var(--ac-peach) inset, 0 6px 24px rgba(245, 185, 104, 0.18);
}

.ac-badge {
  position: absolute;
  top: -10px;
  left: 18px;
  background: var(--ac-peach);
  color: var(--ac-ink);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.ac-rank {
  font-size: 28px;
  font-weight: 800;
  color: var(--ac-gold);
  letter-spacing: 0.01em;
  text-align: center;
}

.ac-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.ac-logo {
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
  border-radius: 12px;
  background: #fff;
  color: #1a1a1a;
  font-weight: 800;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}
.ac-brand-text {
  min-width: 0;
}
.ac-brand-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--ac-text);
  line-height: 1.2;
}
.ac-brand-tag {
  font-size: 13px;
  color: var(--ac-muted);
  margin-top: 2px;
}

.ac-bonus {
  min-width: 0;
}
.ac-bonus-link {
  display: inline-block;
  text-decoration: none;
  outline: none;
  border-radius: 999px;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.ac-bonus-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.ac-bonus-link:focus-visible {
  outline: 3px solid var(--ac-cream);
  outline-offset: 3px;
}

.ac-bonus-pill {
  display: inline-block;
  background: linear-gradient(180deg, var(--ac-cream) 0%, var(--ac-peach) 100%);
  border: 1px solid var(--ac-peach);
  color: var(--ac-ink);
  font-weight: 800;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 999px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  box-shadow:
    0 0 0 3px rgba(245, 185, 104, 0.18),
    0 4px 14px rgba(245, 185, 104, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
  cursor: pointer;
}
.ac-top-pick .ac-bonus-pill {
  box-shadow:
    0 0 0 3px rgba(245, 185, 104, 0.28),
    0 6px 18px rgba(245, 185, 104, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.ac-bonus-meta {
  font-size: 13px;
  color: var(--ac-muted);
  margin-top: 8px;
  line-height: 1.4;
}

.ac-rating {
  text-align: center;
}
.ac-stars {
  color: var(--ac-gold);
  letter-spacing: 2px;
  font-size: 15px;
  margin-bottom: 2px;
}
.ac-stars .ac-star-empty {
  color: rgba(245, 185, 104, 0.3);
}
.ac-score {
  font-size: 26px;
  font-weight: 800;
  color: var(--ac-text);
  line-height: 1.1;
}
.ac-score-label {
  font-size: 12px;
  color: var(--ac-muted);
  margin-top: 2px;
}

.ac-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ac-btn {
  display: inline-block;
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.15;
  min-width: 130px;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.ac-btn-gold {
  background: linear-gradient(180deg, var(--ac-cream) 0%, var(--ac-peach) 100%);
  color: var(--ac-ink);
  box-shadow: 0 4px 14px rgba(245, 185, 104, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.ac-btn-gold:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.ac-btn-red {
  background: var(--ac-rock-dark);
  color: var(--ac-cream);
  box-shadow: 0 4px 14px rgba(42, 15, 8, 0.42);
}
.ac-btn-red:hover {
  background: #7E3013;
  transform: translateY(-1px);
}
.ac-review-link {
  font-size: 12px;
  color: var(--ac-muted);
  text-decoration: none;
}
.ac-review-link:hover {
  color: var(--ac-text);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .ac-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "rank"
      "brand"
      "bonus"
      "rating"
      "cta";
    row-gap: 16px;
    padding: 26px 18px;
    text-align: center;
    justify-items: center;
  }
  .ac-rank { grid-area: rank; font-size: 24px; text-align: center; }
  .ac-brand { grid-area: brand; flex-direction: column; justify-content: center; gap: 10px; text-align: center; }
  .ac-brand-text { text-align: center; }
  .ac-bonus { grid-area: bonus; text-align: center; width: 100%; }
  .ac-bonus-link, .ac-bonus-pill { display: inline-block; }
  .ac-bonus-meta { text-align: center; }
  .ac-rating { grid-area: rating; text-align: center; }
  .ac-cta { grid-area: cta; align-items: center; width: 100%; max-width: 280px; }
  .ac-cta .ac-btn { width: 100%; min-width: 0; }
  .ac-bonus-pill { font-size: 14px; padding: 10px 18px; }
  .ac-badge { left: 50%; transform: translateX(-50%); }
}
@media (max-width: 900px) {
  .ac-logo {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .affiliate-cards { padding: 22px 12px; }
  .ac-card { padding: 18px 14px; }
  .ac-logo {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
    font-size: 18px;
  }
}

[id^="review-"] {
  scroll-margin-top: 24px;
}

/* Real logo images inside affiliate cards */
.ac-logo {
  padding: 10px;
  overflow: hidden;
}
.ac-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Mini-review heading: brand logo + h3 in a flex row */
.review-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  margin-bottom: 10px;
}
.review-heading .review-logo {
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px;
  object-fit: contain;
  box-shadow: var(--shadow-sm);
}
.review-heading h3 {
  margin: 0;
  flex: 1;
}
@media (max-width: 600px) {
  .review-heading {
    gap: 14px;
  }
  .review-heading .review-logo {
    flex-basis: 84px;
    width: 84px;
    height: 84px;
    padding: 8px;
  }
}

/* ============================================================
   Hero — palette: dark brown / orange-red / blue-gray / sky / warm orange
   ============================================================ */
.hero {
  /* Desert sunset palette */
  --hero-deep:  #6B2718;   /* deep maroon (sky top, terrain shadow) */
  --hero-red:   #9C3520;   /* burnished red */
  --hero-burnt: #D14418;   /* burnt orange sky */
  --hero-amber: #F5A155;   /* glowing amber */
  --hero-peach: #F8C797;   /* peach cloud highlight */
  --hero-cream: #F4D6A0;   /* pale gold horizon glow */
  --hero-tan:   #B2814E;   /* tan/ochre terrain */
  --hero-mist:  #F4E6CC;   /* warm cream text on dark */
  --hero-ink:   #2A0F08;   /* darkest brown for CTA text */

  position: relative;
  /* Full-bleed: break out of the article's max-width into a viewport-wide band. */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -40px;
  margin-bottom: 28px;
  padding: 72px 24px 64px;
  border-radius: 0;
  background:
    /* sun glow */
    radial-gradient(ellipse at 75% 78%, rgba(248, 213, 168, 0.55) 0%, transparent 45%),
    /* warm cloud highlight */
    radial-gradient(ellipse at 22% 30%, rgba(248, 199, 151, 0.32) 0%, transparent 50%),
    /* vertical sunset sky → ground */
    linear-gradient(
      180deg,
      var(--hero-deep) 0%,
      var(--hero-red) 22%,
      var(--hero-burnt) 45%,
      var(--hero-amber) 68%,
      var(--hero-cream) 88%,
      var(--hero-tan) 100%
    );
  color: var(--hero-mist);
  overflow: hidden;
  isolation: isolate;
}
html, body {
  overflow-x: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
  z-index: -1;
}
.hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.hero-lead {
  color: var(--hero-mist);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 22px;
}
.hero-lead strong {
  color: #ffffff;
}

.hero-quickread {
  margin: 0 0 24px;
  padding: 16px 20px;
  border-left: 4px solid var(--hero-peach);
  background: rgba(42, 15, 8, 0.42);
  border-radius: 6px;
  backdrop-filter: blur(2px);
}
.hero-quickread p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--hero-mist);
}
.hero-quickread strong {
  color: var(--hero-peach);
}
.hero-quickread a {
  color: var(--hero-cream);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero-quickread a:hover {
  color: #ffffff;
}

@media (max-width: 600px) {
  .hero {
    padding: 48px 16px 44px;
    margin-top: -24px;
    margin-bottom: 22px;
  }
  .hero-lead { font-size: 15.5px; }
}

/* Hide the hr that used to separate the hero from what's below */
.hero + hr {
  border: 0;
  margin: 0;
  height: 0;
}

/* ============================================================
   Page Quick read (bottom-of-page callout, moved out of the hero)
   ============================================================ */
.page-quickread {
  margin: 56px 0 24px;
  padding: 24px 28px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(245, 230, 204, 0.55) 0%, transparent 60%),
    linear-gradient(135deg, #D14418 0%, #DE8A3A 55%, #F4D6A0 100%);
  border-left: 6px solid #F5B968;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.page-quickread h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2A0F08;
  opacity: 0.7;
}
.page-quickread blockquote {
  background: rgba(255, 248, 235, 0.86);
  border: 0;
  border-left: 4px solid #F5B968;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(2px);
}
.page-quickread blockquote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #2A0F08;
}
.page-quickread blockquote strong {
  color: #B84A20;
  font-weight: 800;
}
.page-quickread blockquote a {
  color: #B84A20;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.page-quickread blockquote a:hover {
  color: #7E3013;
}

@media (max-width: 600px) {
  .page-quickread {
    margin: 40px 0 16px;
    padding: 20px;
    border-radius: 12px;
  }
  .page-quickread blockquote {
    padding: 14px 16px;
  }
  .page-quickread blockquote p {
    font-size: 15px;
  }
}

/* ============================================================
   Hero byline strip (author · fact-checker · updated date)
   ============================================================ */
.hero .byline {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px 12px;
  margin: 14px 0 0;
  padding: 8px 18px 8px 8px;
  background: rgba(42, 15, 8, 0.32);
  border: 1px solid rgba(248, 199, 151, 0.32);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--hero-mist, #F4E6CC);
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.hero .byline::-webkit-scrollbar { display: none; }
.hero .byline > * { white-space: nowrap; flex-shrink: 0; }
.hero .byline > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero .byline a {
  color: var(--hero-peach, #F8C797);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dotted rgba(248, 199, 151, 0.4);
}
.hero .byline a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}
.hero .byline time {
  font-variant-numeric: tabular-nums;
}
.hero .byline-sep {
  opacity: 0.55;
  font-weight: 400;
}

@media (max-width: 600px) {
  .hero .byline {
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 12.5px;
  }
}

/* ============================================================
   Sticky bottom-right affiliate CTA (follows scroll)
   ============================================================ */
.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  background: #B84A20;
  background-image: linear-gradient(180deg, #C9542A 0%, #A03A1A 100%);
  color: #F5E6CC;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(245, 230, 204, 0.35);
  box-shadow:
    0 10px 28px rgba(42, 15, 8, 0.45),
    0 2px 6px rgba(42, 15, 8, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
}
.sticky-cta:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.08);
  box-shadow:
    0 14px 32px rgba(42, 15, 8, 0.55),
    0 4px 10px rgba(42, 15, 8, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.sticky-cta:focus-visible {
  outline: 3px solid #F5B968;
  outline-offset: 3px;
}
.sticky-cta:active {
  transform: translateY(0) scale(0.99);
}

.sticky-cta-star {
  font-size: 18px;
  line-height: 1;
  color: #F5B968;
  text-shadow: 0 0 8px rgba(245, 185, 104, 0.6);
  animation: stickyStarPulse 2.6s ease-in-out infinite;
}
@keyframes stickyStarPulse {
  0%, 100% { transform: scale(1);   text-shadow: 0 0 6px rgba(245, 185, 104, 0.4); }
  50%      { transform: scale(1.18); text-shadow: 0 0 14px rgba(245, 185, 104, 0.85); }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta-star { animation: none; }
  .sticky-cta:hover { transform: none; }
}

@media (max-width: 600px) {
  .sticky-cta {
    right: 16px;
    bottom: 16px;
    padding: 12px 18px 12px 14px;
    font-size: 14px;
  }
  .sticky-cta-star { font-size: 16px; }
}
@media print {
  .sticky-cta { display: none; }
}

/* ============================================================
   Mini-reviews — card-style layout (Spinjo screenshot pattern)
   ============================================================ */
.mini-review {
  --mr-accent:   #2D9170;
  --mr-accent-d: #1F6E55;
  --mr-claim:    #E5733A;
  --mr-claim-h:  #C9602B;
  --mr-rank-bg:  #1B2A3A;
  --mr-badge:    #F4D870;
  --mr-card-bg:  #FFFFFF;
  --mr-bar-track:#E8E5DE;
  --mr-bar-fill: #6E5BD6;
  --mr-text:     #1A1A1A;
  --mr-muted:    #5A5A5A;

  margin: 36px 0 44px;
}

/* Top white card with left green accent stripe */
.mr-card {
  position: relative;
  background: var(--mr-card-bg);
  border: 1px solid #E5E2D9;
  border-left: 6px solid var(--mr-accent);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Top row: rank + brand + badge + Claim button */
.mr-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.mr-rank-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.mr-rank {
  background: var(--mr-rank-bg);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.mr-brand-name {
  font-weight: 800;
  font-size: 26px;
  color: var(--mr-accent) !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  letter-spacing: -0.01em;
}
.mr-brand-name:hover { color: var(--mr-accent-d) !important; }

.mr-badge {
  background: var(--mr-badge);
  color: #4A3A0A;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 6px;
  text-transform: uppercase;
}

.mr-claim {
  background: var(--mr-claim);
  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none !important;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 6px rgba(229, 115, 58, 0.4);
}
.mr-claim:hover {
  background: var(--mr-claim-h);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(229, 115, 58, 0.55);
}

/* Middle row: logo + tagline/chips + rating */
.mr-middle {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
}
.mr-logo {
  width: 96px;
  height: 96px;
  background: #fff;
  border: 1px solid #E5E2D9;
  border-radius: 10px;
  padding: 8px;
  object-fit: contain;
}
.mr-info { min-width: 0; }
.mr-tagline {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--mr-text);
  margin-bottom: 8px;
}
.mr-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mr-chips li {
  background: #fff;
  border: 1px solid #DDD8CC;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
  color: var(--mr-muted);
  margin: 0;
}
.mr-rating {
  text-align: right;
  flex-shrink: 0;
}
.mr-rating-score {
  color: var(--mr-bar-fill);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.mr-rating-max {
  color: var(--mr-muted);
  font-size: 16px;
  font-weight: 600;
  margin-left: 2px;
}

/* Bonus row with icons */
.mr-bonus {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid #EEEAE1;
  border-bottom: 1px solid #EEEAE1;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--mr-text);
}
.mr-bonus-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mr-bonus-terms {
  color: var(--mr-accent) !important;
  text-decoration: none;
  font-weight: 600;
}
.mr-bonus-terms:hover { text-decoration: underline; }
.mr-icon { font-size: 16px; }

/* Score bars */
.mr-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.mr-bar-row {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  gap: 14px;
  align-items: center;
  font-size: 14px;
}
.mr-bar-label {
  color: var(--mr-muted);
  font-weight: 500;
}
.mr-bar-track {
  background: var(--mr-bar-track);
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
}
.mr-bar-fill {
  height: 100%;
  background: var(--mr-bar-fill);
  border-radius: 999px;
  transition: width 0.5s ease;
}
.mr-bar-score {
  color: var(--mr-text);
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Pros / Cons two-column block */
.mr-proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0 0;
}
.mr-pc-col {
  background: #F4F7F2;
  border: 1px solid #DDE5DA;
  border-radius: 12px;
  padding: 18px 20px;
}
.mr-pc-cons {
  background: #FBF1EF;
  border-color: #ECD5D1;
}
.mr-pc-col h4 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: #3F8F5E;
}
.mr-pc-cons h4 { color: #B7392E; }
.mr-pc-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mr-pc-col li {
  position: relative;
  padding: 6px 0 6px 26px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--mr-text);
}
.mr-pc-pros li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 6px;
  color: #3F8F5E;
  font-weight: 800;
}
.mr-pc-cons li::before {
  content: "✕";
  position: absolute;
  left: 4px;
  top: 6px;
  color: #B7392E;
  font-weight: 800;
}

/* Body paragraphs */
.mr-body {
  margin-top: 22px;
  color: var(--mr-text);
  line-height: 1.7;
}
.mr-body p { margin: 0 0 14px; }
.mr-body p:last-child { margin-bottom: 0; }
.mr-body strong { font-weight: 700; }

.mr-cta-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #EEEAE1;
  font-size: 14px;
  color: var(--mr-muted);
}
.mr-cta-footer-btn {
  font-weight: 700;
  color: var(--mr-accent) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Mobile */
@media (max-width: 700px) {
  .mr-card { padding: 18px 16px; }
  .mr-top { flex-direction: column; align-items: stretch; }
  .mr-rank-brand { justify-content: flex-start; }
  .mr-claim { width: 100%; text-align: center; }
  .mr-brand-name { font-size: 22px; }

  .mr-middle {
    grid-template-columns: 72px 1fr;
    grid-template-areas:
      "logo info"
      "rating rating";
    gap: 14px;
  }
  .mr-logo { grid-area: logo; width: 72px; height: 72px; }
  .mr-info { grid-area: info; }
  .mr-rating { grid-area: rating; text-align: center; margin-top: 8px; }
  .mr-rating-score { font-size: 30px; }

  .mr-bonus { gap: 10px 14px; font-size: 13.5px; }
  .mr-bar-row { grid-template-columns: 64px 1fr 36px; font-size: 13.5px; }

  .mr-proscons { grid-template-columns: 1fr; }
  .mr-pc-col { padding: 14px 16px; }
}

/* ============================================================
   Bonus offer popup (exit-intent / on-open)
   ============================================================ */
.bonus-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.bonus-popup[hidden] { display: none; }

.bonus-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 8, 4, 0.72);
  backdrop-filter: blur(4px);
  animation: bonusFadeIn 0.2s ease;
}

.bonus-popup-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 36px 28px 24px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(245, 230, 204, 0.32) 0%, transparent 70%),
    linear-gradient(180deg, #B84A20 0%, #8A3318 100%);
  border: 2px solid #F5B968;
  border-radius: 20px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 6px rgba(245, 185, 104, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #F5E6CC;
  animation: bonusPopIn 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bonus-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.28);
  color: #F5E6CC;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.bonus-popup-close:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.05);
}
.bonus-popup-close:focus-visible {
  outline: 2px solid #F5B968;
  outline-offset: 2px;
}

.bonus-popup-eyebrow {
  color: #F5B968;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.bonus-popup-logo {
  width: 84px;
  height: 84px;
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.bonus-popup-title {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.bonus-popup-bonus {
  margin: 0 0 22px;
  line-height: 1.45;
}
.bonus-popup-bonus strong {
  display: block;
  font-size: 24px;
  color: #F5B968;
  font-weight: 800;
  letter-spacing: 0.005em;
  margin-bottom: 4px;
}
.bonus-popup-bonus span {
  font-size: 15px;
  color: #F5E6CC;
}

.bonus-popup-cta {
  display: inline-block;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(180deg, #F5D89E 0%, #F5B968 100%);
  color: #2A0F08 !important;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  border-radius: 12px;
  box-shadow:
    0 6px 18px rgba(245, 185, 104, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.bonus-popup-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.bonus-popup-cta:focus-visible {
  outline: 3px solid #F5E6CC;
  outline-offset: 3px;
}

.bonus-popup-decline {
  display: block;
  width: 100%;
  margin: 14px 0 0;
  padding: 8px;
  background: none;
  border: 0;
  color: rgba(245, 230, 204, 0.65);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.bonus-popup-decline:hover {
  color: #F5E6CC;
}

.bonus-popup-tc {
  margin: 16px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(245, 230, 204, 0.55);
}
.bonus-popup-tc a {
  color: rgba(245, 230, 204, 0.85);
  text-decoration: underline;
}

@keyframes bonusFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bonusPopIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .bonus-popup-card, .bonus-popup-backdrop { animation: none; }
}

@media (max-width: 480px) {
  .bonus-popup-card {
    padding: 32px 20px 20px;
    border-radius: 16px;
  }
  .bonus-popup-title { font-size: 24px; }
  .bonus-popup-bonus strong { font-size: 21px; }
  .bonus-popup-logo { width: 72px; height: 72px; }
}

/* ============================================================
   Author portraits (Authors page)
   ============================================================ */
.author-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 36px 0 12px;
}
.author-portrait {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--color-border);
}
.author-card h3 {
  margin: 0;
  flex: 1;
  scroll-margin-top: 80px;
}
@media (max-width: 480px) {
  .author-portrait {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }
}

/* ============================================================
   Byline avatars (small circular portraits inline with names)
   ============================================================ */
.hero .byline .byline-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  color: var(--hero-peach, #F8C797);
  font-weight: 600;
  border-bottom: 0;
}
.hero .byline .byline-author:hover {
  color: #ffffff;
}
.hero .byline .byline-author:hover .byline-author-name {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero .byline-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  border: 1.5px solid rgba(245, 230, 204, 0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  image-rendering: -webkit-optimize-contrast;
}
.hero .byline-author-name {
  border-bottom: 1px dotted rgba(248, 199, 151, 0.4);
  padding-bottom: 1px;
}
@media (max-width: 600px) {
  .hero .byline-avatar { width: 22px; height: 22px; border-width: 1px; }
}

/* ============================================================
   Mobile: keep H1 + first H2 + affiliate cards above the fold.
   Hide hero lead + byline on mobile (still in DOM for SEO/screen readers
   on larger screens — they only render on tablet/desktop).
   ============================================================ */
@media (max-width: 720px) {
  /* Compact hero — just enough for the H1 */
  .hero {
    padding: 24px 16px 18px;
    margin-top: -16px;
    margin-bottom: 12px;
  }
  .hero-title {
    font-size: clamp(22px, 6.5vw, 30px);
    margin-bottom: 0;
  }
  /* Hide the lead paragraph and the byline pill on mobile only */
  .hero .hero-lead,
  .hero .byline {
    display: none;
  }
  /* Pull the affiliate block snug against the hero */
  .affiliate-block {
    margin-top: 0;
  }
  /* Tighten the H2 spacing so it shows above the fold with the cards */
  .affiliate-block > h2,
  .affiliate-block-main > h2 {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    font-size: 22px;
  }
}

/* ============================================================
   Page width + full-bleed for hero and affiliate-block.
   The hero and the affiliate-block break out of the .page container
   and stretch to the viewport edges via the classic 100vw + negative
   margin trick. Other content stays at the readable .page width.
   ============================================================ */
.hero,
.affiliate-block {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
}
/* Re-center the affiliate-block's inner content within the viewport
   so the cards line up with the hero's visual edges. */
.affiliate-block {
  padding-left: max(24px, calc((100vw - 1240px) / 2));
  padding-right: max(24px, calc((100vw - 1240px) / 2));
  box-sizing: border-box;
}
