/*
Theme Name: Site Builder Generated Theme
Description: Сгенерирована плагином Site Builder. Шапка: sticky-slim, футер: wave-gradient, стиль: velvet-royal, рейтинг: cards, hero: overlay-center.
Version: 1.9.1
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 ===== */

/* templates/theme/styles/velvet-royale.css */

:root {
  /* Основные цвета: бархат, шампань, королевское золото, неоновый аметист */
  --sb-color-bg: #150a21;
  --sb-color-bg-alt: #261337;
  --sb-color-text: #f2e9dc;
  --sb-color-muted: #a795bb;
  --sb-color-link: #e3bd66;
  --sb-color-link-hover: #f6d992;
  --sb-color-border: #3d2459;
  --sb-color-accent: #a855f7;

  /* Типографика: серифные «дорогие» заголовки + чистый гротеск в тексте */
  --sb-font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
  --sb-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --sb-font-size: 16px;
  --sb-line-height: 1.7;

  /* Лейаут */
  --sb-content-max-width: 920px;

  /* Эффекты (золотое и аметистовое свечение) */
  --sb-shadow-neon: 0 0 20px
    color-mix(in srgb, var(--sb-color-link) 28%, transparent);
  --sb-shadow-neon-alt: 0 0 20px
    color-mix(in srgb, var(--sb-color-accent) 35%, transparent);
  --sb-glow-text: 0 0 12px
    color-mix(in srgb, var(--sb-color-link) 40%, transparent);
}

body.sb-site {
  background:
    radial-gradient(
      1000px 560px at 88% -12%,
      color-mix(in srgb, var(--sb-color-accent) 10%, transparent),
      transparent 62%
    ),
    radial-gradient(
      860px 520px at -12% 40%,
      color-mix(in srgb, var(--sb-color-link) 6%, transparent),
      transparent 60%
    ),
    linear-gradient(160deg, var(--sb-color-bg) 0%, var(--sb-color-bg-alt) 100%);
  background-attachment: fixed;
  color: var(--sb-color-text);
  font-family: var(--sb-font-body);
  font-size: var(--sb-font-size);
  line-height: var(--sb-line-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Типографика
   ========================================================================== */
body.sb-site h1,
body.sb-site h2,
body.sb-site h3,
body.sb-site h4,
body.sb-site h5,
body.sb-site h6 {
  color: var(--sb-color-text);
  font-family: var(--sb-font-heading);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 0 14px
    color-mix(in srgb, var(--sb-color-link) 22%, transparent);
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* H1 — золотой градиент с мягким свечением */
body.sb-site h1 {
  color: var(--sb-color-link-hover);
  background: linear-gradient(
    100deg,
    var(--sb-color-link-hover) 10%,
    var(--sb-color-link) 45%,
    var(--sb-color-accent) 90%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(
    0 0 10px color-mix(in srgb, var(--sb-color-link) 30%, transparent)
  );
}

body.sb-site p {
  color: var(--sb-color-text);
}

/* Ссылки: золото + растущее подчёркивание + glow при hover */
body.sb-site a {
  color: var(--sb-color-link);
  text-decoration: none;
  background-image: linear-gradient(
    var(--sb-color-accent),
    var(--sb-color-accent)
  );
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition:
    color 0.25s ease,
    background-size 0.3s ease,
    text-shadow 0.25s ease;
}

body.sb-site a:hover {
  color: var(--sb-color-link-hover);
  background-size: 100% 1px;
  text-shadow: var(--sb-glow-text);
}

body.sb-site strong,
body.sb-site b {
  font-weight: 700;
  color: var(--sb-color-link);
}

body.sb-site em,
body.sb-site i {
  font-style: italic;
  color: var(--sb-color-accent);
}

body.sb-site code {
  background: var(--sb-color-bg-alt);
  color: var(--sb-color-link-hover);
  border: 1px solid var(--sb-color-border);
  box-shadow: 0 0 10px color-mix(in srgb, var(--sb-color-link) 15%, transparent);
}

body.sb-site pre {
  background: var(--sb-color-bg-alt);
  border: 1px solid var(--sb-color-border);
  border-left: 3px solid var(--sb-color-link);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--sb-color-bg) 70%, transparent);
}

body.sb-site pre code {
  background: none;
  color: var(--sb-color-text);
  border: none;
  box-shadow: none;
}

body.sb-site blockquote {
  border-left: 4px solid var(--sb-color-accent);
  color: var(--sb-color-muted);
  box-shadow: -4px 0 12px
    color-mix(in srgb, var(--sb-color-accent) 25%, transparent);
}

body.sb-site li {
  color: var(--sb-color-text);
}

body.sb-site li::marker {
  color: var(--sb-color-link);
}

/* Картинки: стеклянно-золотая рамка, лёгкий lift при hover */
body.sb-site img {
  border: 1px solid var(--sb-color-border);
  box-shadow: 0 8px 32px color-mix(in srgb, var(--sb-color-bg) 75%, transparent);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

body.sb-site img:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 48px
    color-mix(in srgb, var(--sb-color-link) 25%, transparent);
}

/* HR — золотая нить с медленным shimmer */
body.sb-site hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--sb-color-link) 35%,
    var(--sb-color-accent) 50%,
    var(--sb-color-link) 65%,
    transparent 100%
  );
  background-size: 200% auto;
  box-shadow: 0 0 10px color-mix(in srgb, var(--sb-color-link) 35%, transparent);
  animation: sb-royal-shimmer 7s linear infinite;
}

