/*
Theme Name: Site Builder Generated Theme
Description: Сгенерирована плагином Site Builder. Шапка: liquid-notch, футер: columns, стиль: graphite-mono, рейтинг: rows, hero: split.
Version: 1.6.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; }
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: 32px 20px;
    max-width: var(--sb-content-max-width, 920px);
    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; }
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 ===== */

/* Graphite Mono — тёмная монохромная схема, единственный янтарный акцент */
:root {
    --sb-color-bg:              #171717;    /* graphite */
    --sb-color-bg-alt:          #212121;    /* lighter graphite */
    --sb-color-text:            #ededed;    /* near-white */
    --sb-color-muted:           #8a8a8a;    /* neutral gray */
    --sb-color-link:            #f59e0b;    /* amber */
    --sb-color-link-hover:      #fbbf24;    /* brighter amber */
    --sb-color-border:          #2e2e2e;    /* subtle separator */
    --sb-color-accent:          #ededed;    /* white accent */

    --sb-font-body:             -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
    --sb-font-heading:          -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
    --sb-font-size:             16px;
    --sb-line-height:           1.65;
    --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: 700;
    letter-spacing: -0.015em;
}
body.sb-site a {
    color: var(--sb-color-link);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}
body.sb-site a:hover {
    color: var(--sb-color-link-hover);
    border-bottom-color: currentColor;
}
body.sb-site strong { color: var(--sb-color-accent); }
body.sb-site blockquote {
    border-left: 3px solid var(--sb-color-link);
    padding: 12px 20px;
    background: var(--sb-color-bg-alt);
    border-radius: 0 6px 6px 0;
    color: var(--sb-color-muted);
}
body.sb-site code {
    background: var(--sb-color-bg-alt);
    color: var(--sb-color-link);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--sb-color-border);
    font-size: 0.9em;
    font-family: ui-monospace, 'SF Mono', Monaco, monospace;
}


/* ===== Header variant: liquid-notch ===== */
/* ==========================================================================
   1. Base & Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--sb-font-body, system-ui, sans-serif);
  background-color: var(--sb-color-bg);
  color: var(--sb-color-text);
  font-size: var(--sb-font-size, 16px);
  line-height: var(--sb-line-height, 1.8);
}

body.sb-lock-scroll {
  overflow: hidden;
}

[id] {
  scroll-margin-top: 96px;
}

/* ==========================================================================
   2. Header Drop Container & Liquid Notch Effect
   ========================================================================== */
.sb-header-drop {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 1340px);
  z-index: 1000;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

/* Скрытие при скролле вниз */
.sb-header-drop.is-hidden {
  transform: translate(-50%, -120%);
}

/* Форма плавающей капли */
.sb-header-drop-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  background-color: color-mix(in srgb, var(--sb-color-bg-alt) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0 0 24px 24px;
  box-shadow:
    0 16px 32px -8px rgba(0, 0, 0, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    padding 0.3s ease;
}

/* Индикатор прогресса скролла по нижнему краю */
.sb-header-drop::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--sb-color-link),
    var(--sb-color-accent)
  );
  transform: scaleX(var(--sb-scroll-progress, 0));
  transform-origin: left center;
  pointer-events: none;
  z-index: 2;
}

