/*
Theme Name: Site Builder Generated Theme
Description: Сгенерирована плагином Site Builder. Шапка: floating-circle, футер: bubble-modern, стиль: graphite-mono.
Version: 1.2.4
Author: Site Builder Plugin
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ===== 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: floating-circle ===== */
/* templates/theme/headers/floating-circle.css */

.sb-header-floating-circle {
    position: sticky;
    top: 20px;
    z-index: 1000;
    margin: 20px auto 40px;
    max-width: 100%;
    padding: 0 20px;
    transition: top 0.3s ease;
}

.sb-header-floating-circle a {
    text-decoration: none;
}

.sb-header-floating-circle a::after {
    display: none !important;
    content: none !important;
}

.sb-header-floating-circle-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--sb-color-bg, #fff);
    border: 2px solid var(--sb-color-border, #e5e7eb);
    border-radius: 20px;
    padding: 12px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    max-width: 1400px;
    margin: 0 auto;
    flex-direction: row-reverse;
}

.sb-header-floating-circle.scrolled .sb-header-floating-circle-inner {
    padding: 10px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ===================================================================
   NAV — top level items
   =================================================================== */

.sb-header-floating-circle-nav {
    min-width: 0;
}

.sb-header-floating-circle-nav .sb-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row-reverse;
}

.sb-header-floating-circle-nav-left .sb-menu {
    justify-content: flex-end;
}

.sb-header-floating-circle-nav-right .sb-menu {
    justify-content: flex-start;
}

.sb-header-floating-circle-nav .sb-menu > li {
    margin: 0;
    position: relative;
}

