html.locked{ 
    overflow: hidden;
}
body.locked .wp-site-blocks{
    position: relative;
    z-index: 999;
}
.video-modal__wrapper {
    --wp--style--global--content-size: 100vw;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    z-index: 9999;
    transform: translateX(-150%);
    transition: all 0.3s ease-in-out;

}

.video-modal__wrapper.video-modal__wrapper_video {
    background: rgba(0, 0, 0, 0.8);
    transform: translateX(0%) scale(0);
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.video-modal__wrapper.video-modal__wrapper_video.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.video-modal {
    background: white;
    padding: 25px;
    border-radius: 0 5px 5px 0;
    max-width: 370px;
    width: 350px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .3);
    position: relative;
}

.video-modal__wrapper.video-modal__wrapper_video .video-modal {
    border-radius: 5px 5px;
    max-width: min(99vw, 1920px);
    width: 100%;
    height: 98vh;
    transform: translateX(0%) scale(0);
    transition: all 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
}

.video-modal__wrapper.video-modal__wrapper_video.active .video-modal {
    transform: translateX(0) scale(1);
}
.video-modal__wrapper_video .video-modal__body {
    flex-grow: 1;
}

.video-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.video-modal__title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.video-modal__close {
    margin-left: auto;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.video-modal__btn {
    background: #1595dd;
    border-radius: 10px;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    position: absolute;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 0 10px 4px rgba(255, 255, 255, 0.5);
}

.video-modal__btn:hover {
    background: #0d6fb8;
    border-color: #ffffff;
}
@media (max-width:767px) {

    .video-modal__btn {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 16px;
    }
}
