.home-gallery{background:#f4f1e9;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.home-gallery>.wrap{max-width:1190px}
.home-gallery-heading{text-align:center;margin-bottom:30px}
.home-gallery-heading h2{margin-bottom:10px}
.home-gallery-heading p{font:15px/1.5 Georgia,serif;margin:0}
.home-gallery-grid{columns:3;column-gap:20px}
.home-gallery-photo{position:relative;display:block;width:100%;padding:0;border:4px solid #fffdf7;border-radius:5px;background:#fffdf7;overflow:hidden;margin:0 0 20px;break-inside:avoid;cursor:zoom-in;box-shadow:0 3px 10px #173e3210}
.home-gallery-photo img{display:block;width:100%;height:auto;transition:transform .25s ease}
.home-gallery-enlarge{position:absolute;bottom:0;left:0;right:0;background:#123f32df;color:#fff9ed;font:13px Georgia,serif;padding:11px;opacity:0;transition:opacity .2s ease}
.home-gallery-photo:hover .home-gallery-enlarge,.home-gallery-photo:focus-visible .home-gallery-enlarge{opacity:1}
.home-gallery-photo:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.home-gallery-photo:hover img{transform:scale(1.025)}
.home-gallery-action{text-align:center;margin-top:12px}
.home-gallery-full{margin:15px 0 20px}
.home-gallery-full img{display:block;width:100%;height:auto;max-height:65vh;object-fit:contain}
.home-gallery-full figcaption{text-align:center;font:14px/1.5 Georgia,serif;padding-top:12px}
.home-gallery-controls{display:flex;justify-content:space-between;align-items:center;gap:12px}
.home-gallery-controls .btn{padding:10px 16px;font-size:12px}
.home-gallery-controls>span{white-space:nowrap;font-size:12px}
@media(max-width:750px){.home-gallery-grid{columns:2;column-gap:14px}.home-gallery-photo{margin-bottom:14px}.home-gallery-heading h2{font-size:31px}}
@media(max-width:380px){.home-gallery-grid{column-gap:10px}.home-gallery-photo{border-width:3px;margin-bottom:10px}.home-gallery-controls{gap:7px}.home-gallery-controls .btn{padding:10px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.home-gallery-photo img,.home-gallery-enlarge{transition:none}}
