/* Large photographs, quiet controls. The image itself is never cropped or filtered. */
.gallery-image-link { display:block; position:relative; }
.gallery-image-link::after { content:'↗'; position:absolute; right:12px; bottom:12px; display:grid; place-items:center; width:36px; height:36px; background:var(--c-bg); color:var(--c-ink); font:24px/1 var(--f-en); opacity:0; transform:translate(-4px,4px); transition:opacity .15s,transform .15s steps(2,end); }
.gallery-image-link:is(:hover,:focus-visible)::after { opacity:1; transform:none; }
.editorial-prose .gallery-image-link { text-decoration:none; }
body.gallery-is-open { overflow:hidden; }
.ds5-gallery { position:fixed; inset:0; width:100%; height:100%; height:100dvh; max-width:none; max-height:none; margin:0; padding:20px clamp(20px,4vw,70px); padding-top:max(20px,env(safe-area-inset-top)); padding-bottom:max(20px,env(safe-area-inset-bottom)); border:0; background:var(--c-ink); color:var(--c-bg); overflow:hidden; }
.ds5-gallery:not([open]) { display:none; }
.ds5-gallery[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:24px; }
.ds5-gallery::backdrop { background:var(--c-ink); }
.gallery__header { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.gallery__eyebrow { font:12px/1.5 var(--f-en); letter-spacing:.05em; text-transform:uppercase; }
.ds5-gallery button { color:inherit; font:20px/1 var(--f-en); background:transparent; border:0; padding:12px; min-width:44px; min-height:44px; cursor:pointer; }
.gallery__close { display:flex; gap:16px; align-items:center; margin-right:-12px; }
.gallery__close span { font-size:28px; }
.gallery__stage { min-width:0; min-height:0; position:relative; display:grid; place-items:center; touch-action:pan-y pinch-zoom; }
.gallery__image { width:100%; height:100%; min-width:0; min-height:0; object-fit:contain; }
.gallery__loading { position:absolute; left:0; bottom:0; font:12px/1.5 var(--f-en); padding:6px 10px; background:var(--c-ink); opacity:0; pointer-events:none; }
.ds5-gallery.is-loading .gallery__loading { opacity:1; transition:opacity .1s .35s; }
.gallery__footer { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:24px; border-top:1px solid #77777a; padding-top:14px; font:14px/1.5 var(--f-en); }
.gallery__caption { margin:0; overflow-wrap:anywhere; }
.gallery__controls { display:flex; align-items:center; gap:14px; }
.ds5-gallery .gallery__controls button { font-size:26px; border:1px solid #747477; }
.gallery__count { min-width:60px; text-align:center; font-variant-numeric:tabular-nums; }
.ds5-gallery button:disabled { opacity:.3; cursor:default; }
.ds5-gallery button:not(:disabled):hover { color:var(--c-ink); background:var(--c-bg); }
.ds5-gallery :focus-visible { outline:2px solid var(--c-bg); outline-offset:4px; }
.gallery__original { justify-self:end; border-bottom:1px solid currentColor; padding-block:8px; }
@media (hover:none) { .gallery-image-link::after { opacity:1; transform:none; } }
@media(max-width:600px) {
 .ds5-gallery[open] { gap:16px; }
 .gallery__eyebrow { font-size:10px; }
 .gallery__footer { grid-template-columns:1fr auto; gap:10px; }
 .gallery__caption { grid-column:1/-1; font-size:13px; }
 .gallery__controls { gap:10px; }
 .gallery__original { font-size:12px; }
}
@media(max-height:500px) and (orientation:landscape) {
 .ds5-gallery { padding-block:8px; }
 .ds5-gallery[open] { gap:8px; }
 .gallery__footer { grid-template-columns:1fr auto 1fr; padding-top:6px; }
 .gallery__caption { grid-column:auto; }
}
@media(prefers-reduced-motion:reduce) { .gallery-image-link::after,.gallery__loading { transition:none; transform:none; } }

.about-event__photos figure:focus-within { opacity:1!important; transform:none!important; }
