/* ============================================================
   HISTORIA Y EXHIBICIONES – Estilos de historia.php
   ============================================================ */

.exhibition-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2.5rem;
}

/* ── Columna izquierda: texto ── */
.exhibition-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.exhibition-year {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(124, 124, 255, 0.18);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    margin-bottom: 0.25rem;
}

.exhibition-text h2 {
    color: var(--h1);
    font-size: 1.4rem;
    line-height: 1.3;
    margin: 0;
}

.exhibition-text p {
    line-height: 1.75;
    color: var(--text);
}

.exhibition-text p strong {
    color: var(--h2);
    font-weight: 600;
}

/* ── Columna derecha: slideshow ── */
.exhibition-slideshow {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 6px;
    overflow: hidden;
    background: #0d0d0d;
}

.exhibition-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
    pointer-events: none;
    display: block;
}

.exhibition-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* ── Indicadores (dots) ── */
.exhibition-slide-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 3;
}

.slide-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.35s ease, transform 0.35s ease;
    flex-shrink: 0;
}

.slide-dot.is-active {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.35);
}

/* ── Placeholders para imágenes aún no disponibles ── */
.exhibition-img-placeholder {
    width: 100%;
    height: 220px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.exhibition-img-placeholder span {
    font-size: 0.75rem;
    color: #444;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ============================================================
   RESPONSIVE – Historia
   ============================================================ */
@media (max-width: 768px) {
    .exhibition-block {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .exhibition-year {
        font-size: 2.5rem;
    }

    .exhibition-slideshow {
        height: auto;
        aspect-ratio: 1/1;
    }

    .exhibition-slide {
        object-position: center center;
    }

    .exhibition-images img,
    .exhibition-img-placeholder {
        height: 200px;
    }
}