/* Hero slider (homepage), similar to full-bleed banners on Red+ */

.hero-section--slider {
    line-height: 0;
}

.hero-section--slider .hero-swiper {
    width: 100%;
    height: var(--hero-slider-height, 50vw);
    position: relative;
    overflow: hidden;
}

.hero-section--slider .swiper-wrapper,
.hero-section--slider .swiper-slide {
    height: 100%;
}

.hero-section--slider .swiper-slide {
    width: 100%;
    line-height: 0;
}

.hero-section--slider .hero-section__image {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: cover;
    object-position: center center;
}

.hero-swiper__pagination.swiper-pagination {
    bottom: 18px !important;
    line-height: 1;
}

.hero-swiper__pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0 5px !important;
    background: #fff;
    opacity: 0.45;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.hero-swiper__pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

.hero-swiper__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: #111;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, opacity 0.2s ease;
}

.hero-swiper__nav:hover {
    background: #fff;
}

.hero-swiper__nav--prev {
    left: 16px;
}

.hero-swiper__nav--next {
    right: 16px;
}

.hero-swiper__nav span {
    display: block;
    margin-top: -2px;
}

@media (max-width: 768px) {
    .hero-swiper__nav {
        display: none;
    }

    .hero-swiper__pagination.swiper-pagination {
        bottom: 12px !important;
    }
}
