/* PUBLIC PHOTO GALLERY */
.gallery-page { max-width:1390px; margin:0 auto; padding:42px 5.5% 20px; }
.gallery-intro { max-width:820px; margin:0 auto 38px; text-align:center; }
.gallery-kicker { color:#a77e20; font-size:9px; font-weight:700; letter-spacing:2.8px; }
.gallery-intro h1 { margin:15px 0 13px; color:var(--navy); font:400 clamp(30px,4vw,43px)/1.2 Georgia,'Times New Roman',serif; }
.gallery-intro h1 em { color:#b58a25; font-weight:400; }
.gallery-ornament { display:flex; align-items:center; justify-content:center; gap:13px; color:#b58a25; }
.gallery-ornament span { width:52px; height:1px; background:#d8cba7; }
.gallery-intro p { max-width:690px; margin:18px auto 0; color:#687586; font-size:13px; line-height:1.9; }
.gallery-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:19px; }
.gallery-photo { position:relative; display:block; width:100%; aspect-ratio:1/1; padding:0; overflow:hidden; border:5px solid #fff; background:#e8e5dc; box-shadow:0 5px 18px rgba(16,39,71,.09); cursor:zoom-in; text-align:left; }
.gallery-photo img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.gallery-photo:hover img { transform:scale(1.07); }
.gallery-photo-overlay { position:absolute; inset:0; display:grid; place-items:center; color:#fff; font-size:22px; background:rgba(9,26,48,.0); opacity:0; transition:opacity .25s,background .25s; }
.gallery-photo:hover .gallery-photo-overlay,.gallery-photo:focus-visible .gallery-photo-overlay { opacity:1; background:rgba(9,26,48,.35); }
.gallery-photo-caption { position:absolute; right:0; bottom:0; left:0; padding:25px 12px 11px; color:#fff; font-size:11px; background:linear-gradient(transparent,rgba(5,16,30,.76)); }
.gallery-empty { padding:65px 20px; text-align:center; background:rgba(255,255,255,.65); border:1px solid var(--line); }
.gallery-empty > i { color:#b58a25; font-size:38px; }
.gallery-empty h2 { margin:17px 0 7px; color:var(--navy); font:400 25px Georgia,'Times New Roman',serif; }
.gallery-empty p { color:var(--muted); font-size:12px; }
.gallery-outro { display:flex; align-items:center; justify-content:center; gap:20px; margin:47px auto 18px; text-align:center; }
.gallery-outro-line { width:clamp(25px,8vw,100px); height:1px; background:#d8cba7; }
.gallery-outro p { margin:0; color:#8a6b27; font:italic 16px/1.6 Georgia,'Times New Roman',serif; }
.gallery-lightbox { position:fixed; z-index:2000; inset:0; display:none; align-items:center; justify-content:center; padding:45px; }
.gallery-lightbox.is-open { display:flex; }
.gallery-lightbox-backdrop { position:absolute; inset:0; width:100%; height:100%; border:0; background:rgba(4,13,25,.94); cursor:zoom-out; }
.gallery-lightbox figure { position:relative; z-index:1; max-width:min(1100px,92vw); max-height:88vh; margin:0; text-align:center; pointer-events:none; }
.gallery-lightbox figure img { display:block; max-width:100%; max-height:80vh; margin:auto; object-fit:contain; box-shadow:0 15px 55px rgba(0,0,0,.4); }
.gallery-lightbox figcaption { margin-top:12px; color:#f5d477; font-size:12px; }
.gallery-lightbox-close { position:absolute; z-index:2; top:20px; right:25px; width:42px; height:42px; border:1px solid rgba(245,212,119,.65); border-radius:50%; color:#f5d477; background:rgba(255,255,255,.08); font-size:20px; cursor:pointer; }
body.gallery-lightbox-open { overflow:hidden; }
@media(max-width:1050px) { .gallery-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:760px) { .gallery-page { padding:30px 2px 12px; } .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; } .gallery-intro { margin-bottom:27px; } .gallery-intro p { font-size:12px; } .gallery-photo { border-width:3px; } .gallery-outro { gap:10px; margin-top:34px; } .gallery-outro p { font-size:13px; } .gallery-lightbox { padding:18px; } .gallery-lightbox-close { top:12px; right:12px; } }
@media(max-width:390px) { .gallery-grid { gap:8px; } }