/* Вогнутые верхние углы капли (Liquid Notch Ears) */
.sb-header-drop-inner::before,
.sb-header-drop-inner::after {
  content: "";
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.sb-header-drop-inner::before {
  left: -20px;
  background: radial-gradient(
    circle at 0 100%,
    transparent 20px,
    var(--sb-color-bg-alt) 20.5px
  );
}

.sb-header-drop-inner::after {
  right: -20px;
  background: radial-gradient(
    circle at 100% 100%,
    transparent 20px,
    var(--sb-color-bg-alt) 20.5px
  );
}

/* ==========================================================================
   3. Brand & Logo
   ========================================================================== */
.sb-drop-brand {
  display: flex;
  align-items: center;
  margin-right: 16px;
}

.sb-logo {
  font-family: var(--sb-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sb-color-text);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
}

.sb-logo-accent {
  color: var(--sb-color-link);
}

/* Декоративная акцентная точка у логотипа */
.sb-logo::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 5px;
  border-radius: 50% 50% 50% 0;
  background: var(--sb-color-accent);
  transform: rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sb-logo:hover::after {
  transform: rotate(45deg) translateY(-3px) scale(1.25);
}

.custom-logo {
  max-width: 5rem;
  height: auto;
}

/* ==========================================================================
   4. Desktop Navigation
   ========================================================================== */
.sb-nav-desktop {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.sb-nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sb-nav-item {
  position: relative;
}

/* Мега-меню позиционируется относительно общего контейнера капли */
.sb-nav-item.sb-has-megamenu {
  position: static;
}

.sb-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sb-color-text);
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid transparent;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.sb-nav-link:hover {
  color: var(--sb-color-link);
  background-color: color-mix(in srgb, var(--sb-color-border) 35%, transparent);
}

/* Активный пункт меню */
.sb-nav-item.current-menu-item > .sb-nav-link,
.sb-nav-item.is-active > .sb-nav-link,
.sb-nav-link[aria-current="page"] {
  color: var(--sb-color-link);
  background-color: color-mix(
    in srgb,
    var(--sb-color-link) 10%,
    var(--sb-color-bg-alt)
  );
  border-color: color-mix(
    in srgb,
    var(--sb-color-link) 25%,
    var(--sb-color-border)
  );
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.sb-chevron {
  font-size: 0.8em;
  transition: transform 0.25s ease;
}

.sb-has-megamenu:hover .sb-chevron,
.sb-has-megamenu:focus-within .sb-chevron {
  transform: rotate(180deg);
}

/* ==========================================================================
   5. Megamenu
   ========================================================================== */
.sb-megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  padding-top: 12px; /* Невидимый мост для курсора */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.sb-has-megamenu:hover .sb-megamenu,
.sb-has-megamenu:focus-within .sb-megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.sb-megamenu-inner {
  background: color-mix(in srgb, var(--sb-color-bg-alt) 96%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--sb-color-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

.sb-megamenu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 240px;
  gap: 28px;
}

.sb-megamenu-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sb-color-muted);
  margin-bottom: 14px;
}

.sb-megamenu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb-megamenu-list li {
  opacity: 0;
  transform: translateY(-6px);
}

/* Поочередное появление пунктов */
.sb-has-megamenu:hover .sb-megamenu-list li,
.sb-has-megamenu:focus-within .sb-megamenu-list li {
  animation: sb-drop-item-in 0.3s ease forwards;
}

.sb-has-megamenu:hover .sb-megamenu-list li:nth-child(1),
.sb-has-megamenu:focus-within .sb-megamenu-list li:nth-child(1) {
  animation-delay: 0.06s;
}
.sb-has-megamenu:hover .sb-megamenu-list li:nth-child(2),
.sb-has-megamenu:focus-within .sb-megamenu-list li:nth-child(2) {
  animation-delay: 0.12s;
}
.sb-has-megamenu:hover .sb-megamenu-list li:nth-child(3),
.sb-has-megamenu:focus-within .sb-megamenu-list li:nth-child(3) {
  animation-delay: 0.18s;
}
.sb-has-megamenu:hover .sb-megamenu-list li:nth-child(4),
.sb-has-megamenu:focus-within .sb-megamenu-list li:nth-child(4) {
  animation-delay: 0.24s;
}

.sb-megamenu-list a {
  font-size: 0.88rem;
  color: var(--sb-color-text);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.sb-megamenu-list a:hover {
  color: var(--sb-color-link);
  transform: translateX(4px);
}

/* Промо-карточка внутри мега-меню */
.sb-megamenu-card {
  background: var(--sb-color-bg);
  border: 1px solid var(--sb-color-border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.sb-megamenu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px
    color-mix(in srgb, var(--sb-color-text) 15%, transparent);
}

.sb-badge {
  background: var(--sb-color-accent);
  color: var(--sb-color-text);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  margin-bottom: 10px;
  animation: sb-drop-badge-pulse 2.4s ease-in-out infinite;
}

.sb-megamenu-card h4 {
  margin: 0 0 6px 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.sb-megamenu-card p {
  margin: 0 0 14px 0;
  font-size: 0.8rem;
  color: var(--sb-color-muted);
  line-height: 1.4;
}

/* ==========================================================================
   6. Buttons & Call to Actions
   ========================================================================== */
.sb-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sb-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: var(--sb-color-text);
  color: var(--sb-color-bg);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.sb-btn-primary:hover {
  background: var(--sb-color-link);
  color: #ffffff;
}

.sb-btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: var(--sb-color-accent);
  color: var(--sb-color-text);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity 0.2s ease;
}

.sb-btn-accent:hover {
  opacity: 0.85;
}

.sb-btn-full {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

/* ==========================================================================
   7. Mobile Burger & Drawer
   ========================================================================== */
.sb-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 38px;
  height: 38px;
  padding: 10px 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.sb-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--sb-color-text);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.sb-burger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.sb-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.sb-burger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Выдвижная мобильная панель */
.sb-mobile-drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: var(--sb-color-bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease,
    visibility 0.3s ease;
  padding: calc(90px + env(safe-area-inset-top, 0px)) 24px
    calc(32px + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}

.sb-mobile-drawer.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sb-mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow-y: auto;
}

.sb-mobile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.sb-mobile-list > li {
  opacity: 0;
  transform: translateY(-10px);
}

.sb-mobile-drawer.is-active .sb-mobile-list > li {
  animation: sb-drop-item-in 0.4s ease forwards;
}

.sb-mobile-drawer.is-active .sb-mobile-list > li:nth-child(1) {
  animation-delay: 0.12s;
}
.sb-mobile-drawer.is-active .sb-mobile-list > li:nth-child(2) {
  animation-delay: 0.18s;
}
.sb-mobile-drawer.is-active .sb-mobile-list > li:nth-child(3) {
  animation-delay: 0.24s;
}
.sb-mobile-drawer.is-active .sb-mobile-list > li:nth-child(4) {
  animation-delay: 0.3s;
}
.sb-mobile-drawer.is-active .sb-mobile-list > li:nth-child(5) {
  animation-delay: 0.36s;
}

.sb-mobile-list a {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sb-color-text);
  text-decoration: none;
  white-space: normal;
  word-wrap: break-word;
}

.sb-mobile-list > li.current-menu-item > a,
.sb-mobile-list a[aria-current="page"] {
  color: var(--sb-color-link);
}

/* Мобильные аккордеоны */
.sb-mobile-group-header,
.sb-mobile-toggle-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 0;
  gap: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sb-color-text);
  text-align: left;
}

