.vcc-c30d9a20-widget {
    position: relative;
    width: 100%;
}

.vcc-c30d9a20-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.vcc-c30d9a20-tab {
    padding: 10px 22px;
    background-color: #f1f1f1;
    color: #333;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.vcc-c30d9a20-tab.active,
.vcc-c30d9a20-tab:hover {
    background-color: #000;
    color: #fff;
}

.vcc-c30d9a20-container {
    position: relative;
    width: 100%;
}

.vcc-c30d9a20-swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
    width: 100%;
}

.vcc-c30d9a20-swiper .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.vcc-c30d9a20-slide {
    flex-shrink: 0;
    height: 100%;
    position: relative;
    transition-property: transform;
    box-sizing: border-box;
}

.vcc-c30d9a20-item {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.vcc-c30d9a20-item.is-video {
    background-size: cover;
    background-position: center center;
}

.vcc-c30d9a20-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    box-sizing: border-box;
    transition: background-color 0.4s ease;
    z-index: 2;
}

.vcc-c30d9a20-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover overlay background controls */
.vcc-c30d9a20-item:hover .vcc-c30d9a20-overlay {
    background-color: rgba(0, 0, 0, 0.65);
}

/* Remove hover opacity override class if requested */
.vcc-no-hover-opacity-yes .vcc-c30d9a20-item:hover .vcc-c30d9a20-overlay {
    background-color: rgba(0, 0, 0, 0) !important;
}

.vcc-c30d9a20-item:hover .vcc-c30d9a20-title {
    opacity: 1;
    transform: translateY(0);
}

.vcc-c30d9a20-play {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    z-index: 3;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 1;
}

.vcc-c30d9a20-play svg {
    width: 26px;
    height: 26px;
}

.vcc-c30d9a20-item:hover .vcc-c30d9a20-play {
    opacity: 0;
    transform: scale(0.7);
}

.vcc-c30d9a20-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
    transition: all 0.3s ease;
}

.vcc-c30d9a20-nav svg {
    width: 22px;
    height: 22px;
}

.vcc-c30d9a20-nav:hover {
    background-color: #000;
    color: #fff;
}

.vcc-c30d9a20-prev {
    left: -22px;
}

.vcc-c30d9a20-next {
    right: -22px;
}

.vcc-c30d9a20-container.arrows-below {
    padding-bottom: 70px;
}

.vcc-c30d9a20-container.arrows-below .vcc-c30d9a20-nav {
    top: auto;
    bottom: 10px;
    transform: none;
}

.vcc-c30d9a20-container.arrows-below .vcc-c30d9a20-prev {
    left: auto;
    right: 64px;
}

.vcc-c30d9a20-container.arrows-below .vcc-c30d9a20-next {
    left: auto;
    right: 10px;
}

@media (max-width: 768px) {
    .vcc-c30d9a20-nav {
        display: none !important;
    }
    .vcc-c30d9a20-container.arrows-below {
        padding-bottom: 70px;
    }
    .vcc-c30d9a20-container.arrows-below .vcc-c30d9a20-nav {
        display: flex !important;
    }
}

/* Lightbox Modal Stylings - Dynamic Flex Centering */
.vcc-c30d9a20-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.vcc-c30d9a20-modal-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.vcc-c30d9a20-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: #000;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcc-c30d9a20-iframe-wrap {
    width: 100%;
    height: 100%;
}

.vcc-c30d9a20-iframe-wrap iframe {
    width: 100%;
    height: 100%;
}

.vcc-c30d9a20-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 38px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    box-sizing: border-box;
    z-index: 1000001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcc-c30d9a20-modal-close:hover {
    color: #ff0000;
}

/* Lightbox Options for Pictures */
.image-lightbox-content {
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: 100vw !important;
    max-height: 100vh !important;
    aspect-ratio: auto;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vcc-c30d9a20-lightbox-body {
    position: relative;
    max-width: calc(100% - 160px); /* Leave ample margin on the sides for arrows */
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vcc-c30d9a20-lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.vcc-c30d9a20-lightbox-caption {
    color: #fff;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    text-align: center;
}

/* Lightbox Navigation Buttons - outside the image, even on mobile! */
.vcc-c30d9a20-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000000;
}

.vcc-c30d9a20-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.vcc-lightbox-prev {
    left: 20px;
}

.vcc-lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .vcc-c30d9a20-lightbox-body {
        max-width: calc(100% - 100px); /* Adjust spacing slightly on mobile */
    }
    .vcc-lightbox-prev {
        left: 5px;
    }
    .vcc-lightbox-next {
        right: 5px;
    }
    .vcc-c30d9a20-modal-close {
        top: 20px;
        right: 20px;
    }
}
