/* VOKB hospital header — institutional teal (#0fa89d) */

.sp-pre-loader { display: none !important; }

/* Do not let Helix/offcanvas leftover lock the page after first scroll */
html {
    overflow-y: auto !important;
}
body:not(.offcanvas-active):not(.modal-menu-active) {
    overflow: visible !important;
    overflow-y: auto !important;
    height: auto !important;
    position: relative !important;
}

@font-face {
    font-family: "Font Awesome 5 Free";
    font-display: swap;
}
@font-face {
    font-family: "Font Awesome 6 Free";
    font-display: swap;
}

:root {
    --header_height: 90px;
    --vokb-teal: #0fa89d;
    --vokb-teal-soft: rgba(15, 168, 157, 0.12);
    --vokb-teal-border: rgba(15, 168, 157, 0.4);
    --vokb-ink: #1f2a30;
    --vokb-muted: #6a737c;
    --vokb-line: #d7e0e4;
    --vokb-radius: 6px;
}
.sticky-header-placeholder { height: 0; }

/* Compact topbar: keep breathing room without excess empty height */
#sp-header-topbar {
    background: #fff;
    border-bottom: 1px solid rgba(15, 168, 157, 0.08);
}
#sp-header-topbar .container-inner > .row {
    min-height: 148px !important;
    padding: 14px 0 12px;
    align-items: center !important;
}

#sp-header-topbar .awesomplete,
#sp-social .awesomplete {
    top: auto;
    position: relative;
}
.logo {
    margin-left: 0;
    flex: 0 0 auto;
    order: 0;
}
#sp-logo .allname {
    order: 1;
}
.menu-child { margin-top: 0 !important; }

#sp-logo {
    display: flex !important;
    justify-content: start;
}
#sp-logo > .sp-column {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px;
    width: 100%;
}
#sp-logo .logo-image,
#sp-header-topbar .logo-image,
.logo .logo-image {
    /* Corrected logo_main asset — keep natural proportions */
    width: auto !important;
    max-width: 140px;
    height: 100px !important;
    aspect-ratio: auto;
    object-fit: contain;
}
#sp-logo .allname {
    margin-left: 0;
    text-align: left;
    max-width: 34rem;
}
#sp-logo .minvokb,
#sp-logo .uchvokb {
    font-size: 13px !important;
    line-height: 1.35 !important;
    color: var(--vokb-muted) !important;
    font-weight: 400;
    text-align: left !important;
}
#sp-logo .uchvokb br {
    display: none;
}
#sp-logo .uchvokb {
    margin-top: 1px;
}
#sp-logo .namevokb {
    font-size: 18px !important;
    line-height: 1.3 !important;
    color: var(--vokb-ink) !important;
    margin-top: 4px;
    text-align: left !important;
}
#sp-logo .namevokb strong {
    font-weight: 700;
    letter-spacing: 0.01em;
}

#sp-social { min-width: 0; }
#sp-social > .sp-column {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 18px 20px;
    width: 100%;
}
#sp-social .social-wrap {
    flex: 1 1 auto;
    min-width: 0;
}
#sp-social .social-wrap .sp-contact-info {
    max-width: 100%;
}
#sp-social .vokb-header-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-left: 0;
    flex: 0 0 auto;
    align-self: center;
}
#sp-social .vokb-header-tools-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 36px;
}
#sp-social .vokb-header-tools .header-modules {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}
#sp-social .vokb-header-tools .form-control,
#sp-social .vokb-header-tools input[type="text"] {
    min-width: 200px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--vokb-line);
    border-radius: var(--vokb-radius);
    background: #fff;
    color: var(--vokb-ink);
    font-size: 14px;
    line-height: 1.2;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#sp-social .vokb-header-tools .form-control::placeholder,
#sp-social .vokb-header-tools input[type="text"]::placeholder {
    color: #8a949b;
}
#sp-social .vokb-header-tools .form-control:focus,
#sp-social .vokb-header-tools input[type="text"]:focus {
    border-color: var(--vokb-teal);
    box-shadow: 0 0 0 3px var(--vokb-teal-soft);
    outline: none;
}
#sp-left { width: 20% !important; }
.justify-content-xl-center { height: auto; }
#sp-bottom2 { width: 33% !important; }
#sp-bottom3 { width: 40% !important; }
#sp-contact {
    display: flex;
    justify-content: start;
}

