.s4-hero-slider {
    display: flex;
    width: 100%;
}

.s4-hero-slider .s4-hero-slider__carousel {
    display: flex;
    /* align-items: stretch; */
    width: 100%;
}

.s4-hero-slider .s4-hero-slider__carousel .s4-hero-slider__track {
    display: flex;
    width: 100%;
}

.s4-hero-slider .s4-hero-slider__carousel .s4-hero-slider__track .s4-hero-slider__slide {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding: clamp(200px, 10vw, 400px) clamp(20px, 4vw, 80px);
}

.s4-hero-slider .s4-hero-slider__carousel .s4-hero-slider__track .s4-hero-slider__slide .s4-hero-slider__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.s4-hero-slider .s4-hero-slider__carousel .s4-hero-slider__track .s4-hero-slider__slide .s4-hero-slider__content .s4-hero-slider__title {
    font-family: "melindaevania", sans-serif;
    font-size: clamp(2rem, 9vw, 4.5rem);
    color: #fff;
    text-align: center;
    line-height: 1;
    margin-bottom: 10px;
    text-wrap: balance;
}

.s4-hero-slider .s4-hero-slider__carousel .s4-hero-slider__track .s4-hero-slider__slide .s4-hero-slider__content .s4-hero-slider__subtitle {
    font-family: "melindaevania", sans-serif;
    font-size: clamp(1.2rem, 5vw, 3rem);
    color: #fff;
    text-align: center;
    line-height: 1;
    margin-bottom: clamp(20px, 2vw, 40px);
}

.s4-hero-slider .s4-hero-slider__carousel .s4-hero-slider__track .s4-hero-slider__slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(88, 0, 0, 0) 100%);
    z-index: 1;
    opacity: 0.4;
}

.s4-hero-slider .s4-hero-slider__carousel .s4-hero-slider__track .s4-hero-slider__slide::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(0deg, rgba(151, 1, 18, 1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    opacity: 0.4;
}

.s4-hero-slider .s4-hero-slider__carousel .s4-hero-slider__track .s4-hero-slider__slide .s4-hero-slider__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


.s4-hero-slider .s4-hero-slider__carousel .s4-hero-slider__pagination {
    position: absolute;
    left: 50%;
    bottom: clamp(24px, 4vw, 40px)!important;
    z-index: 2;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.s4-hero-slider .s4-hero-slider__carousel .s4-hero-slider__pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    margin: 0 !important;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    opacity: 1;
    position: relative;
    transition: border-color 0.35s ease, transform 0.35s ease;
}

.s4-hero-slider .s4-hero-slider__carousel .s4-hero-slider__pagination .swiper-pagination-bullet::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.s4-hero-slider .s4-hero-slider__carousel .s4-hero-slider__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    border-color: #fff;
    transform: scale(1.05);
}

.s4-hero-slider .s4-hero-slider__carousel .s4-hero-slider__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::after {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0;
}
