.hero-video {
    padding-inline: 8px;
}

@media screen and (min-width: 1280px) {
    .hero-video {
        padding-inline: 32px;
    }
}

.hero-video--container {
    padding: 22vw 24px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

@media screen and (min-width: 992px) {
    .hero-video--container {
        padding: clamp(32px, 14vw, 200px) 0;
        border-radius: 24px;
    }
}

.hero-video--content {
    color: var(--white);
    max-width: 800px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
    align-items: center;
}

.hero-video--overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #01135A;
    opacity: .3;
    z-index: -1;
}

.hero-video img,
.hero-video video {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.hero-video .play-video-button {
    position: absolute;
    width: 24px;
    height: 24px;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hero-video .play-video-button::before {
    content: '';
    width: 100%;
    height: 100%;
    -webkit-mask: url("../images/pause-video.svg") no-repeat center;
    mask: url("../images/pause-video.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    background: var(--white);
}

.hero-video .play-video-button.is-paused::before {
    -webkit-mask: url("../images/play.svg") no-repeat center;
    mask: url("../images/play.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

@media screen and (min-width: 992px) {
    .hero-video .play-video-button {
        right: 32px;
        bottom: 32px;
    }
}