/* --- Extracted Block --- */
/* плавные переходы */
.header,
.h-link div,
.button_contact div,
.button_contact {
    transition: all 0.4s ease;
}

/* светлая тема (фон — светлый, текст — тёмный/чёрный) */
.header.is-light .h-link div,
.header.is-light .button_contact div {
    color: #ffffff;
}

.header.is-light .button_contact {
    background-color: rgba(241, 241, 241, 0.15);
}

.header.is-light {
    background-color: transparent;
}

/* тёмная тема (фон — тёмный, текст — белый) */
.header.is-dark .h-link div {
    color: #242424;
}

/* КНОПКА при тёмной теме */
.header.is-dark .button_contact {
    background-color: #242424;
}

/* текст кнопки при dark — белый */
.header.is-dark .button_contact div {
    color: #ffffff;
}

.header.is-dark {
    background-color: #f1f1f1;
}

/* --- Extracted Block --- */
::-webkit-scrollbar-button {
    transition: 0ms !important;
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0px;
    border-radius: 0px;
    background: transparent;
    opacity: 0;
}

::-webkit-resizer {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar {
    width: 0px;
}

::selection {
    background-color: #808080;
    color: #ffffff;
}

::-moz-selection {
    background-color: #808080;
    color: #ffffff;
}

/* --- Extracted Block --- */
.number {
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* --- Extracted Block --- */
:root {
    --plyr-color-main: var(--colors--player-color)
}

.plyr {
    border-radius: 8px !important
}

/* --- Added: Stacking Why We Exist Cards --- */
.boxes_right .card_about_why {
    position: sticky;
    top: 120px;
    z-index: 2;
}

/* --- Added: Sticky "A Legacy of Clinical Precision" Header --- */
.left_flex .sticky_box_why {
    position: sticky;
    top: 120px;
    z-index: 10;
}

@media screen and (max-width: 767px) {
    .left_flex .sticky_box_why {
        top: 80px;
        padding-top: 1rem;
        padding-bottom: 1rem;
        margin-bottom: 2rem;
    }
}