.as-video-container-wrapper {
    max-width: 65%;
    margin: auto;
    padding-top: 58px;
}

.as-video-wrapper {
    margin: 0 auto;
    box-sizing: border-box;
}

.as-video-container {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background-color: #000;
}

.as-video-container video,
.as-video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.as-video-poster,
.as-video-title-overlay {
    pointer-events: none;
}

.as-video {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.as-video-container.playing .as-video {
    opacity: 1;
    pointer-events: auto;
}

.as-video-container.playing .as-video-poster,
.as-video-container.playing .as-video-title-overlay,
.as-video-container.playing .as-video-play-button {
    display: none;
}

.as-video-title-overlay {
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    font-family: Oswald;
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    z-index: 3;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.as-video-play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;

    width: 90px;
    height: 90px;
    max-width: 24%;
    max-height: 24%;

    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);
    cursor: pointer;
}

.as-video-play-button svg {
    width: 100%;
    height: 100%;
    display: block;
}

.as-video-play-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.grey-bg {
    background-color: #f0f0f0;
}

@media (max-width: 1024px) {
    .as-video-container-wrapper {
        max-width: 92%;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media screen and (max-width: 768px) {
    .as-video-container-wrapper {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .as-video-container {
        border-radius: 0;
        aspect-ratio: 16 / 9;
    }

    .as-video-container video,
    .as-video-poster {
        border-radius: 0;
    }

    .as-video-title-overlay {
        left: 32px;
        top: 50%;
        max-width: 90%;
        padding-right: 25px;
        font-size: 24px;
        line-height: 1;
    }

    .as-video-play-button {
        width: 90px;
        height: 90px;
        max-width: 28%;
        max-height: 28%;
    }
}