/* === Custom Block Styling === */
.popupVideoBlock{
    padding: var(--CB-padding-top) var(--CB-padding-right) var(--CB-padding-bottom) var(--CB-padding-left);
    margin: var(--CB-margin-top) var(--CB-margin-bottom);
    background-color: var(--CB-background-color);
    background-image: var(--CB-background-image);
    background-position: var(--CB-background-position);
    background-size: cover;
}



.popupVideo__thumbnailWrapper{
    background-size: cover;
    background-position: center;
    height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.popupVideo__button{
    width: fit-content;
    cursor: pointer;
    background-color: var(--FC-white) !important;
    border-color: var(--FC-white) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}
.popupVideo__button:hover{
    color: var(--FC-black) !important;
}

.popupVideo__videoWrapper{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}
.popupVideo__close{
    content: 'X';
    color: var(--FC-white);
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}
.popupVideo__videoWrapper.active{
    opacity: 1;
    pointer-events: all;
}

.popupVideo__video{
    max-width: 60%;
    width: 100%;
    aspect-ratio: 5/3;
}

@media screen and (max-width: 991.98px){
    .popupVideo__thumbnailWrapper{
        height: 500px;
    }
}
@media screen and (max-width: 767px){
    .popupVideo__thumbnailWrapper{
        height: 350px;
    }
    .popupVideo__video{
        max-width: 90%;
    }
}