/*
Theme Name: Site Builder Generated Theme
Description: Сгенерирована плагином Site Builder. Шапка: liquid-underline, футер: grid-compass, стиль: soviet-print, рейтинг: grid, hero: glass.
Version: 1.6.5
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 ===== */

/* templates/theme/styles/soviet-print.css */

:root {
    /* Основные цвета */
    --sb-color-bg:              #ede6d3;
    --sb-color-bg-alt:          #ddd0a8;
    --sb-color-text:            #1a1a1a;
    --sb-color-muted:           #4a4340;
    --sb-color-link:            #a41e1e;
    --sb-color-border:          #1a1a1a;
    --sb-color-accent:          #a41e1e;

    /* Типографика */
    --sb-font-body:             'PT Sans', 'Helvetica Neue', Arial, sans-serif;
    --sb-font-heading:          'Oswald', 'Arial Narrow', sans-serif;
    --sb-font-size:             16px;
    --sb-line-height:           1.7;

    /* Лейаут */
    --sb-content-max-width:     920px;
}

body.sb-site {
    background: #ede6d3;
    background-image:
        linear-gradient(rgba(26, 26, 26, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 26, 26, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    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,
body.sb-site h5,
body.sb-site h6 {
    font-family: var(--sb-font-heading);
    color: var(--sb-color-text);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.15;
    position: relative;
    padding-left: 18px;
    border-left: 10px solid var(--sb-color-link);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

body.sb-site h3 {
    padding-left: 0px;
    padding-right: 5px;
}

body.sb-site h1 {
    font-size: 44px;
    margin-top: 0;
}

body.sb-site h2 {
    font-size: 32px;
    margin-bottom: 22px;
}

body.sb-site h3 {
    font-size: 16px;
}

body.sb-site h4 {
    font-size: 18px;
    margin-top: 28px;
}

body.sb-site p {
    color: var(--sb-color-text);
    margin-bottom: 22px;
}

body.sb-site a {
    color: var(--sb-color-link);
    text-decoration: none;
    font-weight: 700;
    background-image: linear-gradient(var(--sb-color-link), var(--sb-color-link));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 2px;
    transition: background-size 0.2s ease;
}

body.sb-site a:hover {
    color: var(--sb-color-text);
}

body.sb-site strong,
body.sb-site b {
    color: var(--sb-color-link);
    font-weight: 700;
    text-transform: uppercase;
}

body.sb-site em,
body.sb-site i {
    color: var(--sb-color-muted);
    font-style: italic;
}

body.sb-site code {
    background: var(--sb-color-bg-alt);
    color: var(--sb-color-link);
    padding: 3px 8px;
    border: 2px solid var(--sb-color-border);
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-weight: 700;
}

body.sb-site pre {
    background: #1a1a1a;
    border: 3px solid var(--sb-color-border);
    border-left: 10px solid var(--sb-color-link);
    padding: 22px;
    overflow-x: auto;
    box-shadow: 6px 6px 0 rgba(164, 30, 30, 0.25);
}

body.sb-site pre code {
    background: none;
    border: none;
    color: #ede6d3;
    padding: 0;
}

body.sb-site blockquote {
    border-left: none;
    background: var(--sb-color-bg-alt);
    color: var(--sb-color-text);
    padding: 24px 28px;
    margin: 32px 0;
    position: relative;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.5;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

body.sb-site blockquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: var(--sb-color-link);
}

body.sb-site ul,
body.sb-site ol {
    margin: 22px 0;
}

body.sb-site li {
    color: var(--sb-color-text);
    margin-bottom: 10px;
}

body.sb-site li::marker {
    color: var(--sb-color-link);
    font-weight: 700;
}

body.sb-site img {
    border: 4px solid var(--sb-color-border);
    box-shadow: 8px 8px 0 var(--sb-color-link);
    filter: contrast(1.15) saturate(0.85);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.sb-site img:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--sb-color-link);
}

/* Исключения для изображений плагина */
body.sb-site .tc-trust-flag,
body.sb-site .tc-s1-col-logo img,
body.sb-site .tc-s1-bn-logo {
    border: none !important;
    box-shadow: none !important;
    filter: none !important;
    transition: none !important;
}

body.sb-site .tc-trust-flag:hover,
body.sb-site .tc-s1-col-logo img:hover,
body.sb-site .tc-s1-bn-logo:hover {
    transform: none !important;
    box-shadow: none !important;
}

body.sb-site hr {
    border: none;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--sb-color-border) 0,
        var(--sb-color-border) 20px,
        var(--sb-color-link) 20px,
        var(--sb-color-link) 40px
    );
    margin: 56px 0;
}

body.sb-site table {
    width: 100%;
    border-collapse: collapse;
    border: 3px solid var(--sb-color-border);
    margin: 30px 0;
    background: var(--sb-color-bg);
}

body.sb-site th,
body.sb-site td {
    padding: 14px 16px;
    text-align: left;
    border: 1px solid var(--sb-color-border);
}

body.sb-site th {
    background: var(--sb-color-link);
    color: var(--sb-color-bg);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

body.sb-site tr:nth-child(even) {
    background: var(--sb-color-bg-alt);
}

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,
body.sb-site input[type="submit"],
body.sb-site input[type="button"] {
    background: var(--sb-color-link);
    color: var(--sb-color-bg);
    border: 3px solid var(--sb-color-border);
    font-family: var(--sb-font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    box-shadow: 5px 5px 0 var(--sb-color-border);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

body.sb-site button svg {
    fill: currentColor !important;
    color: var(--sb-color-bg) !important;
}

body.sb-site .sb-header-split-minimal-toggle,
body.sb-site .sb-header-balanced-center-toggle {
    background: var(--sb-color-link) !important;
    color: #fff !important;
    border: 3px solid var(--sb-color-border) !important;
    box-shadow: 4px 4px 0 rgba(26, 26, 26, 0.5) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body.sb-site button:hover,
body.sb-site input[type="submit"]:hover,
body.sb-site input[type="button"]:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--sb-color-border);
}

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);
    border: 3px solid var(--sb-color-border);
    padding: 12px 16px;
    color: var(--sb-color-text);
    font-family: var(--sb-font-body);
}

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 {
    outline: none;
    border-color: var(--sb-color-link);
    box-shadow: 4px 4px 0 rgba(164, 30, 30, 0.3);
}

/* Header */
body.sb-site .sb-header-balanced-center {
    background: rgba(237, 230, 211, 0.98) !important;
    border-bottom: 4px solid var(--sb-color-border) !important;
    box-shadow: 0 4px 0 var(--sb-color-link) !important;
}

body.sb-site .sb-header-balanced-center-brand a {
    color: var(--sb-color-text) !important;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: none !important;
    background: none !important;
    -webkit-text-fill-color: var(--sb-color-text) !important;
}

body.sb-site .sb-header-balanced-center-nav .sb-menu > li > a {
    color: var(--sb-color-text) !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
}

body.sb-site .sb-header-balanced-center-nav .sb-menu > li > a::before {
    background: var(--sb-color-link) !important;
}

body.sb-site .sb-header-balanced-center-nav .sb-menu > li > a:hover,
body.sb-site .sb-header-balanced-center-nav .sb-menu > li.current-menu-item > a {
    color: #ffffff !important;
}

body.sb-site .sb-header-balanced-center-nav .sub-menu {
    background: var(--sb-color-bg) !important;
    border: 3px solid var(--sb-color-border) !important;
    box-shadow: 6px 6px 0 var(--sb-color-link) !important;
}

body.sb-site .sb-header-balanced-center-nav .sub-menu a {
    color: var(--sb-color-text) !important;
}

body.sb-site .sb-header-balanced-center-nav .sub-menu a:hover {
    background: var(--sb-color-link) !important;
    color: var(--sb-color-bg) !important;
}

body.sb-site .sb-header-balanced-center-toggle {
    background: var(--sb-color-bg-alt) !important;
    border: 3px solid var(--sb-color-border) !important;
}

body.sb-site .sb-header-balanced-center-toggle:hover {
    background: var(--sb-color-link) !important;
}

body.sb-site .sb-header-balanced-center-toggle span {
    background: var(--sb-color-text) !important;
}

body.sb-site .sb-header-balanced-center-toggle:hover span {
    background: var(--sb-color-bg) !important;
}

body.sb-site .sb-header-balanced-center-toggle[aria-expanded="true"] {
    background: var(--sb-color-link) !important;
}

body.sb-site .sb-header-balanced-center-toggle[aria-expanded="true"] span {
    background: var(--sb-color-bg) !important;
}

/* Back to top */
body.sb-site .sb-back-to-top {
    background: var(--sb-color-link);
    color: var(--sb-color-bg);
    border: 3px solid var(--sb-color-border);
    box-shadow: 4px 4px 0 var(--sb-color-border);
}

body.sb-site .sb-back-to-top:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--sb-color-border);
}

