#newsImageViewerOverlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(2, 18, 36, 0.78);
    z-index: 9999;
    padding: 24px;
}

#newsImageViewerOverlay.is-open {
    display: flex;
}

.news-image-viewer-panel {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    overflow: auto;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.news-image-viewer-panel img {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}

.news-image-viewer-close {
    position: sticky;
    top: 0;
    left: 100%;
    margin: 10px 10px 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #004a8d;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 74, 141, 0.28);
    z-index: 1;
}

[data-news-image="true"] {
    cursor: zoom-in;
}
