.hero-slider {
    position: relative;
    overflow: hidden;
    background: #07365c;
    color: #fff
}

.hero-track {
    position: relative;
    min-height: 560px
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(390px, 1fr);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .55s ease, visibility .55s ease
}

.hero-slide.is-active {
    position: relative;
    visibility: visible;
    opacity: 1;
    pointer-events: auto
}

.hero-slide .hero-media {
    min-width: 0;
    overflow: hidden;
    border-radius: 0 92px 92px 0;
    background: #0b5e91
}

.hero-slide .hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    object-position: center
}

.hero-slide .hero-copy {
    min-width: 0;
    background: #07365c
}

.hero-slide .hero-copy h1, .hero-slide .hero-copy h2 {
    max-width: 560px;
    margin: .35em 0 .3em;
    color: #fff;
    font-size: clamp(2.7rem, 3.4vw, 5.2rem);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.05em
}

.hero-controls {
    position: absolute;
    z-index: 5;
    right: clamp(34px, 5vw, 88px);
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px
}

.hero-arrow {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    cursor: pointer
}

button.hero-arrow {
    background: #b8d544;
    border-color: #0000;
    color: #000;
    border-radius: 25px 0;
}

.hero-arrow:hover {
    background: #16873a
}

.hero-dots {
    display: flex;
    gap: 8px
}

.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .42);
    cursor: pointer;
    transition: width .2s ease, background .2s ease
}

.hero-dots button.is-active {
    width: 28px;
    background: #b8d544
}

@media(max-width:980px) {
    .hero-track {
        min-height: 500px
    }

    .hero-slide {
        grid-template-columns: 1.15fr 1fr
    }

    .hero-slide .hero-media {
        border-radius: 0 64px 64px 0
    }

    .hero-slide .hero-media img {
        min-height: 500px
    }

    .hero-controls {
        right: 32px
    }
}

@media(max-width:680px) {
    .hero-track {
        min-height: 690px
    }

    .hero-slide {
        grid-template-columns: 1fr;
        grid-template-rows: 280px auto
    }

    .hero-slide .hero-media {
        border-radius: 0 0 44px 44px
    }

    .hero-slide .hero-media img {
        min-height: 280px
    }

    .hero-slide .hero-copy {
        padding: 42px 24px 92px
    }

    .hero-slide .hero-copy h1, .hero-slide .hero-copy h2 {
        font-size: 2rem
    }

    .hero-controls {
        right: 24px;
        bottom: 28px
    }
}

@media(prefers-reduced-motion:reduce) {
    .hero-slide {
        transition: none
    }
}