.vg-gallery-grid-ed55efaa {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.vg-gallery-item-ed55efaa {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}
.vg-gallery-item-ed55efaa img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.vg-gallery-item-ed55efaa:hover img {
    transform: scale(1.05);
}
.vg-play-icon-ed55efaa {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
/* Modal Styles */
.vg-modal-ed55efaa {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}
.vg-modal-ed55efaa.active {
    display: flex;
}
.vg-modal-content-ed55efaa {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.vg-close-ed55efaa {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}
.vg-video-container-ed55efaa {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 15px;
}
.vg-video-container-ed55efaa iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* Scrollable Caption Styles */
.vg-modal-caption-ed55efaa {
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    max-height: 120px; /* Forces scroll if content is taller */
    overflow-y: auto;  /* Adds scrollbar */
    padding-right: 10px;
    margin-bottom: 5px;
}
/* Scrollbar styling */
.vg-modal-caption-ed55efaa::-webkit-scrollbar {
    width: 8px;
}
.vg-modal-caption-ed55efaa::-webkit-scrollbar-track {
    background: #333;
    border-radius: 4px;
}
.vg-modal-caption-ed55efaa::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
.vg-modal-caption-ed55efaa::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}