.hero-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.hero-slider {
    height: 43.75rem;
    position: relative;
    overflow: hidden;
    /* display: flex; */
}
.hero-slide {
    position: relative;
    width: 100%;
    height: 43.75rem;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex !important;
    align-items: center;
}
@media (max-width: 1024px) {
    .hero-slide, .hero-slider {
        height: 31.25rem;
    }
}
@media (max-width: 800px) {
    .hero-slide, .hero-slider {
        height: 28.125rem;
    }
}
.hero-slide:before {
    position: absolute;
    inset: 0;
    /* Gradient: solid white on the left, fading to transparent at ~55% */
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 1)   0%,
        rgba(255, 255, 255, 0.9) 20%,
        rgba(255, 255, 255, 0)   55%
    );
    pointer-events: none;
    z-index: 1;
}
.hero-slide .page-hero-block-content > *:not(:first-child) {
    margin-top: 3rem
}
.hero-slide .page-hero-img img {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 60%;
    object-position: right center;
}
@media (max-width: 767px) {
    .hero-slide {
        height: 31.25rem;
        align-items: flex-end;
        justify-content: center;
        padding-bottom: 4.5rem;
    }
		.hero-slide .container {
        padding-bottom: 3rem;
		}
    .hero-slide .page-hero-img:before {
        background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 78%) no-repeat;
    }
    .hero-slide .page-hero-img img {
        height: 50%;
        width: 100%;
    }
    .hero-slide .page-hero-block-content {
        width: 100%;
    }
    .hero-slide .page-hero-block-content > *:not(:first-child) {
        margin-top: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   Bottom controls bar
   -------------------------------------------------------------------------- */

.hero-slider__controls-bar {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    z-index: 10;
}
.hero-slider__controls-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;         /* Let clicks fall through to the slider */
}

/* Re-enable pointer events only for the interactive children */
.hero-slider__pagination,
.hero-slider__arrows {
    pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Pagination dots
   -------------------------------------------------------------------------- */

.hero-slider__pagination {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Each pagination dot is a <button> injected by JS */
.hero-slider__dot {
    display: block;
    height: .75rem;
    width: .75rem;
    border-radius: .75rem;
    border: 1px solid var(--border);
    background-color: var(--light-bgr);
    padding: 0;
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Active state: pill / cylinder shape */
.hero-slider__dot.is-active {
    width: 1.75rem;
    background-color: var(--akzent-red);
    border-color: var(--akzent-red);
}

/* --------------------------------------------------------------------------
    Arrow buttons
   -------------------------------------------------------------------------- */

.hero-slider__arrows {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-slider__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: .75rem;
    background-color: #fff;
    border: 1px solid var(--border);
    border-radius: .5rem;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text2);
    transition: background-color 0.2s linear, border-color 0.2s linear;

    /* shadow-xs-skeuomorphic */
    box-shadow:
        0 1px 2px rgba(10, 13, 18, 0.05),
        0 -2px 0 rgba(10, 13, 18, 0.05) inset,
        0 0 0 1px rgba(10, 13, 18, 0.18) inset;
}

.hero-slider__arrow:hover {
    background-color: var(--light-bgr);
    border-color: var(--light-grey2);
}

/* .hero-slider__arrow svg {
    display: block;
    flex-shrink: 0;
} */

/* --------------------------------------------------------------------------
   Responsive adjustments
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {

    .hero-slider__controls-bar {
        bottom: 1.5rem;
    }

}

@media (max-width: 768px) {
    .hero-slider__controls-bar {
        bottom: 1rem;
    }
}
