.video-player-popup {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    cursor: pointer;
    overflow: hidden;
}

.video-player-popup .preview-video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
       -moz-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
    background-position: center;
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    -moz-transition: var(--transition);
    transition: var(--transition);
}

.video-player-popup:before {
    content: '';
    display: inline-block;
    width: 60px;
    height: 60px;
    background: url(/wp-content/uploads/2023/11/icon-play.svg) center/contain no-repeat;
    position: absolute;
    bottom: 10px;
    left: 20px;
    z-index: 1;
}

.popup-video {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    -webkit-transform: scale(1.04);
       -moz-transform: scale(1.04);
        -ms-transform: scale(1.04);
         -o-transform: scale(1.04);
            transform: scale(1.04);
    -webkit-transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
}

.admin-bar .popup-video {
    padding-top: 48px;
}

.popup-video.popup-active {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -moz-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
       -moz-transform: scale(1);
        -ms-transform: scale(1);
         -o-transform: scale(1);
            transform: scale(1);
    pointer-events: auto;
}

.popup-video .overlay-popup {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    cursor: pointer;
}

.popup-video .inner-popup {
    width: -webkit-calc(100% - 40px);
    width: -moz-calc(100% - 40px);
    width: calc(100% - 40px);
    max-width: 1150px;
}

.popup-video .close-popup {
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 50px;
    color: var(--white);
    line-height: 0;
    -webkit-transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
    padding: 0;
}

.popup-video .close-popup:hover {
    color: #ef4444;
}

.video-player-popup .duration-video {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-family: var(--fontfamily-serif);
    font-weight: bold;
    color: var(--white);
}