/* Keep the photo edge clean; keyboard focus is shown on its caption. */
#gallery.cw-gallery .cw-track,
#gallery.cw-gallery .cw-frame a,
#gallery.cw-gallery .cw-frame img{border:0;box-shadow:none;outline:none;-webkit-tap-highlight-color:transparent}
#gallery.cw-gallery .cw-track:focus-visible{outline:none}
#gallery.cw-gallery .cw-frame a:focus-visible+figcaption{ text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px }
#gallery.cw-gallery .cw-track:focus-visible~.cw-gallery-footer{ text-decoration:underline;text-underline-offset:4px }
#gallery .cw-expand{display:none}
.dg-photo-lightbox.cw-photo-fullscreen{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:#080b0e;color:#fff;box-shadow:none}
.dg-photo-lightbox.cw-photo-fullscreen>img{display:block;width:100%;height:100%;margin:0;object-fit:contain;border:0;border-radius:0;outline:none;background:#080b0e}
.dg-photo-lightbox.cw-photo-fullscreen .dg-photo-caption{display:none}
.dg-photo-lightbox.cw-photo-fullscreen .dg-photo-close{position:absolute;z-index:2;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(15,20,25,.65);color:#fff;font-size:0;backdrop-filter:blur(8px)}
.dg-photo-lightbox.cw-photo-fullscreen .dg-photo-close::after{content:"";width:22px;height:22px;background:url("./x.svg") center/contain no-repeat;filter:brightness(0) invert(1)}
.dg-photo-lightbox.cw-photo-fullscreen .dg-photo-controls{position:absolute;z-index:2;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);margin:0;padding:6px 10px;gap:14px;border-radius:40px;background:rgba(15,20,25,.65);color:#fff;backdrop-filter:blur(8px)}
.dg-photo-lightbox.cw-photo-fullscreen .dg-photo-controls button{background:transparent;color:#fff}
.dg-photo-lightbox.cw-photo-fullscreen button:focus-visible{outline:2px solid #fff;outline-offset:2px}
