.hero.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .hero-track {
    display: flex !important;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 0.65s ease;
    will-change: transform;

    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.hero-slider .hero-track.is-dragging {
    cursor: grabbing;
}

.hero-slider .hero-track.is-dragging a,
.hero-slider .hero-track.is-dragging button {
    pointer-events: none;
}

.hero-slider .hero-slide {
    position: relative !important;
    display: block !important;
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    color: inherit;
    text-decoration: none;

    background-color: var(--hero-slide-bg, #2D68CB);
    overflow: hidden;
}

/* Рисунок/структура из свойства BG_PATTERN */
/* .hero-slider .hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image: var(--hero-slide-pattern, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: .52;
    pointer-events: none;
} */


.hero-slider .hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image: var(--hero-slide-pattern, none);
    background-size: 260px auto;
    background-position: center;
    background-repeat: repeat;

    opacity: 1;
    filter: contrast(1.18) brightness(1.08);
    mix-blend-mode: screen;

    pointer-events: none;
}



/* Цветовой оттенок + мягкая световая подложка поверх структуры */
.hero-slider .hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, .22), transparent 34%),
        linear-gradient(
            90deg,
            rgba(15, 23, 42, .10) 0%,
            rgba(15, 23, 42, .04) 42%,
            rgba(255, 255, 255, .10) 100%
        );

    opacity: 1;
    pointer-events: none;
}

.hero-slider .hero-slide::before,
.hero-slider .hero-slide::after {
    background-attachment: local;
}

.hero-slider .hero-slide:hover {
    color: inherit;
    text-decoration: none;
}

.hero-slider .hero-inner {
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-slider .hero-inner ul {
    margin-bottom: -0.4rem;
}

.hero-slider .hero-inner li {
    font-size: 1rem;
}

.hero-slider .hero-slide img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.hero-slider .hero-slide-button,
.hero-slider .hero-inner a.hero-slide-button {
    display: inline-flex;
    width: auto;
    margin-top: 2.2rem;
}

.hero-slider .hero-slide-button:hover {
    /* background-color: var(--button-ghost-hover-bg, rgba(255, 255, 255, .09)); */
    background-color: var(--button-ghost-hover-bg);
    box-shadow: 8px 11px 17px 10px rgba(66, 107, 138, 0.1);   
    
}

/* До 500px:
   - убираем стрелки;
   - убираем кнопку "Смотреть";
   - весь слайд становится кликабельным через JS.
*/
@media (max-width: 500px) {
    .hero-slider .slider-arrow,
    .hero-slider .slider-prev,
    .hero-slider .slider-next {
        display: none !important;
    }

    .hero-slider .hero-slide-button,
    .hero-slider .button-ghost {
        display: none !important;
    }

    .hero-slider .hero-slide {
        cursor: pointer;
    }
}


.hero.hero-slider,
.hero-slider .hero-track,
.hero-slider .hero-slide {
    min-height: clamp(350px, 31vw, 450px) !important;
    height: clamp(350px, 31vw, 450px) !important;
}

.hero-slider .hero-inner {
    min-height: clamp(350px, 31vw, 450px);
    padding-top: clamp(26px, 3vw, 44px);
    padding-bottom: clamp(38px, 3.2vw, 52px);
}

.hero-slider .hero-media {
    min-height: 0;
    height: 100%;
}

.hero-slider .hero-media img {
    max-height: clamp(210px, 24vw, 340px);
    width: min(560px, 100%);
    object-fit: contain;
}

@media (max-width: 700px) {
    .hero.hero-slider,
    .hero-slider .hero-track,
    .hero-slider .hero-slide {
        min-height: clamp(350px, 82vw, 430px) !important;
        height: clamp(350px, 82vw, 430px) !important;
    }

    .hero-slider .hero-inner {
        min-height: clamp(350px, 82vw, 430px);
        padding-top: 26px;
        padding-bottom: 46px;
    }

    .hero-slider .hero-copy h2 {
        font-size: clamp(24px, 7vw, 34px);
    }

    .hero-slider .hero-copy p,
    .hero-slider .hero-description {
        font-size: 15px;
        line-height: 1.45;
    }

    .hero-slider .hero-media img {
        max-height: clamp(145px, 40vw, 210px);
        width: min(82vw, 340px);
    }
}

@media (max-width: 420px) {
    .hero.hero-slider,
    .hero-slider .hero-track,
    .hero-slider .hero-slide {
        min-height: 350px !important;
        height: 350px !important;
    }

    .hero-slider .hero-inner {
        min-height: 350px;
    }
}









@media (max-width: 1984px) and (min-width: 501px) {
.slider-arrow {
    display:none!important;
    }
}
    /* 
 @media (max-width: 1984px) and (min-width: 501px) {   
    .hero-slider .slider-controls {
        position: absolute;
        left: 50%;
        bottom: 24px;
        z-index: 20;

        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;

        width: auto;
        transform: translateX(-50%);
    }

    .hero-slider .slider-controls .slider-dots {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;

        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;

        width: auto !important;
        margin: 0;
        padding: 0;
        transform: none !important;
    }

    .hero-slider .slider-controls .slider-arrow {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;

        display: inline-flex !important;
        align-items: center;
        justify-content: center;

        width: 18px;
        height: 18px;
        min-width: 0;
        min-height: 0;

        margin: 0;
        padding: 0 !important;

        border: 0 !important;
        border-radius: 0;
        background: transparent !important;
        box-shadow: none !important;

        color: #fff;
        opacity: .85;

        font-family: Arial, sans-serif;
        font-size: 28px;
        line-height: 1;

        transform: none !important;
        cursor: pointer;
    }

    .hero-slider .slider-controls .slider-arrow:hover {
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #fff;
        opacity: 1;
        transform: none !important;
    }
}

@media (max-width: 500px) {
    .hero-slider .slider-controls .slider-arrow,
    .hero-slider .slider-arrow {
        display: none !important;
    }
} */