.rs-07582ee4-wrapper {
    position: relative;
    width: 100%;
    padding: 6rem 3rem;
    background-size: cover;
    background-position: center;
    border-radius: 1.5rem;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;
}

.rs-07582ee4-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.4);
}


/* =========================
   TRACK
========================= */

.rs-07582ee4-track {
    position: relative;

    flex: 1;

    overflow: hidden;

    display: flex;
    justify-content: center;

    min-width: 0;
}


/* =========================
   SLIDES
========================= */

.rs-07582ee4-slide {
    display: none;

    width: 100%;
    max-width: 800px;

    opacity: 0;

    transition: opacity 0.5s ease-in-out;

    box-sizing: border-box;
}

.rs-07582ee4-slide.active {
    display: block;

    opacity: 1;

    animation: fadein-07582ee4 0.5s ease-in-out;
}

@keyframes fadein-07582ee4 {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================
   CARD
========================= */

.rs-07582ee4-card {
    width: 100%;

    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.15);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 1.5rem;

    padding: 3rem 4rem;

    text-align: center;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}


/* =========================
   TEXT
========================= */

.rs-07582ee4-text {
    font-size: 1.25rem;

    line-height: 1.8;

    margin-bottom: 2rem;

    color: #ffffff;
}

.rs-07582ee4-name {
    font-size: 1.2rem;

    font-weight: 700;

    margin: 0 0 0.25rem 0;

    color: #ffffff;
}

.rs-07582ee4-location {
    font-size: 0.9rem;

    color: rgba(255, 255, 255, 0.8);
}


/* =========================
   NAVIGATION
========================= */

.rs-07582ee4-nav {
    position: relative;

    z-index: 2;

    background: #40B7FF;

    color: #ffffff;

    border: none;

    width: 3rem;
    height: 3rem;

    border-radius: 50%;

    font-size: 1.5rem;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        transform 0.2s,
        background 0.2s;

    flex-shrink: 0;
}

.rs-07582ee4-nav:hover {
    transform: scale(1.1);

    background: #2a9df4;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

    .rs-07582ee4-wrapper {
        padding: 5rem 2rem;
    }

    .rs-07582ee4-card {
        padding: 2.5rem 3rem;
    }

    .rs-07582ee4-text {
        font-size: 1.15rem;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .rs-07582ee4-wrapper {
        display: flex;

        flex-direction: row;
        flex-wrap: wrap;

        align-items: center;
        justify-content: center;

        width: 100%;

        padding: 2rem 1rem;

        gap: 0.75rem;

        box-sizing: border-box;
    }


    /*
     * Track becomes full width
     * and sits above the buttons.
     */
    .rs-07582ee4-track {
        flex: 0 0 100%;

        width: 100%;
        max-width: none;

        order: 1;

        justify-content: stretch;

        min-width: 0;
    }


    /*
     * Slide becomes full width.
     */
    .rs-07582ee4-slide {
        width: 100%;
        max-width: none;

        box-sizing: border-box;
    }

    .rs-07582ee4-slide.active {
        width: 100%;
    }


    /*
     * Card fills the slide.
     */
    .rs-07582ee4-card {
        width: 100%;
        max-width: none;

        padding: 2rem 1.5rem;

        box-sizing: border-box;
    }


    .rs-07582ee4-text {
        width: 100%;

        font-size: 1.1rem;

        line-height: 1.6;

        margin-bottom: 1.5rem;
    }


    /*
     * Move nav buttons below the track.
     *
     * This assumes both buttons are direct
     * children of .rs-07582ee4-wrapper.
     */
    .rs-07582ee4-nav {
        order: 2;

        margin-top: 0.75rem;

        width: 3rem;
        height: 3rem;
    }


    /*
     * Adds spacing between the two buttons.
     */
    .rs-07582ee4-nav + .rs-07582ee4-nav {
        margin-left: 0.75rem;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .rs-07582ee4-wrapper {
        padding: 1.25rem 0.75rem;

        border-radius: 1rem;
    }

    .rs-07582ee4-card {
        padding: 1.75rem 1rem;

        border-radius: 1rem;
    }

    .rs-07582ee4-text {
        font-size: 1rem;

        line-height: 1.55;
    }

    .rs-07582ee4-name {
        font-size: 1.1rem;
    }

    .rs-07582ee4-location {
        font-size: 0.85rem;
    }

    .rs-07582ee4-nav {
        width: 2.75rem;
        height: 2.75rem;

        font-size: 1.25rem;
    }

}