#sp-contact .fas.fa-phone,
#sp-header-topbar .fas.fa-phone {
    display: none;
}
.sp-sign-in { display: none; }

/* Accessibility control — clear control, brand teal */
._access-icon,
#sp-social ._access-icon,
.vokb-header-tools ._access-icon {
    background-image: url('/templates/shaper_helixultimate/images/icon-eye.svg') !important;
    background-repeat: no-repeat !important;
    background-size: 20px 20px !important;
    background-position: center !important;
    font-size: 0 !important;
    color: transparent !important;
    background-color: #fff !important;
    border: 1px solid var(--vokb-teal-border) !important;
    border-radius: var(--vokb-radius) !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    z-index: 10050 !important;
    flex: 0 0 auto;
    transform: none !important;
    opacity: 1 !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
._access-icon:hover,
#sp-social ._access-icon:hover,
.vokb-header-tools ._access-icon:hover,
._access-icon:focus-visible {
    background-color: var(--vokb-teal-soft) !important;
    border-color: var(--vokb-teal) !important;
    box-shadow: 0 0 0 3px var(--vokb-teal-soft) !important;
    outline: none;
}
body._access-menu-open ._access-menu,
._access-menu.open,
._access-menu:not(.close) {
    z-index: 10051 !important;
}

.material-icons { font-family: '' !important; }

/* Language switcher — compact segmented control */
.langrubeeng {
    display: inline-flex;
    align-items: center;
    position: static;
    top: auto;
    left: auto;
    margin: 0;
    padding: 2px;
    gap: 2px;
    border: 1px solid var(--vokb-line);
    border-radius: var(--vokb-radius);
    background: #f7fafb;
}
.langrubeeng .langrubeeng__btn {
    min-width: 40px;
    height: 30px;
    margin: 0 !important;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--vokb-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}
.langrubeeng .langrubeeng__btn:hover {
    color: var(--vokb-teal);
    background: rgba(15, 168, 157, 0.08);
}
.langrubeeng .langrubeeng__btn.actdiv,
.langrubeeng .actdiv {
    color: #fff !important;
    background: var(--vokb-teal) !important;
    text-decoration: none !important;
}
.langrubeeng .lng_select,
.langrubeeng #google_translate_element {
    display: none !important;
}
#google_translate_element { display: none !important; }

#sp-bottom2 a,
#sp-bottom3 a,
.sppb-addon-single-image a,
.sppb-addon-articles .sppb-addon-article a {
    min-height: 24px;
    min-width: 24px;
    display: inline-block;
}

ul.social-icons { font-size: 25px; }

.sp-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sp-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0 0 5px;
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--vokb-muted);
    white-space: normal;
}
#sp-social .sp-contact-info a,
#sp-header-topbar .sp-contact-info a {
    color: #3a454d;
    text-decoration: none;
    transition: color 0.18s ease;
    white-space: normal;
}
#sp-social .sp-contact-info a:hover,
#sp-header-topbar .sp-contact-info a:hover {
    color: var(--vokb-teal);
}
#sp-social .sp-contact-info .fas,
#sp-social .sp-contact-info .far,
#sp-header-topbar .sp-contact-info .fas,
#sp-header-topbar .sp-contact-info .far {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    color: var(--vokb-teal);
    width: 18px;
    min-width: 18px;
    height: 1.2em;
    margin-right: 0;
    font-size: 13px;
    line-height: 1;
    overflow: visible;
    vertical-align: middle;
}

/* Compact desktop menu row — no 90px empty band */
#sp-header,
header#sp-header.lg-header {
    height: 52px !important;
    min-height: 52px !important;
    background: #ffffff !important;
}
#sp-header .container-inner > .row {
    min-height: 52px !important;
    height: 52px !important;
}
#sp-header .sp-column {
    height: 100% !important;
}

