/* ============================================================
   Lightbox — shared fullscreen image viewer.
   Opt-in: any <img class="lbx" data-lightbox-src="..."> becomes tappable.
   ============================================================ */
.lbx{cursor:zoom-in}
.lbx-overlay{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,0.92);display:flex;align-items:center;justify-content:center;padding:24px;opacity:0;pointer-events:none;transition:opacity .22s ease}
.lbx-overlay.lbx-open{opacity:1;pointer-events:auto}
.lbx-overlay img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;border-radius:6px;box-shadow:0 30px 80px rgba(0,0,0,.6);transform:scale(.985);transition:transform .25s cubic-bezier(.16,1,.3,1)}
.lbx-overlay.lbx-open img{transform:scale(1)}
.lbx-close{position:absolute;top:18px;right:20px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:rgba(20,20,22,.7);color:#fff;border:.5px solid rgba(255,255,255,.18);border-radius:50%;font-size:22px;line-height:1;cursor:pointer;transition:background .2s ease,border-color .2s ease;font-family:"Inter",system-ui,sans-serif;font-weight:300;padding:0}
.lbx-close:hover{background:rgba(40,40,42,.9);border-color:rgba(255,255,255,.32)}
.lbx-close:focus-visible{outline:2px solid rgba(255,255,255,.55);outline-offset:3px}
body.lbx-locked{overflow:hidden}

/* Shared "Tap to expand" hint — auto-injected by lightbox.js next to every .lbx image.
   Hidden on desktop (the larger view already shows full detail); a small pill overlay
   in the bottom-right of the image frame on mobile. One label, one position, one style
   across every page that uses the lightbox. */
.lbx-hint{display:none}
@media (max-width:760px){
  .lbx-hint{
    display:inline-flex;align-items:center;justify-content:center;
    position:absolute;right:10px;bottom:10px;z-index:2;
    padding:6px 10px;border-radius:999px;
    font-family:"Inter Tight",sans-serif;font-size:10.5px;font-weight:500;
    letter-spacing:.12em;text-transform:uppercase;
    color:rgba(255,255,255,.92);background:rgba(8,8,10,.72);
    border:.5px solid rgba(255,255,255,.18);
    -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
    pointer-events:none;
  }
}
