/* ===== UMCULO event gallery ===== */
.umculo-gallery { columns: 3; column-gap: 20px; }
.umculo-gallery .g-item {
    display: block; position: relative; margin: 0 0 20px; break-inside: avoid;
    border-radius: 14px; overflow: hidden; background: #111; cursor: zoom-in;
    border: 1px solid rgba(255,255,255,0.08);
}
.umculo-gallery .g-item img {
    display: block; width: 100%; height: auto; transition: transform .5s ease, filter .5s ease;
}
.umculo-gallery .g-item:hover img, .umculo-gallery .g-item:focus-visible img { transform: scale(1.04); filter: brightness(.8); }
.umculo-gallery .g-item:focus-visible { outline: 3px solid #B8FF34; outline-offset: 2px; }
.umculo-gallery .g-cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 18px 16px;
    background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
    color: #fff; font-family: var(--font_inter_tight); font-weight: 600; font-size: 15px;
    opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease;
}
.umculo-gallery .g-item:hover .g-cap, .umculo-gallery .g-item:focus-visible .g-cap { opacity: 1; transform: none; }

.event-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 40px; }
.event-meta span {
    border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 10px 18px; border-radius: 40px;
    font-size: 14px; font-weight: 600; letter-spacing: .04em; font-family: var(--font_inter_tight);
}

/* Lightbox */
.g-lightbox {
    position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.94);
    display: none; align-items: center; justify-content: center; padding: 56px 70px;
}
.g-lightbox.open { display: flex; }
.g-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.g-lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.g-lightbox figcaption { color: #fff; margin-top: 14px; font-family: var(--font_inter_tight); font-size: 16px; }
.g-lightbox figcaption small { display: block; opacity: .6; margin-top: 4px; font-size: 13px; }
.g-lightbox button {
    position: absolute; background: #B8FF34; color: #000; border: 0; cursor: pointer;
    width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.g-lightbox button:hover { background: #fff; }
.g-lightbox .g-close { top: 18px; right: 18px; }
.g-lightbox .g-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.g-lightbox .g-next { right: 14px; top: 50%; transform: translateY(-50%); }

@media (max-width: 991px) { .umculo-gallery { columns: 2; } }
@media (max-width: 575px) {
    .umculo-gallery { columns: 1; }
    .g-lightbox { padding: 64px 12px 24px; }
    .g-lightbox .g-prev { left: 6px; } .g-lightbox .g-next { right: 6px; }
    .umculo-gallery .g-cap { opacity: 1; transform: none; }
}
