.gallery-main{padding-top:48px;padding-bottom:70px}.gallery-intro{max-width:760px}.gallery-intro h1{font-size:clamp(42px,6vw,68px);margin:12px 0 22px}.gallery-intro p{font-size:16px;line-height:1.8;color:var(--muted)}.gallery-controls{display:flex;gap:18px;flex-wrap:wrap;margin:30px 0 16px}.gallery-controls label{display:grid;gap:8px;font-size:12px;flex:1;min-width:220px}.gallery-controls input,.gallery-controls select{font:inherit;font-size:14px;border:1px solid #bfc8bd;background:#fffdf7;color:var(--ink);padding:13px;border-radius:5px;width:100%}.gallery-count{font-size:13px;color:var(--muted);margin:18px 0}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.gallery-card{margin:0;border:1px solid var(--line);background:#fffdf7;border-radius:7px;overflow:hidden}.gallery-open{display:block;position:relative;padding:0;border:0;width:100%;cursor:zoom-in;background:#e5e6db;line-height:0}.gallery-open img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .2s}.gallery-open:hover img{transform:scale(1.025)}.gallery-open span{position:absolute;right:12px;bottom:12px;background:#223d35e8;color:white;padding:11px;border-radius:50%;font:18px sans-serif}.gallery-card figcaption{padding:18px}.gallery-caption{font-size:13px;line-height:1.7;margin:0 0 10px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.gallery-card figcaption a{font-size:11px;text-decoration:underline;line-height:1.7}.gallery-dialog{border:0;padding:20px;border-radius:8px;background:var(--paper);color:var(--ink);max-width:1100px;width:94vw;max-height:94vh;overflow:auto}.gallery-dialog::backdrop{background:#0d211de8}.gallery-dialog .dialog-top{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:14px}.gallery-dialog button{font:inherit;font-size:13px;padding:10px 16px;background:transparent;border:1px solid #9ca99b;border-radius:4px;color:var(--ink);cursor:pointer}.gallery-dialog figure{margin:0}.gallery-dialog img{display:block;width:100%;height:min(62vh,680px);object-fit:contain;background:#e9e8de}.gallery-dialog figcaption{font-size:14px;line-height:1.7;padding:16px 0 6px}.gallery-dialog .dialog-links a{font-size:13px;text-decoration:underline;display:inline-block;margin:5px 16px 5px 0}.gallery-dialog .dialog-bottom{display:flex;justify-content:space-between;gap:12px;margin-top:15px}.gallery-empty{padding:35px 0;font-size:15px}.gallery-note{font-size:12px;line-height:1.8;color:var(--muted);margin-top:32px}@media(max-width:950px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.gallery-grid{grid-template-columns:1fr;gap:20px}.gallery-main{padding-top:30px}.gallery-controls{gap:14px}.gallery-controls label{min-width:100%}.gallery-dialog{padding:14px}.gallery-dialog img{height:45vh}.gallery-dialog figcaption{font-size:13px}}
