body .fyr-work-media .fyr-gallery{width:100%;min-width:0;margin:0;color:#1a1a1a}
body .fyr-gallery-stage{position:relative;overflow:hidden;aspect-ratio:16/9;background:#f0f0ed}
body .fyr-gallery-track{display:flex;gap:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;height:100%;width:100%;touch-action:pan-x pan-y pinch-zoom}
body .fyr-gallery-track::-webkit-scrollbar{display:none}
body .fyr-gallery-slide{flex:0 0 100%;min-width:0;height:100%;scroll-snap-align:start;scroll-snap-stop:always}
body .fyr-gallery-slide a{position:relative;display:block;width:100%;height:100%;cursor:zoom-in}
body .fyr-gallery-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;margin:0}
body .fyr-gallery-expand{position:absolute;right:16px;top:16px;display:flex;align-items:center;gap:8px;min-height:38px;padding:6px 12px;border-radius:999px;background:#f7f6f2;color:#1a1a1a;font-size:14px;font-weight:600;line-height:1.4;pointer-events:none;box-shadow:0 1px 12px #1a1a1a12}
body .fyr-gallery-progress{position:absolute;left:0;bottom:0;height:3px;width:var(--fyr-gallery-progress,100%);background:var(--fyr-purple);pointer-events:none;transition:width 380ms cubic-bezier(.22,1,.36,1)}
body .fyr-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0 8px}
body .fyr-gallery-counter{font-size:16px;font-weight:600;line-height:1.5;font-variant-numeric:tabular-nums}
body .fyr-gallery-arrows{display:flex;gap:8px}
body .fyr-gallery :is(.fyr-gallery-arrows button,.fyr-gallery-thumbs button){box-sizing:border-box;font:inherit;cursor:pointer;background:#f7f6f2;color:#1a1a1a;border:1px solid #1a1a1a;border-radius:0;padding:0;transition:background-color 180ms ease,color 180ms ease}
body .fyr-gallery .fyr-gallery-arrows button{display:inline-flex;align-items:center;justify-content:center;width:48px;min-width:48px;height:48px;min-height:48px;border-radius:50%;font-size:0;line-height:1}
body .fyr-gallery .fyr-gallery-arrows button:hover:not(:disabled){background:#1a1a1a;color:#f7f6f2}
body .fyr-gallery .fyr-gallery-arrows button:disabled{border-color:#b9b9b6;color:#777;cursor:default}
body .fyr-gallery-thumbs{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;padding:4px 4px 8px;margin:0 -4px;scrollbar-width:thin;scrollbar-color:#b9b9b6 transparent}
body .fyr-gallery .fyr-gallery-thumbs button{position:relative;flex:0 0 76px;min-height:48px;border:2px solid transparent;background:#f0f0ed;padding:2px;opacity:.7}
body .fyr-gallery .fyr-gallery-thumbs button:is(:hover,[aria-current]){opacity:1}
body .fyr-gallery .fyr-gallery-thumbs button[aria-current]{border-color:#1a1a1a}
body .fyr-gallery-thumbs img{display:block;width:100%;height:42px;object-fit:cover;margin:0}
body .fyr-gallery-credit{font-size:14px;line-height:1.5;color:#535353;margin:8px 0 0;min-height:0}
body .fyr-gallery-credit:empty{display:none}
body .fyr-gallery [hidden]{display:none!important}
body .elementor .fyr-gallery :is(a,button):focus-visible{outline:3px solid var(--fyr-purple-bright);outline-offset:3px}
body .fyr-gallery-slide a:focus-visible{outline-offset:-5px}
body .pswp{--pswp-bg:#1a1a1a;--pswp-icon-color:#f7f6f2;--pswp-icon-color-secondary:#1a1a1a;--pswp-icon-stroke-color:#1a1a1a;z-index:100000}
body .pswp .pswp__button{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}
body .pswp .pswp__img{max-width:none;object-fit:contain}
body .pswp__fyr-caption{position:absolute;left:72px;right:72px;bottom:20px;color:#f7f6f2;font:16px/1.5 "Atkinson Hyperlegible Next",Arial,sans-serif;text-align:center;pointer-events:none;text-shadow:0 1px 6px #1a1a1a}
body .pswp button:focus-visible{outline:3px solid #f7f6f2;outline-offset:-5px}
@media(max-width:767px){body .fyr-gallery-expand{top:10px;right:10px;font-size:13px;min-height:34px;padding:6px 10px}body .pswp__fyr-caption{left:20px;right:20px;bottom:16px;font-size:14px}}
@media(prefers-reduced-motion:reduce){body .fyr-gallery-progress,body .fyr-gallery button{transition:none}}

/* A quiet backdrop fade frames the shared left-to-right image reveal.
   Clip the viewer wrapper, leaving PhotoSwipe's pan/zoom transforms untouched. */
@keyframes fyr-viewer-uncover{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0% 0 0)}}
@keyframes fyr-viewer-cover{from{clip-path:inset(0 0% 0 0)}to{clip-path:inset(0 100% 0 0)}}
@media(prefers-reduced-motion:no-preference){
 html:not([data-fyr-motion=off]) .pswp .pswp__img.fyr-image-uncover{animation:fyr-viewer-uncover 480ms var(--fyr-ease-wipe) both}
 html:not([data-fyr-motion=off]) .pswp.fyr-viewer-exit .pswp__scroll-wrap{animation:fyr-viewer-cover 320ms var(--fyr-ease-standard) both}
}
/* Elementor's button sizing must not collapse PhotoSwipe's icon-only controls. */
body .pswp .pswp__button{width:50px;min-width:50px;max-width:none;flex:0 0 50px;height:60px}
body .pswp .pswp__button--arrow{width:75px;min-width:75px;max-width:none;height:100px}

/* Never paint progressive/low-resolution image data while the modal loads. */
body .pswp .pswp__img:not(.fyr-image-ready){visibility:hidden}

body .fyr-gallery .fyr-gallery-arrows .fyr-gallery-arrow{display:block;flex:none;width:32px;height:32px;overflow:visible;pointer-events:none}
body .fyr-gallery-arrow-prev{transform:rotate(180deg);transform-origin:center}

body .fyr-gallery-expand:after{content:'';display:block;flex:none;width:24px;height:24px;background:currentColor;mask:url('icons/dot-arrow-up-right.svg') center/contain no-repeat}

/* Shared dot-grid controls, retaining PhotoSwipe's native button semantics. */
body .pswp .pswp__button:is(.pswp__button--close,.pswp__button--zoom,.pswp__button--arrow) .pswp__icn{display:none}
body .pswp .pswp__button:is(.pswp__button--close,.pswp__button--zoom,.pswp__button--arrow):after{content:'';position:absolute;left:50%;top:50%;width:32px;height:32px;transform:translate(-50%,-50%);background:#f7f6f2;pointer-events:none;mask:var(--fyr-viewer-icon) center/contain no-repeat}
body .pswp .pswp__button--close{--fyr-viewer-icon:url('icons/dot-close.svg')}
body .pswp .pswp__button--zoom{--fyr-viewer-icon:url('icons/dot-zoom-in.svg')}
body .pswp.pswp--zoomed-in .pswp__button--zoom{--fyr-viewer-icon:url('icons/dot-zoom-out.svg')}
body .pswp .pswp__button--arrow{--fyr-viewer-icon:url('icons/dot-arrow-right.svg')}
body .pswp .pswp__button.pswp__button--arrow--prev:after{transform:translate(-50%,-50%) rotate(180deg)}

/* Optional extended alternatives use the media library's editable Description. */
body .fyr-gallery-description{margin:16px 0 0;border-top:1px solid var(--fyr-line);padding-top:12px;font-size:16px;line-height:1.55}
body .fyr-gallery-description summary{cursor:pointer;min-height:32px;width:fit-content;color:var(--fyr-accent-ink);font-weight:600}
body .fyr-gallery-description p{white-space:pre-line;margin:12px 0 0;max-width:72ch}
body .pswp__fyr-caption .fyr-viewer-description{pointer-events:auto;max-width:72ch;margin:8px auto 0;background:#1a1a1a;padding:8px 12px;text-shadow:none}
body .fyr-viewer-description summary{cursor:pointer;min-height:32px;display:list-item;width:fit-content;margin:auto;color:#f7f6f2}
body .fyr-viewer-description summary:focus-visible{outline:3px solid #f7f6f2;outline-offset:3px}

/* Pale images must not wash out the viewer controls, counter or caption. */
body .pswp .pswp__button:before{content:'';position:absolute;left:50%;top:50%;width:48px;height:48px;transform:translate(-50%,-50%);border-radius:50%;background:#1a1a1a;pointer-events:none}
body .pswp .pswp__counter{opacity:1;height:auto;line-height:1.5;margin:14px 0 0 20px;padding:3px 10px;border-radius:4px;background:#1a1a1a;color:#f7f6f2;text-shadow:none}
body .pswp__fyr-caption>div{display:inline-block;max-width:100%;padding:6px 10px;background:#1a1a1a;color:#f7f6f2;text-shadow:none;box-sizing:border-box}
body .fyr-viewer-description [data-viewer-description]{max-height:28vh;overflow:auto;overscroll-behavior:contain;text-align:left;white-space:pre-line;margin:10px 0 0;padding:0 8px 4px;line-height:1.55}
body .fyr-viewer-description [data-viewer-description]:focus-visible{outline:2px solid #f7f6f2;outline-offset:2px}
