.hero-sld-module,
.hero-sld,
.hero-sld-swiper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.hero-sld {
    --hero-sld-top-content-offset: calc(var(--space-l) + 80px);
    --module-text: var(--color-gray-5);
    --module-button-background: transparent;
    --module-button-text: var(--color-gray-5);
    --module-button-border: var(--color-gray-5);
    --module-button-hover-background: var(--color-gray-5);
    --module-button-hover-text: var(--color-white);
    --module-button-hover-border: var(--color-gray-5);

    position: relative;
    height: min(780px, 80vh);
    min-height: 620px;
    overflow: hidden;
    color: var(--color-gray-5);
}

.hero-sld-swiper,
.hero-sld .swiper-wrapper,
.hero-sld-slide {
    width: 100%;
    height: 100%;
}

.hero-sld-swiper {
    position: relative;
    overflow: hidden;
}

.hero-sld-slide {
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.hero-sld-media,
.hero-sld-overlay {
    position: absolute;
    inset: 0;
}

.hero-sld-media {
    z-index: 0;
    overflow: hidden;
}

.hero-sld-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.hero-sld-overlay {
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.08) 20%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

.hero-sld-content {
    position: relative;
    z-index: 5;
    display: flex;
    width: 90%;
    height: 100%;
    margin-inline: 4vw;
    padding-block: var(--space-xl);
    padding-bottom:var(--space-xxl);
    box-sizing: border-box;
    color: inherit;
    pointer-events: none;
}

.hero-sld-text {
    color: inherit;
}

.hero-sld-text :where(h1, h2, h3, h4, h5, h6, p, li, strong, em, a) {
    color: inherit;
}
.hero-sld-content-inner {
    position: relative;
    z-index: 6;
    width: min(100%, 720px);
    color: inherit;
    pointer-events: auto;
}

.hero-sld-text,
.hero-sld-text a {
    color: inherit;
}

.hero-sld-text > :first-child {
    margin-top: 0;
}

.hero-sld-text > :last-child {
    margin-bottom: 0;
}

.hero-sld-text-pos-top-left .hero-sld-content,
.hero-sld-text-pos-top-center .hero-sld-content,
.hero-sld-text-pos-top-right .hero-sld-content {
    align-items: flex-start;
    padding-top: var(--hero-sld-top-content-offset);
}

.hero-sld-text-pos-center-left .hero-sld-content,
.hero-sld-text-pos-center .hero-sld-content,
.hero-sld-text-pos-center-right .hero-sld-content {
    align-items: center;
}

.hero-sld-text-pos-bottom-left .hero-sld-content,
.hero-sld-text-pos-bottom-center .hero-sld-content,
.hero-sld-text-pos-bottom-right .hero-sld-content {
    align-items: flex-end;
}

.hero-sld-text-pos-top-left .hero-sld-content,
.hero-sld-text-pos-center-left .hero-sld-content,
.hero-sld-text-pos-bottom-left .hero-sld-content {
    justify-content: flex-start;
    text-align: left;
}

.hero-sld-text-pos-top-center .hero-sld-content,
.hero-sld-text-pos-center .hero-sld-content,
.hero-sld-text-pos-bottom-center .hero-sld-content {
    justify-content: center;
    text-align: center;
}

.hero-sld-text-pos-top-right .hero-sld-content,
.hero-sld-text-pos-center-right .hero-sld-content,
.hero-sld-text-pos-bottom-right .hero-sld-content {
    justify-content: flex-end;
    text-align: right;
}

.hero-sld-text-pos-top-center .hero-sld-btn-wrp,
.hero-sld-text-pos-center .hero-sld-btn-wrp,
.hero-sld-text-pos-bottom-center .hero-sld-btn-wrp {
    display: flex;
    justify-content: center;
}

.hero-sld-text-pos-top-right .hero-sld-btn-wrp,
.hero-sld-text-pos-center-right .hero-sld-btn-wrp,
.hero-sld-text-pos-bottom-right .hero-sld-btn-wrp {
    display: flex;
    justify-content: flex-end;
}

.hero-sld-badges {
    position: absolute;
    z-index: 20;
    top: var(--space-l);
    left: 4vw;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-sld-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    min-height: 26px;
    padding: 4px 14px;
    border-radius: 7px;
    background-color: var(--color-white);
    color: var(--color-gray-5);
}

.hero-sld-pagination {
    position: absolute;
    z-index: 20;
    top: auto !important;
    right: auto !important;
    bottom: var(--space-l) !important;
    left: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    transform: translateX(-50%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-sld-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 !important;
    border: 3px solid var(--color-white);
    border-radius: 999px;
    background: transparent;
    opacity: 1;
    transition:
        width 0.3s ease,
        background-color 0.3s ease;
}

.hero-sld-pagination .swiper-pagination-bullet-active {
    width: 52px;
    background-color: var(--color-white);
}

@media (max-width: 767px) {
    .hero-sld {
        --hero-sld-top-content-offset: calc(var(--space-l) + 130px);

        height: min(720px, 85vh);
        min-height: 580px;
    }

    .hero-sld-content {
        width: calc(100% - 40px);
        padding-bottom: calc(var(--space-xl) + 50px);
    }

    .hero-sld-badges {
        right: 20px;
        left: 20px;
    }

    .hero-sld-pagination {
        bottom: 20px !important;
    }
}

.hero-sld-image {
    transition: filter 0.45s ease, transform 0.45s ease;
}

.hero-sld-slide:has(.spt-btn:hover) .hero-sld-image,
.hero-sld-slide:has(.spt-btn:focus-visible) .hero-sld-image {
    filter: blur(10px);
    transform: scale(1.03);
}