/* =============================================================================
   SFB DESIGN — Casino-Affiliate Hugo theme  (gmb-univ-multi-v2)
   -----------------------------------------------------------------------------
   Production stylesheet, hand-authored from the "Claude Design" system.
   Pure CSS — no preprocessor. Targets a fixed class contract shared with the
   partner front-end developer. Zero-JS: all interactivity is native
   <details>/<summary>. Fonts (Hanken Grotesk + IBM Plex Mono) are loaded via
   Google Fonts in the layout; here we only reference the families.

   SECTION MAP
     00  Tokens (:root)            — colors, type, radii, shadows, spacing
     01  Reset & base typography   — box-sizing, body, links, focus-ring, a11y
     02  Site header / mega-nav    — .site-header .brand .mainnav .header-cta
     03  Hero (Z1)                 — .hero .hero-meta .lead .verdict
     04  Page layout               — .page-wrap .reading .rail (+ TOC, promo)
     05  Reading typography        — long-form h2/h3, p, lists, tables, links
     06  Trust & related zones     — .zone-trust .zone-related
     07  Site footer               — .site-footer .footer-cols .footer-bottom
     08  Inline blocks (.sfb-*)    — table, faq, rg, card, bc, toc, cta
     09  Design components (.sfb-*)— bonus, safety, license, compare, contact,
                                     logos, author, rating
     10  Responsive (<=880px)      — single-column reflow, tap targets, scroll
     11  Reduced-motion / print
   ============================================================================= */


/* =============================================================================
   00 · TOKENS
   ============================================================================= */
:root {
  /* --- brand / semantic colors --- */
  --accent:      #2a6fdb;   /* links, accents                         */
  --accent-ink:  #1d4e96;   /* darker accent text on tint             */
  --accent-tint: #eef3fc;   /* accent surface (chips, number badges)  */
  --cta:         #ed6a16;   /* the single conversion color            */
  --cta-ink:     #c2410c;   /* kicker / "code" text on cream          */
  --success:     #15915a;   /* safety, verified, positive             */
  --success-tint:#ecfaf2;
  --success-bd:  #cdeedd;
  --warn:        #b9831f;   /* responsible gaming · 18+               */
  --warn-tint:   #fbf3e3;
  --danger:      #d33a3a;   /* errors, negative ✕                     */

  --ink:         #15202e;   /* headings                               */
  --body:        #2b3645;   /* body copy                              */
  --reading:     #33404f;   /* long-form reading column copy          */
  --muted:       #6b7686;   /* secondary text                         */
  --muted-2:     #8a94a4;   /* captions, meta                         */

  --surface:     #f7f9fc;   /* insets, plates                         */
  --surface-2:   #fafbfd;   /* table zebra row                        */
  --border:      #e6eaf0;   /* hairline borders                       */
  --border-soft: #f0f3f8;   /* inner row dividers                     */

  --dark:        #101b2d;   /* masthead / dark CTA panel              */
  --dark-2:      #0c1623;   /* footer                                 */
  --dark-hover:  #1c2c44;   /* nav hover surface on dark              */
  --dark-muted:  #9fb0c6;   /* muted text on dark                     */
  --dark-faint:  #7e90a8;   /* faint text on dark                     */
  --page-bg:     #eef1f7;   /* page background                        */

  /* CTA-offer cream system (bonus headers, CTA frames, compare col) */
  --cream:       #fff6ee;
  --cream-2:     #fdebd9;
  --cream-bd:    #f0c79b;
  --cream-bd-2:  #f3d8bd;

  --star:        #f5a623;   /* rating stars                           */

  /* --- typography --- */
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* --- radii --- */
  --r-xs: 5px;
  --r-sm: 7px;
  --r-md: 9px;
  --r-lg: 11px;     /* cards / rail widgets                          */
  --r-xl: 14px;     /* outer panels                                 */
  --r-pill: 999px;

  /* --- shadows --- */
  --sh-cta:    0 4px 12px rgba(237,106,22,.32);   /* orange button   */
  --sh-card:   0 8px 24px rgba(16,27,45,.08);     /* floating plate  */
  --sh-offer:  0 6px 18px rgba(237,106,22,.12);   /* bonus card      */
  --sh-panel:  0 22px 44px rgba(16,27,45,.20);    /* mega-menu panel */
  --sh-dark:   0 8px 22px rgba(21,32,46,.28);     /* dark sticky bar */

  /* --- spacing scale (4·8·12·16·24·32·48) --- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;

  /* --- layout --- */
  --wrap:   1120px;   /* outer container                              */
  --read:   720px;    /* reading column measure                       */
  --rail:   290px;    /* sticky rail width                            */
  --rail-top: 84px;   /* sticky offset                                */
}


/* =============================================================================
   01 · RESET & BASE
   ============================================================================= */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }

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

strong, b { font-weight: 700; }

code, kbd, samp { font-family: var(--font-mono); }

/* numbers/codes opt-in helper */
.mono, .num { font-family: var(--font-mono); }

/* shared <details>/<summary> reset (used by nav, faq, toc, disclosure) */
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

/* visible, consistent focus-ring for keyboard users (a11y, not color-only) */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* screen-reader-only utility */
.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;
}

/* outer container helper */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s-6); }


