/* Archivio Classic: fotografie intere, separate per edizione. */
.gallery-page{background:var(--snow)}
.gallery-intro{background:var(--ice);padding:30px 0 58px;border-bottom:1px solid var(--line)}
.gallery-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;font-size:.875rem;color:var(--muted);margin-bottom:42px}
.gallery-breadcrumb a:hover{text-decoration:underline;text-underline-offset:5px}
.gallery-intro-grid{display:grid;grid-template-columns:1.15fr 1fr;align-items:end;gap:70px}
.gallery-intro h1{white-space:pre-line;font-size:clamp(2.6rem,5vw,4.5rem);line-height:1.06;letter-spacing:-.055em;margin:17px 0 0}
.gallery-intro .eyebrow{font-size:.875rem}
.gallery-intro-copy p{font-size:1rem;line-height:1.85;max-width:490px}
.gallery-return{display:inline-block;margin-top:24px;font-size:.9375rem;font-weight:700;border-bottom:3px solid var(--button-red);padding-bottom:5px}
.gallery-archive{padding:38px 0 65px}
.gallery-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:22px;padding-bottom:30px;border-bottom:1px solid var(--line)}
.gallery-filter-label{font-size:.9375rem;font-weight:700}
.gallery-editions{display:flex;gap:12px;flex-wrap:wrap}
.gallery-editions button{display:flex;align-items:baseline;gap:14px;min-height:56px;padding:10px 22px;background:var(--ice);border:1px solid var(--line);border-radius:4px}
.gallery-editions strong{font-size:1.625rem;line-height:1.2;letter-spacing:-.05em}
.gallery-editions small{font-size:.875rem}
.gallery-editions button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--snow);box-shadow:inset 0 -4px var(--button-red)}
.gallery-edition-heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin:37px 0 28px}
.gallery-edition-heading h2{font-size:clamp(1.875rem,3vw,2.625rem)}
.gallery-edition-heading p{font-size:.875rem;color:var(--muted)}
.gallery-photo-grid{columns:3;column-gap:22px}
.gallery-photo{break-inside:avoid;margin:0 0 27px}
.gallery-photo button{display:block;width:100%;padding:0;background:transparent;text-align:left}
.gallery-photo img{display:block;width:100%;height:auto;border-radius:2px;object-fit:contain;transition:filter .2s}
.gallery-photo button:hover img{filter:brightness(1.05)}
.gallery-photo button:focus-visible{outline-offset:6px}
.gallery-photo figcaption{font-size:.8125rem;line-height:1.6;color:var(--muted);margin-top:8px}
.gallery-load-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:25px;margin-top:25px}
.gallery-load-row .button{font-size:.9375rem;min-height:48px}
.gallery-load-row a{font-size:.875rem;border-bottom:1px solid var(--line);padding-bottom:4px}
.gallery-load-row [hidden]{display:none}
.gallery-archive-notice{font-size:.875rem;color:var(--muted);max-width:800px;margin-top:28px;line-height:1.8}
.gallery-return-band{background:var(--ink);color:white;padding:46px 0}
.gallery-return-band>.section-width{display:flex;align-items:center;justify-content:space-between;gap:42px}
.gallery-return-band .eyebrow{color:#b4d2cc;font-size:.875rem}
.gallery-return-band p{font-size:1rem;max-width:770px;line-height:1.8;margin-top:10px}
.gallery-return-band .button{flex-shrink:0;font-size:.9375rem;min-height:48px}
.gallery-lightbox{border:0;padding:16px;max-width:min(1280px,calc(100vw - 30px));max-height:calc(100svh - 30px);border-radius:4px;background:var(--snow);color:var(--ink);box-shadow:0 20px 90px #0005;overflow:auto}
.gallery-lightbox::backdrop{background:#041c2bea;backdrop-filter:blur(4px)}
.gallery-lightbox form{display:flex;justify-content:flex-end;margin:0 0 12px}
.gallery-close,.gallery-lightbox-controls button{min-height:44px;padding:9px 18px;background:var(--ink);color:white;border-radius:3px;font-size:.875rem;font-weight:700}
.gallery-lightbox figure{margin:0}
.gallery-lightbox img{display:block;margin:auto;width:auto;max-width:100%;height:auto;max-height:calc(100svh - 200px);object-fit:contain}
.gallery-lightbox figcaption{font-size:.8125rem;line-height:1.6;margin-top:10px;color:var(--muted)}
.gallery-lightbox-controls{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:14px;font-size:.875rem}
.gallery-lightbox-controls button:disabled{opacity:.35;cursor:default}
@media(max-width:960px){.gallery-intro-grid{gap:30px;grid-template-columns:1fr 1fr}.gallery-intro h1{font-size:3rem}.gallery-photo-grid{columns:2}}
@media(max-width:600px){
 .gallery-page .section-width{width:calc(100% - 68px);margin-left:20px;margin-right:48px}
 .gallery-intro{padding:24px 0 35px}.gallery-breadcrumb{font-size:.8125rem;gap:7px;margin-bottom:30px}
 .gallery-intro-grid{display:block}.gallery-intro h1{font-size:clamp(2.375rem,10vw,3rem);margin-top:13px;overflow-wrap:anywhere}
 .gallery-intro-copy{margin-top:25px}.gallery-intro-copy p{font-size:1rem}.gallery-return{font-size:.875rem;margin-top:18px}
 .gallery-archive{padding-top:28px}.gallery-toolbar{display:block;padding-bottom:23px}.gallery-editions{margin-top:16px;gap:8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
 .gallery-editions button{display:block;text-align:center;min-height:74px;padding:10px 4px}.gallery-editions strong{font-size:1.375rem;display:block}.gallery-editions small{display:block;font-size:.8125rem;margin-top:4px}
 .gallery-edition-heading{display:block;margin-top:28px}.gallery-edition-heading h2{font-size:1.875rem}.gallery-edition-heading p{margin-top:9px}
 .gallery-photo-grid{columns:1}.gallery-photo{margin-bottom:20px}.gallery-load-row{display:block}.gallery-load-row a{display:inline-block;margin-top:22px}
 .gallery-return-band{padding:32px 0}.gallery-return-band>.section-width{display:block}.gallery-return-band .button{margin-top:25px}
 .gallery-lightbox{padding:12px;max-width:calc(100vw - 20px)}.gallery-lightbox-controls{gap:9px}.gallery-lightbox-controls button{padding-inline:12px;font-size:.8125rem}
}
@media(prefers-reduced-motion:reduce){.gallery-photo img{transition:none}}
