/* LD Lightbox 1.1.0 by Life and DIY. Look matched to the old Fancybox setup (measured Oct 20 2026). */
.ldlb[hidden]{display:none!important}
.ldlb{position:fixed;inset:0;z-index:2147483000;display:block;background-color:rgba(15,15,17,.87);color:#f8f8f8;opacity:0;transition:opacity .2s ease;-webkit-tap-highlight-color:transparent;font-family:inherit;font-size:15.5px;line-height:1.375;box-sizing:border-box;overscroll-behavior:contain;touch-action:none}
.ldlb *,.ldlb *::before,.ldlb *::after{box-sizing:border-box}
.ldlb.is-open{opacity:1}
/* Stage: same breathing room as Fancybox (64px top and bottom, 100px sides on desktop). */
.ldlb-stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:64px 100px;overflow:hidden}
.ldlb-fig{margin:0!important;padding:0!important;display:flex;flex-direction:column;align-items:center;max-width:100%;max-height:100%;border:0;background:none}
.ldlb .ldlb-img{display:block;max-width:none!important;max-height:none!important;object-fit:contain;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;transition:transform .2s ease,opacity .15s ease;cursor:default;opacity:1}
.ldlb.can-zoom:not(.is-zoomed) .ldlb-img{cursor:zoom-in}
.ldlb.is-loading .ldlb-img{opacity:0}
.ldlb.is-error .ldlb-img{display:none!important}
/* Caption: white, centered, right under the photo. */
.ldlb-cap{margin:0!important;padding:14px 0 4px!important;max-width:100%;text-align:center;font-size:15.5px;line-height:1.375;font-weight:400;color:#fff;text-shadow:none}
.ldlb-cap[hidden]{display:none}
.ldlb-err{display:none;margin:0;padding:24px;font-size:16px;color:#fff;text-align:center}
.ldlb.is-error .ldlb-err{display:block}
.ldlb-spin{position:absolute;left:50%;top:50%;width:50px;height:50px;margin:-25px 0 0 -25px;border:4px solid rgba(255,255,255,.1);border-top-color:#bbb;border-radius:50%;opacity:0;pointer-events:none;animation:ldlb-spin .8s linear infinite}
.ldlb.is-loading .ldlb-spin{opacity:1;transition:opacity .2s .15s}
@keyframes ldlb-spin{to{transform:rotate(360deg)}}
/* Toolbar: counter top left, buttons top right, flush to the edges, no bar background. */
.ldlb-bar{position:absolute;left:0;right:0;top:0;height:46px;display:flex;align-items:flex-start;justify-content:space-between;padding:0;background:none;pointer-events:none;z-index:2}
.ldlb-count{padding:0 5px;min-width:46px;line-height:46px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Liberation Sans",sans-serif;font-size:17px;text-align:center;color:#dbdbdb;text-shadow:1px 1px 1px rgba(0,0,0,.5);font-variant-numeric:tabular-nums}
.ldlb-count[hidden]{display:block!important;visibility:hidden}
.ldlb-tools{display:flex;gap:0;pointer-events:auto}
.ldlb .ldlb-btn{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:5px;cursor:pointer;color:#fff;background:rgba(30,30,30,.6);transition:background .15s ease,opacity .15s ease}
.ldlb .ldlb-btn[hidden]{display:none}
.ldlb .ldlb-btn:hover{background:rgba(30,30,30,.85)}
.ldlb .ldlb-btn:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.ldlb .ldlb-btn svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(1px 1px 1px rgba(24,24,27,.15));pointer-events:none}
.ldlb .ldlb-play svg{fill:currentColor;stroke-width:1.2}
/* Prev and next: 50px rounded squares, 15px from the edges, vertically centered. */
.ldlb .ldlb-nav{position:absolute;top:50%;margin-top:-25px;width:50px;height:50px;z-index:2}
.ldlb .ldlb-nav svg{width:24px;height:24px;stroke-width:2}
.ldlb .ldlb-prev{left:15px}
.ldlb .ldlb-next{right:15px}
.ldlb .ldlb-nav:disabled{background:#f9f9f9;color:#aaa;opacity:.6;cursor:default}
.ldlb.is-zoomed .ldlb-stage{overflow:auto;display:block;padding:0;touch-action:pan-x pan-y}
.ldlb.is-zoomed .ldlb-fig{display:block;max-width:none;max-height:none;width:max-content;margin:0 auto!important}
.ldlb.is-zoomed .ldlb-img{cursor:zoom-out}
.ldlb.is-zoomed .ldlb-cap,.ldlb.is-zoomed .ldlb-nav{display:none}
.ldlb-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Phones: caption moves to a translucent footer like Fancybox. Photo keeps a small margin so the page still shows around it. */
@media (max-width:767px){
.ldlb{font-size:17px}
.ldlb-stage{padding:64px 12px}
.ldlb-cap{position:fixed;left:0;right:0;bottom:0;max-width:none;padding:12px!important;font-size:17px;line-height:1.375;background:rgba(24,24,27,.5)}
}
@media (prefers-reduced-motion:reduce){.ldlb,.ldlb .ldlb-img,.ldlb .ldlb-btn{transition:none}.ldlb-spin{animation-duration:2s}}
html.ldlb-open{overflow:hidden}