/* =============================================================================
   02 · SITE HEADER  ·  MEGA-NAV (zero-JS, <details>)
   ============================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark);
  color: #fff;
}
.site-header__inner,
.site-header > .wrap {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: 11px 22px;
  max-width: var(--wrap);
  margin: 0 auto;
}

/* --- brand --- */
.brand { display: flex; align-items: center; gap: 9px; margin-right: 6px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__badge {
  width: 30px; height: 30px; border-radius: var(--r-sm);
  background: var(--cta); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px;
}
.brand__name { color: #fff; font-weight: 800; font-size: 16px; }
.brand__name span { color: var(--dark-faint); font-weight: 500; }

/* --- top-level bar --- */
.mainnav { display: flex; gap: 2px; flex-wrap: wrap; }

/* a category. position:static so the absolute mega-panel can span full width */
.navcat { position: static; }
.navcat > summary {
  display: flex; align-items: center; gap: 6px;
  color: #cfdae8; font-size: 14px; font-weight: 600;
  padding: 9px 13px; border-radius: var(--r-sm);
  min-height: 40px; box-sizing: border-box;
}
.navcat > summary:hover,
.navcat[open] > summary { background: var(--dark-hover); color: #fff; }
.navcat .caret { font-size: 9px; transition: transform .2s ease; }
.navcat[open] > summary .caret { transform: rotate(180deg); }

/* full-width dropdown panel */
.mega-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff;
  border-top: 3px solid var(--cta);
  box-shadow: var(--sh-panel);
  z-index: 60;
  padding: 22px 26px;
}
.mega-panel__grid {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 26px;
}
.mega-panel__grid--boni { grid-template-columns: 1fr 1fr 1fr .9fr; align-items: start; }
.mega-panel a.link,
.mega-panel .link {
  color: var(--body); text-decoration: none;
  font-size: 13.5px; padding: 6px 0; display: block;
}
.mega-panel a.link:hover,
.mega-panel .link:hover { color: var(--cta); text-decoration: none; }
.mega-panel__head {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted-2); margin: 0 0 6px;
}

/* optional promo card inside a panel */
.mega-panel .promo {
  grid-row: span 4;
  background: linear-gradient(135deg, var(--cream), var(--cream-2));
  border: 1px solid var(--cream-bd-2);
  border-radius: var(--r-lg); padding: 14px;
}
.promo__kicker {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--cta-ink);
}
.promo__title { font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.2; margin-top: 5px; }
.promo__cta {
  display: inline-block; margin-top: 10px;
  background: var(--cta); color: #fff; font-weight: 700; font-size: 12.5px;
  text-decoration: none; padding: 7px 14px; border-radius: var(--r-sm);
}
.promo__cta:hover { text-decoration: none; filter: brightness(1.04); }

/* header CTA (orange) */
.header-cta {
  margin-left: auto;
  background: var(--cta); color: #fff; font-weight: 700; font-size: 13.5px;
  text-decoration: none; padding: 9px 18px; border-radius: var(--r-sm);
  white-space: nowrap; min-height: 40px;
  display: inline-flex; align-items: center;
}
.header-cta:hover { text-decoration: none; filter: brightness(1.05); }

/* mobile menu trigger — hidden on desktop, shown <=880px (section 10) */
.nav-toggle { display: none; }


/* =============================================================================
   03 · HERO  (Z1)
   ============================================================================= */
.hero { margin: 0 0 var(--s-5); }

.hero h1,
.hero__title {
  font-size: 40px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 14px 0 12px;
}

/* hero meta row: author + date + trust badge */
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-size: 13px; color: var(--muted);
  margin: 0 0 14px;
}
.hero-meta__author { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta__avatar {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #1b4f9e);
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 11px;
}
.hero-meta__author strong { color: var(--ink); }
.hero-meta__date { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta__date strong { color: var(--ink); }

/* verified / trust badge (green pill) */
.trust-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700; color: var(--success);
  background: var(--success-tint); border: 1px solid var(--success-bd);
  border-radius: var(--r-pill); padding: 3px 10px;
}

/* lead paragraph */
.lead {
  font-size: 19px; line-height: 1.55; color: var(--body);
  margin: 0 0 16px;
}

/* verdict callout (accent left-border) */
.verdict {
  margin: 0 0 22px;
  color: var(--body);
  border-left: 3px solid var(--accent);
  background: #f7faff;
  padding: 13px 16px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 15.5px; line-height: 1.6;
}


/* =============================================================================
   04 · PAGE LAYOUT  ·  reading column + sticky rail
   ============================================================================= */
.page-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 26px var(--s-6) 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.reading {
  flex: 1 1 440px;
  min-width: 0;            /* allow tables to shrink/scroll inside flex */
  max-width: var(--read);
  color: var(--reading);
}

.rail {
  flex: 0 1 var(--rail);
  min-width: 250px;
  position: sticky;
  top: var(--rail-top);
  align-self: flex-start;
}

/* --- rail TOC (numbered) --- */
.rail-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  margin-bottom: 14px;
}
.rail-toc__head {
  font-weight: 700; font-size: 11px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink); margin-bottom: 12px;
}
.rail-toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.rail-toc li { display: flex; gap: 9px; align-items: baseline; }
.rail-toc__n {
  flex: none; width: 18px; height: 18px; border-radius: var(--r-xs);
  background: var(--accent-tint); color: var(--accent);
  font-size: 10.5px; font-weight: 700; display: grid; place-items: center;
}
.rail-toc a { color: #3a4656; text-decoration: none; font-size: 13px; }
.rail-toc a:hover { color: var(--accent); }
/* active / final-item highlight (orange) */
.rail-toc li[aria-current] .rail-toc__n,
.rail-toc__n--active { background: var(--cta); color: #fff; }
.rail-toc li[aria-current] a { color: var(--ink); font-weight: 600; }

/* --- rail promo (mini bonus widget) --- */
.rail-promo {
  background: #fff;
  border: 1px solid var(--cream-bd);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-offer);
}
.rail-promo__head {
  background: linear-gradient(120deg, var(--cream), var(--cream-2));
  padding: 14px 16px;
}
.rail-promo__kicker {
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--cta-ink);
}
.rail-promo__title { font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.15; margin-top: 3px; }
.rail-promo__body { padding: 13px 16px; }
.rail-promo__meta { font-size: 12px; color: var(--muted); margin-bottom: 9px; }
.rail-promo__meta strong { color: var(--ink); }
.rail-promo__cta {
  display: block; text-align: center;
  background: var(--cta); color: #fff; font-weight: 700; font-size: 14px;
  text-decoration: none; padding: 11px; border-radius: var(--r-md);
  min-height: 44px; box-sizing: border-box;
}
.rail-promo__cta:hover { text-decoration: none; filter: brightness(1.05); }


