/*
Theme Name: Site Builder Generated Theme
Description: Сгенерирована плагином Site Builder. Шапка: centered-rail, футер: bubble-modern, стиль: lab-notebook.
Version: 1.1.10
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 ===== */

/* templates/theme/styles/lab-notebook.css */

:root {
    /* Основные цвета */
    --sb-color-bg:              #fbfbfa;
    --sb-color-bg-alt:          #eef2f5;
    --sb-color-text:            #1c2226;
    --sb-color-muted:           #5c6b73;
    --sb-color-link:            #0f5e6e;
    --sb-color-border:          #c3cdd2;
    --sb-color-accent:          #d64545;

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

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

body.sb-site {
    background: var(--sb-color-bg);
    background-image:
        linear-gradient(rgba(15, 94, 110, 0.05) 1px, transparent 1px);
    background-size: 100% 28px;
    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);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

body.sb-site h1,
body.sb-site h2 {
    border-bottom: 1px solid var(--sb-color-border);
    padding-bottom: 14px;
}

body.sb-site h1::after,
body.sb-site h2::after,
body.sb-site h3::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--sb-color-accent);
    border-radius: 50%;
    margin-left: 10px;
    vertical-align: middle;
}

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

body.sb-site h2 {
    font-size: 27px;
    margin-bottom: 20px;
}

body.sb-site h3 {
    font-size: 19px;
    color: var(--sb-color-link);
}

body.sb-site h4 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sb-color-muted);
    margin-top: 26px;
}

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

body.sb-site a {
    color: var(--sb-color-link);
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 94, 110, 0.4);
}

body.sb-site a:hover {
    border-bottom-color: var(--sb-color-link);
}

body.sb-site strong,
body.sb-site b {
    color: var(--sb-color-text);
    font-weight: 700;
    background: rgba(214, 69, 69, 0.08);
    padding: 0 3px;
}

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 7px;
    border-radius: 3px;
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    font-size: 0.9em;
    border: 1px solid var(--sb-color-border);
}

body.sb-site pre {
    background: var(--sb-color-bg-alt);
    border: 1px solid var(--sb-color-border);
    border-left: 3px solid var(--sb-color-link);
    border-radius: 4px;
    padding: 20px;
    overflow-x: auto;
}

body.sb-site pre code {
    background: none;
    border: none;
    color: var(--sb-color-text);
    padding: 0;
}

body.sb-site blockquote {
    border-left: 3px solid var(--sb-color-accent);
    background: var(--sb-color-bg-alt);
    color: var(--sb-color-text);
    padding: 18px 22px;
    margin: 30px 0;
    border-radius: 0 4px 4px 0;
}

body.sb-site blockquote::before {
    content: 'ПРИМ. ';
    color: var(--sb-color-accent);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 6px;
}

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);
}

body.sb-site img {
    border: 1px solid var(--sb-color-border);
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(28, 34, 38, 0.08);
}

body.sb-site img:hover {
    box-shadow: 0 4px 14px rgba(28, 34, 38, 0.14);
}

body.sb-site hr {
    border: none;
    border-top: 1px dashed var(--sb-color-border);
    margin: 56px 0;
    position: relative;
}

body.sb-site hr::after {
    content: '×';
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sb-color-bg);
    color: var(--sb-color-muted);
    padding: 0 10px;
    font-size: 14px;
}

body.sb-site table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
    border: 1px solid var(--sb-color-border);
}

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

body.sb-site th {
    background: var(--sb-color-bg-alt);
    color: var(--sb-color-text);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--sb-color-link);
}

body.sb-site tr:nth-child(even) {
    background: rgba(238, 242, 245, 0.5);
}

body.sb-site tr:hover {
    background: rgba(15, 94, 110, 0.05);
}

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: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.15s ease;
}

body.sb-site button svg {
    fill: currentColor !important;
    color: #ffffff !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: none !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border-radius: 4px !important;
}