/* plain items — no children */
.sb-header-floating-circle-nav .sb-menu > li > a {
    font: inherit;
    color: var(--sb-color-text, #111);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 5px;
    display: block;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    transition: background 0.2s ease, color 0.2s ease;
}

.sb-header-floating-circle-nav .sb-menu > li > a:hover {
    color: var(--sb-color-link, #2563eb);
    background: var(--sb-color-bg-alt, #f9fafb);
}

.sb-header-floating-circle-nav .sb-menu > li.current > a {
    color: var(--sb-color-link, #2563eb);
}

/* items WITH children: label + caret are two independent controls that
   share one visual pill. The label keeps its own href — clicking it
   navigates like any normal link. Only the caret opens the mega panel. */
.sb-item-group {
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.sb-item-group:hover,
.sb-item-group:focus-within {
    background: var(--sb-color-bg-alt, #f9fafb);
}

.sb-parent-link {
    font: inherit;
    color: var(--sb-color-text, #111);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 5px 9px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    transition: color 0.2s ease;
}

.sb-item-group:hover > .sb-parent-link,
li.sb-mega-active .sb-parent-link {
    color: var(--sb-color-link, #2563eb);
}

.sb-trigger {
    display: flex;
    align-items: center;
    padding: 9px 12px 9px 3px;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

.sb-header-floating-circle-nav .sb-menu > li > a:focus-visible,
.sb-parent-link:focus-visible,
.sb-trigger:focus-visible,
.sb-header-floating-circle-brand a:focus-visible {
    outline: 2px solid var(--sb-color-link, #2563eb);
    outline-offset: 2px;
    border-radius: 8px;
}

.sb-trigger-caret {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

li.sb-mega-active .sb-trigger-caret {
    transform: rotate(180deg);
}

/* mega-grid-data is the raw source markup, hidden until JS moves its
   contents into the shared mega panel */
.sb-mega-grid-data[hidden] {
    display: none;
}

/* ===================================================================
   BRAND / LOGO
   =================================================================== */

.sb-header-floating-circle-brand {
    margin: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.sb-header-floating-circle-brand a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px !important;
    min-width: 160px !important;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, width 0.3s ease, min-width 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.sb-header-floating-circle.scrolled .sb-header-floating-circle-brand a {
    width: 140px !important;
    min-width: 140px !important;
}

.sb-header-floating-circle-brand a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.sb-header-floating-circle-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sb-header-floating-circle-brand span {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    font-family: var(--sb-font-heading, sans-serif);
    text-align: center;
}

/* the signature detail: a hairline that grows from the logo down
   toward the mega panel when it's open */
.sb-mega-connector {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 1px;
    height: 0;
    background: var(--sb-color-border, #e5e7eb);
    transition: height 0.25s ease;
    pointer-events: none;
}

.sb-header-floating-circle.sb-mega-open .sb-mega-connector {
    height: 16px;
    background: var(--sb-color-link, #2563eb);
}

/* ===================================================================
   MEGA PANEL — one shared surface, aligned to the header capsule's own
   centering (same max-width/side padding) so edges always line up.
   Height animates via grid-template-rows: no JS measuring needed.
   =================================================================== */

.sb-mega-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.28);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 998;
}

.sb-mega-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.sb-mega-shell {
    position: fixed;
    left: 20px;
    right: 20px;
    max-width: 1400px;
    margin-inline: auto;
    top: calc(var(--sb-header-h, 88px) + 12px);
    z-index: 999;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    pointer-events: none;
}

.sb-mega-shell.is-open {
    grid-template-rows: 1fr;
    pointer-events: auto;
}

.sb-mega-shell-inner {
    overflow: hidden;
}

.sb-mega-panel {
    background: var(--sb-color-bg, #fff);
    border: 2px solid var(--sb-color-border, #e5e7eb);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    padding: 24px 28px;
    margin-top: 4px;
}

.sb-mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 6px 28px;
}

.sb-mega-grid a {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--sb-color-text, #111);
    font-size: 14px;
    line-height: 1.4;
    transition: background 0.15s ease, color 0.15s ease;
}

.sb-mega-grid a:hover,
.sb-mega-grid a:focus-visible {
    background: var(--sb-color-bg-alt, #f9fafb);
    color: var(--sb-color-link, #2563eb);
}

.sb-mega-grid a:focus-visible {
    outline: 2px solid var(--sb-color-link, #2563eb);
    outline-offset: -2px;
}

/* View All button */
.sb-floating-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: 8px;
    max-width: 300px;
    margin: 0 auto;
}

.sb-floating-view-all {
    width: 32px;
    height: 22px;
}

.sb-floating-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-floating-view-all svg {
    flex-shrink: 0;
}

.sb-floating-view-all span {
    font-size: 14px;
    letter-spacing: 0.02em;
}

/* ===================================================================
   MOBILE — burger + accordion, same component, same tokens
   =================================================================== */

.sb-header-floating-circle-toggle {
    display: none;
}

.sb-header-floating-circle-mobile-menu {
    display: none;
}

@media (max-width: 968px) {
    .sb-header-floating-circle {
        top: 0;
        margin: 0;
        max-width: 100%;
        padding: 0;
    }

    .sb-header-floating-circle-inner {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 16px 20px;
        gap: 16px;
    }

    .sb-header-floating-circle-nav,
    .sb-mega-backdrop,
    .sb-mega-shell {
        display: none !important;
    }

    .sb-header-floating-circle-brand {
        order: 2 !important;
        margin: 0;
    }

    .sb-header-floating-circle-brand a {
        width: 150px !important;
        min-width: 150px !important;
    }

    .sb-header-floating-circle-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 48px;
        height: 48px;
        background: var(--sb-color-link, #2563eb) !important;
        border: none !important;
        border-radius: 50% !important;
        cursor: pointer;
        padding: 0 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        transition: background 0.2s ease !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        position: relative;
        order: 1 !important;
        flex-shrink: 0 !important;
        font-size: 0 !important;
        line-height: 1 !important;
        margin: 0 !important;
    }

    .sb-header-floating-circle-toggle:hover {
        background: var(--sb-color-accent, #1e40af) !important;
    }

    .sb-header-floating-circle-toggle:focus-visible {
        outline: 2px solid var(--sb-color-text, #111);
        outline-offset: 3px;
    }

    .sb-header-floating-circle-toggle span {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background: #ffffff !important;
        transition: transform 0.3s ease, opacity 0.3s ease !important;
        border-radius: 2px !important;
        flex-shrink: 0 !important;
    }

    .sb-header-floating-circle-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .sb-header-floating-circle-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .sb-header-floating-circle-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .sb-header-floating-circle-mobile-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        background: var(--sb-color-bg, #fff);
        transition: max-height 0.3s ease;
        border-bottom: 1px solid transparent;
    }

    .sb-header-floating-circle-mobile-menu.is-open {
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        border-bottom-color: var(--sb-color-border, #e5e7eb);
    }

    .sb-header-floating-circle-mobile-menu .sb-menu {
        list-style: none;
        flex-direction: column;
        align-items: stretch;
        display: flex;
        padding: 12px 20px 20px;
        margin: 0;
        gap: 0;
    }

    .sb-header-floating-circle-mobile-menu .sb-menu > li {
        margin: 0;
        border-bottom: 1px solid var(--sb-color-border, #e5e7eb);
    }

    .sb-header-floating-circle-mobile-menu .sb-menu > li:last-child {
        border-bottom: none;
    }

    .sb-header-floating-circle-mobile-menu .sb-menu > li > a {
        width: 100%;
        color: var(--sb-color-text, #111);
        font-size: 16px;
        font-weight: 600;
        padding: 15px 0;
        display: block;
        max-width: none;
    }

    .sb-header-floating-circle-mobile-menu .sb-item-group {
        width: 100%;
        justify-content: space-between;
        border-radius: 0;
    }

    .sb-header-floating-circle-mobile-menu .sb-item-group:hover,
    .sb-header-floating-circle-mobile-menu .sb-item-group:focus-within {
        background: none;
    }

    .sb-header-floating-circle-mobile-menu .sb-parent-link {
        font-size: 16px;
        padding: 15px 0;
        flex: 1;
    }

    .sb-header-floating-circle-mobile-menu .sb-trigger {
        padding: 15px 4px 15px 12px;
    }

    .sb-mobile-submenu {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.25s ease;
    }

    .sb-mobile-submenu-inner {
        overflow: hidden;
    }

    li.sb-mega-active > .sb-mobile-submenu {
        grid-template-rows: 1fr;
    }

    .sb-mobile-submenu .sb-mega-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        padding: 2px 0 14px;
        gap: 2px 20px;
        max-height: calc(3 * 44px);
        overflow-y: auto;
    }

    .sb-mobile-submenu .sb-mega-grid::-webkit-scrollbar {
        width: 6px;
    }

    .sb-mobile-submenu .sb-mega-grid::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 10px;
    }

    .sb-mobile-submenu .sb-mega-grid::-webkit-scrollbar-thumb {
        background: var(--sb-color-link, #2563eb);
        border-radius: 10px;
    }

    .sb-mobile-submenu .sb-mega-grid a {
        font-size: 14.5px;
        color: var(--sb-color-muted, #6b7280);
        padding: 10px 10px 10px 4px;
        margin: 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sb-header-floating-circle,
    .sb-header-floating-circle-inner,
    .sb-header-floating-circle-brand a,
    .sb-mega-connector,
    .sb-mega-backdrop,
    .sb-mega-shell,
    .sb-trigger-caret,
    .sb-header-floating-circle-mobile-menu,
    .sb-mobile-submenu {
        transition: none !important;
    }
}

body.sb-site button {
    background: var(--sb-color-button-bg, linear-gradient(135deg, var(--sb-color-link, #2563eb) 0%, var(--sb-color-accent, #1e40af) 100%));
    color: var(--sb-color-button-text, #ffffff);
    border: none;
    padding: 4px 12px!important;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--sb-shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h1 {
    margin: 0 !important;
}

ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 0em;
    margin-block-end: 0em;
    padding-inline-start: 0px;
    unicode-bidi: isolate;
}

.sb-site-content {
        padding: 0px 20px;
}


/* ===== Footer variant: bubble-modern ===== */
/* templates/theme/footers/bubble-modern.css */

.sb-footer-bubble-modern {
    position: relative;
    z-index: 1;
    min-height: 12rem;
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--sb-color-link, #2563eb) 0%, var(--sb-color-accent, #1e40af) 50%, var(--sb-color-text, #0f172a) 100%);
    background-size: 200% 200%;
    animation: sb-bubble-gradient-shift 15s ease infinite;
    overflow: hidden;
}

@keyframes sb-bubble-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.sb-footer-bubble-modern::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
    pointer-events: none;
}

/* Bubbles animation layer */
.sb-footer-bubble-bubbles {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.sb-footer-bubble-bubble {
    position: absolute;
    left: var(--position, 50%);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 100%;
    filter: blur(8px);
    animation: sb-bubble-size var(--time, 4s) ease-in infinite var(--delay, 0s),
               sb-bubble-move var(--time, 4s) ease-in infinite var(--delay, 0s);
    transform: translate(-50%, 0);
}

@keyframes sb-bubble-size {
    0% {
        width: var(--size, 4rem);
        height: var(--size, 4rem);
        opacity: 0.8;
    }
    75% {
        width: var(--size, 4rem);
        height: var(--size, 4rem);
        opacity: 0.5;
    }
    100% {
        width: 0rem;
        height: 0rem;
        opacity: 0;
    }
}

@keyframes sb-bubble-move {
    0% {
        bottom: 0;
    }
    100% {
        bottom: var(--distance, 10rem);
    }
}

/* Content layer */
.sb-footer-bubble-content {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem 2rem;
    color: #ffffff;
    overflow-x: hidden;
}

.sb-footer-bubble-inner {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: hidden;
}

.sb-footer-bubble-top {
        display: grid;
        grid-template-columns: .9fr 2fr;
        gap: 0px;
        align-items: start;
        padding-bottom: 48px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

.sb-footer-bubble-left {
    display: flex;
    flex-direction: column;
}

.sb-footer-bubble-right {
    display: flex;
    flex-direction: column;
}

.sb-footer-bubble-content a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s ease, padding 0.3s ease;
    display: inline-block;
    position: relative;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.sb-footer-bubble-content a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #ffffff;
}

.sb-footer-bubble-content a:hover {
    color: #ffffff !important;
    padding-left: 20px;
    opacity: 0.8;
}

.sb-footer-bubble-content a:hover::before {
    opacity: 1;
    left: 0;
}

.sb-footer-bubble-content p {
    color: #ffffff !important;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Columns layout */
.sb-footer-bubble-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
}

.sb-footer-bubble-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sb-footer-bubble-col > * {
    margin: 0.25rem 0;
}

.sb-footer-bubble-heading {
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff !important;
    margin: 0 0 1.5rem !important;
    font-family: var(--sb-font-heading, sans-serif);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 12px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.sb-footer-bubble-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Override regulator title to match footer heading style */
.sb-footer-bubble-content .sb-regulators-title.sb-footer-bubble-heading {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.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 {
    font-size: 0.9375rem;
    font-weight: 500;
}

/* Brand section */
.sb-footer-bubble-brand {
    margin-bottom: 1.5rem;
}

.sb-footer-bubble-brand img {
    max-height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.sb-footer-bubble-logo-text {
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--sb-font-heading, sans-serif);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.sb-footer-bubble-tagline {
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff !important;
    max-width: 350px;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.sb-footer-bubble-copyright {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #ffffff !important;
    text-align: center;
    padding-top: 32px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.sb-footer-bubble-copyright p {
    color: #ffffff !important;
    margin: 0;
}

.sb-footer-bubble-bottom {
    padding-top: 32px;
    text-align: center;
}

/* SVG filter */
.sb-footer-bubble-svg {
    position: fixed;
    top: 100vh;
    width: 0;
    height: 0;
}


/* Responsive */
@media (max-width: 968px) {
    .sb-footer-bubble-content {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .sb-footer-bubble-top {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-bottom: 40px;
    }

    .sb-footer-bubble-brand {
        text-align: center;
    }

    .sb-footer-bubble-brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .sb-footer-bubble-tagline {
        max-width: 100%;
    }

    .sb-footer-bubble-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 0px;
    }

    .sb-footer-bubble-heading {
        font-size: 0.875rem;
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 640px) {
    .sb-footer-bubble-content {
        padding: 2rem 1.25rem 1.25rem;
    }

    .sb-footer-bubble-columns {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sb-footer-bubble-col {
        text-align: center;
    }

    .sb-footer-bubble-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .sb-footer-menu {
        align-items: center;
    }

    .sb-footer-bubble-content a:hover {
        padding-left: 0;
        padding-right: 20px;
    }

    .sb-footer-bubble-content a:hover::before {
        transform: scaleX(-1);
        left: auto;
        right: 0;
    }

    .sb-footer-bubble-brand img {
        max-height: 50px;
    }

    .sb-footer-bubble-logo-text {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sb-footer-bubble-bubble {
        animation: none !important;
    }
}


