.hero {
    isolation: isolate
}

.hero:after {
    display: none
}

.hero-wave {
    display: block;
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 94px;
    z-index: -1
}

.hero-control {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    background: rgba(8, 29, 62, .3);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 3rem;
    line-height: 0;
    cursor: pointer;
    transition: .2s
}

.hero-control:hover,
.hero-control:focus-visible {
    background: var(--pink);
    border-color: var(--pink);
    outline: none
}

.hero-control-prev {
    left: clamp(14px, 3vw, 42px)
}

.hero-control-next {
    right: clamp(14px, 3vw, 42px)
}

.hero-dots {
    position: absolute;
    z-index: 2;
    bottom: 65px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px
}

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
    transition: .2s
}

.hero-dots button.active {
    width: 13px;
    height: 13px;
    background: var(--yellow);
    border-color: var(--yellow)
}

@media(max-width:650px) {
    .hero-wave {
        height: 60px
    }

    .hero-control {
        width: 38px;
        height: 38px;
        font-size: 2.4rem
    }

    .hero-dots {
        bottom: 39px
    }

    .hero-dots button {
        width: 8px;
        height: 8px
    }

    .hero-dots button.active {
        width: 10px;
        height: 10px
    }
}