/* P2851/AJN - visualizzatore condiviso tra sito e amministrazione. */
dialog.cms-gallery-lightbox{position:fixed;inset:0;margin:0;padding:80px 76px 28px;box-sizing:border-box;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;border:0;background:rgba(15,20,27,.97);color:#fff;overflow:hidden;z-index:2147483000;font:15px/1.4 system-ui,sans-serif}dialog.cms-gallery-lightbox[open]{display:flex;align-items:center;justify-content:center}dialog.cms-gallery-lightbox::backdrop{background:rgba(0,0,0,.85)}.cms-gallery-lightbox .cms-gallery-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;max-width:100%;width:100%;height:100%;min-height:0;margin:0;pointer-events:none}.cms-gallery-lightbox .cms-gallery-full{display:block;max-width:100%;max-height:calc(100% - 70px);width:auto;height:auto;object-fit:contain;pointer-events:auto}.cms-gallery-lightbox .cms-gallery-caption{max-width:900px;text-align:center;font-size:13px;color:#dbe2ec;overflow-wrap:anywhere}.cms-gallery-lightbox .cms-gallery-status{margin:0;text-align:center;color:#ffe3ac;font-size:14px}.cms-gallery-lightbox button{position:absolute;display:flex;align-items:center;justify-content:center;gap:8px;min-width:48px;min-height:48px;box-sizing:border-box;border:1px solid #68717d;border-radius:9px;background:#232e3c;color:#fff;cursor:pointer;font:600 15px/1 system-ui,sans-serif;appearance:none}.cms-gallery-lightbox button:hover{background:#39485b}.cms-gallery-lightbox button:focus-visible{outline:3px solid #ffd35d;outline-offset:4px}.cms-gallery-lightbox .cms-gallery-close{top:max(18px,env(safe-area-inset-top));right:max(20px,env(safe-area-inset-right));padding:8px 14px}.cms-gallery-lightbox .cms-gallery-close>span:first-child{font-size:29px;font-weight:400}.cms-gallery-lightbox .cms-gallery-prev{left:16px;top:calc(50% - 28px);font-size:44px;width:48px;height:56px}.cms-gallery-lightbox .cms-gallery-next{right:16px;top:calc(50% - 28px);font-size:44px;width:48px;height:56px}.cms-gallery-lightbox button[hidden]{display:none!important}@media(max-width:600px){dialog.cms-gallery-lightbox{padding:78px 12px 92px}.cms-gallery-lightbox .cms-gallery-prev{left:calc(50% - 62px);top:auto;bottom:max(20px,env(safe-area-inset-bottom))}.cms-gallery-lightbox .cms-gallery-next{right:calc(50% - 62px);top:auto;bottom:max(20px,env(safe-area-inset-bottom))}.cms-gallery-lightbox .cms-gallery-caption{font-size:12px}.cms-gallery-lightbox .cms-gallery-full{max-height:calc(100% - 82px)}}
