/* VERSION 19 — distinct gallery collections, a deliberately mixed All Moments wall,
   and full-scene framing for the 'Into the Evening' illustration. */
#gallery .gallery-v19-count{display:inline-flex;align-items:center;justify-content:center;
 min-width:23px;min-height:23px;margin-left:7px;padding:2px 5px;border-radius:24px;
 border:1px solid currentColor;font:600 11px/1 'DM Sans',sans-serif;opacity:.82;vertical-align:middle;}
#gallery .gallery-v19-overview>.gallery-v16-chapter-head{margin-bottom:27px;}
#gallery .gallery-v19-overview .gallery-v16-chapter-head h2 em{font-weight:400;color:#8f6951;}
#gallery .gallery-v19-overview-card .gallery-v19-venue-badge{position:absolute;top:16px;left:17px;z-index:4;
 padding:7px 11px;max-width:calc(100% - 34px);color:#f5eddc;border:1px solid rgba(221,192,146,.6);
 background:rgba(11,38,30,.82);backdrop-filter:blur(5px);font:700 10px/1.1 'DM Sans',sans-serif;letter-spacing:.55px;
 text-transform:uppercase;pointer-events:none;}
/* A full-page gallery ending, not a thin 3:1 strip that decapitates the guests. */
#gallery .gallery-v16-grid.gallery-v18-grid>.gallery-v19-cinematic{
 grid-column:span 12;grid-row:span 7;position:relative;background:#102c22;}
#gallery .gallery-v19-cinematic::before{content:'';position:absolute;inset:-15px;
 background:url('assets/gallery-velvet-lastdance-v18.webp') center/cover no-repeat;
 filter:blur(17px) brightness(.50) saturate(.75);opacity:.85;pointer-events:none;}
#gallery .gallery-v19-cinematic img,#gallery .gallery-v19-cinematic:hover img,#gallery .gallery-v19-cinematic:focus-visible img{
 position:absolute;inset:0;width:100%;height:100%;object-fit:contain!important;object-position:center!important;
 transform:none!important;z-index:1;}
#gallery .gallery-v19-cinematic .gallery-v16-scrim{z-index:2;background:linear-gradient(to top,rgba(7,22,17,.87),transparent 42%)!important;}
#gallery .gallery-v19-cinematic .gallery-v16-caption{z-index:3;}
#gallery .gallery-v16-filter:focus-visible{outline:3px solid #97744b;outline-offset:3px;}
@media(max-width:1000px){
 #gallery .gallery-v16-grid.gallery-v18-grid>.gallery-v19-cinematic{grid-column:span 2;grid-row:auto;height:auto;aspect-ratio:3/2;}
}
@media(max-width:520px){
 #gallery .gallery-v16-grid.gallery-v18-grid>.gallery-v19-cinematic{grid-column:1;grid-row:auto;height:auto;aspect-ratio:4/3;}
 #gallery .gallery-v19-overview-card .gallery-v19-venue-badge{font-size:9px;top:11px;left:12px;padding:6px 9px;}
 #gallery .gallery-v19-count{margin-left:4px;min-width:20px;min-height:20px;font-size:10px;}
}
