/* Gallery Grid */
.agora-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.agora-gallery-item {
    display: block;
    aspect-ratio: 1;
    border-radius: var(--agora-radius);
    overflow: hidden;
    border: 1px solid var(--agora-border);
    position: relative;
}

.agora-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--agora-transition);
}

.agora-gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox Overlay */
#agora-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#agora-lightbox.is-open {
    display: flex;
}

#agora-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

#agora-lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

#agora-lightbox-title {
    color: #fff;
    margin-top: 15px;
    font-weight: normal;
}
