.work-gallery[hidden]{display:none}.work-gallery{border-top:1px solid #dce4df}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.gallery-photo{padding:0;border:1px solid #dce4df;border-radius:16px;background:#fff;text-align:left;overflow:hidden;cursor:pointer;color:#173d32;font:inherit}.gallery-photo img{display:block;width:100%;height:230px;object-fit:cover;transition:transform .2s}.gallery-photo:hover img{transform:scale(1.025)}.gallery-photo span{display:block;padding:15px 18px;font-weight:600}.gallery-controls{display:flex;gap:10px}.gallery-controls button,.gallery-dialog button{border:1px solid #b4c7bf;border-radius:50px;background:#fff;color:#173d32;min-width:48px;min-height:48px;padding:8px 16px;font:inherit;cursor:pointer}.gallery-controls button:disabled{opacity:.35;cursor:default}.gallery-photo:focus-visible,.gallery-controls button:focus-visible,.gallery-dialog button:focus-visible{outline:3px solid #ca9b27;outline-offset:3px}.gallery-footer{display:flex;justify-content:space-between;gap:16px;margin-top:22px;color:#587269}.gallery-dialog{max-width:min(1000px,94vw);width:1000px;max-height:94vh;border:0;padding:16px;border-radius:18px;background:#f7faf8;color:#173d32}.gallery-dialog::backdrop{background:rgba(5,25,20,.85)}.gallery-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:16px}.gallery-full{display:block;width:100%;height:70vh;object-fit:contain;margin:10px 0;background:#132a23;border-radius:10px}.gallery-caption{text-align:center;margin:0}.gallery-counter{font-variant-numeric:tabular-nums}@media(max-width:700px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-photo img{height:165px}.gallery-photo span{padding:12px;font-size:13px}.work-gallery .sectionhead{align-items:flex-start}.gallery-footer{font-size:13px;flex-wrap:wrap}.gallery-dialog{padding:10px}.gallery-full{height:64vh}.gallery-dialog-bar{gap:8px}.gallery-caption{font-size:13px}}@media(prefers-reduced-motion:reduce){.gallery-photo img{transition:none}}
