/* DESIGN CONCEPT: Imperial Velvet & Gilded Reels - Stylized 3D iGaming Editorial Engine */

:root {
  /* Art Asset Continuity Directives */
  --sf-art-materials: "Chiseled carmine enamel, brushed imperial brass, bevel-edged obsidian glass, and polished amber cabochons";
  --sf-art-lighting: "Dramatic volumetric rim light, specular golden highlights, jewel-toned core glow, and deep vignetted ruby shadows";
  --sf-art-shapes: "Bold heraldic chamfers, beveled ornamental slot-machine cartouches, faceted polygonal gems, and stepped pill frames";
  --sf-art-world: "A high-stakes mythological vault of towering reels, molten gold conduits, velvet-lined prize chambers, and glowing runes";

  /* Background Spectrum - Deep Burgundy */
  --sf-bg: #22070e;
  --sf-bg-surface: #2c0b14;
  --sf-bg-surface-elevated: #39101c;
  --sf-bg-surface-raised: #481423;
  --sf-bg-surface-overlay: #57192b;
  --sf-bg-surface-highlight: #691d33;

  /* Metallic & Trim Accents */
  --sf-gold-primary: #d4a743;
  --sf-gold-bright: #ffd166;
  --sf-gold-deep: #966f1e;
  --sf-gold-rim: rgba(255, 209, 102, 0.45);
  --sf-gold-glow: rgba(212, 167, 67, 0.25);

  /* Global Universal Accent & CTA Contract (Strict var reuse) */
  --sf-accent: #e5a93b;
  --sf-accent-text: #1a0802;

  /* Typography / Text Palette */
  --sf-text-main: #f5e8e8;
  --sf-text-secondary: #d4b8be;
  --sf-text-muted: #af8d95;
  --sf-text-dim: #8b6b72;
  --sf-text-inverse: #1b070d;

  /* Signal & Reputation Enamels */
  --sf-emerald-bg: #0d281e;
  --sf-emerald-border: #1d774f;
  --sf-emerald-glow: #2ce080;
  --sf-emerald-text: #b6f5cf;

  --sf-amber-bg: #2e1e07;
  --sf-amber-border: #8c5b13;
  --sf-amber-glow: #ffaa22;
  --sf-amber-text: #fde0aa;

  --sf-ruby-bg: #2d0a0f;
  --sf-ruby-border: #801826;
  --sf-ruby-glow: #ff3b56;
  --sf-ruby-text: #ffccd4;

  --sf-sapphire-bg: #091a2e;
  --sf-sapphire-border: #164878;
  --sf-sapphire-glow: #38a5ff;
  --sf-sapphire-text: #c0e2ff;

  /* Borders & Dividers */
  --sf-border-subtle: rgba(212, 167, 67, 0.14);
  --sf-border-medium: rgba(212, 167, 67, 0.28);
  --sf-border-strong: rgba(255, 209, 102, 0.55);
  --sf-border-inner: rgba(255, 255, 255, 0.08);

  /* Volumetric Shadows */
  --sf-shadow-sm: 0 2px 6px rgba(10, 2, 4, 0.5), inset 0 1px 0 var(--sf-border-inner);
  --sf-shadow-md: 0 6px 18px rgba(10, 2, 4, 0.65), 0 2px 4px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --sf-shadow-lg: 0 14px 34px rgba(8, 1, 3, 0.8), 0 4px 10px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 209, 102, 0.3);
  --sf-shadow-inset: inset 0 2px 6px rgba(0, 0, 0, 0.7), inset 0 0 12px rgba(10, 2, 4, 0.5);

  /* Structural Radii */
  --sf-radius-xs: 4px;
  --sf-radius-sm: 6px;
  --sf-radius-md: 10px;
  --sf-radius-lg: 16px;
  --sf-radius-xl: 24px;
  --sf-radius-pill: 9999px;

  /* Typography Scale */
  --sf-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sf-font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Header & Footer SiteForge Contract */
  --sf-header-bg: #1c050b;
  --sf-header-text: #f5e8e8;
  --sf-header-accent: var(--sf-accent);
  --sf-header-accent-text: var(--sf-accent-text);
  --sf-header-panel: #260911;
  --sf-header-panel-text: #f5e8e8;
  --sf-footer-bg: #150307;
  --sf-footer-text: #d4b8be;

  /* Motion Timing */
  --sf-transition-fast: 0.15s ease-out;
  --sf-transition-base: 0.25s cubic-bezier(0.2, 0, 0, 1);
  --sf-transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   CSS Reset & Base Foundations
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--sf-bg);
  color: var(--sf-text-main);
  font-family: var(--sf-font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% -10%, #3d0e1b 0%, var(--sf-bg) 65%, #180307 100%);
  background-attachment: fixed;
  color: var(--sf-text-main);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--sf-gold-bright);
  text-decoration: none;
  transition: color var(--sf-transition-fast);
}

a:hover {
  color: #fff;
  text-decoration: underline;
}

p {
  margin-bottom: 1.15rem;
  color: var(--sf-text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

h1 { font-size: 1.85rem; font-weight: 800; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.08rem; }
h5 { font-size: 0.95rem; }
h6 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }

@media (min-width: 641px) {
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.85rem; }
  h3 { font-size: 1.45rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 2.85rem; }
  h2 { font-size: 2.15rem; }
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.35rem;
  color: var(--sf-text-secondary);
}

li {
  margin-bottom: 0.4rem;
}

hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sf-border-medium), transparent);
  margin: 2.5rem 0;
}

:focus-visible {
  outline: 2px solid var(--sf-gold-bright);
  outline-offset: 3px;
}

/* ==========================================================================
   Structural Layout & Grids
   ========================================================================== */

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.site-main {
  flex: 1 0 auto;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.container--narrow {
  max-width: 860px;
}

.container--wide {
  max-width: 1360px;
}

.section {
  padding: 2.75rem 0;
  position: relative;
}

@media (min-width: 861px) {
  .section {
    padding: 4rem 0;
  }
}

.section--dim {
  background-color: rgba(22, 5, 10, 0.65);
}

.section--bordered {
  border-top: 1px solid var(--sf-border-subtle);
  border-bottom: 1px solid var(--sf-border-subtle);
}

.section-header {
  margin-bottom: 2rem;
  text-align: left;
}

.section-header--center {
  text-align: center;
}

.section-header__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sf-gold-bright);
  background: rgba(212, 167, 67, 0.12);
  border: 1px solid var(--sf-border-medium);
  padding: 0.25rem 0.65rem;
  border-radius: var(--sf-radius-pill);
  margin-bottom: 0.65rem;
}

.section-header__lead {
  font-size: 1.05rem;
  color: var(--sf-text-secondary);
  max-width: 48rem;
  margin-top: 0.4rem;
}

.section-header--center .section-header__lead {
  margin-left: auto;
  margin-right: auto;
}

/* Two Column Review & Hub Grid */
.layout-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 861px) {
  .layout-split {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .layout-split {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2.5rem;
  }
}

/* Standard Content Grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 641px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.cards-grid--4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 580px) {
  .cards-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .cards-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   Header & Sticky Shell Navigation
   ========================================================================== */

.site-header {
  background: var(--sf-header-bg);
  border-bottom: 1px solid var(--sf-border-medium);
  box-shadow: 0 4px 16px rgba(10, 2, 4, 0.7);
  position: relative;
  z-index: 100;
}

.site-header--sticky {
  position: sticky;
  top: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  min-height: 4.25rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.site-brand:hover {
  text-decoration: none;
  color: var(--sf-gold-bright);
}

.site-brand__emblem {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--sf-radius-sm);
  background: linear-gradient(135deg, var(--sf-gold-bright), #b58021);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--sf-gold-glow);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.site-nav {
  display: none;
}

@media (min-width: 961px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
}

.site-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
  align-items: center;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sf-text-secondary);
  border-radius: var(--sf-radius-sm);
  transition: all var(--sf-transition-fast);
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: #ffffff;
  background: var(--sf-bg-surface-raised);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-nav__link.is-active {
  border-bottom: 2px solid var(--sf-accent);
}

/* Mobile Nav Toggle & Menu */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--sf-bg-surface-elevated);
  border: 1px solid var(--sf-border-medium);
  border-radius: var(--sf-radius-sm);
  cursor: pointer;
  padding: 0;
}

