.wisp-gallery-lightbox{border:0;box-sizing:border-box;height:100vh;height:100dvh;margin:0;max-height:none;max-width:none;padding:3.5rem 4.5rem;width:100vw;--_lb-color:#fff;--_lb-bg:hsla(0,0%,4%,.96);background:transparent;color:var(--_lb-color);overflow:hidden;touch-action:pan-y pinch-zoom;transition:opacity .25s cubic-bezier(.25,1,.5,1),display allow-discrete .25s,overlay allow-discrete .25s}.wisp-gallery-lightbox[open]{display:grid;opacity:1;place-items:center}@starting-style{.wisp-gallery-lightbox[open]{opacity:0}}.wisp-gallery-lightbox:not([open]){opacity:0}.wisp-gallery-lightbox::backdrop{background:transparent}.wisp-gallery-lightbox__backdrop{background:var(--_lb-bg);inset:0;position:fixed;z-index:-1}.wisp-gallery-lightbox--flying{transition:none}.wisp-gallery-lightbox--flying .wisp-gallery-lightbox__image{will-change:transform}.wisp-gallery-lightbox--no-caption .wisp-gallery-lightbox__caption,.wisp-gallery-lightbox--no-counter .wisp-gallery-lightbox__counter{display:none}.wisp-gallery-lightbox--open-none{transition:none}.wisp-gallery-lightbox:focus{outline:none}.wisp-gallery-lightbox__figure{align-items:center;display:flex;flex-direction:column;gap:.75rem;margin:0;max-height:100%;max-width:100%;position:relative}.wisp-gallery-lightbox__image{cursor:zoom-out;display:block;height:auto;max-width:100%;width:auto;--wisp-gallery-lb-max-h:calc(100vh - 9rem);max-height:var(--wisp-gallery-lb-max-h)}@supports(height:100dvh){.wisp-gallery-lightbox__image{--wisp-gallery-lb-max-h:calc(100dvh - 9rem)}}.wisp-gallery-lightbox__image{background:50%/contain no-repeat;object-fit:contain;-webkit-user-select:none;user-select:none}.wisp-gallery-lightbox__caption{align-items:baseline;display:flex;font-size:.95rem;gap:1rem;text-align:center}.wisp-gallery-lightbox__link{color:inherit;font-weight:600}.wisp-gallery-lightbox__counter{font-size:.875rem;font-variant-numeric:tabular-nums;left:1.5rem;opacity:.8;position:absolute;top:1.25rem}.wisp-gallery-lightbox__button{background:hsla(0,0%,50%,.15);background:color-mix(in srgb,currentcolor 10%,transparent);border:0;border-radius:50%;color:inherit;cursor:pointer;display:grid;height:3rem;padding:0;place-items:center;position:absolute;width:3rem}.wisp-gallery-lightbox__button:focus-visible,.wisp-gallery-lightbox__button:hover{background:hsla(0,0%,50%,.3);background:color-mix(in srgb,transparent,currentcolor 22%)}.wisp-gallery-lightbox__button:focus-visible{outline:2px solid currentcolor;outline-offset:2px}.wisp-gallery-lightbox [hidden]{display:none}.wisp-gallery-lightbox__close{right:.75rem;top:.5rem}.wisp-gallery-lightbox__next,.wisp-gallery-lightbox__prev{top:50%;transform:translateY(-50%)}.wisp-gallery-lightbox__prev{left:.75rem}.wisp-gallery-lightbox__next{right:.75rem}@media(max-width:599px){.wisp-gallery-lightbox{padding:3.5rem .75rem 5rem}.wisp-gallery-lightbox__next,.wisp-gallery-lightbox__prev{bottom:1rem;top:auto;transform:none}.wisp-gallery-lightbox__prev{left:calc(50% - 3.5rem)}.wisp-gallery-lightbox__next{right:calc(50% - 3.5rem)}}@media(prefers-reduced-motion:reduce){.wisp-gallery-lightbox{transition:none}}:root:has(dialog.wisp-gallery-lightbox[open]){overflow:hidden;scrollbar-gutter:stable}
