/*
Theme Name: Site Builder Generated Theme
Description: Сгенерирована плагином Site Builder. Шапка: split-flap-board, футер: hexagon-grid, стиль: ultraviolet-haze, рейтинг: grid, hero: overlay-bottom.
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 ===== */

/* Ultraviolet Haze — глубокий violet-black и туманное lavender-свечение */
:root {
    --sb-color-bg:              #100d17;
    --sb-color-bg-alt:          #1a1524;
    --sb-color-text:            #f0eaf5;
    --sb-color-muted:           #94899f;
    --sb-color-link:            #c49ad9;
    --sb-color-link-hover:      #e0b8f0;
    --sb-color-border:          #30263d;
    --sb-color-accent:          #ff7aa8;

    --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:
        radial-gradient(circle at 10% 10%, rgba(196, 154, 217, 0.12), transparent 28%),
        radial-gradient(circle at 90% 30%, rgba(255, 122, 168, 0.07), transparent 30%),
        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 {
    color: var(--sb-color-text);
    font-family: var(--sb-font-heading);
    letter-spacing: -0.035em;
}

body.sb-site h1 {
    text-shadow:
        0 0 30px rgba(196, 154, 217, 0.25),
        0 0 70px rgba(255, 122, 168, 0.08);
}

body.sb-site h2 {
    position: relative;
}

body.sb-site h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--sb-color-link), var(--sb-color-accent));
    border-radius: 10px;
}

body.sb-site h3::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--sb-color-link), var(--sb-color-accent));
    border-radius: 10px;
}

body.sb-site a {
    color: var(--sb-color-link);
    text-decoration-color: rgba(196, 154, 217, 0.35);
    text-underline-offset: 4px;
    transition: color 0.2s, text-shadow 0.2s;
}

body.sb-site a:hover {
    color: var(--sb-color-link-hover);
    text-shadow: 0 0 14px rgba(196, 154, 217, 0.4);
}

body.sb-site strong {
    color: var(--sb-color-accent);
}

body.sb-site blockquote {
    padding: 20px 24px;
    background: linear-gradient(
        135deg,
        rgba(196, 154, 217, 0.08),
        rgba(255, 122, 168, 0.04)
    );
    border: 1px solid var(--sb-color-border);
    border-radius: 12px;
}

body.sb-site code {
    padding: 2px 7px;
    color: var(--sb-color-link-hover);
    background: var(--sb-color-bg-alt);
    border: 1px solid var(--sb-color-border);
    border-radius: 5px;
}

body.sb-site img {
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(116, 76, 140, 0.14);
}

/* ===== Header variant: split-flap-board ===== */
/* templates/theme/headers/split-flap-board.css */

