.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 800;
    overflow: hidden;
    background-color: #000;
}

.hero-slider.small {
    aspect-ratio: 1440 / 577;
}

.hero-slider .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-slider__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gr-overlay);
    z-index: 2;
}

.hero-slider__content {
    position: absolute;
    bottom: 15.625%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--size, 82.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 calc(var(--space) * 20);
    z-index: 3;
}

.single-content h2.hero-slider__title,
.editor-styles-wrapper .block-editor-block-list__layout h2.hero-slider__title,
.hero-slider__title {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.15;
    margin: 0 0 calc(var(--space) * 8) 0;
    max-width: 90%;
}

.hero-slider__desc {
    color: #ffffff;
    line-height: 1.5;
    font-size: var(--fs-16);
    max-width: 720px;
    margin: 0;
}

.hero-slider__caption {
    position: absolute;
    bottom: 3.75%;
    right: 4.1667%;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    z-index: 4;
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-rtl .swiper-button-next,
.hero-slider .swiper-button-next,
.hero-slider .swiper-rtl .swiper-button-prev {
    display: none;

}

@media (min-width: 992px) {

    .single-content h2.hero-slider__title,
    .editor-styles-wrapper .block-editor-block-list__layout h2.hero-slider__title,
    .hero-slider__title {
        font-size: var(--fs-72, 4.5rem);
    }

    .hero-slider__desc {
        font-size: var(--fs-18, 1.125rem);
    }

    .hero-slider__caption {
        font-size: var(--fs-12, 0.75rem);
    }
}

@media (max-width: 991px) {
    .hero-slider {
        aspect-ratio: 375 / 600;
        height: auto;
    }

    .hero-slider.small {
        aspect-ratio: 375 / 600;
    }

    .hero-slider__content {
        padding: 0 1rem;
        bottom: 10%;
    }

    .single-content h2.hero-slider__title,
    .editor-styles-wrapper .block-editor-block-list__layout h2.hero-slider__title,
    .hero-slider__title {
        font-size: var(--fs-36);
    }

    .hero-slider__desc {
        font-size: var(--fs-16, 1rem);
    }

    .hero-slider__caption {
        font-size: var(--fs-12, 0.75rem);
        bottom: 24px;
        left: 50%;
        right: auto;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        white-space: nowrap;
    }

    .single-content h2.hero-slider__title,
    .editor-styles-wrapper .block-editor-block-list__layout h2.hero-slider__title,
    .hero-slider__title,
    .hero-slider__desc {
        max-width: 100%;
        padding: 0 calc(var(--space) * 8);
    }
}