@media (max-width: 768px) {
    body.sb-site h1 { font-size: 32px; }
    body.sb-site h2 { font-size: 26px; }
    body.sb-site h3 { font-size: 16px; }

    body.sb-site .sb-header-balanced-center-nav .sb-menu .sub-menu {
        background: var(--sb-color-bg) !important;
        border: 3px solid var(--sb-color-border) !important;
    }

    .sb-back-to-top {
        bottom: 20px;
        width: 44px;
        height: 44px;
        right: 30px!important;
        font-size: 20px;
    }

    body.sb-site .sb-header-balanced-center-nav .sb-menu > li > a {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
    }
}

@media (max-width: 480px) {
    .sb-back-to-top {
        bottom: 20px;
        width: 44px;
        height: 44px;
        right: 20px!important;
        font-size: 20px;
    }
}
.sb-site-content {
    padding: 20px 20px !important;
}

.sb-header-balanced-center-brand img {
    max-height: 64px!important;
}

body.sb-site .sb-header-balanced-center-toggle:hover span {
    background: #c5c4c2 !important;
}

body.sb-site .sb-header-balanced-center-toggle span {
    background: #c5c4c2 !important;
}

body.sb-site .sb-header-balanced-center-toggle[aria-expanded="true"] span {
    background: #c5c4c2 !important;
}

