.gallery[hidden]{display:none}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.gallery-card{border:1px solid var(--line);border-radius:5px;overflow:hidden}.gallery-card button{display:block;width:100%;padding:0;border:0;cursor:zoom-in;background:#edf1f7}.gallery-card img{width:100%;height:240px;object-fit:cover;display:block}.gallery-card>div{padding:22px}.gallery-card h3{font-size:22px;overflow-wrap:anywhere}.gallery-card p{color:var(--muted);margin:0;white-space:pre-line;overflow-wrap:anywhere}#gallery-dialog{border:0;border-radius:8px;padding:0;max-width:950px;width:calc(100% - 32px);max-height:90vh;overflow:auto}#gallery-dialog::backdrop{background:#06162fe6}#gallery-image{width:100%;max-height:65vh;object-fit:contain;background:#06162f;display:block}#gallery-dialog>div{padding:24px}#gallery-description{white-space:pre-line;overflow-wrap:anywhere}#gallery-title{overflow-wrap:anywhere}#gallery-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:44px;height:44px;font-size:30px;background:white;border:1px solid var(--line);border-radius:50%;cursor:pointer}@media(max-width:1000px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.gallery-grid{grid-template-columns:1fr}}
