.vil-63994ea9-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
}

.vil-63994ea9-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.vil-63994ea9-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.vil-63994ea9-icon-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.vil-63994ea9-container:hover .vil-63994ea9-icon-wrapper {
    background-color: rgba(0,0,0,0.3);
}

.vil-63994ea9-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.3s ease;
}

.vil-63994ea9-icon svg {
    fill: #fff;
}

.vil-63994ea9-container:hover .vil-63994ea9-icon {
    transform: scale(1.1);
}

/* Lightbox Modal */
.vil-63994ea9-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.admin-bar .vil-63994ea9-lightbox-overlay {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .vil-63994ea9-lightbox-overlay {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

.vil-63994ea9-lightbox-overlay.vil-active {
    opacity: 1;
    visibility: visible;
}

.vil-63994ea9-lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
}

.vil-63994ea9-lightbox-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.vil-63994ea9-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
}