.gallery{min-width:0}.gallery-main{display:block;position:relative;width:100%;background:#f8faf8;border:1px solid #d6dfdc;padding:14px;border-radius:12px}.gallery-main>img{height:min(46vh,410px);width:100%;object-fit:contain}.gallery-main>span{display:block;font-size:.8rem;padding-top:10px;text-decoration:underline}.gallery-thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:12px}.gallery-thumbs button{padding:3px;background:white;border:2px solid transparent;border-radius:6px}.gallery-thumbs button[aria-pressed=true]{border-color:var(--brand)}.gallery-thumbs img{width:100%;aspect-ratio:1;object-fit:contain}.gallery>p{font-size:.82rem;line-height:1.5;margin:12px 0}.gallery dialog{border:0;max-width:94vw;width:1100px;max-height:95vh;padding:20px;border-radius:12px;background:#fff;color:#183338}.gallery dialog::backdrop{background:#101e20db}.gallery dialog>img{width:100%;height:68vh;object-fit:contain}.dialog-close{display:block;margin-left:auto;padding:9px 16px;border:1px solid var(--brand);background:#fff;color:var(--brand)}.dialog-controls{display:flex;justify-content:space-between;gap:20px;margin:10px 0}.dialog-controls button{padding:9px 16px;border:1px solid var(--brand);background:#fff;color:var(--brand)}@media(max-width:760px){.gallery-main>img{height:min(43vh,370px)}.gallery-thumbs{gap:4px}.gallery dialog{padding:12px}.gallery dialog>img{height:60vh}}