@media (min-width: 992px) {
    #sp-header-topbar .container-inner > .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
    #sp-header-topbar #sp-contact {
        display: none !important;
        width: 0 !important;
        flex: 0 0 0 !important;
        max-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden;
    }
    #sp-logo {
        flex: 0 1 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0;
        padding-left: 0;
    }
    #sp-social {
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0;
        margin-left: 0;
    }
    #sp-social > .sp-column {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100%;
        gap: 16px;
    }
    #sp-social .social-wrap {
        flex: 1 1 auto;
        display: flex !important;
        justify-content: center;
        align-items: center;
        min-width: 0;
    }
    #sp-social .social-wrap .sp-contact-info {
        margin: 0 auto;
        text-align: left;
    }
    #sp-social .vokb-header-tools {
        flex: 0 0 auto;
        margin-left: 0;
        align-self: center;
    }
    #sp-header,
    header#sp-header.lg-header {
        display: flex !important;
        align-items: center !important;
        height: 52px !important;
        min-height: 52px !important;
    }
    #sp-header > .container,
    #sp-header .container-inner,
    #sp-header .container-inner > .row,
    #sp-header .container-inner > .row > [class*="col-"],
    #sp-header .container-inner > .row .d-flex {
        display: flex !important;
        align-items: center !important;
        width: 100%;
        height: 100%;
        min-height: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    #sp-header .sp-megamenu-wrapper {
        display: flex !important;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        justify-content: flex-start;
        align-items: center !important;
        gap: 12px;
    }
    #sp-header .sp-megamenu-parent {
        display: flex !important;
        flex: 1 1 auto;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        justify-content: space-between;
        align-items: center !important;
        gap: 0;
    }
    #sp-header .sp-megamenu-parent > li {
        display: flex;
        flex: 0 1 auto;
        align-items: center;
        justify-content: center;
        height: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
    }
    #sp-header .sp-megamenu-parent > li > a,
    #sp-header .sp-megamenu-parent > li > span {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center;
        width: auto;
        height: auto !important;
        line-height: 1.2 !important;
        padding: 0 !important;
        font-size: 16px;
        text-align: center;
        white-space: nowrap;
    }
    #sp-header .vokb-burger,
    #sp-header #offcanvas-toggler.vokb-burger {
        display: inline-flex !important;
        flex: 0 0 36px;
        align-items: center;
        justify-content: center;
        width: 36px;
        min-width: 36px;
        height: 36px;
        margin: 0 !important;
        padding: 0;
        border: 1px solid var(--vokb-line, #d7e0e4);
        border-radius: var(--vokb-radius, 8px);
        background: #fff;
        color: #0fa89d;
        text-decoration: none;
        order: -1;
    }
    #sp-header .vokb-burger .burger-icon,
    #sp-header #offcanvas-toggler.vokb-burger .burger-icon {
        position: static !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 18px;
        height: 14px;
        margin: 0 !important;
    }
    #sp-header .vokb-burger .burger-icon > span {
        display: block !important;
        position: static !important;
        width: 18px !important;
        height: 2px !important;
        margin: 2px 0 !important;
        background-color: #0fa89d !important;
    }
    .vokb-header-tools-top .vokb-burger,
    #sp-header .offcanvas-toggler-custom:not(.vokb-burger),
    #sp-header .offcanvas-toggler-right:not(.vokb-burger),
    #sp-header .offcanvas-toggler-left:not(.vokb-burger) {
        display: none !important;
    }
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
    color: #333333 !important;
}
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active > span {
    color: #0fa89d !important;
}

.logo-image-phone { display: none !important; }

@media (max-width: 1500px) {
    #sp-social .vokb-header-tools .form-control,
    #sp-social .vokb-header-tools input[type="text"] {
        min-width: 170px;
    }
    #sp-logo .namevokb {
        font-size: 16px !important;
    }
    #sp-header .sp-megamenu-parent > li > a,
    #sp-header .sp-megamenu-parent > li > span {
        font-size: 15px;
        padding: 0 !important;
    }
}

@media (max-width: 991.98px) {
    .sp-megamenu-parent > li > a,
    .sp-megamenu-parent > li > span {
        line-height: 25px;
        font-size: 16px;
    }
    .logo { display: flex !important; }
    .col-lg-9 { width: 100%; }
    #sp-social > .sp-column {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    #sp-social .vokb-header-tools {
        width: 100%;
        align-items: flex-end;
    }
    #sp-header-topbar .container-inner > .row {
        min-height: 0 !important;
    }
}