/* =============================================================================
   05 · READING TYPOGRAPHY  (long-form article body)
   ============================================================================= */
.reading > h2,
.reading .h2 {
  font-size: 27px; font-weight: 700; color: var(--ink);
  letter-spacing: -.01em; line-height: 1.18;
  margin: 44px 0 14px;
  scroll-margin-top: var(--rail-top);   /* anchor lands clear of sticky header */
}
.reading > h2:first-child { margin-top: 0; }

.reading > h3,
.reading .h3 {
  font-size: 19px; font-weight: 700; color: var(--ink);
  margin: 28px 0 10px;
  scroll-margin-top: var(--rail-top);
}

.reading p {
  font-size: 16.5px; line-height: 1.78;
  margin: 0 0 18px;
  max-width: 68ch;                       /* comfortable measure for 2000+ words */
}

.reading ul,
.reading ol {
  font-size: 16.5px; line-height: 1.7;
  margin: 0 0 18px; padding-left: 22px;
  color: var(--reading);
}
.reading li { margin-bottom: 6px; }
.reading li:last-child { margin-bottom: 0; }

.reading a {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid #b9d0f3; padding-bottom: 1px;
}
.reading a:hover { color: var(--accent-ink); border-bottom-color: var(--accent); }

.reading figure { margin: 0 0 18px; }


/* =============================================================================
   06 · TRUST ZONE (Z5)  &  RELATED ZONE (Z6)
   ============================================================================= */

/* --- Z5 affiliate disclosure strip (subtle, sits below RG callout) --- */
.zone-trust { margin: 0 0 24px; }
.zone-trust__disclosure {
  display: flex; gap: 8px; align-items: flex-start;
  color: var(--muted); font-size: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 10px 13px;
}
.zone-trust__disclosure .i { color: var(--warn); font-weight: 800; flex: none; }

/* --- Z6 related: grid of link cards with tag badges --- */
.zone-related { margin: 0 0 4px; }
.zone-related__head { font-weight: 700; color: var(--ink); font-size: 15px; margin-bottom: 11px; }
.zone-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.zone-related__card {
  display: block;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px 14px;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.zone-related__card:hover {
  text-decoration: none;
  border-color: #cdd6e3;
  box-shadow: 0 4px 14px rgba(16,27,45,.07);
}
.zone-related__tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent); background: var(--accent-tint);
  border-radius: var(--r-xs); padding: 2px 7px; margin-bottom: 7px;
}
/* tag color variants — not color-only: each has its own label text */
.zone-related__tag--pay   { color: var(--success); background: var(--success-tint); }
.zone-related__tag--legal { color: var(--warn);    background: var(--warn-tint); }
.zone-related__title { color: var(--ink); font-weight: 600; font-size: 13.5px; }


/* =============================================================================
   07 · SITE FOOTER  (sitemap)
   ============================================================================= */
.site-footer {
  background: var(--dark-2);
  color: var(--dark-muted);
  padding: 30px var(--s-6) 22px;
}
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px 20px;
}
.footer-col__head {
  color: var(--cta); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 11px;
}
.footer-col__links { display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.footer-col__links a { color: var(--dark-muted); text-decoration: none; }
.footer-col__links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--dark-hover);
  margin-top: 22px; padding-top: 16px;
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
  font-size: 12px; color: #6b7e96;
}
.badge-18,
.footer-bottom .badge18 {
  font-weight: 800; color: #e3a94a;
  background: rgba(185,131,31,.2);
  border-radius: var(--r-xs); padding: 1px 5px;
}


/* =============================================================================
   08 · INLINE BLOCKS  (.sfb-*)  — dropped into article prose
   ============================================================================= */

