.hero-slider {
    position: relative;
    width: 100%;
    height: 650px;
    /* aspect-ratio: 1920 / 713; */
    overflow: hidden;
    border-bottom: solid 1px #DDD;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.slide.active {
    opacity: 1;
}
.slide-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.slide-image.active {
    opacity: 1;
}
.slide-image.loaded {
    opacity: 1;
}
.slide-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    transition: opacity 0.5s ease-in-out;
}
.slide-content {
    position: relative;
    padding: 0 24px;
    max-width: 130rem;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    color: white;
    z-index: 1;
}
.slide-content::before {
    content: '';
    position: absolute;
    top: -50vh;
    left: -50vw;
    right: -50vw;
    bottom: -50vh;
    /* background-color: rgba(0, 0, 0, 0.5); */
    z-index: -1;
}
.slide-content h2,
.slide-content p {
    color: #121212;
    max-width: 57.5rem;
    text-wrap: pretty;
}
.slide-content h2 {
    font-size: 5.2rem;
    font-weight: 600;
    line-height: 125%;
    margin-bottom: 1.6rem;
}
.slide-content p {
    font-size: 2rem;
    line-height: 155%;
    margin-bottom: 4rem;
}
.slide-content .cta-button {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0);
    background-image: linear-gradient(79.22deg, rgb(224, 68, 3) 23.5%, rgb(255, 100, 13) 77.38%);
    border-radius: 0.4rem;
    color: #FFF;
    font-size: 2rem;
    font-weight: 600;
    padding: 2rem 3.6rem;
    transition: background-color 0.2s ease;
}
.slide-content .cta-button:hover {
    background-color: #000;
    color: #FFF;
}
.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}
.indicator {
    width: 15rem;
    height: 8px;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 5px;
    cursor: pointer;
    overflow: hidden;
    border: none;
    padding: 0;
}
.indicator-fill {
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 1);
    transition: width linear, background-color 0.3s ease;
}
.indicator-fill.inactive {
    background: rgba(255, 255, 255, 0.3);
}

.slide-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
    z-index: 2;
}

.slide-control.prev {
    left: 10px;
}

.slide-control.next {
    right: 10px;
}

.slide-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media (min-width: 1320px) {
    .slide-content {
        padding: 0 0;
    }
    .indicator {
        width: 20rem;
    }
}