@media (min-width: 961px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle__bar {
  width: 18px;
  height: 2px;
  background-color: var(--sf-gold-bright);
  border-radius: 1px;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--sf-header-panel);
  border-bottom: 2px solid var(--sf-gold-primary);
  box-shadow: var(--sf-shadow-lg);
  padding: 1.25rem 1rem;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__link {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sf-header-panel-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu__link:hover {
  color: var(--sf-gold-bright);
  text-decoration: none;
}

/* ==========================================================================
   Universal Call-To-Action & Button System
   Strictly bound to var(--sf-accent) and var(--sf-accent-text)
   ========================================================================== */

.btn,
.btn--primary,
.btn--secondary,
.btn--outline,
.btn--ghost,
.btn--gradient,
.btn--cta,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  font-family: var(--sf-font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.75rem 1.4rem;
  border-radius: var(--sf-radius-md);
  cursor: pointer;
  text-decoration: none;
  max-width: 100%;
  min-height: 2.85rem;
  position: relative;
  transition: transform var(--sf-transition-fast), box-shadow var(--sf-transition-fast), filter var(--sf-transition-fast);

  /* Background and text bound strictly to required custom properties */
  background-color: var(--sf-accent);
  color: var(--sf-accent-text);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

@media (max-width: 859px) {
  .btn,
  .btn--primary,
  .btn--secondary,
  .btn--outline,
  .btn--ghost,
  .btn--gradient,
  .btn--cta,
  .cta-button {
    white-space: normal;
  }
}

@media (min-width: 860px) {
  .btn,
  .btn--primary,
  .btn--secondary,
  .btn--outline,
  .btn--ghost,
  .btn--gradient,
  .btn--cta,
  .cta-button {
    white-space: nowrap;
  }
}

.btn:hover,
.btn--primary:hover,
.btn--secondary:hover,
.btn--outline:hover,
.btn--ghost:hover,
.btn--gradient:hover,
.btn--cta:hover,
.cta-button:hover {
  background-color: var(--sf-accent);
  color: var(--sf-accent-text);
  text-decoration: none;
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(229, 169, 59, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn:focus,
.btn--primary:focus,
.btn--secondary:focus,
.btn--outline:focus,
.btn--ghost:focus,
.btn--gradient:focus,
.btn--cta:focus,
.cta-button:focus {
  background-color: var(--sf-accent);
  color: var(--sf-accent-text);
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.btn:active,
.btn--primary:active,
.btn--secondary:active,
.btn--outline:active,
.btn--ghost:active,
.btn--gradient:active,
.btn--cta:active,
.cta-button:active {
  background-color: var(--sf-accent);
  color: var(--sf-accent-text);
  transform: translateY(1px);
  filter: brightness(0.92);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), inset 0 2px 3px rgba(0, 0, 0, 0.35);
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.5);
  box-shadow: none;
}

/* Distinctive modifiers altering dimensions/borders while honoring var contract */
.btn--lg,
.btn--cta {
  font-size: 1.05rem;
  padding: 0.95rem 1.85rem;
  letter-spacing: 0.01em;
  font-weight: 800;
  border-radius: var(--sf-radius-lg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 16px var(--sf-gold-glow), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.btn--sm {
  font-size: 0.8125rem;
  padding: 0.45rem 0.85rem;
  min-height: 2.1rem;
  border-radius: var(--sf-radius-sm);
}

.btn--full {
  width: 100%;
}

.btn--outline {
  border: 2px solid #ffffff;
  filter: brightness(0.97);
}

.btn--ghost {
  border: 1px dashed rgba(255, 255, 255, 0.6);
}

.btn__icon {
  flex-shrink: 0;
  width: 1.15em;
  height: 1.15em;
}

/* ==========================================================================
   Hero Banners & Variations
   ========================================================================== */

.hero {
  position: relative;
  background: radial-gradient(ellipse at center top, #481423 0%, var(--sf-bg-surface) 60%, var(--sf-bg) 100%);
  border-bottom: 2px solid var(--sf-border-medium);
  padding: 2.5rem 0 3rem;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 167, 67, 0.15), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero__badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.hero__title {
  font-size: 2rem;
  margin-bottom: 0.85rem;
}

.hero__lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--sf-text-secondary);
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  font-size: 0.825rem;
  color: var(--sf-text-muted);
  border-top: 1px solid var(--sf-border-subtle);
  padding-top: 1rem;
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Dedicated Casino Review Hero Block */
.hero--review {
  background: linear-gradient(180deg, #3d0d1b 0%, var(--sf-bg-surface) 100%);
  padding: 2rem 0;
}

.review-hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--sf-bg-surface-elevated);
  border: 1px solid var(--sf-border-medium);
  border-radius: var(--sf-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--sf-shadow-lg);
}

@media (min-width: 641px) {
  .review-hero-panel {
    display: grid;
    grid-template-columns: auto minmax(12rem, 1fr) auto;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
  }
}

.review-hero__logo-box {
  width: 96px;
  height: 96px;
  border-radius: var(--sf-radius-md);
  background: var(--sf-bg-surface);
  border: 2px solid var(--sf-gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--sf-shadow-md), 0 0 15px rgba(212, 167, 67, 0.2);
  flex-shrink: 0;
  margin: 0 auto;
}

@media (min-width: 641px) {
  .review-hero__logo-box {
    margin: 0;
  }
}

.review-hero__main {
  min-width: 0;
  text-align: center;
}

@media (min-width: 641px) {
  .review-hero__main {
    text-align: left;
  }
}

.review-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 200px;
}

.review-hero__terms {
  font-size: 0.72rem;
  color: var(--sf-text-muted);
  text-align: center;
  line-height: 1.35;
}

/* Compact Info / Legal Hero */
.hero--legal {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--sf-border-subtle);
}

.hero--legal .hero__title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Standard Card Surfaces & Jewel Enamel Framing
   ========================================================================== */

.card {
  background: var(--sf-bg-surface);
  border: 1px solid var(--sf-border-subtle);
  border-radius: var(--sf-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--sf-shadow-md);
  position: relative;
  transition: transform var(--sf-transition-fast), border-color var(--sf-transition-fast), box-shadow var(--sf-transition-fast);
}

.card:hover {
  border-color: var(--sf-border-medium);
  box-shadow: var(--sf-shadow-lg);
}

.card--elevated {
  background: var(--sf-bg-surface-elevated);
  border: 1px solid var(--sf-border-medium);
}

.card--featured {
  border: 1.5px solid var(--sf-gold-primary);
  background: linear-gradient(180deg, var(--sf-bg-surface-elevated) 0%, var(--sf-bg-surface) 100%);
  box-shadow: var(--sf-shadow-lg), 0 0 15px rgba(212, 167, 67, 0.2);
}

.card--featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sf-gold-deep), var(--sf-gold-bright), var(--sf-gold-deep));
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

/* Accessibility Safe White / Light Card Override Rule */
.card--light,
.card-surface-light {
  background: #ffffff !important;
  color: #1a080d !important;
  border: 1px solid #d9c2b0 !important;
}

.card--light h1, .card--light h2, .card--light h3, .card--light h4, .card--light h5, .card--light h6,
.card-surface-light h1, .card-surface-light h2, .card-surface-light h3, .card-surface-light h4 {
  color: #1a080d !important;
  text-shadow: none !important;
}

.card--light p, .card--light li, .card--light .card__subtext,
.card-surface-light p, .card-surface-light li {
  color: #4a2730 !important;
}

.card--light .text-muted,
.card-surface-light .text-muted {
  color: #6d4650 !important;
}

/* ==========================================================================
   Casino Listing & Ranked Comparison Rows (Flagship Module)
   ========================================================================== */

.casino-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--sf-bg-surface-elevated);
  border: 1px solid var(--sf-border-subtle);
  border-radius: var(--sf-radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  position: relative;
  box-shadow: var(--sf-shadow-md);
  transition: transform var(--sf-transition-fast), border-color var(--sf-transition-fast), box-shadow var(--sf-transition-fast);
}

