.block-gallery h2 { margin-bottom: 16px; }
.block-gallery .gallery-description { margin-bottom: 24px; max-width: 800px; }
.block-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.block-gallery .gallery-item {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}
.block-gallery .gallery-item:hover { transform: scale(1.03); }
.block-gallery .gallery-item img {
    width: 100%; height: 220px; object-fit: cover; display: block;
}
.block-gallery figcaption {
    padding: 8px 12px;
    font-size: 0.9rem;
    color: var(--text-medium);
    text-align: center;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center; justify-content: center;
    z-index: 9999;
}
.lightbox-overlay.show { display: flex; }
.lightbox-overlay img {
    max-width: 90vw; max-height: 85vh;
    border-radius: var(--radius-sm);
}
.lightbox-overlay .lightbox-caption {
    position: absolute; bottom: 30px; left: 0; right: 0;
    text-align: center; color: white; font-size: 1rem;
}
.lightbox-overlay .lightbox-close {
    position: absolute; top: 20px; right: 30px;
    background: none; border: none;
    color: white; font-size: 2.5rem; cursor: pointer;
}