/* ---- .sfb-bc  breadcrumbs ------------------------------------------------- */
.sfb-bc { font-size: 13px; margin: 0 0 18px; }
.sfb-bc ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0; padding: 0; align-items: center;
}
.sfb-bc a { color: var(--accent); text-decoration: none; border: 0; }
.sfb-bc a:hover { text-decoration: underline; }
.sfb-bc .sep { color: #c2cad6; }      /* › chevron, aria-hidden */
.sfb-bc [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---- .sfb-toc  mobile TOC (details) --------------------------------------- */
.sfb-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0 16px;
  margin: 0 0 26px;
}
.sfb-toc > summary {
  padding: 14px 0; font-weight: 700; color: var(--ink); font-size: 13px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 44px; box-sizing: border-box;
}
.sfb-toc > summary .count { color: var(--accent); font-weight: 600; }
.sfb-toc ol { margin: 0 0 14px; padding-left: 18px; font-size: 14px; line-height: 1.9; }
.sfb-toc a { color: var(--accent); text-decoration: none; }
.sfb-toc a:hover { text-decoration: underline; }

/* ---- .sfb-table  scroll-wrapped zebra table ------------------------------- */
.sfb-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
  margin: 28px 0;
}
.sfb-table table {
  border-collapse: collapse;
  width: 100%;
  min-width: 440px;        /* forces horizontal scroll on narrow viewports   */
  font-size: 14.5px;
  color: var(--body);
}
.sfb-table caption {
  text-align: left; padding: 13px 16px 0;
  font-weight: 700; color: var(--ink); font-size: 14px;
}
.sfb-table thead th {
  text-align: left; color: var(--muted); font-weight: 600;
  padding: 11px 16px; border-bottom: 1px solid var(--border);
}
.sfb-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-soft);
}
.sfb-table tbody tr:last-child td { border-bottom: 0; }
.sfb-table tbody tr:nth-child(even) { background: var(--surface-2); }   /* zebra */
.sfb-table th[scope="row"],
.sfb-table td.key { color: var(--muted); }
.sfb-table td.val,
.sfb-table td strong { font-weight: 600; color: var(--ink); }
.sfb-table .pos { color: var(--success); font-weight: 600; }   /* "keine", "<24h" */
.sfb-table .neg { color: var(--danger); }

/* ---- .sfb-faq  details/summary accordion ---------------------------------- */
.sfb-faq {
  margin: 28px 0;
  display: flex; flex-direction: column; gap: 9px;
  max-width: 640px;
}
.sfb-faq details {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 0 16px;
}
.sfb-faq summary {
  padding: 14px 0; font-weight: 600; color: var(--ink); font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 44px; box-sizing: border-box;
}
.sfb-faq summary::after {
  content: "+"; color: var(--accent); flex: none;
  font-size: 18px; line-height: 1; font-weight: 600;
}
.sfb-faq details[open] summary::after { content: "\2013"; }   /* en-dash */
.sfb-faq p { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: none; }