.casino-row:hover {
  border-color: var(--sf-border-strong);
  transform: translateY(-2px);
  box-shadow: var(--sf-shadow-lg), 0 0 20px rgba(212, 167, 67, 0.15);
}

.casino-row--highlighted {
  border: 1px solid var(--sf-gold-primary);
  background: linear-gradient(135deg, rgba(72, 20, 35, 0.9) 0%, var(--sf-bg-surface-elevated) 100%);
}

@media (min-width: 861px) {
  .casino-row {
    display: grid;
    grid-template-columns: 48px 120px minmax(0, 1.8fr) minmax(0, 1.2fr) minmax(180px, 1fr);
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
  }
}

.casino-row__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--sf-bg-surface);
  border: 1px solid var(--sf-border-medium);
  border-radius: var(--sf-radius-pill);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--sf-gold-bright);
}

.casino-row--top .casino-row__rank {
  background: linear-gradient(135deg, var(--sf-gold-primary), var(--sf-gold-deep));
  color: #1a0802;
  border-color: #fff;
  box-shadow: 0 0 10px var(--sf-gold-glow);
}

.casino-row__identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 861px) {
  .casino-row__identity {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

.casino-row__logo {
  width: 90px;
  height: 52px;
  background: #19050b;
  border: 1px solid var(--sf-border-medium);
  border-radius: var(--sf-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.25rem;
  flex-shrink: 0;
}

.casino-row__name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.2;
}

.casino-row__bonus {
  min-width: 0;
}

.casino-row__bonus-highlight {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--sf-gold-bright);
  line-height: 1.2;
  margin-bottom: 0.2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.casino-row__bonus-sub {
  font-size: 0.8125rem;
  color: var(--sf-text-secondary);
}

.casino-row__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-width: 0;
}

.casino-row__action {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.casino-row__terms-note {
  font-size: 0.7rem;
  color: var(--sf-text-muted);
  line-height: 1.3;
  text-align: center;
}

/* ==========================================================================
   Badges, Chips, Ratings & Signals
   ========================================================================== */

.badge,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  border-radius: var(--sf-radius-xs);
  max-width: 100%;
  word-wrap: break-word;
}

.badge--gold {
  background: rgba(212, 167, 67, 0.15);
  color: var(--sf-gold-bright);
  border: 1px solid var(--sf-border-medium);
}

.badge--emerald,
.badge--safety-high {
  background: var(--sf-emerald-bg);
  color: var(--sf-emerald-text);
  border: 1px solid var(--sf-emerald-border);
}

.badge--amber,
.badge--safety-medium {
  background: var(--sf-amber-bg);
  color: var(--sf-amber-text);
  border: 1px solid var(--sf-amber-border);
}

.badge--ruby,
.badge--safety-low {
  background: var(--sf-ruby-bg);
  color: var(--sf-ruby-text);
  border: 1px solid var(--sf-ruby-border);
}

.badge--sapphire {
  background: var(--sf-sapphire-bg);
  color: var(--sf-sapphire-text);
  border: 1px solid var(--sf-sapphire-border);
}

/* Score Pills (e.g. 9.8 / 10) */
.score-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--sf-radius-sm);
  background: #170408;
  border: 1px solid var(--sf-border-strong);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.7);
}

.score-pill__val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--sf-gold-bright);
  line-height: 1;
}

.score-pill__max {
  font-size: 0.75rem;
  color: var(--sf-text-muted);
  font-weight: 600;
}

/* Rating Stars Row */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--sf-gold-bright);
  font-size: 0.95rem;
}

.star-rating__val {
  font-size: 0.825rem;
  font-weight: 700;
  margin-left: 0.4rem;
  color: var(--sf-text-main);
}

/* Grouped Chip Containers (Payments, Software, Licenses) */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.chip--payment,
.chip--provider {
  background: var(--sf-bg-surface-raised);
  border: 1px solid var(--sf-border-subtle);
  color: var(--sf-text-secondary);
  border-radius: var(--sf-radius-sm);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.chip--payment:hover,
.chip--provider:hover {
  border-color: var(--sf-gold-primary);
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================================================
   Editorial Comparison Tables
   Mobile-friendly sideways scroll with minimum cell constraints
   ========================================================================== */

.table-scroller {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
  border: 1px solid var(--sf-border-medium);
  border-radius: var(--sf-radius-lg);
  background: var(--sf-bg-surface);
  box-shadow: var(--sf-shadow-md);
}

.table-comparison {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.table-comparison th,
.table-comparison td {
  padding: 1rem 1.15rem;
  min-width: 7.5rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--sf-border-subtle);
  vertical-align: middle;
}

.table-comparison th {
  background: var(--sf-bg-surface-raised);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  border-bottom: 2px solid var(--sf-border-medium);
}

.table-comparison th--sticky {
  position: sticky;
  top: 0;
  z-index: 10;
}

.table-comparison tr:last-child td {
  border-bottom: none;
}

.table-comparison tr:hover td {
  background-color: rgba(255, 209, 102, 0.04);
}

.table-comparison__casino-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 12rem;
}

/* ==========================================================================
   Filters, Search, Sort & Control Bars
   ========================================================================== */

.filter-bar {
  background: var(--sf-bg-surface-elevated);
  border: 1px solid var(--sf-border-medium);
  border-radius: var(--sf-radius-lg);
  padding: 1rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--sf-shadow-sm);
}

@media (min-width: 768px) {
  .filter-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.filter-bar__group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sf-text-muted);
  letter-spacing: 0.05em;
  margin-right: 0.25rem;
}

.filter-pill {
  background: var(--sf-bg-surface);
  border: 1px solid var(--sf-border-subtle);
  color: var(--sf-text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: var(--sf-radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--sf-transition-fast);
}

.filter-pill:hover,
.filter-pill.is-active {
  background: var(--sf-bg-surface-highlight);
  border-color: var(--sf-gold-primary);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(212, 167, 67, 0.25);
}

.form-input,
.form-select {
  background: var(--sf-bg);
  border: 1px solid var(--sf-border-medium);
  border-radius: var(--sf-radius-md);
  padding: 0.6rem 0.9rem;
  font-size: 0.875rem;
  color: var(--sf-text-main);
  outline: none;
  transition: border-color var(--sf-transition-fast), box-shadow var(--sf-transition-fast);
  max-width: 100%;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--sf-gold-bright);
  box-shadow: 0 0 0 3px rgba(212, 167, 67, 0.25);
}

/* ==========================================================================
   Review Detail Modules & Editorial Sections
   ========================================================================== */

