.meeting-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.gallery-item {
    margin: 0;
    overflow: hidden;
    background: #f9f9f9;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 1;
}

.gallery-meta {
    display: block;
    color: #666;
}

.gallery-empty {
    color: #666;
    font-style: italic;
}


/* Gallery item — make thumb clickable */
.cb-gallery-thumb {
    cursor: zoom-in;
}
@media screen and (max-width: 1024px) {
    .meeting-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 500px) {
    .meeting-gallery-grid {
        grid-template-columns: 1fr;
    }

}


/* -----------------------------------------------------------------------
   Lightbox
----------------------------------------------------------------------- */
.cb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cb-lightbox[hidden] {
    display: none;
}

.cb-lb-close {
    position: fixed;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    z-index: 100001;
    opacity: 0.8;
}

.cb-lb-close:hover {
    opacity: 1;
}
.cb-lightbox .swiper-wrapper {
    align-items: center;
}
.cb-lb-swiper {
    width: 90vw;
    max-width: 960px;
}

.cb-lb-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cb-lb-slide img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
    border-radius: 3px;
}

.cb-lb-caption {
    color: #ddd;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    margin-top: 12px;
}

.cb-lb-prev,
.cb-lb-next {
    color: #fff !important;
}

.cb-lb-prev::after,
.cb-lb-next::after {
    font-size: 28px !important;
}

