/*
Theme Name: Site Builder Generated Theme
Description: Сгенерирована плагином Site Builder. Шапка: mega-thumbs, футер: glass-dark, стиль: emerald-luxury, рейтинг: cards, hero: glass.
Version: 1.6.3
Author: Site Builder Plugin
*/

/* 1.6.1 — not every style defines --sb-color-link-hover; style variants below override this. */
:root { --sb-color-link-hover: var(--sb-color-link, #2271b1); }

/* ===== Reset & base layout ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
    font-family: var(--sb-font-body, "Segoe UI", system-ui, -apple-system, sans-serif);
    font-size: var(--sb-font-size, 16px);
    line-height: var(--sb-line-height, 1.6);
    color: var(--sb-color-text, #222);
    background: var(--sb-color-bg, #fff);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sb-color-link, #2271b1); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Site wrapper ===== */
.sb-site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.sb-site-content {
    flex: 1;
    padding: 16px 15px;
    max-width: 1180px !important;
    width: 100%;
    margin: 0 auto;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--sb-font-heading, var(--sb-font-body, sans-serif));
    line-height: 1.3;
    margin: 1.4em 0 0.6em;
}
h1 { font-size: 2.2em; margin-top: 0; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.3em; }

/* ===== Content elements ===== */
.sb-content figure { margin: 24px 0; }
.sb-content figure img { border-radius: 4px; }
.sb-content figcaption {
    font-size: 0.9em;
    color: var(--sb-color-muted, #666);
    text-align: center;
    margin-top: 6px;
}
.sb-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.sb-content th, .sb-content td {
    padding: 8px 12px;
    border: 1px solid var(--sb-color-border, #e2e8f0);
    text-align: left;
}
.sb-content th {
    background: var(--sb-color-bg-alt, #f8f9fa);
    font-weight: 600;
}
.sb-content blockquote {
    border-left: 4px solid var(--sb-color-accent, #2271b1);
    margin: 20px 0;
    padding: 12px 20px;
    background: var(--sb-color-bg-alt, #f8f9fa);
    color: var(--sb-color-muted, #555);
}
.sb-content code {
    background: var(--sb-color-bg-alt, #f0f0f1);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}
.sb-content pre {
    background: var(--sb-color-bg-alt, #f0f0f1);
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
}

/* ===== Variant-specific styles (header, footer, color scheme) injected below ===== */

/* Emerald Luxury & Gold — глубокий изумрудный фон, слоновая кость и золотые акценты */
:root {
  --sb-color-bg: #0b1914;
  --sb-color-bg-alt: #142620;
  --sb-color-text: #f4f1ea;
  --sb-color-muted: #8a9e97;
  --sb-color-link: #d4af37;
  --sb-color-link-hover: #f3e5ab;
  --sb-color-border: #223d33;
  --sb-color-accent: #d4af37;

  --sb-font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
  --sb-font-heading: "Georgia", "Playfair Display", "Times New Roman", serif;
  --sb-font-size: 16px;
  --sb-line-height: 1.7;
  --sb-content-max-width: 920px;
}

body.sb-site {
  background: var(--sb-color-bg);
  color: var(--sb-color-text);
  font-family: var(--sb-font-body);
  font-size: var(--sb-font-size);
  line-height: var(--sb-line-height);
}

/* Элегантная типографика с засечками */
body.sb-site h1,
body.sb-site h2,
body.sb-site h3,
body.sb-site h4 {
  font-family: var(--sb-font-heading);
  color: var(--sb-color-text);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Главный заголовок с изящным золотым подчеркиванием-градиентом */
body.sb-site h1 {
  position: relative;
  display: inline-block;
  color: var(--sb-color-text);
}

body.sb-site h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--sb-color-accent), transparent);
}

/* Ссылки с мягким золотым свечением при наведении */
body.sb-site a {
  color: var(--sb-color-link);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    text-shadow 0.25s ease;
}

body.sb-site a:hover {
  color: var(--sb-color-link-hover);
  border-bottom-color: var(--sb-color-link-hover);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

body.sb-site strong {
  color: var(--sb-color-accent);
  font-weight: 600;
}

/* Цитаты с выразительным золотым бордером слева и полупрозрачным фоном */
body.sb-site blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--sb-color-bg-alt);
  border-left: 2px solid var(--sb-color-accent);
  border-top: 1px solid var(--sb-color-border);
  border-right: 1px solid var(--sb-color-border);
  border-bottom: 1px solid var(--sb-color-border);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  font-family: var(--sb-font-heading);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Инлайн-код и тег code */
body.sb-site code {
  padding: 3px 8px;
  color: var(--sb-color-accent);
  background: var(--sb-color-bg-alt);
  border: 1px solid var(--sb-color-border);
  border-radius: 3px;
  font-size: 0.88em;
}

/* Граница-разделитель с растяжкой от центра */
body.sb-site hr {
  border: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--sb-color-border),
    var(--sb-color-accent),
    var(--sb-color-border),
    transparent
  );
  margin: 40px 0;
}

/* Таблицы в стиле премиальных карточек */
body.sb-site table {
  width: 100%;
  border-collapse: collapse;
  background: var(--sb-color-bg-alt);
  border: 1px solid var(--sb-color-border);
  margin: 24px 0;
}

body.sb-site th,
body.sb-site td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--sb-color-border);
  text-align: left;
}

body.sb-site th {
  font-family: var(--sb-font-heading);
  color: var(--sb-color-accent);
  border-bottom: 2px solid var(--sb-color-border);
}


/* ===== Header variant: mega-thumbs ===== */
/* =========================================================
   Mega Thumbs header — Glass Dark panel
   - desktop: hover on top-level with children opens full-width
     glass-dark panel (rgba(15,17,23,0.85) + backdrop-filter blur)
   - panel: 4-column grid; each column = featured-image thumbnail +
     section title + list of leaf links
   - mobile (<800px): burger + accordion (slide down per top-level)
   ========================================================= */

/* ─── Header bar — TWO ROW LAYOUT ───────────────────────────
   Row 1: logo (centered) — compact, 44px tall
   Row 2: nav menu (full width, compact items)
   This layout supports 10-16 top-level items without squeezing out the logo.
   1.7.6 — changed from single-row (logo + nav side-by-side) to two-row
   because users with 14+ menu items had no room for the logo. ── */

.sb-header-mega-thumbs {
  position: relative;
  background: var(--sb-color-bg, #fff);
  border-bottom: 1px solid var(--sb-color-border, #e5e7eb);
  z-index: 100;
}

.sb-header-mega-thumbs-inner {
  max-width: var(--sb-header-max-width, 1400px);
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  flex-direction: column;  /* two-row: brand on top, nav below */
  gap: 2px;
}

/* Row 1: brand — centered, compact */
.sb-header-mega-thumbs-brand {
  margin: 0;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0 6px;
  position: relative; /* for burger positioning on mobile */
}

.sb-header-mega-thumbs-brand a,
.sb-header-mega-thumbs-name {
  color: var(--sb-color-text, #111);
  text-decoration: none;
}

.sb-header-mega-thumbs-brand img {
  max-height: 40px;
  width: auto;
  display: block;
}

/* ─── Burger button (mobile) — positioned in row 1, left side ─── */
.sb-header-mega-thumbs-burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px 4px;
  width: 36px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  /* On mobile: position absolute in brand row (left side) */
  position: absolute;
  right: 29px;
  top: 50%;
  transform: translateY(-50%);
}
.sb-header-mega-thumbs-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--sb-color-text, #111);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.sb-header-mega-thumbs-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.sb-header-mega-thumbs-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.sb-header-mega-thumbs-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Nav bar (top-level) — Row 2, full width ──────────────── */
.sb-header-mega-thumbs-nav {
  position: relative;
  width: 100%;
}

.sb-header-mega-thumbs-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;     /* centered menu items */
  flex-wrap: nowrap;           /* keep on one line; if overflow, items clip */
  gap: 0;                      /* tight packing for 10-16 items */
  /* 1.7.7 — removed overflow:hidden — it was clipping the absolute-positioned
     sub-menu mega panel. The panel drops DOWN from each <li>, but if the
     parent <ul> has overflow:hidden, the panel gets clipped and never shows.
     Use flex-wrap:nowrap + white-space:nowrap on items instead to prevent
     wrapping without clipping child popups. */
  overflow: visible;
}

.sb-header-mega-thumbs-nav > ul > li {
  position: relative;
  flex-shrink: 0;             /* don't shrink items — keep text readable */
}

.sb-header-mega-thumbs-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;           /* compact: was 10px 16px */
  color: var(--sb-color-text, #111);
  text-decoration: none;
  font-size: 0.82em;           /* compact: was 0.95em — fits 14 items in 1200px */
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;         /* never break item name across lines */
  transition: background .15s ease, color .15s ease;
}

.sb-header-mega-thumbs-nav > ul > li > a:hover,
.sb-header-mega-thumbs-nav > ul > li:hover > a {
  background: color-mix(in srgb, var(--sb-color-link, #2563eb) 12%, transparent);
  color: var(--sb-color-link, #2563eb);
}

/* Caret indicator for items with sub-menu */
.sb-header-mega-thumbs-nav > ul > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0.6;
}

/* ─── Mega panel (sub-menu, level 1) — Glass Dark ────────── */
.sb-header-mega-thumbs-nav > ul > li > ul.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  /* 1.7.8 — --panel-shift is set by JS on mouseenter to keep the panel
     within the viewport. Default 0px = centered on parent <li>.
     When hovering items near the left/right edge, JS calculates a shift
     so the panel doesn't overflow the viewport. */
  transform: translateX(calc(-50% + var(--panel-shift, 0px))) translateY(-10px);
  min-width: 920px;
  max-width: calc(100vw - 40px);

  /* Glass dark — rgba dark + backdrop blur */
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);

  /* Accent stripe on top — colored accent gradient */
  background-image: linear-gradient(180deg,
    color-mix(in srgb, var(--sb-color-link, #2563eb) 18%, transparent) 0%,
    transparent 60px);
  background-repeat: no-repeat;

  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;

  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
  z-index: 1000;
  color: #fff;
}

/* Open on hover/focus-within */
.sb-header-mega-thumbs-nav > ul > li:hover > ul.sub-menu,
.sb-header-mega-thumbs-nav > ul > li:focus-within > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(calc(-50% + var(--panel-shift, 0px))) translateY(0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s;
}

/* ─── Column header (depth=1 item) ────────────────────────── */
.sb-mega-thumbs-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sb-mega-thumbs-col > a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  line-height: 1.3;
  padding: 4px 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color .15s ease;
}

.sb-mega-thumbs-col > a:hover {
  color: color-mix(in srgb, var(--sb-color-link, #2563eb) 85%, #fff);
}

/* Thumbnail wrap (48×36, rounded) */
.sb-mega-thumbs-thumb-wrap {
  display: block;
  width: 48px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
}

.sb-mega-thumbs-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Columns without thumbnail — indent title to align with thumb-bearing cols */
.sb-mega-thumbs-col:not(.sb-mega-thumbs-has-thumb) > a {
  padding-left: 58px; /* 48 thumb + 10 gap */
  position: relative;
}
.sb-mega-thumbs-col:not(.sb-mega-thumbs-has-thumb) > a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--sb-color-link, #2563eb) 30%, transparent),
    color-mix(in srgb, var(--sb-color-link, #2563eb) 10%, transparent));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ─── Leaf items (depth=2) under each column ──────────────── */
.sb-mega-thumbs-col > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sb-mega-thumbs-leaf > a {
  display: block;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86em;
  font-weight: 400;
  text-decoration: none;
  line-height: 1.4;
  transition: color .15s ease, transform .15s ease;
}

.sb-mega-thumbs-leaf > a:hover {
  color: #fff;
  transform: translateX(3px);
}

/* ─── Mobile (<800px) — burger + accordion ─────────────────── */
@media (max-width: 800px) {
  .sb-header-mega-thumbs-burger {
    display: flex;

  }

  /* 1.7.9 — лого СЛЕВА (был по центру) */
  .sb-header-mega-thumbs-brand {
    justify-content: flex-start !important;
    padding-left: 12px !important;
  }

  .sb-header-mega-thumbs-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sb-color-bg, #fff);
    border-bottom: 1px solid var(--sb-color-border, #e5e7eb);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  /* 1.7.9 — увеличен max-height для 14+ пунктов + touch scrolling */
  .sb-header-mega-thumbs-nav.is-open {
    max-height: calc(100vh - 56px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .sb-header-mega-thumbs-nav > ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .sb-header-mega-thumbs-nav > ul > li > a {
    padding: 12px 20px;
    border-radius: 0;
    width: 100%;
    justify-content: space-between;
  }

  /* Mega panel becomes inline accordion blocks */
  .sb-header-mega-thumbs-nav > ul > li > ul.sub-menu {
    position: static;
    transform: none !important;
    min-width: auto;
    max-width: none;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0 20px 12px;
    grid-template-columns: 1fr;
    gap: 12px;
    color: var(--sb-color-text, #111);
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .sb-header-mega-thumbs-nav > ul > li.is-expanded > ul.sub-menu {
    display: block;
  }

  .sb-mega-thumbs-col > a {
    color: var(--sb-color-text, #111);
    border-bottom-color: var(--sb-color-border, #e5e7eb);
  }
  .sb-mega-thumbs-leaf > a {
    color: var(--sb-color-muted, #6b7280);
  }
  .sb-mega-thumbs-leaf > a:hover {
    color: var(--sb-color-link, #2563eb);
    transform: none;
  }
}


/* ===== Footer variant: glass-dark ===== */
/* =========================================================
   Glass Dark footer — modern dark footer with glassmorphism
   - dark background rgba(15,17,23,0.95) + backdrop-filter blur
   - 3 animated glowing blobs in corners (CSS-only)
   - 4 content sections (brand+tagline, nav, regulators, 18+)
   - floating back-to-top button (appears on scroll)
   - copyright bar at bottom
   ========================================================= */

.sb-footer-glass-dark {
  position: relative;
  background: rgba(15, 17, 23, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  /* Subtle gradient overlay on top to blend with content above */
  background-image: linear-gradient(180deg, rgba(15, 17, 23, 0.7) 0%, rgba(15, 17, 23, 0.98) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ─── Glowing blobs (decorative, behind content) ────────── */
.sb-footer-glass-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.sb-footer-glass-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: sb-footer-glass-drift 18s ease-in-out infinite;
}

.sb-footer-glass-blob-1 {
  width: 360px;
  height: 360px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, var(--sb-color-link, #2563eb) 0%, transparent 70%);
  animation-delay: 0s;
}
.sb-footer-glass-blob-2 {
  width: 280px;
  height: 280px;
  bottom: -80px;
  right: -60px;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
  animation-delay: -6s;
}
.sb-footer-glass-blob-3 {
  width: 220px;
  height: 220px;
  top: 30%;
  left: 50%;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  animation-delay: -12s;
  opacity: 0.25;
}

@keyframes sb-footer-glass-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.1); }
  66%      { transform: translate(-30px, 40px) scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .sb-footer-glass-blob { animation: none; }
}

/* ─── Content (above blobs) ──────────────────────────────── */
.sb-footer-glass-content {
  position: relative;
  z-index: 1;
}

.sb-footer-glass-inner {
  max-width: var(--sb-content-max-width, 1200px);
  margin: 0 auto;
  padding: 56px 24px 24px;
}

/* ─── Top section: brand + nav columns ────────────────────── */
.sb-footer-glass-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sb-footer-glass-brand-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sb-footer-glass-brand img,
.sb-footer-glass-brand .custom-logo {
  max-height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1); /* make logo white on dark bg */
  opacity: 0.95;
}

.sb-footer-glass-logo-text {
  color: #fff;
  font-size: 1.25em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sb-footer-glass-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9em;
  line-height: 1.55;
  max-width: 32ch;
}

.sb-footer-glass-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.sb-footer-glass-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sb-footer-glass-heading {
  margin: 0 0 4px;
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

.sb-footer-glass-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sb-footer-glass-menu li {
  margin: 0;
}

.sb-footer-glass-menu a,
.sb-footer-glass-menu .sb-regulators-list-item a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88em;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}

.sb-footer-glass-menu a:hover,
.sb-footer-glass-menu .sb-regulators-list-item a:hover {
  color: #fff;
  transform: translateX(3px);
}

/* ─── 18+ / Responsible gaming block ──────────────────────── */
.sb-footer-glass-responsible {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sb-footer-glass-18-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.sb-footer-glass-18-text {
  color: #fff;
  font-size: 1em;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.sb-footer-glass-responsible-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78em;
  line-height: 1.6;
}

/* ─── Copyright bar ───────────────────────────────────────── */
.sb-footer-glass-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sb-footer-glass-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82em;
  text-align: center;
}

/* ─── Back-to-top button override ──────────────────────────
   The global .sb-back-to-top button (from inc/back-to-top.php) is
   always rendered via wp_footer. On the dark glass-dark footer, we
   restyle it to use the accent color instead of the default dark
   background (which would blend in and be hard to see). */
.sb-footer-glass-dark ~ .sb-back-to-top,
body .sb-back-to-top {
  background: var(--sb-color-link, #2563eb);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.sb-footer-glass-dark ~ .sb-back-to-top:hover,
body .sb-back-to-top:hover {
  background: color-mix(in srgb, var(--sb-color-link, #2563eb) 85%, #000);
  filter: none;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sb-footer-glass-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sb-footer-glass-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .sb-footer-glass-inner {
    padding: 36px 16px 20px;
  }
  .sb-footer-glass-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sb-footer-glass-responsible {
    flex-direction: row;
    gap: 12px;
    padding: 20px 0;
  }
  .sb-footer-glass-18-badge {
    width: 36px;
    height: 36px;
  }
  .sb-footer-glass-responsible-text {
    font-size: 0.74em;
  }
}


/* ===== Operators variant: cards ===== */
/* Operators variant: cards — one card per operator, facts as pills. */
.sb-site .sb-operators .sb-operators-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
.sb-site .sb-operators .sb-operator {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    margin: 0;
    padding: 18px 20px;
    border: 1px solid var(--sb-color-border, #e5e7eb);
    border-radius: 12px;
    background: var(--sb-color-bg-alt, #f8fafc);
}
.sb-site .sb-operators .sb-operator:first-child {
    border-color: var(--sb-color-accent, #2563eb);
    box-shadow: 0 0 0 1px var(--sb-color-accent, #2563eb) inset;
}
.sb-site .sb-operators .sb-operator-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sb-color-accent, #2563eb);
    color: var(--sb-color-bg, #fff);
    font-family: var(--sb-font-heading, inherit);
    font-size: 1.15em;
    font-weight: 800;
    line-height: 1;
}
.sb-site .sb-operators .sb-operator-name {
    margin: 2px 0 10px;
    font-family: var(--sb-font-heading, inherit);
    font-size: 1.15em;
    line-height: 1.3;
}
.sb-site .sb-operators .sb-operator-name strong { color: var(--sb-color-text, inherit); }
.sb-site .sb-operators .sb-operator-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
    padding: 0;
}
.sb-site .sb-operators .sb-operator-fact {
    display: inline-block;
    max-width: 100%;
    margin: 0;
    padding: 5px 12px;
    border: 1px solid var(--sb-color-border, #e5e7eb);
    border-radius: 14px;
    background: var(--sb-color-bg, #fff);
    font-size: .86em;
    line-height: 1.4;
}
.sb-site .sb-operators .sb-operator-fact dt {
    display: inline;
    margin: 0;
    color: var(--sb-color-muted, #6b7280);
    font-weight: 600;
}
.sb-site .sb-operators .sb-operator-fact dt::after { content: ": "; }
.sb-site .sb-operators .sb-operator-fact dd { display: inline; margin: 0; color: var(--sb-color-text, inherit); }
.sb-site .sb-operators .sb-operator-desc {
    margin: 0;
    color: var(--sb-color-muted, #6b7280);
    font-size: .95em;
    line-height: 1.55;
}
@media (max-width: 560px) {
    .sb-site .sb-operators .sb-operator { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
    .sb-site .sb-operators .sb-operator-rank { width: 36px; height: 36px; font-size: 1em; }
}


/* ===== Heroes variant: glass ===== */
/* Hero variant: glass — blurred full-width image, frosted card in the centre. */
html body.sb-site { overflow-x: clip; }
.sb-site .sb-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    min-height: 480px;
    margin: 0 calc(50% - 50vw) 40px;
    padding: 48px 20px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--sb-color-accent, #2563eb), var(--sb-color-link, #7c3aed));
}
.sb-site .sb-hero .sb-hero-media { position: absolute; inset: -24px; }
.sb-site .sb-hero .sb-hero-media img {
    width: 100%; height: 100%; max-height: none;
    object-fit: cover; margin: 0; border-radius: 0;
    filter: blur(6px) saturate(1.1);
    transform: scale(1.06);
}
.sb-site .sb-hero .sb-hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: rgba(10, 14, 30, .38);
}
.sb-site .sb-hero .sb-hero-inner {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0;
    padding: 0;
}
.sb-site .sb-hero .sb-hero-card {
    padding: 36px 34px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 20px;
    background: rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55);
}
.sb-site .sb-hero .sb-hero-label {
    margin: 0 0 12px;
    font-size: .76em;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
}
.sb-site .sb-hero .sb-hero-title {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    color: #fff;
    font-size: clamp(1.9em, 4.2vw, 3.1em);
    line-height: 1.15;
    text-transform: none;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.sb-site .sb-hero .sb-hero-title::before,
.sb-site .sb-hero .sb-hero-title::after { content: none; display: none; }
.sb-site .sb-hero .sb-hero-title { font-size: clamp(1.8em, 3.8vw, 2.8em); }
.sb-site .sb-hero .sb-hero-subtitle {
    margin: 0 0 20px;
    font-size: 1.1em;
    line-height: 1.55;
    color: rgba(255, 255, 255, .92);
}
.sb-site .sb-hero .sb-hero-fact {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: rgba(0, 0, 0, .22);
}
.sb-site .sb-hero .sb-hero-fact-label {
    font-size: .74em; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: rgba(255, 255, 255, .75);
}
.sb-site .sb-hero .sb-hero-fact-text { color: #fff; line-height: 1.45; }
@media (max-width: 640px) {
    .sb-site .sb-hero { min-height: 420px; padding: 32px 14px; }
    .sb-site .sb-hero .sb-hero-card { padding: 24px 20px; border-radius: 16px; }
}

