.gallery-section{background:var(--paper)}
.gallery-filters{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 24px}
.gallery-filters button{cursor:pointer;border:1px solid #c8c9c0;border-radius:100px;background:transparent;color:var(--ink);font-size:13px;font-weight:700;padding:9px 17px}
.gallery-filters button[aria-pressed=true]{background:#151819;color:white;border-color:#151819}
.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.gallery-card{margin:0;min-width:0;background:#fff;border:1px solid #deded5;border-radius:18px;overflow:hidden}
.gallery-card[hidden],.gallery-toggle[hidden]{display:none}
.gallery-open{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;background:#deded5}
.gallery-open img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.gallery-open:hover img{transform:scale(1.035)}
.gallery-zoom{position:absolute;bottom:12px;right:12px;background:var(--yellow);color:#151819;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-weight:800}
.gallery-card figcaption{padding:14px 15px 17px}
.gallery-card figcaption span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#716112}
.gallery-card h3{margin:5px 0 0;font-size:19px;line-height:1.2;letter-spacing:-.035em}
.gallery-more{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;color:var(--muted);font-size:14px}
.gallery-dialog{border:0;padding:0;width:min(94vw,850px);max-height:95dvh;border-radius:18px;background:#151819;color:white;overflow:auto}
.gallery-dialog::backdrop{background:#000d}
.gallery-dialog-header,.gallery-dialog-controls{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;gap:10px}
.gallery-dialog-title{font-weight:800}
.gallery-dialog button{border:1px solid #ffffff60;background:none;color:white;border-radius:50%;height:42px;width:42px;flex-shrink:0;cursor:pointer;font-size:24px}
.gallery-full{display:block;max-height:72dvh;width:100%;object-fit:contain;background:#080a0a}
@media(max-width:1100px){html body .navlinks{gap:17px}html body .nav>.btn{display:none}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.gallery-card{border-radius:12px}.gallery-card figcaption{padding:10px 11px}.gallery-card h3{font-size:16px}.gallery-filters button{font-size:12px;padding:8px 12px}.gallery-zoom{width:28px;height:28px;right:8px;bottom:8px}}