/* ---- .sfb-rg  responsible-gaming / 18+ warning callout -------------------- */
.sfb-rg {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fbf6ec;
  border: 1px solid #ecd9b0;
  border-left: 4px solid var(--warn);
  border-radius: var(--r-md);
  padding: 16px 18px;
  margin: 28px 0 12px;
  font-size: 13.5px; line-height: 1.55;
}
.sfb-rg__icon {
  flex: none; width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--warn); color: #fff;
  font-weight: 800; font-size: 15px; display: grid; place-items: center;
}
.sfb-rg p { margin: 0; color: #5a4413; max-width: none; }
.sfb-rg strong { color: #3d2d08; }

/* ---- .sfb-card  generic trust-card (icon + title + body) ------------------ */
.sfb-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px;
  margin: 24px 0;
}
.sfb-card__icon {
  flex: none; width: 46px; height: 46px; border-radius: var(--r-md);
  background: var(--accent-tint); border: 1px solid #d4e2fb;
  color: var(--accent); display: grid; place-items: center;
  font-weight: 800; font-size: 12px;
}
.sfb-card__title { font-weight: 700; color: var(--ink); font-size: 15px; }
.sfb-card__body { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.sfb-card p { margin: 11px 0 0; max-width: none; }

/* ---- .sfb-cta  conversion button frame (.button.button1) ------------------ */
.sfb-cta {
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--cream-bd-2);
  border-radius: var(--r-lg);
  padding: 18px;
  margin: 28px 0;
}
/* native theme button — orange with shadow (theme contract: .button.button1) */
.button.button1,
.sfb-cta .button1,
.sfb-cta__btn {
  display: inline-block;
  background: var(--cta); color: #fff;
  font-weight: 700; font-size: 16px; text-decoration: none;
  padding: 14px 36px; border-radius: var(--r-md);
  box-shadow: var(--sh-cta);
  border: 0; cursor: pointer;
  min-height: 44px; box-sizing: border-box;
}
.button.button1:hover,
.sfb-cta .button1:hover,
.sfb-cta__btn:hover { text-decoration: none; filter: brightness(1.05); }
.sfb-cta__note {
  margin-top: 9px; font-size: 11.5px; color: #8a6a3e;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
/* 18+ chip — reused across CTA / bonus / footer */
.tag-18 {
  font-weight: 800; color: var(--warn);
  background: var(--warn-tint); border-radius: var(--r-xs); padding: 1px 5px;
}

/* dark closing CTA panel (Z4) */
.sfb-cta--dark {
  background: var(--dark); border: 0;
  padding: 22px; color: #fff;
}
.sfb-cta--dark .sfb-cta__title { color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.sfb-cta--dark .sfb-cta__sub { color: var(--dark-muted); font-size: 13px; margin-bottom: 14px; }
.sfb-cta--dark .button1,
.sfb-cta--dark .sfb-cta__btn { box-shadow: none; font-size: 15px; padding: 13px 32px; }
/* one-block promo (Z4): кнопки в ряд + вторичная (outline) кнопка на тёмном фоне */
.sfb-cta__row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.sfb-cta--dark .sfb-cta__btn--alt {
  background: transparent; box-shadow: none;
  border: 1.5px solid rgba(255,255,255,.45); color: #fff;
}
.sfb-cta--dark .sfb-cta__btn--alt:hover { background: rgba(255,255,255,.08); filter: none; }


/* =============================================================================
   09 · DESIGN COMPONENTS  (.sfb-*)
   ============================================================================= */

/* ---- .sfb-bonus  offer card (gradient head + grid + code) ----------------- */
.sfb-bonus {
  border: 1px solid var(--cream-bd);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sh-offer);
  margin: 28px 0;
}
.sfb-bonus__head {
  background: linear-gradient(120deg, var(--cream), var(--cream-2));
  padding: 18px 20px;
  border-bottom: 1px dashed var(--cream-bd);
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 14px; flex-wrap: wrap;
}
.sfb-bonus__kicker {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cta-ink);
}
.sfb-bonus__value {
  font-size: 26px; font-weight: 800; color: var(--ink);
  line-height: 1.15; margin-top: 4px;
}
.sfb-bonus__value span { font-size: 18px; color: var(--cta); }
.sfb-bonus__logo {
  flex: none; width: 54px; height: 54px; border-radius: var(--r-lg);
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 13px; letter-spacing: .02em;
}
.sfb-bonus__body { padding: 16px 20px; }
.sfb-bonus__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px;
  font-size: 13px;
}
.sfb-bonus__grid span { color: var(--muted); }
.sfb-bonus__grid strong { color: var(--ink); float: right; }
.sfb-bonus__row {
  display: flex; align-items: center; gap: 10px;
  margin-top: 15px; flex-wrap: wrap;
}
.sfb-bonus__row > span { font-size: 12px; color: var(--muted); }
/* promo code chip (mono, dashed) */
.sfb-code,
.sfb-bonus code {
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 600; color: var(--ink);
  background: var(--surface);
  border: 1.5px dashed #c2cad6; border-radius: var(--r-sm);
  padding: 6px 14px; letter-spacing: .06em;
}
/* .sfb-voucher — «скрытый» промокод-купон. Сам код не светим (может быть чужим/
   устаревшим): слева тег CODE, по центру маска ••••, справа кнопка «Код копировать».
   Клик ведёт на целевой сайт, где код подставится автоматически. */
.sfb-voucher {
  display: inline-flex; align-items: stretch; vertical-align: middle;
  border: 1.5px dashed var(--cta); border-radius: var(--r-sm);
  overflow: hidden; text-decoration: none; white-space: nowrap;
  font-family: var(--font-mono); cursor: pointer; line-height: 1;
  max-width: 100%;
}
.sfb-voucher__tag {
  display: inline-flex; align-items: center; padding: 6px 9px;
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cta-ink); background: var(--cream);
}
.sfb-voucher__mask {
  display: inline-flex; align-items: center; padding: 6px 12px;
  font-size: 15px; font-weight: 700; letter-spacing: .22em; color: #9aa6b6;
  background: repeating-linear-gradient(45deg,#f4f6fa,#f4f6fa 6px,#eef1f7 6px,#eef1f7 12px);
}
.sfb-voucher__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 700;
  color: #fff; background: var(--cta);
}
.sfb-voucher__btn::after { content: "\29C9"; font-size: 13px; }   /* ⧉ */
.sfb-voucher:hover .sfb-voucher__btn { filter: brightness(1.07); }
.sfb-voucher:hover { border-style: solid; }
.sfb-bonus__btn {
  margin-left: auto;
  background: var(--cta); color: #fff; font-weight: 700; text-decoration: none;
  padding: 10px 20px; border-radius: var(--r-md); font-size: 14px;
  min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center;
}
.sfb-bonus__btn:hover { text-decoration: none; filter: brightness(1.05); }
.sfb-bonus__fine {
  margin-top: 13px; font-size: 11px; color: var(--muted-2);
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
}

