.gallery { background:#faf6ef; color:#282620; padding:62px 6% 76px; font:16px/1.6 system-ui,sans-serif; }
.gallery-inner { max-width:1280px; margin:auto; }
.gallery-heading { max-width:660px; margin:0 auto 48px; text-align:center; }
.gallery-heading::before { content:''; display:block; width:44px; height:2px; background:#9b845b; margin:0 auto 20px; }
.gallery h1 { margin:0; font:400 clamp(3.1rem,5.8vw,5.7rem)/1.03 Georgia,serif; letter-spacing:-.045em; }
.gallery-heading p { margin:15px 0 0; font-size:clamp(1rem,1.45vw,1.2rem); color:#49473d; text-wrap:balance; }
.gallery-grid { columns:3; column-gap:20px; }
.gallery-photo { display:block; position:relative; isolation:isolate; break-inside:avoid; margin:0 0 20px; overflow:hidden; border-radius:12px; background:#e4e5dc; }
.gallery-photo img { display:block; width:100%; object-fit:cover; transition:scale .55s ease; }
.gallery-photo figcaption { position:absolute; inset:auto 0 0; padding:36px 21px 16px; color:white; background:linear-gradient(transparent,#182017e8); font:1.45rem Georgia,serif; opacity:0; transform:translateY(6px); transition:opacity .22s ease,transform .22s ease; }
@media(hover:hover) {
 .gallery-photo:hover img { scale:1.06; }
 .gallery-photo:hover figcaption { opacity:1; transform:none; }
}

.lv-gallery-redesign:has(#lv-main .wh-header) .lv-header { display:none; }
.lv-gallery-redesign:has(#lv-main .wh-header) #lv-main { padding-top:0; }
.gallery.gallery-live > section { padding:0; }
.gallery.gallery-live > section > .container { max-width:1280px; padding:0; }
.gallery.gallery-live .gallery-heading { margin:0 auto 48px; }
.gallery.gallery-live .gallery-grid > .gallery-photo { margin:0 0 20px; }
.gallery.gallery-live .gallery-photo img { border-radius:0; }
.gallery-instagram { margin-top:55px; padding-top:44px; border-top:1px solid #d7cfbf; }
.gallery-instagram h2 { margin:0 0 34px; color:#282620; text-align:center; font:400 clamp(2.4rem,4.2vw,4.2rem)/1.08 Georgia,serif; letter-spacing:-.035em; }
.lv-gallery-redesign > footer { background:#1d221a; }
.lv-gallery-redesign > footer > .container { max-width:none; padding:40px 6.8%; }
@media(max-width:900px) { .gallery .gallery-grid { columns:2; } }
@media(max-width:520px) {
 .gallery { padding:42px 5% 46px; }
 .gallery .gallery-grid { columns:1; }
 .gallery.gallery-live .gallery-heading { margin-bottom:30px; }
}
@media(prefers-reduced-motion:reduce) {
 .gallery-photo img,.gallery-photo figcaption { transition:none; }
 .gallery-photo:hover img { scale:1; }
}
.gallery-instagram > .mt-16 { margin-top:0; }
.gallery-photo-open { display:block; cursor:zoom-in; }
.gallery-photo figcaption { pointer-events:none; }
.gallery-photo-open:focus-visible { outline:3px solid #9b845b; outline-offset:-4px; }
.gallery-photo:focus-within figcaption { opacity:1; transform:none; }
.gallery-dialog {
  position:fixed; inset:0; margin:auto; padding:0; border:0;
  max-width:calc(100vw - 2rem); max-height:calc(100dvh - 2rem);
  background:#1c211a; color:#fff; border-radius:10px; overflow:hidden;
}
.gallery-dialog::backdrop { background:rgba(16,20,15,.9); }
.gallery-dialog img { display:block; width:auto; height:auto; max-width:100%; max-height:calc(100dvh - 5.5rem); object-fit:contain; }
.gallery-dialog p { margin:0; padding:.7rem 1rem; font:1rem/1.4 system-ui,sans-serif; }
.gallery-dialog p:empty { display:none; }
.gallery-dialog button {
  position:absolute; inset:.5rem .5rem auto auto; display:grid; place-items:center;
  width:44px; height:44px; border:0; border-radius:50%; background:#faf6ef;
  color:#282620; font:1.8rem/1 system-ui,sans-serif; cursor:pointer;
}
.gallery-dialog button:focus-visible { outline:2px solid #9b845b; outline-offset:2px; }