body.sb-site button:hover,
body.sb-site input[type="submit"]:hover,
body.sb-site input[type="button"]:hover {
    background: #0a4a56;
}

body.sb-site input[type="text"],
body.sb-site input[type="email"],
body.sb-site input[type="search"],
body.sb-site textarea {
    background: #ffffff;
    border: 1px solid var(--sb-color-border);
    border-radius: 4px;
    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: 0 0 0 3px rgba(15, 94, 110, 0.12);
}

/* Header */
body.sb-site .sb-header-balanced-center {
    background: rgba(251, 251, 250, 0.98) !important;
    border-bottom: 1px solid var(--sb-color-border) !important;
    box-shadow: 0 1px 0 rgba(15, 94, 110, 0.08) !important;
}

body.sb-site .sb-header-balanced-center-brand a {
    color: var(--sb-color-text) !important;
    font-weight: 600;
    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;
    font-size: 14px;
}

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: var(--sb-color-bg) !important;
}

body.sb-site .sb-header-balanced-center-nav .sub-menu {
    background: #ffffff !important;
    border: 1px solid var(--sb-color-border) !important;
    box-shadow: 0 4px 12px rgba(28, 34, 38, 0.1) !important;
    border-radius: 4px !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-bg-alt) !important;
    color: var(--sb-color-link) !important;
}

body.sb-site .sb-header-balanced-center-toggle {
    background: var(--sb-color-bg-alt) !important;
    border: 1px solid var(--sb-color-border) !important;
    border-radius: 4px !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: #ffffff !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: #ffffff !important;
}

/* Back to top */
body.sb-site .sb-back-to-top {
    background: var(--sb-color-link);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(15, 94, 110, 0.3);
}

body.sb-site .sb-back-to-top:hover {
    background: #0a4a56;
}

@media (max-width: 768px) {
    body.sb-site h1 { font-size: 30px; }
    body.sb-site h2 { font-size: 23px; }
    body.sb-site h3 { font-size: 18px; }

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

    .sb-back-to-top {
        bottom: 20px;
        width: 44px;
        right: 30px;
        height: 44px;
        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;
            right: 20px;
            height: 44px;
            font-size: 20px;
        }
    }

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

    .sb-site-content {
        padding: 20px 20px!important;
    }

