.bs-section.bs-gallery{padding-top:var(--bs-gallery-top,32px)}
.bs-gallery h1{font-size:clamp(3.8rem,4.8vw,6rem);max-width:760px}
.bs-gallery__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.bs-gallery__item{margin:0}
.bs-gallery__item[hidden]{display:none}
.bs-gallery__item>a{display:block;position:relative;background:var(--bs-pale);aspect-ratio:1;overflow:hidden}
.bs-gallery__item img{display:block;width:100%;height:100%;object-fit:cover}
.bs-gallery__zoom{position:absolute;right:12px;bottom:12px;background:var(--bs-white);color:var(--bs-ink);border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:24px;line-height:1}
.bs-gallery__item figcaption{font-size:1.2rem;line-height:1.6;color:var(--bs-muted);padding-top:10px;letter-spacing:0}
.bs-gallery__more{text-align:center;margin-top:36px}
.bs-gallery__more p{font-size:1.3rem;color:var(--bs-muted);letter-spacing:0}
.bs-gallery__more button[hidden]{display:none}
.bs-gallery__dialog{padding:20px;border:0;border-radius:4px;background:var(--bs-white);color:var(--bs-ink);max-width:min(1160px,calc(100vw - 32px));width:100%;max-height:calc(100svh - 32px);overflow:auto}
.bs-gallery__dialog::backdrop{background:rgba(20,18,15,.88)}
.bs-gallery__dialog:not([open]){display:none}
.bs-gallery__toolbar{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-bottom:16px}
.bs-gallery__toolbar button{min-width:44px;min-height:44px;background:var(--bs-white);color:var(--bs-ink);border:1px solid var(--bs-border);border-radius:4px;cursor:pointer;font-size:24px}
.bs-gallery__toolbar button:disabled{opacity:.35;cursor:default}
.bs-gallery__toolbar p{margin:0 auto 0 0;font-size:1.3rem;letter-spacing:0}
.bs-gallery__dialog figure{margin:0}
.bs-gallery__dialog img{display:block;width:100%;height:auto;max-height:72svh;object-fit:contain;background:var(--bs-pale)}
.bs-gallery__dialog figcaption{font-size:1.4rem;line-height:1.6;margin-top:12px;letter-spacing:0}
.bs-gallery button:focus-visible,.bs-gallery a:focus-visible{outline:3px solid var(--bs-brown);outline-offset:4px}
@media(max-width:999px){.bs-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:749px){.bs-gallery__grid{gap:12px}.bs-gallery__dialog{padding:12px}.bs-gallery__toolbar{gap:8px}.bs-gallery h1{font-size:3.8rem}.bs-gallery__dialog img{max-height:65svh}}


