.vg-4086-grid {
    display: grid;
    grid-template-columns: repeat(var(--e-grid-columns, 3), 1fr);
    gap: 20px;
}

.vg-4086-item {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.vg-4086-thumb-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #000;
}

.vg-4086-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.vg-4086-item:hover .vg-4086-thumb {
    transform: scale(1.05);
}

.vg-4086-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.vg-4086-item:hover .vg-4086-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.vg-4086-play-icon svg {
    width: 60px;
    height: 60px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

.vg-4086-item:hover .vg-4086-play-icon svg {
    transform: scale(1.1);
}

.vg-4086-title {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* Lightbox Styles */
.vg-4086-lightbox {
    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;
}

.vg-4086-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.vg-4086-lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    background: #000;
}

.vg-4086-lightbox video {
    width: 100%;
    height: 100%;
    outline: none;
}

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

.vg-4086-lightbox-close:hover {
    color: #ccc;
}