
/* JUST SCOUTS v1.8.2 — lightbox zdjęć w artykułach */

.article-body img,
.article-image{
    cursor: zoom-in;
}

.article-lightbox{
    position:fixed;
    inset:0;
    z-index:20000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px;
    background:rgba(9,12,11,.92);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .16s ease, visibility .16s ease;
}

.article-lightbox.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.article-lightbox__image-wrap{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    cursor:zoom-out;
}

.article-lightbox__image{
    display:block;
    max-width:min(96vw, 1800px);
    max-height:92vh;
    width:auto;
    height:auto;
    object-fit:contain;
    background:#fff;
    box-shadow:0 24px 80px rgba(0,0,0,.45);
    cursor:zoom-out;
    user-select:none;
    -webkit-user-drag:none;
}

.article-lightbox__close{
    position:absolute;
    top:18px;
    right:20px;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    padding:0;
    border:1px solid rgba(255,255,255,.30);
    border-radius:50%;
    background:rgba(15,25,22,.70);
    color:#fff;
    font-size:25px;
    line-height:1;
    cursor:pointer;
    backdrop-filter:blur(4px);
}

.article-lightbox__hint{
    position:absolute;
    left:50%;
    bottom:16px;
    transform:translateX(-50%);
    padding:7px 11px;
    border-radius:999px;
    background:rgba(12,22,19,.72);
    color:#fff;
    font-size:.74rem;
    line-height:1;
    white-space:nowrap;
    pointer-events:none;
    opacity:.88;
}

body.article-lightbox-open{
    overflow:hidden;
}

@media(max-width:700px){
    .article-lightbox{
        padding:10px;
    }

    .article-lightbox__image{
        max-width:98vw;
        max-height:90vh;
    }

    .article-lightbox__close{
        top:10px;
        right:10px;
        width:38px;
        height:38px;
    }

    .article-lightbox__hint{
        bottom:10px;
        font-size:.68rem;
    }
}
