.rm-gallery-image-lightbox{position:fixed;inset:0;z-index:10050;isolation:isolate;display:flex;align-items:center;justify-content:center;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));box-sizing:border-box}.rm-gallery-image-lightbox-backdrop{position:absolute;inset:0;z-index:0;background:rgba(12,8,6,.9)}.rm-gallery-image-lightbox-frame{position:relative;z-index:1;width:min(100vw - 24px,100%);height:min(100dvh - 24px,100%);max-width:100%;max-height:100%;display:flex;align-items:center;justify-content:center;pointer-events:none}.rm-gallery-image-lightbox-img{max-width:100%;max-height:100%;width:auto;height:auto;-o-object-fit:contain;object-fit:contain;pointer-events:auto;box-shadow:0 12px 48px rgba(0,0,0,.55)}.rm-gallery-image-lightbox-close{position:absolute;top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));z-index:3;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:0;border:1px solid rgba(255,255,255,.25);border-radius:8px;background:rgba(0,0,0,.45);color:#fff;font-size:22px;line-height:1;cursor:pointer}.rm-gallery-image-lightbox-close:hover{background:rgba(0,0,0,.65)}.rm-gallery-image-lightbox-close:focus-visible{outline:2px solid #fff;outline-offset:2px}.rm-rich-html-lightbox-host img.rm-rich-html-lightbox-eligible{cursor:zoom-in}.rm-rich-html-lightbox-host img.rm-rich-html-lightbox-eligible:focus-visible{outline:2px solid #581717;outline-offset:3px}