@media (max-width: 750px) {
    #sp-logo .namevokb {
        font-size: 14px !important;
        line-height: 1.25 !important;
        width: auto;
        position: static;
    }
    #sp-left { display: none; }
    #sp-logo .uchvokb {
        font-size: 12px !important;
        line-height: 1.3 !important;
        width: auto;
        position: static;
    }
    #sp-logo .minvokb {
        font-size: 11px !important;
        line-height: 1.3 !important;
        width: auto;
        position: static;
    }
    #sp-logo .allname {
        margin-left: 0 !important;
        width: auto !important;
        max-width: 12rem;
    }
}

@media (max-width: 409px) {
    .langrubeeng .langrubeeng__btn {
        min-width: 32px;
        padding: 0 5px;
    }
}

@media (max-width: 999px) {
    #sp-social .vokb-header-tools {
        width: auto;
    }
}

@media (max-width: 559px) {
    #sp-social .vokb-header-tools .form-control,
    #sp-social .vokb-header-tools input[type="text"] {
        min-width: 0;
        width: 100%;
    }
}

/* Menu dropdown carets: Helix uses FA5 glyphs, Joomla loads FA6 — empty squares otherwise */
body.ltr .sp-megamenu-parent > li.sp-has-child > a::after,
body.ltr .sp-megamenu-parent > li.sp-has-child > span::after {
    font-family: inherit !important;
    font-weight: 400 !important;
    content: "" !important;
    float: none !important;
    display: inline-block;
    width: 0;
    height: 0;
    margin: 0 0 3px 7px;
    vertical-align: middle;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    border-color: currentColor transparent transparent transparent;
}

body.ltr .sp-megamenu-parent .sp-dropdown .sp-dropdown-items .sp-has-child > a::after {
    font-family: inherit !important;
    font-weight: 400 !important;
    content: "" !important;
    display: inline-block;
    float: right !important;
    width: 0;
    height: 0;
    margin: 6px 0 0 7px;
    border-style: solid;
    border-width: 4px 0 4px 5px;
    border-color: transparent transparent transparent currentColor;
}

#sp-contact:not(:has(.sp-contact-info)) {
    display: none !important;
}

/* Helix writes inline width:180px — too narrow for "Эндопротезирование" etc. */
.sp-megamenu-parent .sp-dropdown.sp-dropdown-main {
    width: max-content !important;
    min-width: 280px !important;
    max-width: none !important;
}
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    text-align: left;
    padding: 8px 12px;
    width: max-content !important;
    min-width: 280px;
}
.sp-megamenu-parent .sp-dropdown .sp-dropdown-items {
    width: max-content;
    min-width: 100%;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item span:not(.sp-menu-badge) {
    white-space: nowrap;
    display: block;
    padding: 8px 12px;
}

/* Off-canvas burger: search must not sit on “Главная”; contacts must wrap */
.offcanvas-menu {
    top: 0;
}
.offcanvas-menu .offcanvas-inner {
    padding: 16px 20px 24px;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
}
.offcanvas-menu .offcanvas-inner .header-modules {
    display: block !important;
    margin: 0 0 20px !important;
}
.offcanvas-menu .offcanvas-inner .awesomplete,
.offcanvas-menu .offcanvas-inner .finder {
    position: static !important;
    top: auto !important;
    width: 100%;
    margin: 0 0 8px;
}
.offcanvas-menu .offcanvas-inner .finder input,
.offcanvas-menu .offcanvas-inner .awesomplete input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.offcanvas-menu .offcanvas-inner ul.menu {
    margin-top: 8px;
}
.offcanvas-menu .offcanvas-inner ul.menu > li > a {
    padding: 8px 28px 8px 0;
    line-height: 1.3;
}
.offcanvas-menu .offcanvas-inner .sp-contact-info {
    display: block;
    margin-top: 20px;
    padding: 0;
    list-style: none;
}
.offcanvas-menu .offcanvas-inner .sp-contact-info > li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 12px;
    white-space: normal !important;
    font-size: 13px;
    line-height: 1.35;
}
.offcanvas-menu .offcanvas-inner .sp-contact-info > li > a,
.offcanvas-menu .offcanvas-inner .sp-contact-info > li > span {
    white-space: normal !important;
    word-break: break-word;
    flex: 1;
}
.offcanvas-menu .offcanvas-inner .sp-contact-info .fas,
.offcanvas-menu .offcanvas-inner .sp-contact-info .far {
    display: inline-block !important;
    flex: 0 0 16px;
    width: 16px;
    margin-top: 2px;
}
.offcanvas-menu .mb-4 {
    margin-top: 16px;
    margin-bottom: 0 !important;
}