.verdict-box {
  background: linear-gradient(145deg, #431221 0%, var(--sf-bg-surface-elevated) 100%);
  border: 2px solid var(--sf-gold-primary);
  border-radius: var(--sf-radius-xl);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--sf-shadow-lg);
  position: relative;
  overflow: hidden;
}

.verdict-box__badge {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--sf-gold-bright);
  letter-spacing: 0.1em;
}

.verdict-box__title {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.verdict-box__text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--sf-text-main);
  margin-bottom: 1.5rem;
}

/* Pros and Cons Block */
.pro-con-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

@media (min-width: 641px) {
  .pro-con-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pro-con-panel {
  border-radius: var(--sf-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--sf-shadow-md);
}

.pro-con-panel--pros {
  background: linear-gradient(180deg, #10261d 0%, var(--sf-bg-surface) 100%);
  border: 1px solid var(--sf-emerald-border);
}

.pro-con-panel--cons {
  background: linear-gradient(180deg, #2a0b12 0%, var(--sf-bg-surface) 100%);
  border: 1px solid var(--sf-ruby-border);
}

.pro-con-panel__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.pro-con-panel--pros .pro-con-panel__title {
  color: var(--sf-emerald-glow);
}

.pro-con-panel--cons .pro-con-panel__title {
  color: var(--sf-ruby-glow);
}

.pro-con-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pro-con-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.pro-con-panel--pros .pro-con-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--sf-emerald-glow);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}

.pro-con-panel--cons .pro-con-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--sf-ruby-glow);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 0.9;
}

/* Fact Sheet / Casino Metadata Specifications */
.spec-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--sf-border-subtle);
  margin-bottom: 2rem;
}

@media (min-width: 641px) {
  .spec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.spec-item {
  padding: 0.85rem 1rem 0.85rem 0;
  border-bottom: 1px solid var(--sf-border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.spec-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sf-text-muted);
  letter-spacing: 0.05em;
}

.spec-item__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-word;
}

/* ==========================================================================
   Long-Form Review Typography & Semantic Media
   ========================================================================== */

.content-prose {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--sf-text-secondary);
}

.content-prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--sf-border-subtle);
  padding-bottom: 0.5rem;
}

.content-prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-prose figure {
  margin: 2.25rem 0;
  display: block;
  width: 100%;
  clear: both;
}

.content-prose img {
  border-radius: var(--sf-radius-md);
  border: 1px solid var(--sf-border-medium);
  box-shadow: var(--sf-shadow-md);
  width: 100%;
}

.content-prose figcaption {
  font-size: 0.8125rem;
  color: var(--sf-text-muted);
  text-align: center;
  padding-top: 0.65rem;
  line-height: 1.4;
}

/* Table of Contents */
.toc-box {
  background: var(--sf-bg-surface-elevated);
  border: 1px solid var(--sf-border-medium);
  border-radius: var(--sf-radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.toc-box__title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sf-gold-bright);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.toc-box__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-box__item {
  margin-bottom: 0.4rem;
}

.toc-box__link {
  font-size: 0.875rem;
  color: var(--sf-text-secondary);
}

.toc-box__link:hover {
  color: #ffffff;
}

/* Author & Expert Box */
.author-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--sf-bg-surface-elevated);
  border: 1px solid var(--sf-border-medium);
  border-radius: var(--sf-radius-lg);
  padding: 1.5rem;
  margin: 2.5rem 0;
}

@media (min-width: 580px) {
  .author-card {
    flex-direction: row;
    align-items: center;
  }
}

.author-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--sf-radius-pill);
  border: 2px solid var(--sf-gold-primary);
  box-shadow: 0 0 10px var(--sf-gold-glow);
  flex-shrink: 0;
  object-fit: cover;
}

.author-card__info {
  min-width: 0;
}

.author-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.author-card__role {
  font-size: 0.8125rem;
  color: var(--sf-gold-bright);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.author-card__bio {
  font-size: 0.875rem;
  color: var(--sf-text-secondary);
  margin-bottom: 0;
}

/* ==========================================================================
   Game Cards & Providers Grid
   ========================================================================== */

.game-card {
  background: var(--sf-bg-surface-elevated);
  border: 1px solid var(--sf-border-subtle);
  border-radius: var(--sf-radius-md);
  overflow: hidden;
  box-shadow: var(--sf-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--sf-transition-fast), border-color var(--sf-transition-fast);
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--sf-gold-primary);
  box-shadow: var(--sf-shadow-md), 0 0 12px rgba(212, 167, 67, 0.2);
}

.game-card__thumb {
  aspect-ratio: 16 / 10;
  background: #140307;
  position: relative;
  overflow: hidden;
}

.game-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.game-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card__meta {
  font-size: 0.75rem;
  color: var(--sf-text-muted);
}

/* ==========================================================================
   Accordion & FAQ Component
   ========================================================================== */

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 2rem 0;
}

.faq-item {
  background: var(--sf-bg-surface-elevated);
  border: 1px solid var(--sf-border-subtle);
  border-radius: var(--sf-radius-md);
  overflow: hidden;
  transition: border-color var(--sf-transition-fast);
}

.faq-item:hover,
.faq-item.is-active,
.faq-item[open] {
  border-color: var(--sf-border-medium);
}

.faq-trigger,
.faq-item summary {
  padding: 1.15rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-trigger::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--sf-gold-bright);
  transition: transform var(--sf-transition-fast);
}

.faq-item[open] .faq-icon,
.faq-item.is-active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--sf-text-secondary);
}

/* ==========================================================================
   Trust, Legal, Affiliate Disclosure & Responsible Gambling Notices
   ========================================================================== */

.notice-box {
  background: var(--sf-bg-surface);
  border-left: 4px solid var(--sf-gold-primary);
  border-radius: var(--sf-radius-xs) var(--sf-radius-md) var(--sf-radius-md) var(--sf-radius-xs);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--sf-text-secondary);
}

.notice-box--disclaimer {
  background: rgba(44, 11, 20, 0.7);
  border-left-color: var(--sf-text-muted);
  font-size: 0.8125rem;
}

.notice-box--alert {
  border-left-color: var(--sf-amber-glow);
  background: var(--sf-amber-bg);
  color: var(--sf-amber-text);
}

.rg-warning-strip {
  background: #150307;
  border: 1px solid var(--sf-ruby-border);
  border-radius: var(--sf-radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.rg-warning-strip__badge {
  background: var(--sf-ruby-bg);
  border: 1px solid var(--sf-ruby-glow);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--sf-radius-xs);
  flex-shrink: 0;
}

.rg-warning-strip__text {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--sf-text-secondary);
  margin: 0;
}

/* ==========================================================================
   Navigation Extras: Breadcrumbs & Pagination
   ========================================================================== */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--sf-text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs__item::after {
  content: "/";
  color: var(--sf-text-dim);
}

.breadcrumbs__item:last-child::after {
  content: "";
}

.breadcrumbs__link {
  color: var(--sf-text-secondary);
}

.breadcrumbs__link:hover {
  color: var(--sf-gold-bright);
}

.breadcrumbs__current {
  color: var(--sf-text-main);
  font-weight: 600;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 2.5rem 0;
}

.pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: var(--sf-radius-sm);
  background: var(--sf-bg-surface-elevated);
  border: 1px solid var(--sf-border-subtle);
  color: var(--sf-text-secondary);
  font-weight: 600;
  font-size: 0.875rem;
}