/* ---- .sfb-safety  safety index (conic gauge + bar-list) ------------------- */
.sfb-safety {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px;
  margin: 24px 0;
}
.sfb-safety__top { display: flex; gap: 15px; align-items: center; margin-bottom: 14px; }
.sfb-safety__gauge {
  flex: none; width: 74px; height: 74px; border-radius: 50%;
  /* default fill 92% green; override --pct per instance via inline style */
  background: conic-gradient(var(--success) 0 var(--pct, 92%), var(--border) var(--pct, 92%) 100%);
  display: grid; place-items: center;
}
.sfb-safety__gauge-inner {
  width: 56px; height: 56px; border-radius: 50%; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1;
}
.sfb-safety__score { font-size: 20px; color: var(--ink); font-weight: 700; }
.sfb-safety__max { font-size: 10px; color: var(--muted-2); }
.sfb-safety__verdict { font-weight: 700; color: var(--success); font-size: 15px; }
.sfb-safety__desc { color: var(--muted); font-size: 13px; margin-top: 2px; }
.sfb-safety__bars { display: flex; flex-direction: column; gap: 8px; }
.sfb-safety__barhead {
  display: flex; justify-content: space-between;
  font-size: 12px; color: #3a4656; margin-bottom: 3px;
}
.sfb-safety__barhead strong,
.sfb-safety__barhead span:last-child { font-weight: 600; }
.sfb-safety__track { height: 6px; background: #eef1f6; border-radius: 3px; }
.sfb-safety__fill { height: 100%; background: var(--success); border-radius: 3px; }

/* ---- .sfb-license  regulator badge + number ------------------------------- */
.sfb-license {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px;
  margin: 18px 0;
}
.sfb-license__top { display: flex; gap: 13px; align-items: center; }
.sfb-license__badge {
  flex: none; width: 46px; height: 46px; border-radius: var(--r-md);
  background: var(--accent-tint); border: 1px solid #d4e2fb;
  display: grid; place-items: center;
  color: var(--accent); font-weight: 800; font-size: 12px;
}
.sfb-license__name { font-weight: 700; color: var(--ink); }
.sfb-license__num { color: var(--muted); font-size: 13px; }
.sfb-license__foot {
  display: flex; justify-content: space-between; gap: 8px;
  margin-top: 13px; padding-top: 13px;
  border-top: 1px solid var(--border-soft); font-size: 13px;
}
.sfb-license__foot span { color: var(--muted); }
.sfb-license__foot strong { color: var(--ink); }
.sfb-license__foot a { color: var(--accent); text-decoration: none; font-weight: 600; }
.sfb-license__foot a:hover { text-decoration: underline; }

/* ---- .sfb-compare  versus table (highlighted column) ---------------------- */
.sfb-compare {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
  margin: 28px 0;
}
.sfb-compare table {
  border-collapse: collapse; width: 100%;
  min-width: 420px; font-size: 14px; text-align: center;
  color: var(--body);
}
.sfb-compare thead th {
  padding: 12px 14px; border-bottom: 1px solid var(--border);
  color: var(--muted); font-weight: 600;
}
.sfb-compare thead th:first-child { text-align: left; }
/* the highlighted / "our product" column */
.sfb-compare thead th.is-pick {
  border-bottom: 2px solid var(--cta);
  background: var(--cream);
  color: var(--ink); font-weight: 700;
}
.sfb-compare td { padding: 11px 14px; border-bottom: 1px solid var(--border-soft); }
.sfb-compare tbody tr:last-child td { border-bottom: 0; }
.sfb-compare td:first-child { text-align: left; color: var(--muted); }
.sfb-compare td.is-pick { background: #fffaf5; font-weight: 600; }
.sfb-compare .pos { color: var(--success); font-weight: 600; }
.sfb-compare .neg { color: var(--danger); }

/* ---- .sfb-contact  channel cards grid ------------------------------------- */
.sfb-contact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 11px;
  margin: 24px 0;
}
.sfb-contact__card {
  display: flex; gap: 12px; align-items: center;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px 15px;
  text-decoration: none;
  min-height: 44px;
  transition: border-color .15s ease;
}
.sfb-contact__card:hover { text-decoration: none; border-color: #cdd6e3; }
.sfb-contact__icon {
  flex: none; width: 40px; height: 40px; border-radius: var(--r-md);
  display: grid; place-items: center; font-size: 18px;
}
/* per-channel icon tints (semantic, paired with a text label below) */
.sfb-contact__icon--chat { background: var(--success-tint); color: var(--success); }
.sfb-contact__icon--mail { background: var(--accent-tint);  color: var(--accent); }
.sfb-contact__icon--tel  { background: var(--warn-tint);    color: var(--warn); }
.sfb-contact__icon--tg   { background: #eaf4fb;             color: #229ed9; }
.sfb-contact__title { font-weight: 700; color: var(--ink); }
.sfb-contact__sub { font-size: 12.5px; color: var(--muted); }

/* ---- .sfb-logos  wordmark chips (payment / provider) ---------------------- */
.sfb-logos {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin: 18px 0;
}
.sfb-logos__chip {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 9px 14px;
  font-size: 13px; font-weight: 700;
  color: var(--ink);             /* brand color set inline per wordmark */
}

/* ---- .sfb-author  byline / author box (avatar + verified + quote) --------- */
.sfb-author {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px;
  margin: 24px 0;
}
.sfb-author__avatar {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #1b4f9e);
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 19px;
}
.sfb-author__top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.sfb-author__name { color: var(--ink); font-size: 15px; font-weight: 700; }
.sfb-author__verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; color: var(--success);
  background: var(--success-tint); border-radius: var(--r-xs); padding: 2px 7px;
}
.sfb-author__role { color: var(--muted); font-size: 13px; margin-top: 2px; }
.sfb-author__quote {
  margin: 11px 0 0; color: var(--body);
  border-left: 3px solid var(--accent); padding-left: 12px; font-size: 14px;
}
.sfb-author__date { color: var(--muted-2); font-size: 12px; margin-top: 9px; }

/* ---- .sfb-rating  CSS-only stars + number -------------------------------- */
/* Accessible: stars are decorative (aria-hidden); numeric value is real text. */
.sfb-rating { display: inline-flex; align-items: center; gap: 11px; }
.sfb-stars {
  position: relative; display: inline-block;
  font-size: 19px; line-height: 1; letter-spacing: 2px;
  color: #dfe4ec;                 /* empty stars */
  white-space: nowrap;
}
.sfb-stars::before { content: "\2605\2605\2605\2605\2605"; }   /* ★★★★★ track */
.sfb-stars__fill {
  position: absolute; left: 0; top: 0; overflow: hidden;
  color: var(--star); white-space: nowrap;
  width: var(--pct, 90%);         /* override per instance, e.g. 4.5/5 = 90% */
}
.sfb-stars__fill::before { content: "\2605\2605\2605\2605\2605"; }
.sfb-rating__num { color: var(--ink); font-size: 16px; font-weight: 700; }
.sfb-rating__max { color: var(--muted); font-size: 13px; }
/* small inline variant */
.sfb-rating--sm .sfb-stars { font-size: 14px; letter-spacing: 1px; }

/* ---- body-шорткоды: заголовок FAQ, преимущества, шаги, карточки игр --------
   Контент статей собирается из типизированных шорткодов (faq/adwantage/stages/
   game). Здесь их дизайн-система — те же токены, что и у .sfb-* блоков. */
.sfb-faq__h { font-size: 21px; font-weight: 700; color: var(--ink); margin: 30px 0 8px; }

/* преимущества — сетка карточек */
.sfb-features {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px; margin: 22px 0;
}
.sfb-feat {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 15px 16px;
}
.sfb-feat__title {
  font-weight: 700; color: var(--ink); font-size: 15px;
  margin-bottom: 5px; padding-left: 20px; position: relative;
}
.sfb-feat__title::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--success); font-weight: 800;
}
.sfb-feat__desc { color: var(--muted); font-size: 13.5px; margin: 0; }