/* Offcanvas submenu carets: Helix FA5 glyphs vs Joomla FA6 */
.offcanvas-menu .offcanvas-inner ul.menu .menu-toggler::after {
    font-family: inherit !important;
    font-weight: 400 !important;
    content: "" !important;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 5px;
    border-color: transparent transparent transparent currentColor;
}
.offcanvas-menu .offcanvas-inner ul.menu li.menu-parent-open > a > .menu-toggler::after,
.offcanvas-menu .offcanvas-inner ul.menu li.menu-parent-open > .menu-separator > .menu-toggler::after,
.offcanvas-menu .offcanvas-inner ul.menu li.menu-parent-open > .nav-header > .menu-toggler::after,
.offcanvas-menu .offcanvas-inner ul.menu li.menu-parent-open > .menu-toggler::after {
    border-width: 5px 4px 0 4px;
    border-color: currentColor transparent transparent transparent;
}

/* Hide leftover Helix / CookieConsent banners — VOKB cookie bar replaces them */
.sp-cookie-consent,
#cc-main,
.cc-window,
.cc-banner,
.hkpopup-overlay {
    display: none !important;
}

/* Team / admin-resources carousel: keep slide transitions + logo proportions */
.sppb-carousel-extended-list {
    overflow: hidden !important;
}
.sppb-carousel-extended-outer-stage {
    transition-property: transform !important;
    transition-timing-function: ease !important;
    will-change: transform;
}
.sppb-carousel-extended.sppb-team-carousel-layout2 .sppb-carousel-extended-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.sppb-carousel-extended.sppb-team-carousel-layout2 .sppb-carousel-extended-item > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}
.sppb-carousel-extended.sppb-team-carousel-layout2 .sppb-carousel-extended-team-content,
.sppb-carousel-extended.sppb-team-carousel-layout2 .sppb-carousel-extended-item-overlay {
    pointer-events: none !important;
}
.sppb-carousel-extended.sppb-team-carousel-layout2 .sppb-carousel-extended-team-name a,
.sppb-carousel-extended.sppb-team-carousel-layout2 .sppb-carousel-extended-team-social-icon a {
    pointer-events: auto;
}
.sppb-carousel-extended.sppb-team-carousel-layout2 .sppb-carousel-extended-item img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 110px;
    object-fit: contain !important;
}