.sb-mobile-link {
  white-space: normal;
  word-wrap: break-word;
  min-width: 0;
}

.sb-mobile-toggle,
.sb-mobile-toggle-full::after {
  flex-shrink: 0;
  margin-left: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sb-color-text);
}

.sb-mobile-toggle::after,
.sb-mobile-toggle-full::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.sb-mobile-dropdown.is-open .sb-mobile-toggle::after,
.sb-mobile-dropdown.is-open .sb-mobile-toggle-full::after {
  transform: rotate(225deg);
}

.sb-mobile-sublist {
  list-style: none;
  padding-left: 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
}

.sb-mobile-dropdown.is-open .sb-mobile-sublist {
  max-height: 500px;
  opacity: 1;
  padding-top: 8px;
  padding-bottom: 8px;
}

.sb-mobile-sublist a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--sb-color-muted);
}

/* ==========================================================================
   8. Media Queries
   ========================================================================== */
@media (max-width: 991px) {
  .sb-header-drop {
    width: calc(100% - 24px);
  }

  .sb-nav-desktop,
  .sb-header-actions .sb-btn-primary {
    display: none;
  }

  .sb-burger {
    display: flex;
  }
}

@media (min-width: 992px) {
  .sb-burger {
    display: none;
  }
}

/* ==========================================================================
   9. Animations & Accessibility
   ========================================================================== */
@keyframes sb-drop-item-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sb-drop-badge-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0
      color-mix(in srgb, var(--sb-color-accent) 45%, transparent);
  }
  50% {
    box-shadow: 0 0 0 6px transparent;
  }
}

/* Accessibility Focus States */
.sb-logo:focus-visible,
.sb-nav-link:focus-visible,
.sb-megamenu-list a:focus-visible,
.sb-btn-accent:focus-visible,
.sb-btn-primary:focus-visible,
.sb-burger:focus-visible,
.sb-mobile-list a:focus-visible {
  outline: 2px solid var(--sb-color-link);
  outline-offset: 3px;
  border-radius: 8px;
}