/* шаги «как начать» — нумерованный список */
.sfb-steps { list-style: none; counter-reset: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.sfb-steps li {
  display: flex; gap: 13px; align-items: center;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 13px 15px;
  color: var(--ink); font-weight: 600; font-size: 14.5px;
}
.sfb-steps__n {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent);
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
}

/* карточки игр/казино */
.sfb-games {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px; margin: 22px 0;
}
.sfb-game {
  display: flex; flex-direction: column; gap: 5px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 15px 16px;
}
.sfb-game__title { font-weight: 700; color: var(--ink); font-size: 15px; }
.sfb-game__meta { color: var(--muted); font-size: 12.5px; }
.sfb-game__amt { color: var(--cta); font-weight: 700; font-size: 15px; }
.sfb-game__btn {
  margin-top: 8px; align-self: flex-start;
  background: var(--cta); color: #fff; font-weight: 700; font-size: 13px;
  text-decoration: none; padding: 8px 16px; border-radius: var(--r-md);
}
.sfb-game__btn:hover { text-decoration: none; filter: brightness(1.05); }

/* ---- легаси-блоки из block/*-шорткодов (старая тема) → гармонизируем под дизайн.
   Контент содержит сырой HTML c этими классами (features/games-catalog/popup);
   дизайн-CSS их не знал → они «сыпались» в столбик. */

/* features (block/shout, block/adwantage): иконка + заголовок + подпись, в ряд */
.features-container { margin: 24px 0; }
.features-container > .container { max-width: none; width: 100%; padding: 0; margin: 0; }
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px;
}
.feature {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px 16px; text-align: center;
}
.feature > i { font-style: normal; font-size: 26px; line-height: 1; display: block; margin-bottom: 8px; }
.feature h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0; }
.feature br { display: none; }
.feature p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }

/* games-catalog (block/casino): сетка карточек игр */
.games-section { margin: 26px 0; }
.games-section > .container { max-width: none; width: 100%; padding: 0; margin: 0; }
.game-catalog_list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px;
}
.game-catalog_list-item { margin: 0; }
.gamecard {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden; height: 100%;
}
.gamecard_window { position: relative; line-height: 0; }
.gamecard_img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.gamecard_flags { position: absolute; top: 6px; left: 6px; display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gamecard_flags img { width: 18px; height: 18px; }
.gamecard_links {
  position: absolute; inset: 0; display: flex; gap: 8px; align-items: center; justify-content: center;
  background: rgba(16, 27, 45, .55); opacity: 0; transition: opacity .15s ease;
}
.gamecard_window:hover .gamecard_links, .gamecard_window:focus-within .gamecard_links { opacity: 1; }
.gamecard_play, .gamecard_demo {
  padding: 8px 13px; border-radius: var(--r-md); font-size: 12px; font-weight: 700;
  text-decoration: none; line-height: 1.2;
}
.gamecard_play { background: var(--cta); color: #fff; }
.gamecard_demo { background: #fff; color: var(--ink); }
.gamecard_title { padding: 9px 11px; font-size: 13px; font-weight: 600; color: var(--ink); text-align: center; }

/* popup (block/popup): в v2 НЕ делаем модалку поверх — рендерим как инлайн-промо */
.popup {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; position: relative;
  background: linear-gradient(120deg, var(--cream), var(--cream-2));
  border: 1px solid var(--cream-bd); border-radius: var(--r-lg);
  padding: 18px 44px 18px 20px; margin: 24px 0;
}
.popup_block { display: contents; }
.popup .block_img img { width: 52px; height: 52px; }
.popup .block_txt { flex: 1 1 200px; }
.popup .block_txt span { display: block; font-size: 20px; font-weight: 800; color: var(--ink); }
.popup .block_txt p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.popup .block_btn a {
  display: inline-block; background: var(--cta); color: #fff; font-weight: 700;
  text-decoration: none; padding: 12px 22px; border-radius: var(--r-md);
}
.popup-close {
  position: absolute; top: 8px; right: 10px; background: none; border: 0;
  font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer;
}

/* .sfb-slots — каталог топ-слотов (авто-блок game/review/app). Плитка-градиент с
   названием (без зависимости от картинок) + провайдер + кнопка «Играть». */
.sfb-slots__h { font-size: 21px; font-weight: 700; color: var(--ink); margin: 30px 0 10px; }
.sfb-slots {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px; margin: 8px 0 26px;
}
.sfb-slot {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden;
  text-decoration: none; transition: border-color .15s ease, transform .15s ease;
}
.sfb-slot:hover { text-decoration: none; border-color: #cdd6e3; transform: translateY(-2px); }
.sfb-slot__thumb {
  display: block; aspect-ratio: 1 / 1; background: var(--surface); overflow: hidden;
}
.sfb-slot__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sfb-slot__name {
  display: block; padding: 9px 11px 0; font-weight: 700; color: var(--ink);
  font-size: 13px; line-height: 1.25;
}
.sfb-slot__btn {
  margin: 8px 11px 11px; text-align: center; background: var(--cta); color: #fff;
  font-weight: 700; font-size: 12px; padding: 8px; border-radius: var(--r-sm);
}


/* =============================================================================
   10 · RESPONSIVE  (single-column reflow; breakpoint ~880px)
   ============================================================================= */
@media (max-width: 880px) {

  .wrap,
  .site-header > .wrap,
  .page-wrap,
  .site-footer { padding-left: var(--s-4); padding-right: var(--s-4); }

  /* --- header collapses; rely on a mobile trigger / inline nav --- */
  .site-header__inner,
  .site-header > .wrap { flex-wrap: wrap; gap: var(--s-2); }
  .mainnav { display: none; }              /* hide mega-bar; mobile drawer takes over */
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 7px;
    margin-left: auto;
    color: #fff; background: var(--dark-hover);
    border: 0; border-radius: var(--r-sm);
    padding: 8px 13px; font-size: 13.5px; font-weight: 600;
    min-height: 44px; box-sizing: border-box; cursor: pointer;
  }
  /* when the partner uses <details class="mainnav mainnav--mobile">, show it open-stacked */
  .mainnav--mobile { display: block; width: 100%; }
  .mainnav--mobile .navcat { position: static; }
  .mainnav--mobile .mega-panel {
    position: static; box-shadow: none; border-top: 0; padding: 8px 0;
  }
  .mainnav--mobile .mega-panel__grid { grid-template-columns: 1fr; gap: 0; }

  /* --- hero scales down --- */
  .hero h1,
  .hero__title { font-size: 30px; }
  .lead { font-size: 17px; }
  .hero-meta { font-size: 12.5px; }

  /* --- layout: reading + rail stack into one column --- */
  .page-wrap { flex-direction: column; gap: 26px; padding-top: 18px; }
  .reading { max-width: 100%; flex-basis: auto; }
  .rail {
    position: static;        /* rail leaves sticky context, drops below content */
    width: 100%; flex-basis: auto; min-width: 0;
    order: 2;
  }

  /* --- reading type eases slightly --- */
  .reading > h2,
  .reading .h2 { font-size: 23px; margin-top: 36px; }
  .reading > h3,
  .reading .h3 { font-size: 18px; }
  .reading p,
  .reading ul,
  .reading ol { font-size: 16px; }

  /* --- block grids collapse --- */
  .zone-related__grid { grid-template-columns: 1fr; }
  .sfb-contact { grid-template-columns: 1fr; }
  .sfb-bonus__grid { grid-template-columns: 1fr; }

  /* bonus / cta rows wrap, button goes full width for a 44px+ target */
  .sfb-bonus__row { align-items: stretch; }
  .sfb-bonus__btn { margin-left: 0; width: 100%; justify-content: center; }

  /* --- footer columns relax --- */
  .footer-cols { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 20px 16px; }
  .footer-bottom { gap: 8px; }

  /* tables already scroll via their .sfb-table/.sfb-compare wrappers */
}

/* very small phones — keep CTAs reachable and text honest */
@media (max-width: 420px) {
  .hero h1, .hero__title { font-size: 26px; }
  .sfb-bonus__value { font-size: 22px; }
  .button.button1, .sfb-cta__btn { width: 100%; padding: 14px 20px; }
}


/* =============================================================================
   11 · MOTION & PRINT
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .rail, .sfb-cta, .header-cta,
  .nav-toggle, .rail-promo, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
  .page-wrap { display: block; padding: 0; }
  .reading { max-width: 100%; }
  a { color: #000; text-decoration: underline; }
}
