/* Full-size picture viewer (gallery + homepage highlight) */
.lightbox {
    position: fixed; inset: 0; z-index: 2000; background: rgba(5, 5, 7, .94);
    display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img.lb-loading { visibility: hidden; }
.lightbox figure { margin: 0; max-width: min(92vw, 1400px); max-height: 92vh; display: flex; flex-direction: column; }
.lightbox img {
    max-width: 100%; max-height: calc(92vh - 3rem); object-fit: contain;
    border: 1px solid var(--hud-border); border-top: 3px solid var(--hud-orange); box-shadow: 0 0 24px rgba(255, 113, 0, .25);
}
.lightbox figcaption { padding: .5rem 0; color: var(--hud-text); display: flex; justify-content: space-between; gap: 1rem; }
.lightbox figcaption time { color: var(--hud-cyan); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.lightbox button {
    position: absolute; background: transparent; border: 1px solid var(--hud-orange); color: var(--hud-orange);
    width: 2.75rem; height: 2.75rem; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: var(--hud-orange); color: #0a0a0c; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
    .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
    .lightbox figure { max-height: calc(100vh - 7rem); }
}
