/* ==========================================================================
   COMPONENT CSS: Image Lightbox
   Full-screen overlay for enlarging article images.
   ========================================================================== */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(7, 18, 36, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    opacity: 0;
    animation: lightboxFadeIn 0.2s ease-out forwards;
}

.lightbox-overlay[hidden] {
    display: none;
}

@keyframes lightboxFadeIn {
    to { opacity: 1; }
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.article-visual img,
.ihc-visual img,
.insight-thumb img {
    cursor: zoom-in;
}
