.fancybox-navigation .fancybox-button--arrow_left {
    z-index: 999;
}

.vgs-video-preview-item {
    display: inline-block;
    position: relative;
    margin: 10px;
}
.vgs-thumb-preview {
    width: 160px;
    height: 90px;
    object-fit: cover;
    border: 1px solid #ccc;
}
.vgs-remove-video {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 0 6px;
    cursor: pointer;
    font-weight: bold;
}

.vgs-gallery-grid {
    gap: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.vgs-gallery-grid a {
    display: block;
    max-width: 360px;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vgs-slider, .vgs-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.vgs-gallery.grid-cols-3 a {
    width: calc(33.33% - 10px);
}
.vgs-view-more {
    display: inline-block;
    margin-top: 15px;
}

.vgs-slider {
    max-width: 397px;
    height: 475px !important;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.vgs-slider .swiper-wrapper {
    height: 100%;
}
.vgs-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.vgs-slider .swiper-slide video,
.vgs-slider .swiper-slide iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.vgs-slider-button {
    text-align: center;
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 99;
}
.vgs-slider-button img {
    width: 24px;
}
.vgs-view-more-btn {
    display: inline-block;
    background-color: #0073aa00;
    color: #fff;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}
.vgs-view-more-btn:hover {
    color: #fff;
}

/* Pagination */
.vgs-slider-main-container .swiper-pagination-bullet {
    width: 23px;
    height: 4px;
    border-radius: 4px;
    background: #FEFEFE6B;
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
}
.vgs-slider-main-container .swiper-pagination-bullet-active {
    width: 41px;
    height: 4px;
    border-radius: 4px;
    background: #F48711;
}
.vgs-slider-main-container .swiper-pagination {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0 0 0 25px;
    bottom: 30px !important;
}

/* Video overlay button */
.vgs-video-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
}
.vgs-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}
.vgs-video-container {
     position: relative;
    width: 100%;
    height: 100%;
}
.vgs-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}
.vgs-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: #f48711;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}
.vgs-play-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}
