.gallery-page{max-width:1180px;margin:0 auto;padding:24px 20px 60px}.gallery-hero{background:linear-gradient(135deg,#f0fdfa,#fff);border:1px solid #d8eee9;border-radius:22px;padding:28px;margin-bottom:22px}.gallery-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:22px}.gallery-toolbar a{padding:9px 14px;border:1px solid #d7dee5;border-radius:999px;text-decoration:none;color:#334155;background:#fff}.gallery-toolbar a.active{background:#0f766e;color:#fff;border-color:#0f766e}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.gallery-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;box-shadow:0 7px 22px rgba(15,23,42,.07)}.gallery-card button{display:block;width:100%;padding:0;border:0;background:none;cursor:pointer}.gallery-card img{display:block;width:100%;height:245px;object-fit:cover;transition:transform .25s}.gallery-card button:hover img{transform:scale(1.025)}.gallery-card-body{padding:14px 16px}.gallery-card-body h2{font-size:18px;margin:0 0 5px}.gallery-card-body p{margin:0;color:#64748b;font-size:14px}.gallery-empty{padding:40px;background:#fff;border:1px dashed #cbd5e1;border-radius:16px;text-align:center}.gallery-modal{position:fixed;inset:0;background:rgba(2,6,23,.94);z-index:9999;display:none;align-items:center;justify-content:center;padding:25px}.gallery-modal.open{display:flex}.gallery-modal figure{margin:0;max-width:min(1200px,94vw);max-height:92vh;text-align:center}.gallery-modal img{max-width:100%;max-height:78vh;width:auto;height:auto;object-fit:contain;border-radius:8px}.gallery-modal figcaption{color:#fff;margin-top:10px}.gallery-modal .gallery-close,.gallery-modal .gallery-prev,.gallery-modal .gallery-next{position:absolute;border:0;background:rgba(255,255,255,.16);color:#fff;width:46px;height:46px;border-radius:50%;font-size:28px;cursor:pointer}.gallery-modal .gallery-close{right:20px;top:18px}.gallery-modal .gallery-prev{left:20px;top:50%;transform:translateY(-50%)}.gallery-modal .gallery-next{right:20px;top:50%;transform:translateY(-50%)}body.gallery-lock{overflow:hidden}@media(max-width:900px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.gallery-page{padding:18px 12px 45px}.gallery-grid{grid-template-columns:1fr}.gallery-card img{height:230px}.gallery-modal{padding:12px}.gallery-modal .gallery-prev{left:8px}.gallery-modal .gallery-next{right:8px}.gallery-modal .gallery-close{right:10px;top:8px}}
