/* MoodFramework 1.2.1 - rules scoped to the viewer, never to page layouts. */
.mfw-lightbox-link{cursor:zoom-in;display:inline-block;max-width:100%}
.mfn-gallery-grid>.mfw-lightbox-link,.mfn-gallery-grid>figure>.mfw-lightbox-link{display:block}
#mfw-gallery-lightbox{position:fixed;inset:0;box-sizing:border-box;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:clamp(12px,2vw,28px);background:rgba(20,18,25,.96);color:#fff;font-family:var(--font-body,Arial,sans-serif);overflow:hidden;z-index:2147483600;overscroll-behavior:contain;text-align:left;color-scheme:dark}
#mfw-gallery-lightbox:not([open]){display:none!important}
#mfw-gallery-lightbox[open]{display:flex;align-items:center;justify-content:center}
#mfw-gallery-lightbox::backdrop{background:rgba(20,18,25,.9)}
#mfw-gallery-lightbox *{box-sizing:border-box}
#mfw-gallery-lightbox [hidden]{display:none!important}
#mfw-gallery-lightbox .mfw-lb-panel{width:min(1440px,100%);height:100%;min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:12px;padding:12px 18px 14px;border:1px solid #55505f;border-radius:22px;background:#24212b;color:#fff;box-shadow:0 20px 65px #0005;overflow:hidden}
#mfw-gallery-lightbox .mfw-lb-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
#mfw-gallery-lightbox .mfw-lb-counter{flex-shrink:0;color:#d8c8ed;font-size:15px;line-height:1.5;font-weight:700;margin:0;letter-spacing:.05em}
#mfw-gallery-lightbox .mfw-lb-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
#mfw-gallery-lightbox .mfw-lb-button,#mfw-gallery-lightbox .mfw-lb-original{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:44px;min-height:44px;padding:8px 15px;border:1px solid #82768f;border-radius:999px;background:#38323f;color:#fff;cursor:pointer;font:600 13px/1.35 var(--font-body,Arial,sans-serif);text-decoration:none;letter-spacing:0;box-shadow:none;margin:0;transition:background .15s}
#mfw-gallery-lightbox .mfw-lb-button:hover,#mfw-gallery-lightbox .mfw-lb-original:hover{background:#4e435b}
#mfw-gallery-lightbox .mfw-lb-button:disabled{opacity:.5;cursor:wait}
#mfw-gallery-lightbox .mfw-lb-close{background:#ffd54a;color:#28232f;border-color:#ffd54a}
#mfw-gallery-lightbox .mfw-lb-close:hover{background:#ffe58e}
#mfw-gallery-lightbox .mfw-lb-close>span:first-child{font:400 25px/1 Arial,sans-serif}
#mfw-gallery-lightbox .mfw-lb-button:focus-visible,#mfw-gallery-lightbox .mfw-lb-original:focus-visible,#mfw-gallery-lightbox .mfw-lb-stage:focus-visible{outline:3px solid #ffd54a;outline-offset:3px}
#mfw-gallery-lightbox .mfw-lb-view{position:relative;min-height:0;min-width:0;padding:0 64px;display:flex;align-items:stretch;justify-content:center}
#mfw-gallery-lightbox .mfw-lb-stage{width:100%;height:100%;min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:pan-y pinch-zoom;overscroll-behavior:contain}
#mfw-gallery-lightbox .mfw-lb-image{display:block;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border:0!important;border-radius:0!important;margin:0!important;box-shadow:none!important;flex-shrink:1}
#mfw-gallery-lightbox .mfw-lb-stage.mfw-lb-zoomed{display:block;overflow:auto;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:auto}
#mfw-gallery-lightbox .mfw-lb-stage.mfw-lb-zoomed .mfw-lb-image{max-width:none!important;max-height:none!important;margin:0 auto!important}
#mfw-gallery-lightbox .mfw-lb-prev,#mfw-gallery-lightbox .mfw-lb-next{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;padding:0;z-index:2;background:#39303ff0}
#mfw-gallery-lightbox .mfw-lb-prev{left:0}
#mfw-gallery-lightbox .mfw-lb-next{right:0}
#mfw-gallery-lightbox .mfw-lb-prev>span:first-child,#mfw-gallery-lightbox .mfw-lb-next>span:first-child{font:400 38px/1 Arial,sans-serif;margin-top:-3px}
#mfw-gallery-lightbox .mfw-lb-prev .mfw-lb-button-text,#mfw-gallery-lightbox .mfw-lb-next .mfw-lb-button-text,#mfw-gallery-lightbox .mfw-lb-sr{position:absolute!important;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
#mfw-gallery-lightbox .mfw-lb-caption{color:#efeaf4;font-size:14px;line-height:1.6;text-align:center;margin:0;max-height:18vh;overflow:auto;overflow-wrap:anywhere;padding:0 8px}
#mfw-gallery-lightbox .mfw-lb-status{color:#f8d777;font-size:14px;line-height:1.5;margin:0;text-align:center}
@media(max-width:600px){
 #mfw-gallery-lightbox{padding:max(6px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left))}
 #mfw-gallery-lightbox .mfw-lb-panel{padding:10px 8px;border-radius:15px;gap:9px}
 #mfw-gallery-lightbox .mfw-lb-toolbar{gap:8px}
 #mfw-gallery-lightbox .mfw-lb-actions{gap:6px}
 #mfw-gallery-lightbox .mfw-lb-counter{font-size:12px;letter-spacing:0}
 #mfw-gallery-lightbox .mfw-lb-original{font-size:11px;padding:8px 10px}
 #mfw-gallery-lightbox .mfw-lb-button{padding:8px 10px}
 #mfw-gallery-lightbox .mfw-lb-zoom .mfw-lb-button-text,#mfw-gallery-lightbox .mfw-lb-close .mfw-lb-button-text{display:none}
 #mfw-gallery-lightbox .mfw-lb-view{padding:0 0 52px}
 #mfw-gallery-lightbox .mfw-lb-prev,#mfw-gallery-lightbox .mfw-lb-next{top:auto;bottom:0;transform:none;width:44px;height:44px}
 #mfw-gallery-lightbox .mfw-lb-prev{left:calc(50% - 52px)}
 #mfw-gallery-lightbox .mfw-lb-next{right:calc(50% - 52px)}
 #mfw-gallery-lightbox .mfw-lb-caption{font-size:12px;max-height:15vh}
}
@media(max-height:460px) and (min-width:601px){#mfw-gallery-lightbox{padding:6px}#mfw-gallery-lightbox .mfw-lb-panel{padding:6px 12px;gap:5px}#mfw-gallery-lightbox .mfw-lb-caption{max-height:14vh;font-size:12px}}
@media(prefers-reduced-motion:reduce){#mfw-gallery-lightbox *{transition:none!important;scroll-behavior:auto!important}}
@media print{#mfw-gallery-lightbox{display:none!important}}
