.pvc-f85ec719-container {
    width: 100%;
    display: block;
}

.pvc-f85ec719-wrapper {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 100%;
}

.pvc-f85ec719-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    flex-grow: 0;
    flex-shrink: 0;
    background-color: #000;
}

.pvc-f85ec719-media-box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pvc-f85ec719-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.pvc-f85ec719-item:hover img {
    transform: scale(1.05);
}

.pvc-f85ec719-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    padding: 15px;
    text-align: center;
    pointer-events: none;
}

.pvc-f85ec719-item:hover .pvc-f85ec719-overlay,
.pvc-f85ec719-item:focus-within .pvc-f85ec719-overlay {
    opacity: 1;
}

.pvc-f85ec719-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.pvc-f85ec719-play-icon svg {
    transition: transform 0.3s ease;
}

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

.pvc-f85ec719-caption {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Lightbox styles */
.pvc-f85ec719-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.admin-bar .pvc-f85ec719-lightbox {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .pvc-f85ec719-lightbox {
        top: 46px;
    }
}

.pvc-f85ec719-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.pvc-f85ec719-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pvc-f85ec719-lightbox img,
.pvc-f85ec719-lightbox video {
    max-width: 100%;
    max-height: 85vh;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-radius: 4px;
}

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