/* Gallery Container */
.vgp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
    gap: 20px;
    padding: 20px;
}


/* Each Video Item */
.vgp-video-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.vgp-video-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Video Thumbnail */
.vgp-video-thumb video {
    width: 100%;
    height: 200px; /* Fixed height */
    object-fit: cover; /* Makes thumbnail look clean */
    display: block;
    border-radius: 10px;
}

/* Close Button (X) */
.vgp-close-video {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    z-index: 999;
}

.vgp-close-video:hover {
    background-color: rgba(255, 0, 0, 0.9);
}

/* Next/Previous Buttons */
.vgp-next-video, .vgp-prev-video {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 999;
}

.vgp-next-video:hover, .vgp-prev-video:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Position the buttons */
.vgp-next-video {
    right: 10px;
}

.vgp-prev-video {
    left: 10px;
}



.vgp-pagination {
    margin-top: 20px;
    text-align: center;
}

.vgp-prev-button, .vgp-next-button {
    padding: 10px 20px;
    margin: 0 5px;
    background-color: #007bff; /* Blue color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.vgp-prev-button:hover, .vgp-next-button:hover {
    background-color: #0056b3; /* Darker blue color */
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Optional: Style for active pagination links */
.vgp-pagination a:active {
    background-color: #0056b3; /* Active button color */
}

/* Optional: Style for disabled pagination links */
.vgp-prev-button[disabled], .vgp-next-button[disabled] {
    background-color: #ccc; /* Light gray color */
    color: #666;
    cursor: not-allowed;
}

