.sgs-gallery{--sgs-columns-desktop:3;--sgs-columns-tablet:2;--sgs-columns-mobile:1;--sgs-columns:var( --sgs-columns-desktop );--sgs-gap:16px;--sgs-transition-duration:300ms;--sgs-transition-easing:ease;--sgs-hover-scale:1;--sgs-hover-overlay:transparent;--sgs-caption-colour:var( --wp--preset--color--text-inverse,#fff );--sgs-caption-bg:linear-gradient(transparent,rgba(15,76,76,.9) 40%);--sgs-item-radius:var( --wp--custom--border-radius--small,4px )}.sgs-gallery__grid{display:grid;gap:var( --sgs-gap )}.sgs-gallery--grid .sgs-gallery__grid{grid-template-columns:repeat(var( --sgs-columns ),1fr)}.sgs-gallery--masonry .sgs-gallery__grid{column-count:var( --sgs-columns );column-gap:var( --sgs-gap );display:block}.sgs-gallery--masonry .sgs-gallery__item{break-inside:avoid;page-break-inside:avoid;margin-bottom:var( --sgs-gap )}.sgs-gallery--carousel{position:relative}.sgs-gallery--carousel .sgs-gallery__grid{display:grid;grid-auto-columns:calc((100% - (var( --sgs-columns ) - 1)*var(--sgs-gap))/var( --sgs-columns ));grid-auto-flow:column;grid-template-columns:repeat(var( --sgs-columns ),calc((100% - (var( --sgs-columns ) - 1)*var(--sgs-gap))/var( --sgs-columns )));overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;margin-block:calc(var( --sgs-shadow-bleed, 80px )*-1);padding-block:var( --sgs-shadow-bleed,80px );scrollbar-width:none}.sgs-gallery--carousel .sgs-gallery__grid::-webkit-scrollbar{display:none}.sgs-gallery--carousel .sgs-gallery__item{flex-shrink:0;scroll-snap-align:start}.sgs-gallery--scroll .sgs-gallery__grid{display:grid;grid-auto-columns:var( --sgs-scroll-item-width,calc((100% - (var( --sgs-columns ) - 1)*var(--sgs-gap))/var( --sgs-columns )) );grid-auto-flow:column;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;margin-block:calc(var( --sgs-shadow-bleed, 80px )*-1);padding-block:var( --sgs-shadow-bleed,80px );scrollbar-width:none}.sgs-gallery--scroll .sgs-gallery__grid::-webkit-scrollbar{display:none}.sgs-gallery--scroll .sgs-gallery__item{scroll-snap-align:start}.sgs-gallery__carousel-next,.sgs-gallery__carousel-prev{align-items:center;background:rgba(0,0,0,.55);border:none;border-radius:50%;color:var( --wp--preset--color--text-inverse,#fff );cursor:pointer;display:flex;height:44px;justify-content:center;position:absolute;top:50%;transform:translateY(-50%);transition:background var( --sgs-transition-duration ) var( --sgs-transition-easing );width:44px;z-index:10}.sgs-gallery__carousel-prev{left:8px}.sgs-gallery__carousel-next{right:8px}.sgs-gallery__pause{background:rgba(0,0,0,.55);border:none;border-radius:50%;color:var( --wp--preset--color--text-inverse,#fff );inset-inline-end:8px;position:absolute;top:8px;transition:background var( --sgs-transition-duration ) var( --sgs-transition-easing );z-index:10}.sgs-gallery__carousel-next:hover,.sgs-gallery__carousel-prev:hover,.sgs-gallery__pause:hover{background:rgba(0,0,0,.8)}.sgs-gallery__carousel-next:disabled,.sgs-gallery__carousel-prev:disabled{cursor:not-allowed;opacity:.35}.sgs-gallery__carousel-dots{display:flex;gap:8px;justify-content:center;margin-top:12px}.sgs-gallery__dot{background:rgba(0,0,0,.25);border:none;border-radius:50%;cursor:pointer;height:10px;min-height:44px;min-width:44px;padding:0;transition:background var( --sgs-transition-duration ) var( --sgs-transition-easing );width:10px}.sgs-gallery__dot--active{background:var( --wp--preset--color--primary,#0f7e80 );height:14px;width:14px}.sgs-gallery__item{aspect-ratio:var( --sgs-item-aspect,auto );border-radius:var( --sgs-item-radius );margin:0;overflow:hidden;position:relative;transition:transform var( --sgs-transition-duration ) var( --sgs-transition-easing )}.sgs-gallery__img-wrap{display:block;overflow:hidden;position:relative;width:100%}.sgs-gallery__img-wrap:after{background:var( --sgs-hover-overlay,transparent );background-image:var( --sgs-hover-overlay-gradient,none );content:"";inset:0;opacity:0;pointer-events:none;position:absolute;transition:opacity var( --sgs-transition-duration ) var( --sgs-transition-easing )}.sgs-gallery__item:has(:focus-visible) .sgs-gallery__img-wrap:after,.sgs-gallery__item:hover .sgs-gallery__img-wrap:after{opacity:.4}.sgs-gallery__img{display:block;height:auto;transition:transform var( --sgs-transition-duration ) var( --sgs-transition-easing );width:100%}.sgs-gallery--fixed-aspect:not(.sgs-gallery--masonry):not(.sgs-gallery--tile) .sgs-gallery__img,.sgs-gallery--fixed-aspect:not(.sgs-gallery--masonry):not(.sgs-gallery--tile) .sgs-gallery__img-wrap,.sgs-gallery--fixed-aspect:not(.sgs-gallery--masonry):not(.sgs-gallery--tile) .sgs-gallery__item>:is(.sgs-gallery__item-link,.sgs-gallery__item-btn){height:100%;width:100%}.sgs-gallery.sgs-has-grayscale .sgs-gallery__img{filter:grayscale(100%);transition:filter var( --sgs-transition-duration ) var( --sgs-transition-easing )}.sgs-gallery.sgs-has-grayscale .sgs-gallery__item:has(:focus-visible):where(:not(.sgs-focus-rests,.sgs-focus-rests *)) .sgs-gallery__img,.sgs-gallery.sgs-has-grayscale .sgs-gallery__item:hover .sgs-gallery__img{filter:grayscale(0)}.sgs-gallery.sgs-has-hover .sgs-gallery__item:hover{box-shadow:var(--sgs-hover-shadow,none)}.sgs-gallery.sgs-has-hover-scale:hover{transform:none}.sgs-gallery__item:hover{transform:scale(var( --sgs-hover-scale,1 ))}.sgs-gallery__item-btn{background:none;border:none;cursor:pointer;display:block;padding:0;width:100%}.sgs-gallery__item-link{color:inherit;cursor:pointer;display:block;min-height:var( --sgs-gallery-tap-min,44px );text-decoration:none;width:100%}.sgs-gallery__item--linked{transition:transform var( --sgs-transition-duration ) var( --sgs-transition-easing ),box-shadow var( --sgs-transition-duration ) var( --sgs-transition-easing ),background-color var( --sgs-transition-duration ) var( --sgs-transition-easing )}.sgs-gallery--tile .sgs-gallery__item{aspect-ratio:auto;display:grid}.sgs-gallery--tile .sgs-gallery__item-btn,.sgs-gallery--tile .sgs-gallery__item-link{position:relative}.sgs-gallery--tile .sgs-gallery__img-wrap{inset:0;position:absolute;width:auto}.sgs-gallery--tile .sgs-gallery__img{height:100%;width:100%}.sgs-gallery__caption{align-items:flex-end;bottom:0;display:flex;font-size:.875rem;height:40%;justify-content:center;left:0;line-height:1.4;margin:0;padding:0 12px 10px;position:absolute;right:0;text-align:center}.sgs-gallery--masonry .sgs-gallery__caption{inset:unset;position:relative}.sgs-gallery--caption-reveal .sgs-gallery__caption{opacity:0;transform:translateY(100%);transition:opacity var( --sgs-transition-duration ) var( --sgs-transition-easing ),transform var( --sgs-transition-duration ) var( --sgs-transition-easing )}.sgs-gallery--caption-reveal .sgs-gallery__item:has(:focus-visible):where(:not(.sgs-focus-rests,.sgs-focus-rests *)) .sgs-gallery__caption,.sgs-gallery--caption-reveal .sgs-gallery__item:hover .sgs-gallery__caption{opacity:1;transform:translateY(0)}.sgs-gallery--caption-reveal.sgs-gallery--masonry .sgs-gallery__caption{transform:none}.sgs-gallery--caption-reveal.sgs-gallery--masonry .sgs-gallery__item:has(:focus-visible):where(:not(.sgs-focus-rests,.sgs-focus-rests *)) .sgs-gallery__caption,.sgs-gallery--caption-reveal.sgs-gallery--masonry .sgs-gallery__item:hover .sgs-gallery__caption{transform:none}.sgs-gallery__lightbox{--sgs-gallery-lightbox-img-max-w:min(90vw,calc(100vw - 152px));--sgs-gallery-lightbox-img-max-h:80vh;align-items:center;background:transparent;border:0;color:inherit;height:100%;inset:0;justify-content:center;margin:0;max-height:none;max-width:none;overflow:hidden;padding:20px;position:fixed;transition:opacity var( --wp--custom--duration--medium,.3s ) var( --wp--custom--easing--emphasised,cubic-bezier(.16,1,.3,1) );width:100%}.sgs-gallery__lightbox::backdrop{background:transparent}.sgs-gallery__lightbox--open,.sgs-gallery__lightbox[open]{display:flex}:root:has(body.sgs-gallery-lightbox-open){overflow:hidden}.sgs-gallery__lightbox-close{align-items:center;background:color-mix(in srgb,var( --wp--preset--color--primary-dark,#0a5b5d ) 50%,transparent);border:none;border-radius:50%;color:var( --wp--preset--color--text-inverse,#fff );cursor:pointer;display:flex;height:44px;justify-content:center;padding:0;position:absolute;right:16px;top:16px;transition:background var( --wp--custom--duration--fast,.15s ) var( --wp--custom--easing--default,cubic-bezier(.4,0,.2,1) );width:44px;z-index:1}.sgs-gallery__lightbox-close:hover{background:color-mix(in srgb,var( --wp--preset--color--primary-dark,#0a5b5d ) 80%,transparent)}.sgs-gallery__lightbox-next,.sgs-gallery__lightbox-prev{align-items:center;background:color-mix(in srgb,var( --wp--preset--color--primary-dark,#0a5b5d ) 50%,transparent);border:none;border-radius:50%;color:var( --wp--preset--color--text-inverse,#fff );cursor:pointer;display:flex;height:52px;justify-content:center;padding:0;position:absolute;top:50%;transform:translateY(-50%);transition:background var( --wp--custom--duration--fast,.15s ) var( --wp--custom--easing--default,cubic-bezier(.4,0,.2,1) );width:52px;z-index:1}.sgs-gallery__lightbox-prev{left:12px}.sgs-gallery__lightbox-next{right:12px}.sgs-gallery__lightbox-next:hover,.sgs-gallery__lightbox-prev:hover{background:color-mix(in srgb,var( --wp--preset--color--primary-dark,#0a5b5d ) 80%,transparent)}.sgs-gallery__lightbox-body{align-items:center;display:flex;flex-direction:column;gap:12px;max-width:var( --sgs-gallery-lightbox-img-max-w )}.sgs-gallery__lightbox-img{border-radius:4px;display:block;max-height:var( --sgs-gallery-lightbox-img-max-h );max-width:var( --sgs-gallery-lightbox-img-max-w );object-fit:contain;opacity:0;transform:scale(.9);transition:opacity var( --wp--custom--duration--medium,.3s ) var( --wp--custom--easing--emphasised,cubic-bezier(.16,1,.3,1) ),transform var( --wp--custom--duration--medium,.3s ) var( --wp--custom--easing--emphasised,cubic-bezier(.16,1,.3,1) )}.sgs-gallery__lightbox--open .sgs-gallery__lightbox-img{opacity:1;transform:scale(1)}.sgs-gallery__lightbox-caption{color:var( --wp--preset--color--text-inverse,#fff );font-size:.9375rem;margin:0;max-width:600px;opacity:0;text-align:center;transition:opacity var( --wp--custom--duration--fast,.15s ) var( --wp--custom--easing--default,cubic-bezier(.4,0,.2,1) )}.sgs-gallery__lightbox--open .sgs-gallery__lightbox-caption{opacity:1}.sgs-gallery__lightbox-counter{bottom:20px;color:hsla(0,0%,100%,.65);font-size:.875rem;left:50%;margin:0;position:absolute;transform:translateX(-50%);white-space:nowrap}.sgs-gallery__empty{align-items:center;display:flex;flex-direction:column;gap:12px;padding:48px 24px;text-align:center}.sgs-gallery__empty-text{color:var( --wp--preset--color--text-muted,#555 );font-size:var( --wp--preset--font-size--small,.875rem );line-height:1.5;margin:0;max-width:36ch}@media (max-width:1023px){.sgs-gallery--carousel .sgs-gallery__grid,.sgs-gallery--grid .sgs-gallery__grid{grid-template-columns:repeat(var( --sgs-columns-tablet,2 ),1fr)}.sgs-gallery--masonry .sgs-gallery__grid{column-count:var( --sgs-columns-tablet,2 )}.sgs-gallery--scroll .sgs-gallery__grid{grid-auto-columns:var( --sgs-scroll-item-width,calc((100% - (var( --sgs-columns-tablet, 2 ) - 1)*var(--sgs-gap))/var( --sgs-columns-tablet, 2 )) )}.sgs-gallery--carousel .sgs-gallery__grid{grid-auto-columns:calc((100% - (var( --sgs-columns-tablet, 2 ) - 1)*var(--sgs-gap))/var( --sgs-columns-tablet, 2 ));grid-template-columns:repeat(var( --sgs-columns-tablet,2 ),calc((100% - (var( --sgs-columns-tablet, 2 ) - 1)*var(--sgs-gap))/var( --sgs-columns-tablet, 2 )))}}@media (max-width:767px){.sgs-gallery--grid .sgs-gallery__grid{grid-template-columns:repeat(var( --sgs-columns-mobile,1 ),1fr)}.sgs-gallery--masonry .sgs-gallery__grid{column-count:var( --sgs-columns-mobile,1 )}.sgs-gallery--scroll .sgs-gallery__grid{grid-auto-columns:var( --sgs-scroll-item-width,calc((100% - (var( --sgs-columns-mobile, 1 ) - 1)*var(--sgs-gap))/var( --sgs-columns-mobile, 1 )) )}.sgs-gallery--carousel .sgs-gallery__grid{grid-auto-columns:100%;grid-template-columns:repeat(var( --sgs-columns-mobile,1 ),100%)}.sgs-gallery__lightbox{--sgs-gallery-lightbox-img-max-w:calc(100vw - 32px);--sgs-gallery-lightbox-img-max-h:calc(100dvh - 220px);padding:72px 16px 80px}.sgs-gallery__lightbox-next,.sgs-gallery__lightbox-prev{bottom:16px;height:48px;top:auto;transform:none;width:48px}.sgs-gallery__lightbox-prev{left:16px}.sgs-gallery__lightbox-next{right:16px}.sgs-gallery__lightbox-counter{bottom:40px;transform:translate(-50%,50%)}}@media (prefers-reduced-motion:reduce){.sgs-gallery__carousel-next,.sgs-gallery__carousel-prev,.sgs-gallery__dot,.sgs-gallery__img,.sgs-gallery__img-wrap:after,.sgs-gallery__item,.sgs-gallery__lightbox,.sgs-gallery__lightbox-caption,.sgs-gallery__lightbox-close,.sgs-gallery__lightbox-img,.sgs-gallery__lightbox-next,.sgs-gallery__lightbox-prev,.sgs-gallery__pause{animation-duration:.01ms!important;transition-duration:.01ms!important}.sgs-gallery__lightbox-img{opacity:1!important;transform:none!important}.sgs-gallery__lightbox-caption{opacity:1!important}.sgs-gallery__item:hover{transform:none}.sgs-gallery--caption-reveal .sgs-gallery__caption{transition:none}}@media (hover:none){.sgs-gallery--caption-reveal .sgs-gallery__caption{opacity:1;transform:none}}