/* Mobile header: one row logo + title + menu; no empty burger bar */
@media (max-width: 991.98px) {
    #sp-header.lg-header {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden;
    }
    #sp-header-topbar {
        border-bottom: 1px solid var(--vokb-line);
        overflow: visible;
    }
    #sp-header-topbar .container {
        overflow: visible;
        padding-left: 16px;
        padding-right: 16px;
    }
    #sp-header-topbar .container-inner {
        overflow: visible;
        padding-left: 0;
        padding-right: 0;
    }
    #sp-header-topbar .container-inner > .row {
        flex-wrap: wrap;
        min-height: 0 !important;
        height: auto !important;
        align-items: flex-start !important;
        padding: 10px 0 12px;
        gap: 0;
        margin-left: 0;
        margin-right: 0;
    }
    #sp-logo,
    #sp-social {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: visible;
    }
    #sp-logo {
        display: flex !important;
        order: 1;
        padding-bottom: 10px;
    }
    #sp-social {
        order: 2;
    }
    .vokb-header-tools-top .vokb-burger,
    .vokb-header-tools-top #offcanvas-toggler {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        float: none !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        min-width: 36px;
        height: 36px;
        margin: 0 !important;
        padding: 0;
        border: 1px solid var(--vokb-line, #d7e0e4);
        border-radius: var(--vokb-radius, 8px);
        background: #fff;
        color: #0fa89d;
        text-decoration: none;
        z-index: 50;
    }
    .vokb-header-tools-top .vokb-burger .burger-icon,
    .vokb-header-tools-top #offcanvas-toggler .burger-icon {
        position: static !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 18px;
        height: 14px;
        margin: 0 !important;
    }
    .vokb-header-tools-top .vokb-burger .burger-icon > span,
    .vokb-header-tools-top #offcanvas-toggler .burger-icon > span {
        display: block !important;
        position: static !important;
        width: 18px !important;
        height: 2px !important;
        margin: 2px 0 !important;
        background-color: #0fa89d !important;
    }
    .vokb-burger-label {
        display: none !important;
    }
    #sp-logo > .sp-column {
        flex-wrap: nowrap;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px;
        width: 100%;
    }
    #sp-logo .logo {
        order: 0;
    }
    #sp-logo .allname {
        order: 1;
    }
    #sp-logo .vokb-mobile-toggler {
        order: 2;
        margin-left: auto;
        display: flex !important;
        position: relative !important;
        float: none !important;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        z-index: 40;
    }
    /* Helix injects a second burger inside .logo — hide it */
    #sp-logo .logo > a.offcanvas-toggler-custom,
    #sp-logo .logo #offcanvas-toggler,
    #sp-logo .logo .offcanvas-toggler-left {
        display: none !important;
    }
    .logo {
        overflow: visible !important;
        flex: 0 0 auto;
        max-width: none;
    }
    .logo-image,
    #sp-logo .logo-image,
    #sp-header-topbar .logo-image,
    .logo .logo-image {
        display: block !important;
        height: 56px !important;
        max-width: 88px !important;
        width: auto !important;
        flex: 0 0 auto;
        object-fit: contain !important;
        overflow: visible;
    }
    #sp-social .sp-contact-info li {
        overflow: visible;
        padding-left: 0;
    }
    #sp-logo .allname {
        max-width: none !important;
        width: auto !important;
        margin-left: 0 !important;
        flex: 1 1 auto;
        min-width: 0;
    }
    .vokb-mobile-toggler {
        flex: 0 0 auto;
        margin-left: auto;
        align-self: center;
    }
    .vokb-mobile-toggler #offcanvas-toggler,
    .vokb-mobile-toggler .vokb-burger {
        display: flex !important;
        float: none !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0 !important;
        padding: 0;
        border: 1px solid var(--vokb-teal-border);
        border-radius: var(--vokb-radius);
        background: #fff;
        color: var(--vokb-teal);
        line-height: 1;
        text-decoration: none;
    }
    .vokb-mobile-toggler #offcanvas-toggler:hover,
    .vokb-mobile-toggler #offcanvas-toggler:focus-visible {
        background: var(--vokb-teal-soft);
        border-color: var(--vokb-teal);
        outline: none;
        box-shadow: 0 0 0 3px var(--vokb-teal-soft);
    }
    .vokb-mobile-toggler .burger-icon {
        position: static !important;
        left: auto !important;
        top: auto !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 18px;
        height: 14px;
        margin: 0 !important;
    }
    .vokb-mobile-toggler .burger-icon > span {
        display: block !important;
        position: static !important;
        width: 18px !important;
        height: 2px !important;
        margin: 2px 0 !important;
        background-color: #0fa89d !important;
        opacity: 1 !important;
    }
    #sp-social > .sp-column {
        flex-direction: column;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 10px;
    }
    #sp-social .social-wrap {
        width: 100%;
    }
    #sp-social .sp-contact-info li {
        margin-bottom: 3px;
        font-size: 13px;
    }
    #sp-social .vokb-header-tools {
        width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 6px;
    }
    #sp-social .vokb-header-tools-top {
        width: auto;
        flex: 0 0 auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 6px;
        min-height: 36px;
    }
    #sp-social .vokb-header-tools .header-modules {
        flex: 1 1 auto;
        min-width: 0;
        width: auto !important;
        display: flex !important;
        justify-content: stretch !important;
    }
    #sp-social .vokb-header-tools .header-modules > *,
    #sp-social .vokb-header-tools .header-modules .finder,
    #sp-social .vokb-header-tools .header-modules .awesomplete,
    #sp-social .vokb-header-tools .form-control,
    #sp-social .vokb-header-tools input[type="text"] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100%;
        flex: 1 1 auto;
        height: 36px;
    }
    .col-6 {
        margin-left: 0 !important;
    }
    ul.social-icons {
        margin-top: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 575.98px) {
    #sp-logo .logo-image,
    #sp-header-topbar .logo-image,
    .logo .logo-image {
        height: 48px !important;
        max-width: 64px !important;
    }
    #sp-logo .minvokb,
    #sp-logo .uchvokb {
        font-size: 10px !important;
        line-height: 1.25 !important;
    }
    #sp-logo .namevokb {
        font-size: 13px !important;
        line-height: 1.25 !important;
    }
    #sp-header-topbar .sp-contact-info,
    #sp-social .sp-contact-info li {
        font-size: 12.5px;
        line-height: 1.35;
    }
}

