/* A clean replacement; no earlier .l29-viewer rules are used. */
#gallery.l29-gallery-reset{max-width:1200px!important;margin:64px auto!important;padding:0 20px!important;border:0!important;box-sizing:border-box}
#gallery.l29-gallery-reset>.l29-photo-heading,#gallery.l29-gallery-reset>.l29-photo-toolbar,#gallery.l29-gallery-reset>.l29-photo-grid,#gallery.l29-gallery-reset>.l29-photo-more-wrap{display:none!important}
#gallery .l29-g2{--ink:#772f39;--paper:#faf7f0;margin:auto;color:#292723;background:var(--paper);border:1px solid #c6afa3;box-shadow:0 20px 60px -40px #62413655;transition:max-width .7s ease;box-sizing:border-box;text-align:left}
#gallery .l29-g2 *{box-sizing:border-box}
#gallery .g2-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid #d8c9bd}
#gallery .g2-head p{font:9px/1.4 var(--sans,Arial);letter-spacing:.22em;color:var(--ink);margin:0 0 9px}
#gallery .g2-head h2{font:400 27px/1.15 var(--serif,Georgia);letter-spacing:-.025em;margin:0;text-transform:none}
#gallery .g2-head em{color:var(--ink);font-weight:400}
#gallery .g2-total{font:10px/1.5 var(--sans,Arial);color:#807467;white-space:nowrap}
#gallery .g2-body{display:grid;grid-template-columns:minmax(0,1fr) 258px}
#gallery .g2-stage{position:relative;height:var(--photo-h);min-width:0;overflow:hidden;background:#ede7dc;touch-action:pan-y pinch-zoom}
#gallery .g2-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .8s ease;pointer-events:none}
#gallery .g2-stage>img.current{opacity:1;z-index:1}
#gallery .l29-g2 button,.g2-dialog button{font:12px/1.3 Arial,sans-serif;cursor:pointer;color:#772f39;background:transparent;border:1px solid #c6afa3;min-height:40px}
#gallery .g2-expand{position:absolute;z-index:3;bottom:16px;right:16px;border:0!important;border-radius:50%;width:44px;height:44px;background:#faf7f0ed!important;font-size:24px!important}
#gallery .g2-side{height:var(--photo-h);min-height:0;display:flex;flex-direction:column;border-left:1px solid #d8c9bd;padding:24px 18px 16px}
#gallery .g2-category{font:8px/1.5 var(--sans,Arial);letter-spacing:.18em;color:#847468;margin:0 0 10px}
#gallery .g2-meta h3{font:italic 400 27px/1.15 var(--serif,Georgia);letter-spacing:-.025em;color:var(--ink);margin:0;min-height:62px;text-transform:none}
#gallery .g2-controls{display:flex;align-items:center;justify-content:space-between;margin:16px 0 20px}
#gallery .g2-controls button{border-radius:50%;width:40px;font-size:20px}
#gallery .g2-controls span{font:10px/1.5 var(--sans,Arial);letter-spacing:.1em;color:var(--ink)}
#gallery .g2-filters{display:flex;gap:10px;border-bottom:1px solid #d8c9bd;margin-bottom:14px;flex-shrink:0}
#gallery .g2-filters button{border:0;border-bottom:2px solid transparent;padding:6px 0;font-size:10px;min-height:36px;color:#7b7065}
#gallery .g2-filters button[aria-pressed=true]{border-bottom-color:var(--ink);color:var(--ink)}
#gallery .g2-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;overflow-y:auto;min-height:0;align-content:start;scrollbar-width:thin;scrollbar-color:#bba293 transparent;padding:2px 4px 4px 2px}
#gallery .g2-thumbs button{border:0;padding:0;aspect-ratio:3/4;min-height:0;opacity:.65;position:relative;background:#e7dfd3;transition:opacity .25s}
#gallery .g2-thumbs img{width:100%;height:100%;display:block;object-fit:cover}
#gallery .g2-thumbs button[aria-pressed=true]{opacity:1;outline:2px solid var(--ink);outline-offset:2px}
#gallery .g2-thumbs button:hover{opacity:1}
#gallery .g2-error{position:absolute;inset:auto 16px 72px;z-index:4;background:#faf7f0;padding:14px;font:13px/1.5 Arial}
#gallery .l29-g2 [hidden]{display:none!important}
#gallery .l29-g2 button:focus-visible,#gallery .g2-stage:focus-visible,.g2-dialog button:focus-visible{outline:3px solid #a97739;outline-offset:3px}
.g2-dialog{width:min(1200px,95vw);padding:20px;background:#faf7f0;border:0;max-height:94dvh;text-align:center;color:#772f39}
.g2-dialog::backdrop{background:#201b18e8}
.g2-dialog>img{display:block;width:100%;height:70dvh;object-fit:contain}
.g2-dialog .g2-close{display:block;margin:0 0 10px auto;padding:8px 15px}
.g2-dialog p{font:22px Georgia;margin:12px}.g2-dialog nav{display:flex;justify-content:center;gap:24px}.g2-dialog nav button{width:48px}
#gallery .g2-mobile .g2-head{padding:16px}#gallery .g2-mobile .g2-head h2{font-size:24px}#gallery .g2-mobile .g2-total{display:none}
#gallery .g2-mobile .g2-body{display:block}#gallery .g2-mobile .g2-side{height:auto;border-left:0;border-top:1px solid #d8c9bd;padding:18px 16px}
#gallery .g2-mobile .g2-meta{display:grid;grid-template-columns:1fr auto;column-gap:12px}#gallery .g2-mobile .g2-meta h3{font-size:25px;min-height:0;grid-column:1}#gallery .g2-mobile .g2-category{grid-column:1}#gallery .g2-mobile .g2-controls{grid-column:2;grid-row:1/3;margin:0;gap:10px}
#gallery .g2-mobile .g2-filters{margin-top:16px}#gallery .g2-mobile .g2-thumbs{display:flex;overflow-x:auto;overflow-y:hidden;padding:4px;gap:10px}#gallery .g2-mobile .g2-thumbs button{flex:0 0 55px;height:74px}
@media(max-height:650px) and (min-width:801px){#gallery .g2-side{padding:12px}#gallery .g2-meta h3{font-size:22px;min-height:0}#gallery .g2-controls{margin:10px 0}#gallery .g2-category{display:none}#gallery .g2-filters{margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){#gallery .l29-g2,#gallery .g2-stage>img,#gallery .g2-thumbs button{transition:none}}

#gallery .g2-filters button:disabled{opacity:.35;cursor:default}

/* Soft ivory glass: decoration only, with unchanged gallery geometry. */
#gallery .l29-g2{
 --paper:#faf7f0;
 background:rgba(250,247,240,.88);
 border-color:rgba(255,255,255,.72);
 border-radius:22px;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 3px 12px rgba(78,52,43,.025),0 18px 50px -18px rgba(78,52,43,.12),0 0 34px 7px rgba(255,253,247,.48);
 isolation:isolate;
}
@supports ((-webkit-backdrop-filter:blur(18px)) or (backdrop-filter:blur(18px))){
 #gallery .l29-g2{background:rgba(250,247,240,.66);-webkit-backdrop-filter:blur(18px) saturate(115%);backdrop-filter:blur(18px) saturate(115%)}
}
#gallery .g2-head{
 border-bottom-color:rgba(162,137,118,.14);
 border-radius:21px 21px 0 0;
 background:linear-gradient(115deg,rgba(255,255,255,.48),rgba(255,255,255,.06) 65%,rgba(255,255,255,.22));
}
#gallery .g2-stage{border-radius:0 0 0 21px}
#gallery .g2-side{border-left-color:rgba(162,137,118,.12);border-radius:0 0 21px 0;background:linear-gradient(135deg,rgba(255,255,255,.23),rgba(250,247,240,.12))}
#gallery .g2-filters{border-bottom-color:rgba(162,137,118,.18)}
#gallery .g2-controls button,#gallery .g2-expand{
 background:rgba(255,253,248,.68)!important;
 border:1px solid rgba(255,255,255,.88)!important;
 box-shadow:inset 0 1px 0 #fff,0 3px 12px rgba(78,52,43,.07);
 transition:background .25s,box-shadow .25s;
}
@media(hover:hover){#gallery .g2-controls button:hover,#gallery .g2-expand:hover{background:rgba(255,255,255,.95)!important;box-shadow:inset 0 1px 0 #fff,0 5px 18px rgba(78,52,43,.13)}}
#gallery .g2-thumbs button,#gallery .g2-thumbs img{border-radius:5px}
#gallery .g2-mobile .g2-stage{border-radius:0}
#gallery .g2-mobile .g2-side{border-radius:0 0 21px 21px;border-top-color:rgba(162,137,118,.12)}
@media(prefers-reduced-transparency:reduce){#gallery .l29-g2{background:#faf7f0;-webkit-backdrop-filter:none;backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){#gallery .g2-controls button,#gallery .g2-expand{transition:none}}
