.gallery-head{padding:76px max(20px,calc((100% - 1040px)/2)) 42px;background:#f0f4f8}.gallery-head h1{color:var(--navy);font-size:clamp(2.6rem,5vw,4.6rem)}.filters{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;padding:20px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:92px;z-index:5}.filters button{border:0;background:#e9eef4;color:var(--navy);padding:9px 14px;border-radius:999px;font:inherit;font-size:.86rem;font-weight:800;cursor:pointer}.filters button.active,.filters button:hover{background:var(--red);color:#fff}.photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding-top:40px}.photo{aspect-ratio:1;background:#dce4ed;border:0;padding:0;cursor:zoom-in;overflow:hidden}.photo img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.photo:hover img{transform:scale(1.05)}dialog{width:min(1000px,94vw);border:0;padding:0;background:#101827;color:#fff;box-shadow:0 20px 80px #000}dialog::backdrop{background:rgba(0,0,0,.82)}dialog img{display:block;max-width:100%;max-height:82vh;margin:auto}dialog p{margin:0;padding:12px 16px}.close{position:absolute;right:8px;top:6px;border:0;border-radius:50%;width:38px;height:38px;background:#fff;color:#111;font-size:28px;cursor:pointer}@media(max-width:760px){.filters{top:74px;justify-content:flex-start;flex-wrap:nowrap;overflow:auto}.filters button{white-space:nowrap}.photo-grid{grid-template-columns:repeat(2,1fr);gap:7px;padding-top:25px}}
.gallery-head > p:last-child{display:none}
