/**
 * Featured Photo Section - Build2026 "wow" photo slider
 * Large-image carousel; optional section band (base class pattern).
 */

.ee-featured-photo-section {
    all: initial;
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f8f9fa;
    padding: 2rem 0;
}

.ee-featured-photo-section--has-bg {
    background: transparent;
    padding: 0;
}

.ee-featured-photo-section__container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Optional band (title only) – same pattern as sponsor/location */
.ee-featured-photo-section__band {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: var(--featured-photo-section-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--featured-photo-section-bg-color, transparent);
}

.ee-featured-photo-section__band::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.ee-featured-photo-section--has-bg-image .ee-featured-photo-section__band::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.55) 100%);
}

.ee-featured-photo-section__band-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.75rem 1rem;
    width: 100%;
}

.ee-featured-photo-section__header {
    text-align: center;
    margin-bottom: 0;
}

.ee-featured-photo-section__band .ee-featured-photo-section__header {
    margin-bottom: 0;
}

/* Section title – match Event Schedule / products / sponsor */
.ee-featured-photo-section__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #2c3e50;
    margin: 0;
}

.ee-featured-photo-section__band .ee-featured-photo-section__title {
    color: #fff;
    font-size: 2.25rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4), 0 0 24px rgba(0,0,0,0.2);
}

/* Bootstrap 5 carousel – full photo (no cropping), fade transition */
.ee-featured-photo-section__carousel-wrap {
    width: 100%;
    margin-top: 0;
    position: relative;
}

.ee-featured-photo-section--has-bg .ee-featured-photo-section__carousel-wrap {
    margin-top: 0;
}

.ee-featured-photo-section__carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ee-featured-photo-section__carousel .carousel-inner {
    height: 70vh;
    min-height: 200px;
    max-height: 85vh;
    background: #1a1a1a;
}

.ee-featured-photo-section__carousel .carousel-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.ee-featured-photo-section__slide-img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.ee-featured-photo-section__loading {
    text-align: center;
    padding: 4rem 1rem;
    color: #6c757d;
}

.ee-featured-photo-section__error {
    padding: 2rem;
    background: #f8d7da;
    color: #721c24;
    border-radius: 0.25rem;
    text-align: center;
}

@media (max-width: 768px) {
    .ee-featured-photo-section__carousel .carousel-inner {
        max-height: 80vh;
    }
    .ee-featured-photo-section__slide-img {
        max-height: 80vh;
    }
    .ee-featured-photo-section__title {
        font-size: 1.25rem;
    }
    .ee-featured-photo-section__band .ee-featured-photo-section__title {
        font-size: 1.5rem;
    }
}
