/*
Theme Name: Site Builder Generated Theme
Description: Сгенерирована плагином Site Builder. Шапка: liquid-underline, футер: cta-band, стиль: dark, рейтинг: rows, hero: overlay-center.
Version: 1.5.0
Author: Site Builder Plugin
*/

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

/* Style variant: Dark.
 * Deep slate background, soft white text, cyan accents.
 * Modern dark mode aesthetic for tech and content sites.
 */
:root {
    --sb-color-bg: #0f172a;
    --sb-color-bg-alt: #1e293b;
    --sb-color-text: #e2e8f0;
    --sb-color-muted: #94a3b8;
    --sb-color-link: #38bdf8;
    --sb-color-accent: #06b6d4;
    --sb-color-border: #334155;
    --sb-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --sb-font-heading: var(--sb-font-body);
    --sb-font-size: 16px;
    --sb-line-height: 1.65;
    --sb-content-max-width: 920px;
}


/* ===== 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: cta-band ===== */
/* cta-band — акцентная призывная полоса сверху + 3 колонки ссылок */
.sb-footer-cta {
    background: var(--sb-color-bg-alt, #f8f9fa);
    border-top: 1px solid var(--sb-color-border, #e5e7eb);
    padding: 40px 20px 24px;
    color: var(--sb-color-text, #111);
    margin-top: 48px;
}
.sb-footer-cta-inner {
    max-width: var(--sb-content-max-width, 920px);
    margin: 0 auto;
}
/* CTA band */
.sb-footer-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--sb-color-link, #2563eb);
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 40px;
}
.sb-footer-cta-title {
    margin: 0 0 4px;
    color: #fff;
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.sb-footer-cta-desc {
    margin: 0;
    color: #fff;
    opacity: 0.9;
    font-size: 0.95em;
    line-height: 1.5;
}
.sb-footer-cta-btn {
    flex-shrink: 0;
    display: inline-block;
    padding: 12px 28px;
    background: var(--sb-color-bg, #fff);
    color: var(--sb-color-link, #2563eb);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95em;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.sb-footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
/* Columns */
.sb-footer-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}
.sb-footer-cta-col { font-size: 0.9em; }
.sb-footer-cta-heading {
    margin: 0 0 14px;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sb-color-muted, #6b7280);
    font-weight: 700;
}
.sb-footer-cta-list, .sb-footer-cta .sb-menu {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 8px;
}
.sb-footer-cta-list a, .sb-footer-cta .sb-menu a {
    color: var(--sb-color-text);
    text-decoration: none;
    transition: color 0.15s;
}
.sb-footer-cta-list a:hover, .sb-footer-cta .sb-menu a:hover {
    color: var(--sb-color-link);
    text-decoration: underline;
}
.sb-footer-cta-copyright {
    padding-top: 20px;
    border-top: 1px solid var(--sb-color-border, #e5e7eb);
    color: var(--sb-color-muted, #6b7280);
    font-size: 0.85em;
    text-align: center;
}
.sb-regulators-item {
	list-style: none;
}

@media (max-width: 800px) {
    .sb-footer-cta-band {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 24px;
    }
    .sb-footer-cta-grid { grid-template-columns: 1fr; gap: 28px; }
}


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