/* Homepage news: magazine grid — title full-width, featured | scroller stack */
.sppb-row:has(> #column-wrap-id-1629272628190) {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 560px;
    gap: 16px 20px;
    align-items: stretch;
}
#column-wrap-id-1629272628190,
#column-wrap-id-1629272628190 > .sppb-column,
#column-wrap-id-1629272628190 .sppb-column-addons,
#column-wrap-id-1629272630702,
#column-wrap-id-1629272630702 > .sppb-column,
#column-wrap-id-1629272630702 .sppb-column-addons {
    display: contents !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#sppb-addon-wrapper-1629281455328 {
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0 !important;
}
#sppb-addon-1629281455328 .sppb-addon-title {
    margin: 0 !important;
    line-height: 1.2;
}
#sppb-addon-1629281455328 .sppb-addon-content p {
    display: none;
}
#sppb-addon-wrapper-1698658306716 {
    grid-column: 1;
    grid-row: 2;
    display: flex !important;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    margin: 0 !important;
}
#sppb-addon-wrapper-1698658424000 {
    grid-column: 2;
    grid-row: 2;
    display: flex !important;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    margin: 0 !important;
}
#sppb-addon-wrapper-1698658306716 > .clearfix,
#sppb-addon-wrapper-1698658306716 .sppb-addon-articles,
#sppb-addon-wrapper-1698658306716 .sppb-addon-articles > .sppb-addon-content,
#sppb-addon-wrapper-1698658306716 .sppb-addon-articles .sppb-row,
#sppb-addon-wrapper-1698658306716 .sppb-addon-article-layout,
#sppb-addon-wrapper-1698658306716 .sppb-addon-articles .sppb-col-sm-12,
#sppb-addon-wrapper-1698658306716 .sppb-addon-articles [class*="sppb-col-"] {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}
#sppb-addon-wrapper-1698658306716 .sppb-addon-articles .sppb-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
#sppb-addon-wrapper-1698658306716 .sppb-addon-article {
    flex: 1 1 auto;
    align-self: stretch;
    min-height: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 12px;
    overflow: hidden;
    background-color: #1a3a38;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08);
    position: relative;
}
#sppb-addon-wrapper-1698658306716 .sppb-addon-article::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 40, 38, 0.15) 20%, rgba(15, 40, 38, 0.92) 100%);
    pointer-events: none;
    z-index: 0;
}
#sppb-addon-wrapper-1698658306716 .sppb-article-info-wrap {
    position: relative;
    z-index: 1;
    padding: 28px 24px 22px !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
#sppb-addon-wrapper-1698658306716 .sppb-addon-article h3 {
    margin: 0 0 8px;
    font-size: clamp(18px, 1.6vw, 26px) !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#sppb-addon-wrapper-1698658306716 .sppb-addon-article h3 a,
#sppb-addon-wrapper-1698658306716 .sppb-article-introtext,
#sppb-addon-wrapper-1698658306716 .sppb-article-meta,
#sppb-addon-wrapper-1698658306716 .sppb-article-meta a,
#sppb-addon-wrapper-1698658306716 .sppb-article-meta time {
    color: #fff !important;
}
#sppb-addon-wrapper-1698658306716 .sppb-article-introtext {
    margin: 8px 0 0;
    opacity: 0.92;
    font-size: 14px !important;
    line-height: 1.45 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#sppb-addon-wrapper-1698658306716 .sppb-addon-article img {
    display: none !important;
}

/* Right stack: 4 equal cards */
#sppb-addon-wrapper-1698658424000 > .clearfix,
#sppb-addon-wrapper-1698658424000 .sppb-addon-articles-scroller,
#sppb-addon-wrapper-1698658424000 .sppb-addon-articles-scroller > .sppb-addon-content,
#sppb-addon-wrapper-1698658424000 .bx-wrapper,
#sppb-addon-wrapper-1698658424000 .bx-viewport {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100% !important;
    min-height: 0;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