.sb-header-split-flap-board {
    position: relative;
    z-index: 1000;
    background: #111;
    border-bottom: 3px solid var(--sb-color-link, #f5a623);
}

.sb-header-split-flap-board a {
    text-decoration: none;
}

.sb-header-split-flap-board a::after {
    display: none !important;
    content: none !important;
}

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

/* ===== Flap tile mechanics =====
   Each character becomes a small "tile" that visually consists of a
   top half and a bottom half meeting at a hinge line, mimicking a
   split-flap (Solari) display. On reveal/hover, .is-flipping triggers
   a quick 3D rotation of the top half before settling on the target
   character.
*/
.sb-flap-word {
    display: inline-flex;
    gap: 2px;
    font-family: var(--sb-font-heading, 'Courier New', monospace);
    flex-wrap: wrap;
}

.sb-flap-word-brand {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.sb-flap-tile {
    position: relative;
    display: inline-block;
    width: 0.62em;
    height: 1.08em;
    background: #1c1c1c;
    border-radius: 2px;
    color: #f4f4f0;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    perspective: 60px;
}

.sb-flap-tile.sb-flap-tile-space {
    background: transparent;
    box-shadow: none;
}

.sb-flap-tile::before {
    /* hinge line */
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3;
}

.sb-flap-tile-char {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    line-height: 1;
    backface-visibility: hidden;
}

.sb-flap-tile-char-current {
    z-index: 1;
}

.sb-flap-tile-char-incoming {
    z-index: 2;
    transform: rotateX(-90deg);
    transform-origin: 50% 100%;
    opacity: 0;
}

.sb-flap-tile.is-flipping .sb-flap-tile-char-current {
    animation: sb-flap-out 0.16s ease-in forwards;
}

.sb-flap-tile.is-flipping .sb-flap-tile-char-incoming {
    animation: sb-flap-in 0.16s ease-out 0.14s forwards;
}

@keyframes sb-flap-out {
    to {
        transform: rotateX(90deg);
        transform-origin: 50% 0%;
        opacity: 0;
    }
}

@keyframes sb-flap-in {
    from {
        transform: rotateX(-90deg);
        transform-origin: 50% 100%;
        opacity: 0;
    }
    to {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

/* Brand tiles slightly larger */
.sb-flap-word-brand .sb-flap-tile {
    width: 0.66em;
    height: 1.12em;
}

/* ===== Nav ===== */
.sb-header-flap-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Logo image size */
.sb-header-flap-brand img {
    max-height: 40px;
    width: auto;
    display: block;
}

.sb-header-flap-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

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

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

.sb-flap-link,
.sb-flap-pill-link {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 0 8px;
    color: #d8d8d2;
    transition: color 0.2s ease;
    min-height: 36px;
}

.sb-flap-link:hover .sb-flap-word .sb-flap-tile,
.sb-flap-pill-link:hover .sb-flap-word .sb-flap-tile {
    box-shadow: inset 0 0 0 1px var(--sb-color-link, #f5a623);
}

.sb-flap-item.current-menu-item .sb-flap-tile {
    box-shadow: inset 0 0 0 1px var(--sb-color-link, #f5a623);
}

.sb-flap-item .sb-flap-word {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

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

.sb-flap-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 3px;
    background: none;
    border: none;
    cursor: pointer;
    color: #8a8a84;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sb-flap-trigger:hover {
    color: var(--sb-color-link, #f5a623);
}

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

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

/* Dropdown: reads like an additional row added to the board */
.sb-flap-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    max-width: 560px;
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid var(--sb-color-link, #f5a623);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 999;
}

.sb-flap-item.sb-dropdown-open .sb-flap-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

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

.sb-flap-dropdown-grid::-webkit-scrollbar-track {
    background: #111;
}

.sb-flap-dropdown-grid::-webkit-scrollbar-thumb {
    background: var(--sb-color-link, #f5a623);
}

.sb-flap-dropdown a {
    color: #d8d8d2;
    padding: 7px 8px;
    display: block;
    font-family: var(--sb-font-heading, 'Courier New', monospace);
    font-size: 11px;
    letter-spacing: 0.02em;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.08);
    transition: color 0.15s ease, background 0.15s ease;
}

.sb-flap-dropdown a:hover {
    color: var(--sb-color-link, #f5a623);
    background: rgba(245, 166, 35, 0.06);
}

/* View All button */
.sb-flap-view-all {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px !important;
    background: var(--sb-color-link, #f5a623) !important;
    color: #1c1c1c !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    grid-column: 1 / -1;
    margin-top: 4px;
    font-family: var(--sb-font-heading, 'Courier New', monospace) !important;
    font-size: 12.5px !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sb-flap-view-all:hover {
    background: var(--sb-color-link-hover, #d89419) !important;
    transform: scale(1.02) !important;
}

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

/* Mobile toggle */
.sb-header-flap-toggle {
    display: none;
    width: 34px;
    height: 34px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    flex-shrink: 0;
}

.sb-flap-toggle-line {
    display: block;
    width: 16px;
    height: 2px;
    background: #d8d8d2;
    transition: all 0.3s ease;
}

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

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

@media (max-width: 1200px) {
    .sb-flap-item .sb-flap-word {
        max-width: 250px;
    }
}

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

    .sb-flap-word-brand {
        font-size: 16px;
    }

    .sb-header-flap-brand img {
        max-height: 32px;
    }

    .sb-header-flap-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #111;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    }

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

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

    .sb-flap-item {
        border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
    }

    .sb-flap-link,
    .sb-flap-pill-link {
        height: auto;
        padding: 14px 4px;
    }

    .sb-flap-item .sb-flap-word {
        max-width: 100%;
    }

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

    .sb-flap-dropdown {
        position: relative;
        top: 0;
        transform: none;
        border: none;
        border-top: none;
        background: transparent;
        padding: 0 0 8px 8px;
        display: none;
    }

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

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

    /* Mobile: skip mechanical flip animation for perf, tiles render statically */
    .sb-flap-tile-char-incoming,
    .sb-flap-tile::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .sb-header-flap-inner {
        padding: 8px 16px;
    }

    .sb-flap-word-brand {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sb-flap-tile.is-flipping .sb-flap-tile-char-current,
    .sb-flap-tile.is-flipping .sb-flap-tile-char-incoming {
        animation: none !important;
    }
    .sb-flap-tile-char-incoming {
        display: none;
    }
}

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

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

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1e1e1e; /* фон */
}

::-webkit-scrollbar-thumb {
    background: #888; /* сам ползунок */
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* ===== Footer variant: hexagon-grid ===== */
/* templates/theme/footers/hexagon-grid.css */

.sb-footer-hexagon-grid {
    position: relative;
    margin-top: 120px;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sb-color-text, #0f172a) 0%, #1a1a2e 50%, var(--sb-color-text, #0f172a) 100%);
}

/* Animated hexagon pattern background */
.sb-footer-hexagon-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.1;
    background-image: 
        linear-gradient(30deg, var(--sb-color-link, #2563eb) 12%, transparent 12.5%, transparent 87%, var(--sb-color-link, #2563eb) 87.5%, var(--sb-color-link, #2563eb)),
        linear-gradient(150deg, var(--sb-color-link, #2563eb) 12%, transparent 12.5%, transparent 87%, var(--sb-color-link, #2563eb) 87.5%, var(--sb-color-link, #2563eb)),
        linear-gradient(30deg, var(--sb-color-link, #2563eb) 12%, transparent 12.5%, transparent 87%, var(--sb-color-link, #2563eb) 87.5%, var(--sb-color-link, #2563eb)),
        linear-gradient(150deg, var(--sb-color-link, #2563eb) 12%, transparent 12.5%, transparent 87%, var(--sb-color-link, #2563eb) 87.5%, var(--sb-color-link, #2563eb));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    animation: hexagon-pattern-move 20s linear infinite;
}

@keyframes hexagon-pattern-move {
    0% { background-position: 0 0, 0 0, 40px 70px, 40px 70px; }
    100% { background-position: 80px 140px, 80px 140px, 120px 210px, 120px 210px; }
}

.sb-footer-hexagon-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    z-index: 1;
}

.sb-footer-hexagon-top {
    display: grid;
    grid-template-columns: 0.5fr 2fr;
    gap: 80px;
    align-items: start;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Brand section */
.sb-footer-hexagon-brand {
    position: relative;
}

.sb-footer-hexagon-brand-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--sb-color-link, #2563eb);
    padding: 40px 32px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
}

.sb-footer-hexagon-brand-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.6);
    border-color: var(--sb-color-accent, #7c3aed);
}

.sb-footer-hexagon-brand img {
    max-height: 60px;
    width: auto;
    margin: 0 auto 20px;
    display: block;
}

.sb-footer-hexagon-logo-text {
    font-size: 28px;
    font-weight: 900;
    font-family: var(--sb-font-heading, sans-serif);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    text-shadow: 0 2px 16px rgba(37, 99, 235, 0.5);
}

.sb-footer-hexagon-tagline {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 20px 0 0 !important;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Hexagon columns grid */
.sb-footer-hexagon-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sb-footer-hexagon-col {
    position: relative;
    min-width: 0;
}

/* Hexagon shape for menu columns */
.sb-footer-hexagon-shape {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 36px 28px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.sb-footer-hexagon-shape::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--sb-color-link, #2563eb), var(--sb-color-accent, #7c3aed));
    opacity: 0;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.sb-footer-hexagon-shape:hover {
    transform: translateY(-10px);
    border-color: var(--sb-color-link, #2563eb);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.sb-footer-hexagon-shape:hover::before {
    opacity: 0.15;
}

.sb-footer-hexagon-heading {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff !important;
    margin: 0 0 24px;
    font-family: var(--sb-font-heading, sans-serif);
    text-align: center;
    text-shadow: 0 2px 12px rgba(37, 99, 235, 0.4);
    border-bottom: none !important;
    position: relative;
    padding-bottom: 12px;
}

.sb-footer-hexagon-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--sb-color-link, #2563eb);
    border-radius: 2px;
    box-shadow: 0 0 12px var(--sb-color-link, #2563eb);
}

.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.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: block;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 0;
    border-radius: 6px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.sb-footer-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    text-shadow: 0 2px 12px rgba(37, 99, 235, 0.6);
    transform: scale(1.05);
}

/* Bottom copyright section */
.sb-footer-hexagon-bottom {
    padding-top: 40px;
    text-align: center;
}

.sb-footer-hexagon-copyright {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.sb-footer-hexagon-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Responsive */
@media (max-width: 968px) {
    .sb-footer-hexagon-grid {
        margin-top: 80px;
    }

    .sb-footer-hexagon-inner {
        padding: 60px 20px 40px;
    }

    .sb-footer-hexagon-top {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-bottom: 48px;
    }

    .sb-footer-hexagon-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .sb-footer-hexagon-shape {
        padding: 32px 20px;
    }

    .sb-footer-hexagon-heading {
        font-size: 13px;
        margin-bottom: 20px;
    }
}

@media (max-width: 640px) {
    .sb-footer-hexagon-inner {
        padding: 50px 20px 32px;
    }

    .sb-footer-hexagon-brand-wrapper {
        padding: 32px 24px;
    }

    .sb-footer-hexagon-logo-text {
        font-size: 22px;
    }

    .sb-footer-hexagon-columns {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sb-footer-hexagon-shape {
        padding: 36px 28px;
    }

    .sb-footer-hexagon-heading {
        margin-bottom: 18px;
    }

    .sb-footer-menu a {
        font-size: 13px;
    }

    body.sb-site h2 {
        padding-inline: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sb-footer-hexagon-bg,
    .sb-footer-hexagon-brand-wrapper,
    .sb-footer-hexagon-shape {
        animation: none !important;
        transition: none !important;
    }
}

body.sb-site h3 {
    margin-inline: 20px!important;
    margin-bottom: 0!important;
}


/* ===== 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: overlay-bottom ===== */
/* Hero variant: overlay-bottom — rounded card in the content column, text bottom-left. */
.sb-site .sb-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 440px;
    margin: 0 0 36px;
    border-radius: 18px;
    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(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.05) 100%);
}
.sb-site .sb-hero .sb-hero-inner {
    position: relative;
    width: 100%;
    padding: 120px 36px 32px;
}
.sb-site .sb-hero .sb-hero-label {
    margin: 0 0 10px;
    font-size: .76em;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
    opacity: .85;
}
.sb-site .sb-hero .sb-hero-label::before {
    content: "";
    display: inline-block;
    width: 28px; height: 3px;
    margin: 0 10px 3px 0;
    vertical-align: middle;
    background: var(--sb-color-accent, #2563eb);
}
.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.6vw, 2.7em); }
.sb-site .sb-hero .sb-hero-subtitle {
    margin: 0 0 18px;
    max-width: 640px;
    font-size: 1.08em;
    line-height: 1.55;
    color: rgba(255, 255, 255, .88);
}
.sb-site .sb-hero .sb-hero-fact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    padding: 14px 0 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .25);
    border-radius: 0;
    background: none;
}
.sb-site .sb-hero .sb-hero-fact-label {
    font-size: .74em; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: var(--sb-color-accent, #93c5fd);
}
.sb-site .sb-hero .sb-hero-fact-text { color: rgba(255, 255, 255, .92); line-height: 1.45; }
@media (max-width: 640px) {
    .sb-site .sb-hero { min-height: 400px; border-radius: 12px; }
    .sb-site .sb-hero .sb-hero-inner { padding: 96px 20px 24px; }
}