/* ===== Header variant: liquid-underline ===== */
/* templates/theme/headers/liquid-underline.css */

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

.sb-header-liquid-underline a {
    text-decoration: none;
}

.sb-header-liquid-underline a::after {
    display: none !important;
    content: none !important;
}

.sb-header-liquid-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Brand */
.sb-header-liquid-brand {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.sb-header-liquid-brand a {
    display: flex;
    align-items: center;
    color: var(--sb-color-text, #111);
    font-size: 23px;
    font-weight: 800;
    font-family: var(--sb-font-heading, sans-serif);
    letter-spacing: -0.02em;
}

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

/* Navigation — the liquid blob lives inside this relative wrapper */
.sb-header-liquid-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.sb-header-liquid-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    column-gap: 20px;
    flex-wrap: wrap;
    position: relative;
}

/* The liquid indicator itself: a single absolutely-positioned pill that
   the JS moves/resizes under the hovered item, with a squash-stretch feel
   via border-radius + transform easing. */
.sb-liquid-indicator {
    position: absolute;
    height: 3px;
    border-radius: 3px;
    background: var(--sb-color-link, #2563eb);
    opacity: 0;
    pointer-events: none;
    transition:
        left 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        top 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.2s ease,
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

.sb-header-liquid-nav.sb-liquid-active .sb-liquid-indicator {
    opacity: 1;
}

.sb-liquid-item {
    margin: 0;
    position: relative;
}

.sb-liquid-link,
.sb-liquid-pill-link {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 16px;
    color: var(--sb-color-text, #111);
    font-size: 14.5px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.sb-liquid-link:hover,
.sb-liquid-pill-link:hover {
    color: var(--sb-color-link, #2563eb);
}

.sb-liquid-item.current-menu-item .sb-liquid-link,
.sb-liquid-item.current-menu-item .sb-liquid-pill-link {
    color: var(--sb-color-link, #2563eb);
}

.sb-liquid-pill {
    display: flex;
    align-items: center;
}

.sb-liquid-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 4px 0 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sb-color-muted, #6b7280);
    transition: color 0.2s ease;
}

.sb-liquid-trigger:hover {
    color: var(--sb-color-link, #2563eb);
}

.sb-liquid-caret {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.sb-liquid-item.sb-dropdown-open .sb-liquid-caret {
    transform: rotate(180deg);
}

/* Dropdown */
.sb-liquid-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    transform: translateX(-50%) translateY(-6px);
    min-width: 280px;
    max-width: 560px;
    background: var(--sb-color-bg, #fff);
    border: 1px solid var(--sb-color-border, #e5e7eb);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 999;
}

.sb-liquid-item.sb-dropdown-open .sb-liquid-dropdown {
    opacity: 1;
    visibility: visible;
}

.sb-liquid-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 4px;
    max-height: 400px;
    overflow-y: auto;
}

.sb-liquid-dropdown-grid::-webkit-scrollbar {
    width: 6px;
}

.sb-liquid-dropdown-grid::-webkit-scrollbar-track {
    background: var(--sb-color-bg-alt, #f2f2f2);
    border-radius: 10px;
}

.sb-liquid-dropdown-grid::-webkit-scrollbar-thumb {
    background: var(--sb-color-link, #2563eb);
    border-radius: 10px;
}

.sb-liquid-dropdown a {
    color: var(--sb-color-text, #111);
    padding: 9px 12px;
    display: block;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.sb-liquid-dropdown a:hover {
    background: var(--sb-color-bg-alt, #f2f6ff);
    color: var(--sb-color-link, #2563eb);
}

/* View All button */
.sb-liquid-view-all {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px !important;
    background: var(--sb-color-link, #2563eb) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    grid-column: 1 / -1;
    margin-top: 4px;
}

.sb-liquid-view-all:hover {
    background: var(--sb-color-link-hover, #1d4ed8) !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.sb-liquid-view-all svg {
    flex-shrink: 0;
}

.sb-liquid-view-all span {
    font-size: 14px;
    letter-spacing: 0.02em;
}

/* Mobile toggle */
.sb-header-liquid-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--sb-color-border, #e5e7eb);
    border-radius: 8px;
    cursor: pointer;
}

.sb-header-liquid-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
}

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

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

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

@media (max-width: 900px) {
    .sb-header-liquid-toggle {
        display: flex;
    }

    .sb-liquid-indicator {
        display: none;
    }

    .sb-header-liquid-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--sb-color-bg, #fff);
        border-top: 1px solid var(--sb-color-border, #e5e7eb);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

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

    .sb-header-liquid-menu {
        flex-direction: column;
        align-items: stretch;
        padding: 8px 16px;
        gap: 2px;
    }

    .sb-liquid-link,
    .sb-liquid-pill-link,
    .sb-liquid-trigger {
        height: auto;
        padding: 12px 8px;
    }

    .sb-liquid-pill {
        justify-content: space-between;
    }

    .sb-liquid-dropdown {
        position: relative;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 8px;
        background: var(--sb-color-bg-alt, #f7f7fb);
        margin: 2px 0 6px;
        display: none;
    }

    .sb-liquid-item.sb-dropdown-open .sb-liquid-dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .sb-liquid-dropdown-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sb-liquid-indicator,
    .sb-liquid-link,
    .sb-liquid-pill-link,
    .sb-liquid-dropdown,
    .sb-liquid-trigger,
    .sb-liquid-caret {
        transition: none !important;
    }
}

.sb-header-liquid-brand h1 {
    margin: 0 !important;
}

h1 {
   margin: 0!important;
}

body.sb-site li {
    margin-bottom: 0!important;
}

/* ===== Footer variant: grid-compass ===== */
/* grid-compass footer — an even four-column link grid under a thin accent top
   line: brand + three titled columns (Navigation / Site / Legal), then a
   compact bottom band with copyright and an 18+ responsible-gambling line.
   Built for the midnight-sapphire scheme; falls back via var defaults. */
.sb-footer-grid-compass {
    background: var(--sb-color-bg-alt, #101827);
    color: var(--sb-color-text, #eaf1fb);
    border-top: 3px solid var(--sb-color-accent, #4da3ff);
}
.sb-footer-grid-compass-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 40px 22px 20px;
}
/* Even four-column grid */
.sb-footer-grid-compass-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap:128px;
    align-items: start;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--sb-color-border, #22304a);
}
/* Brand column */
.sb-footer-grid-compass-brandcol {
    min-width: 0;
}
.sb-footer-grid-compass-brandcol img {
    max-height: 40px;
    width: auto;
    display: block;
    margin-bottom: 12px;
}
.sb-footer-grid-compass-name {
    display: inline-block;
    font-family: var(--sb-font-heading, var(--sb-font-body, sans-serif));
    font-size: 1.25em;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--sb-color-text, #eaf1fb);
    text-decoration: none;
}
.sb-footer-grid-compass-desc {
    margin: 10px 0 0;
    color: var(--sb-color-muted, #8896ac);
    font-size: 0.9em;
    line-height: 1.6;
    max-width: 34ch;
}
/* Link columns */
.sb-footer-grid-compass-col {
    min-width: 0;
}
.sb-footer-grid-compass-heading {
    margin: 0 0 12px;
    font-family: var(--sb-font-heading, var(--sb-font-body, sans-serif));
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sb-color-muted, #8896ac);
}
.sb-footer-grid-compass-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.sb-footer-grid-compass-col a {
    color: var(--sb-color-text, #eaf1fb);
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: color 0.15s;
}
.sb-footer-grid-compass-col a:hover,
.sb-footer-grid-compass-col .current-menu-item > a {
    color: var(--sb-color-accent, #4da3ff);
}
/* Bottom band */
.sb-footer-grid-compass-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 18px;
}
.sb-footer-grid-compass-copy {
    margin: 0;
    color: var(--sb-color-muted, #8896ac);
    font-size: 0.82em;
}
.sb-footer-grid-compass-disclaimer {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sb-color-muted, #8896ac);
    font-size: 0.82em;
}
.sb-footer-grid-compass-age {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 22px;
    padding: 0 6px;
    border: 1px solid var(--sb-color-accent, #4da3ff);
    border-radius: 3px;
    color: var(--sb-color-accent, #4da3ff);
    font-size: 0.9em;
    font-weight: 800;
}
/* Tablet: two columns, brand spans full row */
@media (max-width: 860px) {
    .sb-footer-grid-compass-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sb-footer-grid-compass-brandcol {
        grid-column: 1 / -1;
    }
}
/* Mobile: single column stack */
@media (max-width: 560px) {
    .sb-footer-grid-compass-inner {
        padding: 28px 16px 16px;
    }
    .sb-footer-grid-compass-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .sb-footer-grid-compass-brandcol {
        grid-column: auto;
    }
    .sb-footer-grid-compass-bottom {
        justify-content: flex-start;
    }
}

/* ===== Operators variant: grid ===== */
/* Operators variant: grid — tiles, two per row on desktop. */
.sb-site .sb-operators .sb-operators-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
.sb-site .sb-operators .sb-operator {
    position: relative;
    display: block;
    margin: 0;
    padding: 20px 18px 16px;
    border: 1px solid var(--sb-color-border, #e5e7eb);
    border-top: 4px solid var(--sb-color-accent, #2563eb);
    border-radius: 10px;
    background: var(--sb-color-bg-alt, #f8fafc);
    overflow: hidden;
}
.sb-site .sb-operators .sb-operator-rank {
    position: absolute;
    top: 6px;
    right: 12px;
    font-family: var(--sb-font-heading, inherit);
    font-size: 2.6em;
    font-weight: 900;
    line-height: 1;
    color: var(--sb-color-accent, #2563eb);
    opacity: .22;
}
.sb-site .sb-operators .sb-operator-body { position: relative; }
.sb-site .sb-operators .sb-operator-name {
    margin: 0 48px 12px 0;
    font-family: var(--sb-font-heading, inherit);
    font-size: 1.12em;
    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 { margin: 0 0 12px; padding: 0; }
.sb-site .sb-operators .sb-operator-fact {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 6px 0;
    border-bottom: 1px dashed var(--sb-color-border, #e5e7eb);
    font-size: .88em;
    line-height: 1.4;
}
.sb-site .sb-operators .sb-operator-fact dt {
    flex: 0 0 auto;
    margin: 0;
    font-weight: 600;
    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 {
    margin: 0;
    text-align: right;
    color: var(--sb-color-text, inherit);
}
.sb-site .sb-operators .sb-operator-desc {
    margin: 0;
    font-size: .88em;
    line-height: 1.5;
    color: var(--sb-color-muted, #6b7280);
}
@media (max-width: 640px) {
    .sb-site .sb-operators .sb-operators-list { grid-template-columns: 1fr; }
}


/* ===== 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; }
}

