/* === Lightbox Minimalista para Fotografías Históricas del Barrio Pesquero === */
.bp-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 27, 63, 0.94);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.25s ease;
    cursor: zoom-out;
}

.bp-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.bp-lightbox-container {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
}

.bp-lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
    user-select: none;
}

.bp-lightbox-caption {
    margin-top: 14px;
    color: #F0DCB5;
    font-size: 0.95rem;
    text-align: center;
    max-width: 750px;
    line-height: 1.5;
    background: rgba(10, 27, 63, 0.6);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(212, 168, 83, 0.3);
}

.bp-lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.bp-lightbox-close:hover {
    background: rgba(212, 168, 83, 0.8);
    color: #0A1B3F;
    transform: scale(1.1);
}

/* Indicador visual de zoom en las imágenes de los artículos */
figure.figura img, .zoomable {
    cursor: zoom-in;
    transition: filter 0.2s, transform 0.2s;
}

figure.figura img:hover, .zoomable:hover {
    filter: brightness(1.04);
}
