/**/
.modal-video.modal--active {
    position: fixed;
    inset: 0;
    z-index: 99999;
	transform:unset;
}

.modal-video__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    z-index: 1;
}

.modal-video .modal__wrapper {
    position: fixed;
    z-index: 2;

    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: min(800px, calc(100vw - 32px));
    max-width: 800px;
	
	min-height: unset;
    padding: unset;
}

.modal-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 800 / 410;
    height: auto;
    border: 0;
    border-radius: 12px;
}

.modal .modal-close {
    position: fixed !important;
    z-index: 100000;

    top: 20px;
    right: 20px;

    width: 44px;
    height: 44px;

    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.modal-video .modal-close::before,
.modal-video .modal-close::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;

    width: 22px;
    height: 2px;
    background: #252525;
    border-radius: 2px;
}

.modal-video .modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal-video .modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 767px) {
    .modal-video .modal__wrapper {
        width: calc(100vw - 24px);
    }

    .modal-video .modal-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }
}
/**/