/* ===== Header variant: centered-rail ===== */
/* centered-rail — centered brand with a separate navigation rail */
.sb-header-centered-rail {
    background: var(--sb-color-bg, #fff);
    padding: 18px 20px 0;
    color: var(--sb-color-text, #111);
}
.sb-header-centered-rail .sb-header-cr-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.sb-header-centered-rail .sb-header-cr-top {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.sb-header-centered-rail .sb-header-cr-brand {
    margin: 0;
    font-family: var(--sb-font-heading, -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 1.2em;
    font-weight: 750;
    line-height: 1;
}
.sb-header-centered-rail .sb-header-cr-brand a {
    color: var(--sb-color-text, #111);
    text-decoration: none;
}
.sb-header-centered-rail .sb-header-cr-brand img {
    display: block;
    width: auto;
    max-height: 40px;
}
.sb-header-centered-rail .sb-header-cr-nav {
    display: flex;
    justify-content: center;
    padding: 7px;
    background: var(--sb-color-bg-alt, #f7f7f8);
    border: 1px solid var(--sb-color-border, #e5e7eb);
    border-radius: 14px;
}
.sb-header-centered-rail .sb-header-cr-nav > ul {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sb-header-centered-rail .sb-header-cr-nav li { position: relative; }
.sb-header-centered-rail .sb-header-cr-nav a {
    display: block;
    padding: 9px 14px;
    color: var(--sb-color-text, #111);
    text-decoration: none;
    font-size: .9em;
    font-weight: 550;
    border-radius: 9px;
    transition: color .18s, background .18s;
}
.sb-header-centered-rail .sb-header-cr-nav > ul > li > a:hover,
.sb-header-centered-rail .sb-header-cr-nav .current-menu-item > a,
.sb-header-centered-rail .sb-header-cr-nav .current-menu-ancestor > a {
    color: var(--sb-color-link, #2563eb);
    background: var(--sb-color-bg, #fff);
}
.sb-header-centered-rail .menu-item-has-children > a::after {
    content: "\25BE";
    display: inline-block;
    margin-left: 6px;
    font-size: .7em;
    opacity: .55;
}
.sb-header-centered-rail .sb-header-cr-nav .sub-menu {
    position: absolute;
    top: calc(100% + 2px);
    transform: translateX(-50%);
    z-index: 200;
    display: none;
    flex-direction: column;
    min-width: 210px;
    margin: 0;
    padding: 7px;
    list-style: none;
    background: var(--sb-color-bg, #fff);
    border: 1px solid var(--sb-color-border, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(0,0,0,.10);
}
.sb-header-centered-rail .sb-header-cr-nav li:hover > .sub-menu,
.sb-header-centered-rail .sb-header-cr-nav li:focus-within > .sub-menu { display: flex; }
.sb-header-centered-rail .sb-header-cr-nav .sub-menu .sub-menu {
    top: -7px;
    left: calc(100% + 8px);
    transform: none;
}
.sb-header-centered-rail .sb-header-cr-nav .sub-menu a {
    padding: 9px 11px;
    white-space: nowrap;
    font-size: .88em;
    font-weight: 450;
}
.sb-header-centered-rail .sb-header-cr-nav .sub-menu a:hover {
    color: var(--sb-color-link, #2563eb);
    background: var(--sb-color-bg-alt, #f7f7f8);
}
.sb-header-centered-rail .sb-header-cr-nav .sub-menu .menu-item-has-children > a::after {
    content: "\25B8";
    float: right;
}
.sb-header-centered-rail .sb-header-cr-burger {
    display: none;
    position: absolute;
    right: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: var(--sb-color-bg-alt, #f7f7f8);
    border: 1px solid var(--sb-color-border, #e5e7eb);
    border-radius: 10px;
    cursor: pointer;
}
.sb-header-centered-rail .sb-header-cr-burger span {
    width: 18px;
    height: 2px;
    background: var(--sb-color-text, #111);
    transition: transform .2s, opacity .2s;
}
.sb-header-centered-rail .sb-header-cr-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sb-header-centered-rail .sb-header-cr-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sb-header-centered-rail .sb-header-cr-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 800px) {
    .sb-header-centered-rail { padding: 12px 14px 0; }
    .sb-header-centered-rail .sb-header-cr-top {
        justify-content: flex-start;
        padding-right: 52px;
    }
    .sb-header-centered-rail .sb-header-cr-burger { display: flex; }
    .sb-header-centered-rail .sb-header-cr-nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 14px;
        right: 14px;
        z-index: 200;
        max-height: calc(100vh - 95px);
        overflow-y: auto;
        padding: 10px;
        background: var(--sb-color-bg, #fff);
        box-shadow: 0 14px 32px rgba(0,0,0,.10);
    }
    .sb-header-centered-rail .sb-header-cr-nav.sb-cr-open { display: block; }
    .sb-header-centered-rail .sb-header-cr-nav > ul {
        flex-direction: column;
        align-items: stretch;
    }
    .sb-header-centered-rail .sb-header-cr-nav .sub-menu {
        position: static;
        display: block;
        min-width: 0;
        transform: none;
        margin: 2px 0 2px 12px;
        padding: 0 0 0 10px;
        background: transparent;
        border: 0;
        border-left: 1px solid var(--sb-color-border, #e5e7eb);
        border-radius: 0;
        box-shadow: none;
    }
    .sb-header-centered-rail .sb-header-cr-nav .sub-menu .sub-menu { margin-left: 10px; }
    .sb-header-centered-rail .sb-header-cr-nav .menu-item-has-children > a::after {
        content: "\25BE";
        float: right;
    }
}


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

