
.homeSlider {
    margin-top: 40px;
    width: 100%;
}

.homeSlider .splide {
    width: 100%;
    padding-bottom: 0;
    max-width: min(1188px, 99dvw);
    margin: 0 auto;
    position: relative;
    aspect-ratio: 2400 / 800;
    overflow: hidden;
}

.homeSlider .splide__track,
.homeSlider .splide__list,
.homeSlider .splide__slide,
.homeSlider .splide__slide a,
.homeSlider .swiperSlideBgImage {
    height: 100%;
}

.homeSlider .splide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.homeSlider .swiperSlideBgImage {
    display: block;
    width: 100%;
    max-width: 100%;
}

.homeSlider .swiperSlideBgImage img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.homeSlider .splide__slide a {
    display: block;
    width: 100%;
}

.homeSlider .splide__slide a img {
    cursor: pointer;
}

.homeSlider .splide__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    border: 0;
    padding: 0;
    cursor: pointer;
    width: 34px;
    height: 64px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 0 5px 0 #00000042;
    opacity: .62;
    border-radius: 0;
    transition: opacity .2s ease, background-color .2s ease;
}

.homeSlider .splide__arrow:hover {
    background: rgba(255, 255, 255, .95);
    opacity: 1;
}

.homeSlider .splide__arrow svg {
    width: 20px;
    height: 20px;
    fill: var(--colors-red);
}

.homeSlider .splide__arrow--prev svg {
    transform: scaleX(-1);
}

.homeSlider .splide__arrow--prev {
    left: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.homeSlider .splide__arrow--next {
    right: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

@media screen and (max-width: 1024px) {
    .homeSlider .splide {
        aspect-ratio: 2400 / 800;
    }

    .homeSlider .splide__arrow {
        width: 30px;
        height: 56px;
    }
}

@media screen and (max-width: 767px) {
    .homeSlider .splide {
        aspect-ratio: 800 / 850;
    }
}

@media screen and (max-width: 1188px) {
    .homeSlider {
        margin-top: 16px;
    }
}
