.photos-banner { padding: 10px; }
.photos-banner img { display: block; width: 100%; height: auto; }
.photos-content { display: flex; flex-direction: column; padding: 10px; }
.photos-title { margin: 0 0 20px; padding: 80px 0; text-align: center; line-height: 1; }
.photo-gallery { columns: 3; column-gap: 36px; }
.photo-gallery a { position: relative; display: block; margin-bottom: 36px; break-inside: avoid; }
.photo-gallery img { display: block; width: 100%; height: auto; }
.photo-gallery a::after { content: ''; position: absolute; inset: 0; background: transparent; transition: background 800ms; }
.photo-gallery a:hover::after, .photo-gallery a:focus-visible::after { background: rgba(0,0,0,.5); }
.photo-gallery.is-positioned { position: relative; columns: auto; }
.photo-gallery.is-positioned a { position: absolute; margin: 0; }
.photos-credit { margin: 20px 0 .9rem; text-align: center; font-size: 14px; }
.photo-lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.8); color: #eee; font: 16px/1.5 'Work Sans', sans-serif; }
.photo-lightbox::backdrop { background: transparent; }
.photo-lightbox button, .photo-lightbox a { color: inherit; }
.photo-lightbox button { border: 0; background: transparent; cursor: pointer; font: inherit; }
.photo-lightbox button:focus-visible, .photo-lightbox a:focus-visible { outline: 2px solid white; outline-offset: -3px; }
.photo-toolbar { position: absolute; z-index: 2; inset: 0 0 auto; height: 60px; display: flex; align-items: center; padding: 0 16px; }
.photo-counter { margin-right: auto; }
.photo-toolbar button { min-width: 50px; height: 50px; font-size: 28px; }
.photo-stage { position: absolute; inset: 70px; display: flex; justify-content: center; align-items: center; overflow: auto; touch-action: pan-y; }
.photo-stage img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; width: auto; height: auto; }
.photo-stage.is-zoomed { display: block; touch-action: pan-x pan-y; }
.photo-stage.is-zoomed img { max-width: none; max-height: none; margin: auto; }
.photo-prev, .photo-next { position: absolute; top: 50%; transform: translateY(-50%); width: 15%; height: 80px; z-index: 1; }
.photo-prev { left: 0; } .photo-next { right: 0; }
.photo-caption { position: absolute; inset: auto 15px 20px; margin: 0; text-align: center; font-size: 14px; font-weight: 700; }
.photo-share { position: absolute; z-index: 3; top: 60px; right: 50px; width: 200px; padding: 15px; color: #000; background: #fff; box-shadow: 0 2px 10px #000; }
.photo-share a { display: block; line-height: 30px; text-align: left; font-size: 12px; text-decoration: none; }

@media (max-width: 1024px) { .photo-gallery { columns: 2; column-gap: 10px; } .photo-gallery a { margin-bottom: 10px; } }
@media (max-width: 767px) { .photo-gallery { columns: 1; } .photo-stage { inset: 70px 0; } .photo-prev, .photo-next { width: 45px; height: 45px; background: rgba(0,0,0,.5); } .photo-toolbar { padding: 0 20px; } .photo-toolbar button { min-width: 43px; } }
@media (prefers-reduced-motion: reduce) { .photo-gallery a::after { transition: none; } }

.photo-lightbox svg { display: block; width: 20px; height: 20px; margin: auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.photo-prev svg, .photo-next svg { width: 25px; height: 25px; }
:root:fullscreen .photo-lightbox { width: 100% !important; }
