/* ==========================================================================
   ✅ GALLERY COMPONENT – LEGO rendszer (2025-10-05)
   --------------------------------------------------------------------------
   - Minden LEGO-scope-on használható: hub, subhub, tax
   - Grid-alapú, reszponzív, figcaption támogatással
   - Namespace guard: .tc-archives (LEGO)
   ========================================================================== */

.tc-archives .tc-gallery {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin: 1rem 0 2rem;
    padding: 0;
    list-style: none;
}

.tc-archives .tc-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tc-archives .tc-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.tc-archives .tc-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.tc-archives .tc-gallery-item figcaption {
    padding: .6rem .75rem;
    font-size: .9rem;
    line-height: 1.4;
    color: #555;
    text-align: center;
    background: #fafafa;
    border-top: 1px solid #eee;
}

@media (min-width: 1024px) {
    .tc-archives .tc-gallery {
        gap: 1.25rem;
    }
}