/**
 * Gallery Section Component - Isolated Styles (BEM Naming)
 * Component prefix: ee-gallery-section
 */

/* Component Root - Isolated from global styles */
.ee-gallery-section {
    /* Reset inherited styles */
    all: initial;
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Component styles */
    background: #f8f9fa;
    padding: 1.25rem 0; /* var(--spacing-lg) */
}

.ee-gallery-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ee-gallery-section__loading {
    text-align: center;
    padding: 2rem;
    color: #333;
}

/* Section Title - match other Build 2026 sections (schedule, sponsor, location-faq) */
.ee-gallery-section__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Gallery Grid - Ultra-Compact */
.ee-gallery-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.375rem; /* var(--spacing-xs) */
    margin-top: 0.875rem;
}

.ee-gallery-section__item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s;
    aspect-ratio: 16/9;
}

.ee-gallery-section__item:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.ee-gallery-section__item-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.ee-gallery-section__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .ee-gallery-section {
        padding: 1rem 0;
    }
    
    .ee-gallery-section__title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .ee-gallery-section__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.375rem;
    }
    
    .ee-gallery-section__item {
        height: 140px;
    }
}
