.gallery-lightbox,.gallery-lightbox-artist{background:#f4f8f0ed;color:#264c3c;border:0;border-radius:0;padding:22px 24px 18px;clip-path:polygon(0 1.5%,27% 0,61% 1%,98.7% 0,100% 31%,99% 68%,100% 98%,72% 100%,39% 98.5%,1% 100%);box-shadow:0 16px 70px #10251e30}
.gallery-lightbox::backdrop{background:#18382c66;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
@supports(backdrop-filter:blur(1px)){.gallery-lightbox{background:#f4f8f0c9;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}}
.gallery-lightbox button{width:44px;height:44px;border:1px solid #264c3c38;background:#ffffffcf;color:#264c3c;border-radius:50%}
.gallery-lightbox button img{filter:none}
.gallery-lightbox button:hover{background:#f7df49}
.gallery-lightbox button:focus-visible{outline:3px solid #b93050;outline-offset:2px}
.gallery-lightbox-artist .gallery-lightbox-photo button{background:#ffffffd9}
.gallery-lightbox-viewport>img{object-fit:contain;background:transparent}
@media(max-width:760px){
 .gallery-lightbox,.gallery-lightbox-artist{width:98vw;padding:16px 10px;max-height:94svh}
 .gallery-lightbox-viewport>img,.gallery-lightbox-artist .gallery-lightbox-viewport>img{height:68svh;object-fit:contain}
 .hero .carousel-slide:not(.is-logo)>img{object-fit:contain!important;object-position:var(--mobile-crop-x,50%) var(--mobile-crop-y,18%)!important}
 .cms-gallery .gallery-photo{object-fit:contain;object-position:center}
 .project-card .image-wrap>img,.intro-portraits .portrait img,.people .portrait img,.artist-visual>.portrait img,.care-band-photo>img,.care-photo>img{object-fit:contain;object-position:center;background:#edf4ee}
}

/* The clipped viewport contains zoom/pan; arrows and tools never scale. */
.gallery-lightbox-viewport{min-width:0;overflow:hidden;position:relative;touch-action:pan-y}
.gallery-lightbox-viewport>img{display:block;transform-origin:center;user-select:none}
.gallery-lightbox-viewport.is-zoomed{cursor:grab;touch-action:none}
.gallery-lightbox-viewport.is-dragging{cursor:grabbing}
.gallery-zoom-tools{display:flex;align-items:center;gap:5px;margin-inline:auto}
.gallery-zoom-tools button{font-family:Arial,sans-serif;font-size:24px;font-weight:400;padding:4px}
.gallery-zoom-tools [data-zoom-reset]{width:64px;font-size:14px;border-radius:18px}
.gallery-zoom-tools button:disabled{opacity:.4;cursor:default}
.gallery-zoom-tools button:disabled:hover{background:#ffffffcf}
@media(max-width:480px){.gallery-lightbox-tools{gap:6px}.gallery-lightbox-tools>span{font-size:21px}.gallery-zoom-tools{gap:3px}.gallery-zoom-tools [data-zoom-reset]{width:56px}}