#sppb-addon-wrapper-1698658424000 .sppb-article-scroller-wrap {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100% !important;
    gap: 12px;
    transform: none !important;
    position: static !important;
    width: 100% !important;
}
#sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-content.bx-clone {
    display: none !important;
}
#sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-content {
    float: none !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: hidden;
}
#sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-link {
    display: block !important;
    height: 100% !important;
    min-height: 0 !important;
    text-decoration: none !important;
}
#sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-date-left-date-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 118px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #1a3a38;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    isolation: isolate;
    border: 0 !important;
}
#sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-date-left-date-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 36, 34, 0.55) 0%, rgba(12, 36, 34, 0.82) 55%, rgba(12, 36, 34, 0.9) 100%);
    z-index: 0;
    pointer-events: none;
}
#sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-date-left-date,
#sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-date-left-content {
    position: relative;
    z-index: 1;
    background: transparent !important;
    box-shadow: none !important;
}
#sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-date-left-date {
    flex: 0 0 68px !important;
    width: 68px !important;
    max-width: 68px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(10, 42, 40, 0.95) !important;
    padding: 8px 4px !important;
}
#sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-meta-date-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    line-height: 1.1;
}
#sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-day,
#sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-month {
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}
#sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-day {
    font-size: 22px !important;
}
#sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-date-left-content {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 12px 14px !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}
#sppb-addon-wrapper-1698658424000 .sppb-addon-articles-scroller-title {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    max-height: calc(1.35em * 3);
    word-break: break-word;
}
#sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-introtext {
    display: none !important;
}
#sppb-addon-wrapper-1698658424000 .bx-controls {
    display: none !important;
}

@media (max-width: 991.98px) {
    .sppb-row:has(> #column-wrap-id-1629272628190) {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 14px;
    }
    #sppb-addon-wrapper-1629281455328 {
        grid-column: 1;
        grid-row: 1;
    }
    #sppb-addon-wrapper-1698658306716 {
        grid-column: 1;
        grid-row: 2;
        height: auto;
        min-height: 320px;
    }
    #sppb-addon-wrapper-1698658424000 {
        grid-column: 1;
        grid-row: 3;
        height: auto;
    }
    #sppb-addon-wrapper-1698658306716 .sppb-addon-article {
        min-height: 320px !important;
        height: 320px !important;
    }
    #sppb-addon-wrapper-1698658306716 .sppb-addon-article h3 {
        font-size: 20px !important;
    }
    #sppb-addon-wrapper-1698658424000 .sppb-article-scroller-wrap {
        gap: 10px;
        height: auto !important;
    }
    #sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-content {
        flex: 0 0 auto !important;
        height: 112px !important;
    }
    #sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-date-left-date-container {
        min-height: 112px;
        height: 112px;
    }
    #sppb-addon-wrapper-1698658424000 .sppb-addon-articles-scroller-title {
        font-size: 14px !important;
        -webkit-line-clamp: 2;
        max-height: calc(1.35em * 2);
    }
}

@media (max-width: 575.98px) {
    #sppb-addon-wrapper-1698658306716 .sppb-addon-article {
        min-height: 260px !important;
        height: 260px !important;
    }
    #sppb-addon-wrapper-1698658306716 .sppb-article-info-wrap {
        padding: 18px 16px 16px !important;
    }
    #sppb-addon-wrapper-1698658306716 .sppb-addon-article h3 {
        font-size: 17px !important;
        -webkit-line-clamp: 3;
    }
    #sppb-addon-wrapper-1698658306716 .sppb-article-introtext {
        -webkit-line-clamp: 2;
        font-size: 13px !important;
    }
    #sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-content,
    #sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-date-left-date-container {
        height: 100px !important;
        min-height: 100px;
    }
    #sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-date-left-date {
        flex-basis: 56px !important;
        width: 56px !important;
        max-width: 56px !important;
    }
    #sppb-addon-wrapper-1698658424000 .sppb-articles-scroller-day {
        font-size: 18px !important;
    }
    #sppb-addon-wrapper-1698658424000 .sppb-addon-articles-scroller-title {
        font-size: 13px !important;
    }
}