.pagination__item:hover,
.pagination__item.is-active {
  background: var(--sf-bg-surface-highlight);
  border-color: var(--sf-gold-primary);
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================================================
   States: Skeleton Loaders & Empty Placeholders
   ========================================================================== */

.skeleton {
  background: linear-gradient(90deg, var(--sf-bg-surface-raised) 25%, var(--sf-bg-surface-highlight) 50%, var(--sf-bg-surface-raised) 75%);
  background-size: 200% 100%;
  animation: sf-shimmer 2s infinite ease-in-out;
  border-radius: var(--sf-radius-xs);
}

@keyframes sf-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--sf-bg-surface);
  border: 1px dashed var(--sf-border-medium);
  border-radius: var(--sf-radius-lg);
  margin: 2rem 0;
}

.empty-state__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.empty-state__text {
  font-size: 0.95rem;
  color: var(--sf-text-muted);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
  background: var(--sf-footer-bg);
  border-top: 2px solid var(--sf-border-medium);
  color: var(--sf-footer-text);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 641px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 961px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.footer-col__title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col__link {
  font-size: 0.85rem;
  color: var(--sf-footer-text);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-col__link:hover {
  color: var(--sf-gold-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.775rem;
  color: var(--sf-text-dim);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==========================================================================
   Accessibility & Reduced Motion Directives
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.is-hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --sf-readable-card-text: var(--text-main, var(--color-text, var(--text, #e2e8f0)));
  --sf-readable-card-muted: var(--text-muted, var(--color-text-muted, var(--color-muted, #94a3b8)));
  --sf-readable-card-link: var(--color-link, var(--link, #7cc4ff));
}

:where(.card, .casino-card, .bonus-card, .provider-card, .game-card, .review-card, .rating-card, .comparison-card, .feature-card, .info-card, .method-card, .payment-card, .software-card, .trust-card, .verdict-card, .faq-card) {
  color: var(--card-text, var(--color-card-text, var(--sf-readable-card-text)));
}

:is(.section--dark, .section-dark, .dark-section, .theme-dark, [data-theme="dark"]) :is(.card, .casino-card, .bonus-card, .provider-card, .game-card, .review-card, .rating-card, .comparison-card, .feature-card, .info-card, .method-card, .payment-card, .software-card, .trust-card, .verdict-card, .faq-card) {
  color: var(--card-text, var(--color-card-text, var(--sf-readable-card-text)));
}

:where(.card, .casino-card, .bonus-card, .provider-card, .game-card, .review-card, .rating-card, .comparison-card, .feature-card, .info-card, .method-card, .payment-card, .software-card, .trust-card, .verdict-card, .faq-card) :where(h1, h2, h3, h4, h5, h6, p, li, span, strong, em, small, td, th, figcaption, .chip, .badge, .tag, .provider-chip, .game-chip) {
  color: inherit;
}

:is(.section--dark, .section-dark, .dark-section, .theme-dark, [data-theme="dark"]) :is(.card, .casino-card, .bonus-card, .provider-card, .game-card, .review-card, .rating-card, .comparison-card, .feature-card, .info-card, .method-card, .payment-card, .software-card, .trust-card, .verdict-card, .faq-card) :is(h1, h2, h3, h4, h5, h6, p, li, span, strong, em, small, td, th, figcaption, .chip, .badge, .tag, .provider-chip, .game-chip) {
  color: inherit;
}

:where(.card, .casino-card, .bonus-card, .provider-card, .game-card, .review-card, .rating-card, .comparison-card, .feature-card, .info-card, .method-card, .payment-card, .software-card, .trust-card, .verdict-card, .faq-card) :where(.muted, .meta, .card-meta, .text-muted, .provider-meta, .game-meta) {
  color: var(--card-muted, var(--color-muted, var(--sf-readable-card-muted)));
}

:where(.card, .casino-card, .bonus-card, .provider-card, .game-card, .review-card, .rating-card, .comparison-card, .feature-card, .info-card, .method-card, .payment-card, .software-card, .trust-card, .verdict-card, .faq-card) :where(a:not(.btn):not(.button):not(.cta):not([class*="button"]):not([class*="btn"])) {
  color: var(--card-link, var(--color-link, var(--sf-readable-card-link)));
}

.content-columns > * {
  min-width: 0;
  max-width: 100%;
}

:where([data-bonus-offer-item]) { align-items: center; gap: 1rem; }
:where([data-bonus-offer-item]) :where([data-field]) { display: block; }
:where([data-bonus-offer-item]) :where([data-field="bonus_title"], [data-field="casino_name"]) { font-weight: 600; }
:where([data-bonus-offer-item]) :where([data-field="bonus_title"], [data-field="bonus_value"], [data-field="terms_short"]) { margin-top: .3rem; }
:where([data-bonus-offer-item]) :where(.btn--cta, .cta-button) { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.25rem; border-radius: 10px; background: var(--color-cta, var(--cta-bg, var(--accent, var(--color-accent, var(--primary, var(--color-primary, #e11d48)))))); color: #fff; font-weight: 700; text-decoration: none; }
:where(button, a) :where(svg:not([width]):not([height])) { width: 1.25em; height: 1.25em; flex: 0 0 auto; }

[data-casino-item] [data-field="logo"]:not(img), [data-bonus-offer-item] [data-field="logo"]:not(img) { display: flex; align-items: center; justify-content: center; overflow: hidden; }
[data-casino-item] [data-field="logo"]:not(img) img, [data-bonus-offer-item] [data-field="logo"]:not(img) img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
[role="tablist"] { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
[role="tablist"] > * { flex: 0 0 auto; white-space: nowrap; }
main table :where(th, td):first-child { min-width: 9rem; }

[data-detail-block="review-header"] :has(> img[data-field="logo"]:only-child) { display: flex; align-items: center; justify-content: center; overflow: hidden; }
[data-detail-block="review-header"] :has(> img[data-field="logo"]:only-child) > img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Hero on phones v1 */
@media (max-width: 640px) {
  :root body :is([data-sf-hero-host], [data-detail-block="review-header"]):has(h1),
  :root body :is([data-sf-hero-host], [data-detail-block="review-header"]) :where(div, section, article, aside, header):has(h1) {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: none !important;
  }
  :root body :is([data-sf-hero-host], [data-detail-block="review-header"]):has(h1) > *,
  :root body :is([data-sf-hero-host], [data-detail-block="review-header"]) :where(div, section, article, aside, header):has(h1) > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}
/* Hero on phones v1 end */

/* Standard site header and footer v1 */
.sf-header,
.sf-footer {
  --sf-h-bg: var(--sf-header-bg, #1c050b);
  --sf-h-text: var(--sf-header-text, rgb(212, 184, 190));
  --sf-h-accent: var(--sf-header-accent, #e5a93b);
  --sf-h-accent-text: var(--sf-header-accent-text, rgb(26, 8, 2));
  --sf-h-panel: var(--sf-header-panel, rgb(28, 5, 11));
  --sf-h-panel-text: var(--sf-header-panel-text, rgb(212, 184, 190));
  --sf-h-note-bg: color-mix(in srgb, var(--sf-h-text) 8%, var(--sf-h-panel));
  --sf-h-line: color-mix(in srgb, var(--sf-h-text) 16%, transparent);
  --sf-h-hover: color-mix(in srgb, var(--sf-h-accent) 14%, transparent);
  --sf-h-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --sf-h-radius: 10px;
  --sf-h-font: inherit;
  --sf-h-brand-font: inherit;
  --sf-f-bg: var(--sf-footer-bg, #150307);
  --sf-f-text: var(--sf-footer-text, rgb(212, 184, 190));
  --sf-f-line: color-mix(in srgb, var(--sf-f-text) 16%, transparent);
}

/* Layout of the standard header, menu, drawer and footer. No colours, fonts or shadows of its own: they come from
   the --sf-h-* and --sf-f-* variables, which take the site's own design values. */
.sf-header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--sf-h-bg);
  color: var(--sf-h-text);
  font-family: var(--sf-h-font, inherit);
  border-bottom: 1px solid var(--sf-h-line);
  transform: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow-x: clip !important;
}

.sf-header *,
.sf-header *::before,
.sf-header *::after,
.sf-footer *,
.sf-footer *::before,
.sf-footer *::after {
  box-sizing: border-box;
}

.sf-header__note {
  margin: 0;
  padding: 0.35rem 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
  background: var(--sf-h-note-bg);
}

.sf-header__note a {
  color: inherit;
  text-decoration: underline;
}

.sf-header .sf-header__bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.25rem;
  width: min(100%, 1280px);
  min-height: 64px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
}

.sf-header .sf-header__brand {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: inherit;
  font-family: var(--sf-h-brand-font, inherit);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.sf-header .sf-header__brand [data-sf-brand-wordmark],
.sf-header .sf-header__brand .sf-header__wordmark {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-header .sf-header__nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.sf-header .sf-menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-header .sf-menu__item {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-header .sf-menu__link {
  display: block;
  margin: 0;
  padding: 0.5rem 0.75rem;
  color: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
  border-radius: var(--sf-h-radius);
}

.sf-header .sf-menu__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.sf-header .sf-menu__label::after {
  width: 0.4rem;
  height: 0.4rem;
  content: '';
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.sf-header .sf-menu__item.is-open > .sf-menu__label::after {
  transform: translateY(2px) rotate(225deg);
}

.sf-header .sf-menu__link:hover,
.sf-header .sf-menu__link:focus-visible,
.sf-header .sf-menu__link[aria-current="page"] {
  color: var(--sf-h-accent);
}

.sf-header .sf-menu__more,
.sf-header .sf-drawer__more {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  border-radius: var(--sf-h-radius);
  cursor: pointer;
}

.sf-header .sf-menu__more {
  width: 1.75rem;
  height: 1.75rem;
  margin-left: -0.5rem;
}

.sf-header .sf-drawer__more {
  width: 44px;
  height: 44px;
}

.sf-header .sf-menu__more::before,
.sf-header .sf-drawer__more::before {
  width: 0.45rem;
  height: 0.45rem;
  content: '';
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.sf-header .is-open > .sf-menu__more::before,
.sf-header .is-open > .sf-drawer__row > .sf-drawer__more::before {
  transform: translateY(2px) rotate(225deg);
}

.sf-header .sf-menu__panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1010;
  display: none;
  min-width: 240px;
  max-width: min(420px, calc(100vw - 24px));
  margin: 0;
  padding: 0.5rem;
  color: var(--sf-h-panel-text);
  background: var(--sf-h-panel);
  border: 1px solid var(--sf-h-line);
  border-radius: var(--sf-h-radius);
  box-shadow: var(--sf-h-shadow);
}

.sf-header .sf-menu__panel::before {
  position: absolute;
  top: calc(-1 * var(--sf-panel-gap, 12px));
  right: 0;
  left: 0;
  height: var(--sf-panel-gap, 12px);
  content: '';
}

.sf-header .sf-menu__item.is-open > .sf-menu__panel {
  display: block;
}

.sf-header .sf-menu__panel--wide {
  width: min(600px, calc(100vw - 24px));
  max-width: none;
}

.sf-header .sf-menu__sub,
.sf-header .sf-drawer__list,
.sf-header .sf-drawer__sub {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-header .sf-menu__panel--wide .sf-menu__sub {
  columns: 2;
  column-gap: 0.5rem;
}

.sf-header .sf-menu__sub li,
.sf-header .sf-drawer__list li {
  margin: 0;
  padding: 0;
  list-style: none;
  break-inside: avoid;
}

.sf-header .sf-menu__sub a {
  display: block;
  overflow-wrap: anywhere;
  padding: 0.45rem 0.65rem;
  color: inherit;
  font-size: 0.9rem;
  line-height: 1.35;
  white-space: normal;
  text-decoration: none;
  border-radius: var(--sf-h-radius);
}

.sf-header .sf-menu__sub a:hover,
.sf-header .sf-menu__sub a:focus-visible,
.sf-header .sf-menu__sub a[aria-current="page"] {
  color: var(--sf-h-accent);
  background: var(--sf-h-hover);
}

.sf-header .sf-header__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.sf-header .sf-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.55rem 1rem;
  color: var(--sf-h-accent-text);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  background: var(--sf-h-accent);
  border: 1px solid transparent;
  border-radius: var(--sf-h-radius);
}

.sf-header .sf-header__cta--quiet {
  color: inherit;
  background: transparent;
  border-color: var(--sf-h-line);
}

.sf-header .sf-header__toggle {
  display: none;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  color: inherit;
  background: none;
  border: 1px solid var(--sf-h-line);
  border-radius: var(--sf-h-radius);
  cursor: pointer;
}

.sf-header .sf-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sf-header .sf-header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sf-header .sf-header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.sf-header .sf-header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* While the menu stands in the row, the site name keeps its full width: the menu gives way first. */
.sf-header[data-mode="full"] .sf-header__brand,
.sf-header[data-mode="compact"] .sf-header__brand {
  flex: none;
}

/* Compact: the same one row with less room around the links. */
.sf-header[data-mode="compact"] .sf-header__bar {
  gap: 0.75rem;
}

.sf-header[data-mode="compact"] .sf-menu__link {
  padding: 0.45rem 0.45rem;
  font-size: 0.875rem;
}

/* The menu button instead of the row: on phones, and wherever the runtime found that the row does not fit. */
.sf-header[data-mode="drawer"] .sf-header__nav {
  display: none;
}

.sf-header[data-mode="drawer"] .sf-header__toggle {
  display: inline-flex;
}

.sf-header[data-mode="drawer"] .sf-header__brand {
  flex: 1 1 auto;
}

@media (max-width: 859px) {
  .sf-header .sf-header__nav {
    display: none;
  }

  .sf-header .sf-header__toggle {
    display: inline-flex;
  }

  .sf-header .sf-header__brand {
    flex: 1 1 auto;
  }

  .sf-header .sf-header__bar {
    gap: 0.75rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 559px) {
  .sf-header .sf-header__actions .sf-header__cta {
    display: none;
  }
}

/* The runtime hides header buttons that would cut the site name; the drawer still holds them. */
.sf-header[data-sf-cta="quiet"] .sf-header__actions .sf-header__cta--quiet,
.sf-header[data-sf-cta="hidden"] .sf-header__actions .sf-header__cta {
  display: none;
}

.sf-header .sf-drawer {
  position: fixed;
  overflow-wrap: anywhere;
  top: var(--sf-h-top, 64px);
  right: 0;
  z-index: 1020;
  width: min(400px, 100vw);
  height: calc(100dvh - var(--sf-h-top, 64px));
  margin: 0;
  padding: 0.75rem 1.25rem 2rem;
  overflow-y: auto;
  color: var(--sf-h-panel-text);
  background: var(--sf-h-panel);
  box-shadow: var(--sf-h-shadow);
}

/* A closed drawer takes no room at all, also when a wrapper of the page is the box of its fixed position. */
.sf-header .sf-drawer:not(.is-open) {
  display: none;
}

.sf-header .sf-drawer.is-open {
  display: block;
  animation: sf-drawer-in 0.2s ease;
}

@keyframes sf-drawer-in {
  from {
    transform: translateX(100%);
  }

  to {
    transform: none;
  }
}

.sf-header .sf-drawer__item {
  border-bottom: 1px solid var(--sf-h-line);
}

.sf-header .sf-drawer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.sf-header .sf-drawer__link {
  display: block;
  flex: 1 1 auto;
  padding: 0.8rem 0;
  color: inherit;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.sf-header .sf-drawer__sub {
  display: none;
  padding: 0 0 0.5rem 0.75rem;
}

.sf-header .sf-drawer__item.is-open > .sf-drawer__sub {
  display: block;
}

.sf-header .sf-drawer__sub a {
  display: block;
  padding: 0.5rem 0;
  color: inherit;
  font-size: 0.95rem;
  line-height: 1.35;
  text-decoration: none;
}

.sf-header .sf-drawer__link[aria-current="page"],
.sf-header .sf-drawer__sub a[aria-current="page"] {
  color: var(--sf-h-accent);
}

.sf-header .sf-drawer__actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.sf-header .sf-drawer__actions .sf-header__cta {
  display: flex;
  width: 100%;
}

body.sf-menu-open {
  overflow: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
  .sf-header .sf-drawer.is-open {
    animation: none;
  }

  .sf-header .sf-header__toggle span {
    transition: none;
  }
}

.sf-footer {
  display: block !important;
  overflow-wrap: anywhere;
  margin: 0 !important;
  padding: 2.5rem 0 1.5rem !important;
  color: var(--sf-f-text);
  font-family: var(--sf-h-font, inherit);
  background: var(--sf-f-bg);
  border-top: 1px solid var(--sf-f-line);
}

.sf-footer .sf-footer__inner {
  display: grid;
  gap: 2rem;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sf-footer .sf-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  color: inherit;
  font-family: var(--sf-h-brand-font, inherit);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}

.sf-footer .sf-footer__about {
  max-width: 760px;
}

.sf-footer .sf-footer__about p,
.sf-footer .sf-footer__notes p {
  margin: 0 0 0.6rem;
  font-size: 0.875rem;
  line-height: 1.55;
}

.sf-footer .sf-footer__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem 2rem;
  margin: 0;
  padding: 0;
}

.sf-footer .sf-footer__col--long {
  grid-column: 1 / -1;
}

.sf-footer .sf-footer__title {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.sf-footer .sf-footer__list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-footer .sf-footer__col--long .sf-footer__list {
  display: block;
  columns: 4 200px;
  column-gap: 2rem;
}

.sf-footer .sf-footer__list li {
  margin: 0 0 0.35rem;
  padding: 0;
  list-style: none;
  break-inside: avoid;
}

.sf-footer .sf-footer__list a,
.sf-footer .sf-footer__notes a,
.sf-footer .sf-footer__about a {
  color: inherit;
  font-size: 0.875rem;
  line-height: 1.45;
  text-decoration: none;
  opacity: 0.85;
}

.sf-footer .sf-footer__list a:hover,
.sf-footer .sf-footer__list a:focus-visible,
.sf-footer .sf-footer__notes a:hover,
.sf-footer .sf-footer__about a:hover {
  color: var(--sf-h-accent);
  text-decoration: underline;
  opacity: 1;
}

.sf-footer .sf-footer__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0 0;
}

.sf-footer .sf-footer__badges img {
  width: auto;
  max-width: 140px;
  height: 32px;
  object-fit: contain;
}

.sf-footer .sf-footer__copy {
  margin: 0;
  padding-top: 1rem;
  font-size: 0.8125rem;
  opacity: 0.75;
  border-top: 1px solid var(--sf-f-line);
}

@media (max-width: 559px) {
  .sf-footer .sf-footer__list,
  .sf-footer .sf-footer__col--long .sf-footer__list {
    display: block;
    columns: 2;
    column-gap: 1rem;
  }
}
/* Standard site header and footer v1 end */

/* Final navigation CSS guardrail */
.site-header {
    position: relative;
    z-index: 3000;
}

.site-header > .container {
    position: relative;
}

.site-nav {
    margin-inline-start: auto;
}

.bonus-card__icon:empty {
    display: none;
}

.pros-block h3::before,
.cons-block h3::before {
    content: '' !important;
}

.pros-block li::before,
.cons-block li::before {
    content: '' !important;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    margin-top: 0.45rem;
    flex: 0 0 0.55rem;
}

.pros-block li::before {
    background: var(--color-success, #15803d);
}

.cons-block li::before {
    background: var(--color-error, #b91c1c);
}

@media (min-width: 769px) {
    .site-nav__list {
        display: flex !important;
        align-items: center;
        gap: clamp(0.9rem, 1.8vw, 1.5rem);
        margin: 0;
        padding: 0;
    }

    .site-nav__item--has-submenu {
        position: static !important;
    }

    .site-nav__link,
    .site-nav__link--submenu-toggle {
        white-space: nowrap;
    }

    .site-nav__link--submenu-toggle::after {
        content: '' !important;
        width: 0.45rem;
        height: 0.45rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        margin-inline-start: 0.15rem;
        margin-top: -0.2rem;
    }

    .site-nav__item--has-submenu.is-open .site-nav__link--submenu-toggle::after {
        transform: rotate(225deg);
        margin-top: 0.2rem;
    }

    .site-nav__item--has-submenu > .mega-menu {
        display: block !important;
        position: absolute !important;
        top: calc(100% + 0.75rem) !important;
        inset-inline-end: 0 !important;
        inset-inline-start: auto !important;
        width: min(860px, calc(100vw - 2rem)) !important;
        max-width: none !important;
        padding: 1.25rem 1.5rem !important;
        border: 1px solid rgba(20, 30, 50, 0.12);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(0.5rem) !important;
        transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease !important;
        z-index: 3100 !important;
    }

    .site-nav__item--has-submenu:hover > .mega-menu,
    .site-nav__item--has-submenu:focus-within > .mega-menu,
    .site-nav__item--has-submenu.is-open > .mega-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .mega-menu > .container {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mega-menu__column {
        min-width: 0;
    }

    .mega-menu__column a {
        color: var(--color-text-dark, #172033) !important;
        line-height: 1.35;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .site-nav__list {
        display: none !important;
    }

    .site-nav--mobile-toggle {
        display: block !important;
    }

    .site-nav__item--has-submenu > .mega-menu {
        display: none !important;
    }
}

/* Content width on wide screens v1 */
@media (min-width: 1600px) {
  :root body main {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* Content width on wide screens v1 end */

/* SiteForge navigation delivery guard v2 */
.site-header,
.site-header > .container {
    overflow: visible !important;
}

.sf-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    width: min(100% - 2rem, var(--container-max, 1200px));
    margin: 1rem auto;
    color: var(--text-muted, #667085);
    font-size: 0.875rem;
    line-height: 1.5;
}

.sf-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.sf-breadcrumbs a:hover,
.sf-breadcrumbs a:focus-visible {
    color: var(--color-primary, #0f766e);
    text-decoration: underline;
}

.sf-breadcrumbs__separator {
    opacity: 0.65;
}

@media (min-width: 860px) {
    .site-nav {
        display: block !important;
    }

    .site-nav__toggle,
    .mobile-menu {
        display: none !important;
    }

    .site-nav__item--has-dropdown,
    .site-nav__item--has-submenu {
        position: relative;
    }

    .nav-dropdown-menu::before,
    .mega-menu::before {
        position: absolute;
        top: -18px;
        right: 0;
        left: 0;
        height: 18px;
        content: '';
    }

    .site-nav__item--has-dropdown:hover > .nav-dropdown-menu,
    .site-nav__item--has-dropdown:focus-within > .nav-dropdown-menu,
    .site-nav__item--has-dropdown.is-open > .nav-dropdown-menu,
    .site-nav__item--has-submenu:hover > .mega-menu,
    .site-nav__item--has-submenu:focus-within > .mega-menu,
    .site-nav__item--has-submenu.is-open > .mega-menu,
    .nav-dropdown-menu.is-active,
    .mega-menu.is-active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 859px) {
    .site-nav {
        display: none !important;
    }

    /* Centring alone packed the burger bars into one thick dash; the gap keeps them apart. */
    .site-nav__toggle,
    .site-nav--mobile-toggle,
    [data-sf-menu-toggle] {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 4px;
        flex-shrink: 0;
    }

    /* The site name gives way on a narrow phone, so the menu button never leaves the screen. */
    header a:has(> [data-sf-brand-wordmark]) {
        min-width: 0;
        flex-shrink: 1;
        overflow: hidden;
    }

    [data-sf-brand-wordmark] {
        display: inline-block;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
    }

    .mobile-menu,
    [data-sf-mobile-menu] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        overflow-y: auto;
        max-height: calc(100dvh - var(--header-height, 72px));
        z-index: 3200 !important;
    }

    .mobile-menu.is-open,
    [data-sf-mobile-menu].is-open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        /* A header with backdrop-filter or transform becomes the box of this fixed panel, so top+bottom
           squeezed it to its padding (34px, one link visible). An explicit height keeps it full-screen. */
        height: calc(100dvh - var(--header-height, 72px)) !important;
        bottom: auto !important;
    }

    .mobile-menu__accordion-panel {
        display: none !important;
    }

    .mobile-menu__accordion-panel.is-open {
        display: flex !important;
    }

    body.menu-open {
        overflow: hidden !important;
    }

    .sf-breadcrumbs {
        width: min(100% - 1.25rem, var(--container-max, 1200px));
        margin-block: 0.75rem;
        font-size: 0.8125rem;
    }
}

/* SiteForge footer link index v1 */
.sf-footer-link-index,
footer a[data-author-nav] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    width: min(100% - 2rem, var(--container-max, 1200px));
    margin: 1rem auto 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(128, 128, 128, 0.25);
    font-size: 0.8rem;
    line-height: 1.5;
}

footer a[data-author-nav] {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.sf-footer-link-index a,
footer a[data-author-nav] {
    color: inherit;
    opacity: 0.75;
    text-decoration: none;
}

.sf-footer-link-index a:hover,
footer a[data-author-nav]:hover {
    opacity: 1;
    text-decoration: underline;
}

/* SiteForge nav drawer v1 */
@media (max-width: 859px) {
    .site-nav[data-sf-mobile-menu] .site-nav__list {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* SiteForge nav drawer v2 */
@media (min-width: 860px) and (max-width: 960.98px) {
    header:has(.site-nav[data-sf-mobile-menu]) [data-sf-menu-toggle] {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 4px;
        flex-shrink: 0;
    }

    .site-nav[data-sf-mobile-menu] {
        display: none !important;
        overflow-y: auto;
        max-height: calc(100dvh - var(--header-height, 72px));
        z-index: 3200 !important;
    }

    .site-nav[data-sf-mobile-menu].is-open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        height: calc(100dvh - var(--header-height, 72px)) !important;
        bottom: auto !important;
    }

    .site-nav[data-sf-mobile-menu] .site-nav__list {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body.menu-open {
        overflow: hidden !important;
    }
}

/* SiteForge header fit v1 */
/* Nothing in the header widens the page: a closed dropdown or drawer used to make every page scroll sideways. */
.site-header,
header:has([data-sf-menu-toggle]) {
    overflow-x: clip !important;
}

/* The open menu stands in place, also when the site slides it in with its own class on another element (project 584:
   the runtime opened the panel, the site's slide class stayed off and the menu stayed beside the screen). */
[data-sf-mobile-menu].is-open {
    transform: none !important;
    translate: none !important;
}

/* Measured without motion: a dropdown caught in its slide was moved by the wrong distance. */
html[data-sf-nav-measure] [data-sf-nav-desktop],
html[data-sf-nav-measure] [data-sf-nav-desktop] * {
    transition: none !important;
}

@media (min-width: 860px) {
    [data-sf-nav-row],
    [data-sf-nav-list] {
        flex-wrap: nowrap !important;
    }

    /* The label of an item stays on one line, also a bare label beside its submenu button (project 589). */
    [data-sf-nav-list] > a,
    [data-sf-nav-list] > * > a,
    [data-sf-nav-list] > * > :first-child {
        white-space: nowrap;
    }

    html[data-sf-nav="desktop"] [data-sf-menu-toggle],
    html[data-sf-nav="compact"] [data-sf-menu-toggle] {
        display: none !important;
    }

    /* A nav that holds its items itself stays a row: the delivery guard's display: block stacked them under the
       header (project 582). */
    html[data-sf-nav="desktop"] [data-sf-nav-desktop][data-sf-nav-list],
    html[data-sf-nav="compact"] [data-sf-nav-desktop][data-sf-nav-list] {
        display: flex !important;
        align-items: center;
    }

    html[data-sf-nav="compact"] [data-sf-nav-row] {
        column-gap: 1rem !important;
    }

    html[data-sf-nav="compact"] [data-sf-nav-list] {
        column-gap: 0.5rem !important;
    }

    html[data-sf-nav="compact"] [data-sf-nav-list] > a,
    html[data-sf-nav="compact"] [data-sf-nav-list] > * > a,
    html[data-sf-nav="compact"] [data-sf-nav-list] > * > :first-child > a {
        padding-inline: 0.375rem !important;
        font-size: 0.875rem !important;
        letter-spacing: normal !important;
    }

    html[data-sf-nav="compact"] [data-sf-nav-list] > * > :first-child {
        font-size: 0.875rem !important;
    }

    html[data-sf-nav="drawer"] [data-sf-menu-toggle] {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 4px;
        flex-shrink: 0;
        visibility: visible !important;
        opacity: 1 !important;
    }

    html[data-sf-nav="drawer"] [data-sf-nav-desktop]:not([data-sf-mobile-menu]),
    html[data-sf-nav="drawer"] [data-sf-mobile-menu]:not(.is-open) {
        display: none !important;
    }

    html[data-sf-nav="drawer"] [data-sf-mobile-menu].is-open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 3200 !important;
    }

    html[data-sf-nav="drawer"] body.menu-open {
        overflow: hidden !important;
    }

    /* The desktop menu that is also the drawer opens as a panel under the header, its submenus open. */
    html[data-sf-nav="drawer"] [data-sf-nav-desktop][data-sf-mobile-menu].is-open {
        position: fixed !important;
        top: var(--sf-nav-top, 72px) !important;
        right: 0 !important;
        bottom: auto !important;
        left: auto !important;
        width: min(400px, 100vw) !important;
        max-width: 100vw !important;
        height: calc(100dvh - var(--sf-nav-top, 72px)) !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 1rem 1.25rem 2rem !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        transform: none !important;
        translate: none !important;
        background: var(--sf-nav-bg, #ffffff) !important;
        box-shadow: -16px 0 40px rgba(0, 0, 0, 0.3) !important;
    }

    html[data-sf-nav="drawer"] [data-sf-nav-desktop].is-open [data-sf-nav-list] {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.25rem !important;
        width: 100% !important;
    }

    html[data-sf-nav="drawer"] [data-sf-nav-desktop].is-open [data-sf-nav-list] > * {
        width: 100%;
        margin: 0 !important;
    }

    html[data-sf-nav="drawer"] [data-sf-nav-desktop].is-open [data-sf-nav-panel] {
        position: static !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        translate: none !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0.25rem 0 0.5rem !important;
        box-shadow: none !important;
    }

    html[data-sf-nav="drawer"] [data-sf-nav-desktop].is-open [data-sf-nav-panel] * {
        position: static !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        grid-template-columns: minmax(0, 1fr) !important;
        transform: none !important;
    }
}