/* ==========================================================================
   Таблицы
   ========================================================================== */
body.sb-site table {
  border: 1px solid var(--sb-color-border);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--sb-color-bg) 65%, transparent);
}

body.sb-site th,
body.sb-site td {
  border-bottom: 1px solid var(--sb-color-border);
}

body.sb-site th {
  color: var(--sb-color-bg);
  background: linear-gradient(
    135deg,
    var(--sb-color-link),
    var(--sb-color-link-hover)
  );
}

body.sb-site tr:last-child td {
  border-bottom: none;
}

body.sb-site tr:nth-child(even) {
  background: color-mix(in srgb, var(--sb-color-bg-alt) 45%, transparent);
}

body.sb-site tr:hover {
  background: color-mix(in srgb, var(--sb-color-link) 6%, transparent);
}

/* ==========================================================================
   Формы и кнопки
   ========================================================================== */
body.sb-site button,
body.sb-site input[type="submit"],
body.sb-site input[type="button"] {
  color: var(--sb-color-bg);
  background: linear-gradient(
    135deg,
    var(--sb-color-link),
    var(--sb-color-link-hover)
  );
  box-shadow: var(--sb-shadow-neon);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

body.sb-site button:hover,
body.sb-site input[type="submit"]:hover,
body.sb-site input[type="button"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px color-mix(in srgb, var(--sb-color-link) 50%, transparent);
}

body.sb-site input[type="text"],
body.sb-site input[type="email"],
body.sb-site input[type="search"],
body.sb-site textarea {
  background: var(--sb-color-bg-alt);
  border: 2px solid var(--sb-color-border);
  color: var(--sb-color-text);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

body.sb-site input[type="text"]:focus,
body.sb-site input[type="email"]:focus,
body.sb-site input[type="search"]:focus,
body.sb-site textarea:focus {
  border-color: var(--sb-color-link);
  box-shadow: var(--sb-shadow-neon);
  background: var(--sb-color-bg);
}

/* ==========================================================================
   SVG исправления
   ========================================================================== */
body.sb-site svg {
  fill: currentColor !important;
  color: inherit !important;
}

body.sb-site svg path {
  fill: currentColor !important;
}

body.sb-site button svg,
body.sb-site a svg {
  vertical-align: middle;
  flex-shrink: 0;
}

body.sb-site button svg {
  fill: currentColor !important;
  color: var(--sb-color-bg) !important;
}

/* ==========================================================================
   Совместимость с хедером Deco Royale
   ========================================================================== */
body.sb-site .sb-header-deco {
  background: color-mix(in srgb, var(--sb-color-bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    0 10px 30px color-mix(in srgb, var(--sb-color-bg) 80%, transparent),
    0 0 24px color-mix(in srgb, var(--sb-color-link) 14%, transparent);
}

/* Золотая нить с shimmer */
body.sb-site .sb-header-deco::before {
  background: linear-gradient(
    90deg,
    transparent,
    var(--sb-color-link) 30%,
    var(--sb-color-accent) 50%,
    var(--sb-color-link) 70%,
    transparent
  );
  background-size: 200% auto;
  animation: sb-royal-shimmer 7s linear infinite;
}

body.sb-site .sb-brand-accent {
  filter: drop-shadow(
    0 0 6px color-mix(in srgb, var(--sb-color-link) 45%, transparent)
  );
}

body.sb-site .sb-menu-deco > li:hover > a,
body.sb-site .sb-menu-deco > li > a:focus-visible {
  box-shadow: var(--sb-shadow-neon);
}

/* ==========================================================================
   Совместимость с футером Volt Folio
   ========================================================================== */
body.sb-site .sb-footer-min {
  box-shadow:
    0 -12px 40px -18px color-mix(in srgb, var(--sb-color-bg) 80%, transparent),
    0 0 24px color-mix(in srgb, var(--sb-color-link) 10%, transparent);
}

body.sb-site .sb-footer-min::before {
  background: linear-gradient(
    90deg,
    var(--sb-color-link),
    var(--sb-color-accent),
    var(--sb-color-link)
  );
}

/* ==========================================================================
   Back to top button
   ========================================================================== */
body.sb-site .sb-back-to-top {
  position: fixed;
  right: 35px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 12px;
  color: var(--sb-color-bg);
  background: linear-gradient(
    135deg,
    var(--sb-color-link),
    var(--sb-color-link-hover)
  );
  font-size: 24px;
  line-height: 1;
  box-shadow: var(--sb-shadow-neon);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(20px);
}

body.sb-site .sb-back-to-top.sb-btt-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.sb-site .sb-back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px color-mix(in srgb, var(--sb-color-link) 60%, transparent);
}

/* ==========================================================================
   Анимации
   ========================================================================== */
@keyframes sb-royal-shimmer {
  to {
    background-position: 200% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 768px) {
  body.sb-site h1 {
    font-size: 36px;
  }

  body.sb-site h2 {
    font-size: 28px;
  }

  body.sb-site .sb-back-to-top {
    right: 36px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

@media (max-width: 481px) {
  body.sb-site .sb-back-to-top {
    right: 18px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

.sb-site-content {
  padding: 30px 20px !important;
}


/* ===== Header variant: sticky-slim ===== */
/* =========================================================
   Sticky Slim
   Тонкая липкая шапка с многоуровневым dropdown
   ========================================================= */

.sb-header-slim {
  position: sticky;
  top: 0;
  z-index: 100;

  background: var(--sb-color-bg, #fff);
  border-bottom: 1px solid var(--sb-color-border, #e5e7eb);

  transition: box-shadow 0.2s;
}

.sb-header-slim.sb-slim-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.sb-header-slim-inner {
  max-width: 1400px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 8px 20px;
  height: 48px;
}

.sb-header-slim-brand {
  margin: 0;

  font-size: 1em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

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

.sb-header-slim-brand img {
  max-height: 32px;
  width: auto;
  display: block;
}

/* =========================================================
   Nav
   ========================================================= */

.sb-header-slim-nav {
  position: relative;
}

.sb-header-slim-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  gap: 4px;
}

.sb-header-slim-nav li {
  position: relative;
}

.sb-header-slim-nav a {
  display: block;

  padding: 8px 12px;

  color: var(--sb-color-text, #111);
  text-decoration: none;

  font-size: 0.9em;
  font-weight: 500;

  border-radius: 4px;

  transition:
    background 0.15s,
    color 0.15s;
}

.sb-header-slim-nav a:hover,
.sb-header-slim-nav a:focus-visible,
.sb-header-slim-nav .current-menu-item > a {
  color: var(--sb-color-link, #2563eb);
  background: var(--sb-color-bg-alt, #f9fafb);
}

/* =========================================================
   Dropdowns
   ========================================================= */

.sb-header-slim-nav .sub-menu {
  position: absolute;

  /*
     * JS может менять это значение, если меню
     * выходит за границы viewport.
     */
  left: var(--sb-submenu-left, 0);
  top: 100%;

  min-width: 200px;

  background: var(--sb-color-bg, #fff);

  border: 1px solid var(--sb-color-border, #e5e7eb);
  border-radius: 6px;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);

  padding: 6px;

  list-style: none;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 2px;

  z-index: 100;

  /*
     * Начальное состояние.
     */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(-4px);

  /*
     * При закрытии небольшая задержка.
     */
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0s linear 0.15s;
}

/*
 * Открытие первого и второго уровня.
 */
.sb-header-slim-nav li:hover > .sub-menu,
.sb-header-slim-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateY(0);

  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0s linear 0s;
}

/* =========================================================
   Hover bridge
   ========================================================= */

/*
 * Невидимая область между пунктом и вертикальным dropdown.
 * Она позволяет спокойно перевести курсор вниз.
 */
.sb-header-slim-nav > ul > li.menu-item-has-children::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  top: 100%;

  height: 8px;

  display: block;
}

/*
 * Для третьего уровня меню находится справа.
 *
 * Невидимая область закрывает небольшой gap между
 * двумя меню.
 */
.sb-header-slim-nav .sub-menu > li.menu-item-has-children::after {
  content: "";

  position: absolute;

  top: 0;
  right: -8px;

  width: 8px;
  height: 100%;

  display: block;
}

/* =========================================================
   2nd / 3rd level positioning
   ========================================================= */

.sb-header-slim-nav .sub-menu .sub-menu {
  top: 0;

  /*
     * По умолчанию третий уровень появляется справа.
     * JS может изменить left при необходимости.
     */
  left: calc(100% + 4px);

  margin-left: 0;

  transform: translateX(-4px);
  transform-origin: top left;
}

.sb-header-slim-nav .sub-menu > li:hover > .sub-menu,
.sb-header-slim-nav .sub-menu > li:focus-within > .sub-menu {
  transform: translateX(0);
}

/* =========================================================
   Links inside dropdown
   ========================================================= */

.sb-header-slim-nav .sub-menu a {
  padding: 6px 10px;

  font-size: 0.88em;
  white-space: nowrap;
}

/* =========================================================
   Chevron
   ========================================================= */

.sb-header-slim-nav .menu-item-has-children > a::after {
  content: "▾";

  display: inline-block;

  margin-left: 4px;

  font-size: 0.7em;
  opacity: 0.6;
}

.sb-header-slim-nav .sub-menu .menu-item-has-children > a::after {
  content: "▸";

  float: right;

  margin-left: 8px;
}

/* =========================================================
   Burger
   ========================================================= */

.sb-header-slim-burger {
  display: none;

  background: transparent;
  border: none;

  padding: 8px;
  cursor: pointer;

  flex-direction: column;
  gap: 4px;

  width: 32px;
  height: 32px;

  justify-content: center;
  align-items: center;
}

.sb-header-slim-burger span {
  display: block;

  width: 18px;
  height: 2px;

  background: var(--sb-color-text, #111);

  transition:
    transform 0.2s,
    opacity 0.2s;
}

.sb-header-slim-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.sb-header-slim-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 800px) {
  .sb-header-slim-burger {
    display: flex;
  }

  .sb-header-slim-nav {
    display: none;

    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    background: var(--sb-color-bg, #fff);

    border-bottom: 1px solid var(--sb-color-border, #e5e7eb);

    padding: 12px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);

    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }

  .sb-header-slim-nav.sb-slim-open {
    display: block;
  }

  .sb-header-slim-nav > ul {
    flex-direction: column;
    gap: 2px;
  }

  .sb-header-slim-nav li {
    position: static;
  }

  /*
     * На мобильном отключаем desktop-анимацию
     * и позиционирование dropdown.
     */
  .sb-header-slim-nav .sub-menu,
  .sb-header-slim-nav li:hover > .sub-menu,
  .sb-header-slim-nav li:focus-within > .sub-menu {
    position: static;

    display: block;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: none;

    box-shadow: none;
    border: none;

    border-radius: 0;

    padding: 0 0 0 16px;

    min-width: 0;

    transition: none;
  }

  .sb-header-slim-nav .sub-menu .sub-menu {
    margin-left: 0;
    transform: none;
  }

  .sb-header-slim-nav > ul > li.menu-item-has-children::after,
  .sb-header-slim-nav .sub-menu > li.menu-item-has-children::after {
    display: none;
  }

  .sb-header-slim-nav .menu-item-has-children > a::after {
    content: "▾";
    float: right;
  }
}


/* ===== Footer variant: wave-gradient ===== */
/* templates/theme/footers/wave-gradient.css */

.sb-footer-wave-gradient {
    position: relative;
    background: linear-gradient(135deg, var(--sb-color-link, #2563eb) 0%, var(--sb-color-accent, #1e40af) 50%, var(--sb-color-text, #0f172a) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
    margin-top: 120px;
    padding: 0;
    overflow: hidden;
}

.sb-footer-wave-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.sb-footer-wave-gradient-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--sb-color-bg, #fff);
    transform: translateY(-99%);
}

.sb-footer-wave-gradient-wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="currentColor"></path></svg>') repeat-x;
    background-size: 50% 100%;
    animation: wave-move 20s linear infinite;
    color: var(--sb-color-bg, #fff);
}

.sb-footer-wave-gradient-wave::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="currentColor"></path></svg>') repeat-x;
    background-size: 50% 100%;
    animation: wave-move 25s linear infinite reverse;
    opacity: 0.5;
    color: var(--sb-color-bg, #fff);
}

@keyframes wave-move {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.sb-footer-wave-gradient-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 32px;
    color: #fff;
    z-index: 1;
}

.sb-footer-wave-gradient-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    align-items: start;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sb-footer-wave-gradient-brand {
    position: relative;
}

.sb-footer-wave-gradient-brand img {
    max-height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.sb-footer-wave-gradient-logo-text {
    font-size: 32px;
    font-weight: 900;
    font-family: var(--sb-font-heading, sans-serif);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.sb-footer-wave-gradient-tagline {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    max-width: 350px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.sb-footer-wave-gradient-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.sb-footer-wave-gradient-col {
    min-width: 0;
}

.sb-footer-wave-gradient-heading {
    font-size: 16px !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff !important;
    margin: 0 0 24px !important;
    font-family: var(--sb-font-heading, sans-serif);
    position: relative;
    padding-bottom: 12px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    border-bottom: none !important;
}

.sb-footer-wave-gradient-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sb-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sb-footer-menu li {
    margin: 0;
}

.sb-footer-menu a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.sb-footer-menu a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.sb-footer-menu a:hover {
    color: #fff;
    padding-left: 20px;
}

.sb-footer-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
    left: 0;
}

.sb-footer-wave-gradient-bottom {
    padding-top: 32px;
    text-align: center;
}

.sb-footer-wave-gradient-copyright {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 968px) {
    .sb-footer-wave-gradient {
        margin-top: 80px;
    }

    .sb-footer-wave-gradient-inner {
        padding: 60px 20px 24px;
    }

    .sb-footer-wave-gradient-top {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-bottom: 48px;
    }

    .sb-footer-wave-gradient-brand {
        text-align: center;
    }

    .sb-footer-wave-gradient-brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .sb-footer-wave-gradient-tagline {
        max-width: 100%;
    }

    .sb-footer-wave-gradient-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .sb-footer-wave-gradient-heading {
        font-size: 14px;
        margin-bottom: 16px;
    }
}

@media (max-width: 640px) {
    .sb-footer-wave-gradient-columns {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sb-footer-wave-gradient-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .sb-footer-wave-gradient-col {
        text-align: center;
    }

    .sb-footer-menu {
        align-items: center;
    }

    .sb-footer-menu a:hover {
        padding-left: 0;
        padding-right: 20px;
    }

    .sb-footer-menu a:hover::before {
        transform: translateX(0) scaleX(-1);
    }
}

/* ===== 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: overlay-center ===== */
/* Hero variant: overlay-center — full-width image, dark overlay, centred text. */
html body.sb-site { overflow-x: clip; }
.sb-site .sb-hero {
    position: relative;
    display: flex;
    align-items: center;
    width: 100vw;
    min-height: 460px;
    margin: 0 calc(50% - 50vw) 40px;
    overflow: hidden;
    color: #fff;
    background: var(--sb-color-accent, #1e3a8a);
}
.sb-site .sb-hero .sb-hero-media { position: absolute; inset: 0; }
.sb-site .sb-hero .sb-hero-media img {
    width: 100%; height: 100%; max-height: none;
    object-fit: cover; margin: 0; border-radius: 0;
}
.sb-site .sb-hero .sb-hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.62) 100%);
}
.sb-site .sb-hero .sb-hero-inner {
    position: relative;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 56px 24px;
    text-align: center;
}
.sb-site .sb-hero .sb-hero-label {
    display: inline-block;
    margin: 0 0 16px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--sb-color-accent, #2563eb);
    color: var(--sb-color-bg, #fff);
    font-size: .76em;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.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-subtitle {
    margin: 0 auto 22px;
    max-width: 680px;
    font-size: 1.15em;
    line-height: 1.55;
    color: rgba(255, 255, 255, .9);
}
.sb-site .sb-hero .sb-hero-fact {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    max-width: 620px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 10px;
    background: rgba(0, 0, 0, .28);
    text-align: left;
}
.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: 380px; }
    .sb-site .sb-hero .sb-hero-inner { padding: 40px 18px; }
}

