/* Gallery enhancements */
.gallery-page-top{padding:132px 0 38px;background:#f7f7f7;border-bottom:1px solid #e9e9e9}
.gallery-page-top h1{font-size:clamp(32px,5vw,54px);line-height:1.12;margin:6px 0 12px;font-weight:800}
.gallery-page-top p{max-width:700px;color:#555;font-size:15px}
.gallery-page-body{padding:42px 0 95px;background:#fff;min-height:55vh}
.gallery-controls{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 20px}
.gallery-filter{border:1px solid #ddd;padding:10px 14px;border-radius:5px;font:600 12px 'Poppins',sans-serif;color:#333;background:#fff;cursor:pointer}
.gallery-filter.active,.gallery-filter:hover{background:#cc1515;color:#fff;border-color:#cc1515}
.gallery-count{color:#737373;margin-bottom:16px;font-size:13px}
.gallery-photo-button{border:0;cursor:zoom-in;text-align:left;padding:0;background:#eee;display:block;width:100%;font:inherit}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.gallery-item{position:relative;overflow:hidden;border-radius:5px;aspect-ratio:4/3;min-width:0}
.gallery-item img{width:100%;height:100%;object-fit:cover}
.gallery-item:focus-visible{outline:3px solid #cc1515;outline-offset:3px}
.gallery-show-more{text-align:center;margin-top:30px}
.gallery-show-more button{padding:12px 27px;background:#fff;border:1px solid #aaa;border-radius:5px;font-weight:700;cursor:pointer}
.gallery-show-more button:hover{border-color:#cc1515;color:#cc1515}
[hidden]{display:none !important}
.photo-modal-open{overflow:hidden}
.photo-modal{position:fixed;inset:0;background:rgba(5,5,5,.94);z-index:4000;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;padding:55px 56px 32px}
.photo-modal img{max-width:min(92vw,1400px);max-height:80vh;object-fit:contain;box-shadow:0 2px 36px rgba(0,0,0,.5)}
.photo-modal p{font:500 14px 'Poppins',sans-serif;color:#eee;text-align:center}
.photo-close,.photo-arrow{position:absolute;background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.25);border-radius:5px;padding:7px 12px;font-size:25px;cursor:pointer}
.photo-close{right:16px;top:14px}
.photo-prev{left:12px;top:48%}
.photo-next{right:12px;top:48%}
@media(max-width:780px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-page-top{padding-top:105px}.photo-modal{padding:55px 42px 30px}.gallery-controls{gap:7px}.gallery-filter{font-size:11px;padding:9px 10px}}
@media(max-width:480px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gallery-caption{font-size:10px;padding:16px 8px 8px}.photo-modal{padding:65px 24px 35px}.photo-prev{left:4px}.photo-next{right:4px}}