.sb-header-drop ::selection,
.sb-mobile-drawer ::selection {
  background: var(--sb-color-accent);
  color: var(--sb-color-text);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.sb-content {
  margin-top: 80px;
}


/* ===== Footer variant: columns ===== */
/* columns — Колонки */
.sb-footer-columns { background: var(--sb-color-bg-alt, #f8f9fa); border-top: 1px solid var(--sb-color-border, #e5e7eb); padding: 40px 20px 20px; color: var(--sb-color-text); margin-top: 40px; } .sb-footer-columns .sb-footer-inner { max-width: var(--sb-content-max-width, 920px); margin: 0 auto; } .sb-footer-columns .sb-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 28px; } .sb-footer-columns .sb-footer-col { font-size: 0.9em; } .sb-footer-columns .sb-footer-heading { margin: 0 0 12px; font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sb-color-muted, #6b7280); font-weight: 600; } .sb-footer-columns .sb-footer-brand img { max-height: 40px; width: auto; margin-bottom: 8px; } .sb-footer-columns .sb-footer-brand-text { font-weight: 700; font-size: 1.1em; color: var(--sb-color-text); } .sb-footer-columns .sb-footer-tagline { margin: 6px 0 0; color: var(--sb-color-muted); font-size: 0.92em; line-height: 1.55; } .sb-footer-columns .sb-menu, .sb-footer-columns .sb-footer-info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; } .sb-footer-columns .sb-menu a, .sb-footer-columns .sb-footer-info-list a { color: var(--sb-color-text); text-decoration: none; } .sb-footer-columns .sb-menu a:hover, .sb-footer-columns .sb-footer-info-list a:hover { color: var(--sb-color-link); text-decoration: underline; } .sb-footer-columns .sb-footer-copyright { padding-top: 18px; border-top: 1px solid var(--sb-color-border, #e5e7eb); color: var(--sb-color-muted, #6b7280); font-size: 0.85em; text-align: center; } @media (max-width: 700px) { .sb-footer-columns .sb-footer-grid { grid-template-columns: 1fr; gap: 24px; } }


/* ===== Operators variant: rows ===== */
/* Operators variant: rows — dense table-like list with zebra stripes. */
.sb-site .sb-operators .sb-operators-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--sb-color-border, #e5e7eb);
    border-radius: 8px;
    overflow: hidden;
}
.sb-site .sb-operators .sb-operator {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    margin: 0;
    padding: 14px 18px;
    border-bottom: 1px solid var(--sb-color-border, #e5e7eb);
    background: var(--sb-color-bg, #fff);
}
.sb-site .sb-operators .sb-operator:nth-child(even) { background: var(--sb-color-bg-alt, #f8fafc); }
.sb-site .sb-operators .sb-operator:last-child { border-bottom: 0; }
.sb-site .sb-operators .sb-operator-rank {
    font-family: var(--sb-font-heading, inherit);
    font-size: 1.9em;
    font-weight: 800;
    line-height: 1;
    color: var(--sb-color-accent, #2563eb);
    text-align: center;
    padding-top: 2px;
}
.sb-site .sb-operators .sb-operator-name {
    margin: 0 0 8px;
    font-family: var(--sb-font-heading, inherit);
    font-size: 1.08em;
    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: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px 16px;
    margin: 0 0 8px;
    padding: 0;
}
.sb-site .sb-operators .sb-operator-fact { display: block; margin: 0; }
.sb-site .sb-operators .sb-operator-fact dt {
    display: block;
    margin: 0 0 2px;
    font-size: .72em;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--sb-color-muted, #6b7280);
}
.sb-site .sb-operators .sb-operator-fact dt::after { content: none; }
.sb-site .sb-operators .sb-operator-fact dd {
    display: block;
    margin: 0;
    font-size: .92em;
    line-height: 1.4;
    color: var(--sb-color-text, inherit);
}
.sb-site .sb-operators .sb-operator-desc {
    margin: 0;
    font-size: .9em;
    line-height: 1.5;
    color: var(--sb-color-muted, #6b7280);
}
@media (max-width: 560px) {
    .sb-site .sb-operators .sb-operator { grid-template-columns: 36px 1fr; gap: 10px; padding: 12px 14px; }
    .sb-site .sb-operators .sb-operator-rank { font-size: 1.4em; }
}


/* ===== Heroes variant: split ===== */
/* Hero variant: split — text left, image right; colours follow the style. */
.sb-site .sb-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 36px;
    margin: 0 0 40px;
    padding: 8px 0 28px;
    border-bottom: 1px solid var(--sb-color-border, #e5e7eb);
}
.sb-site .sb-hero .sb-hero-media { order: 2; }
.sb-site .sb-hero .sb-hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: none;
    object-fit: cover;
    margin: 0;
    border-radius: 16px;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45);
}
.sb-site .sb-hero .sb-hero-inner { order: 1; max-width: none; margin: 0; padding: 0; }
.sb-site .sb-hero.sb-hero-noimg { grid-template-columns: minmax(0, 1fr); }
.sb-site .sb-hero .sb-hero-label {
    margin: 0 0 12px;
    font-size: .76em;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sb-color-accent, #2563eb);
}
.sb-site .sb-hero .sb-hero-title { margin: 0 0 14px; line-height: 1.15; }
.sb-site .sb-hero .sb-hero-subtitle {
    margin: 0 0 20px;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--sb-color-muted, inherit);
}
.sb-site .sb-hero .sb-hero-fact {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 16px;
    border-left: 4px solid var(--sb-color-accent, #2563eb);
    border-radius: 0 10px 10px 0;
    background: var(--sb-color-bg-alt, #f8fafc);
}
.sb-site .sb-hero .sb-hero-fact-label {
    font-size: .74em; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: var(--sb-color-muted, #6b7280);
}
.sb-site .sb-hero .sb-hero-fact-text { color: var(--sb-color-text, inherit); line-height: 1.45; }
@media (max-width: 760px) {
    .sb-site .sb-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .sb-site .sb-hero .sb-hero-media { order: 0; }
}

