/* ═══════════════════════════════════════════════════════════════════
 *  PTST Lightbox — dependency-free photo viewer styling (driven by
 *  js/ptst-lightbox.js). Standalone bundle so any page that needs the
 *  lightbox can enqueue this without pulling in unrelated styles.
 * ═══════════════════════════════════════════════════════════════════ */
.ptst-lightbox {
    position: fixed; inset: 0; z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.ptst-lightbox.is-open { display: flex; }
.ptst-lightbox__backdrop {
    position: absolute; inset: 0;
    background: rgba(11, 27, 51, 0.92);
    backdrop-filter: blur(2px);
}
.ptst-lightbox__figure {
    position: relative;
    z-index: 1;
    max-width: min(92vw, 1400px);
    max-height: 88vh;
    margin: 0;
    display: flex; flex-direction: column;
    align-items: center;
    gap: 12px;
}
.ptst-lightbox__img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.ptst-lightbox__caption {
    color: #fff;
    font-size: 13.5px;
    text-align: center;
    max-width: 60ch;
    opacity: 0.86;
}
.ptst-lightbox__btn {
    position: absolute;
    z-index: 2;
    border: 0;
    background: rgba(255,255,255,0.10);
    color: #fff;
    width: 48px; height: 48px;
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 120ms ease, transform 120ms ease;
    display: flex; align-items: center; justify-content: center;
}
.ptst-lightbox__btn:hover { background: rgba(255,255,255,0.20); transform: scale(1.04); }
.ptst-lightbox__close { top: 20px; right: 20px; }
.ptst-lightbox__prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.ptst-lightbox__next  { right: 24px; top: 50%; transform: translateY(-50%); }
.ptst-lightbox__prev:hover  { transform: translateY(-50%) scale(1.04); }
.ptst-lightbox__next:hover  { transform: translateY(-50%) scale(1.04); }
.ptst-lightbox__counter {
    position: absolute;
    bottom: 20px;
    z-index: 2;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
@media (max-width: 600px) {
    .ptst-lightbox__btn { width: 40px; height: 40px; font-size: 24px; }
    .ptst-lightbox__prev { left: 10px; }
    .ptst-lightbox__next { right: 10px; }
}
