/* v17bj lightbox - vanilla, accessibility-aware */
.lb-trigger { display: block; cursor: zoom-in; }
.lb-trigger img { display: block; width: 100%; }
.lb-overlay {
    position: fixed; inset: 0;
    background: rgba(20, 16, 14, 0.92);
    z-index: 9999;
    display: none;
    align-items: center; justify-content: center;
    padding: clamp(20px, 5vw, 60px);
}
.lb-overlay[aria-hidden="false"] { display: flex; }
.lb-figure {
    margin: 0;
    max-width: min(90vw, 1400px);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lb-img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    display: block;
}
.lb-caption {
    color: #faf7f2;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-top: 12px;
    text-align: center;
    max-width: 80ch;
}
.lb-close, .lb-prev, .lb-next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #faf7f2;
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    transition: background .15s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
    background: rgba(255,255,255,0.18);
}
.lb-close:focus-visible, .lb-prev:focus-visible, .lb-next:focus-visible {
    outline: 2px solid #faf7f2;
    outline-offset: 2px;
}
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-counter {
    color: #faf7f2;
    opacity: 0.7;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
}
@media (max-width: 720px) {
    .lb-close { top: 12px; right: 12px; width: 40px; height: 40px; }
    .lb-prev { left: 8px; width: 40px; height: 40px; }
    .lb-next { right: 8px; width: 40px; height: 40px; }
    .lb-counter { bottom: 12px; }
}
