.ac-gallery{background:var(--bed);scroll-margin-top:110px}.ac-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:var(--gallery-row,230px);gap:12px;margin-top:30px}.ac-gallery-tile{display:block;overflow:hidden;min-width:0;min-height:0;border-radius:12px;background:var(--head)}.ac-gallery-tile:first-child{grid-column:1/span 2;grid-row:1/span 2}.ac-gallery-tile:nth-child(4){grid-column:3/span 2}.ac-gallery-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .18s ease}.ac-gallery-tile:hover img{transform:scale(1.025)}.ac-gallery-tile:focus-visible{outline:3px solid var(--accent,#55d9bd);outline-offset:4px}.ac-gallery-dialog{padding:0;border:0;background:transparent;color:white;max-width:100vw;max-height:100dvh;width:100vw;height:100dvh;overflow:hidden}.ac-gallery-dialog::backdrop{background:rgba(4,16,14,.96)}.ac-gallery-view{height:100%;display:flex;align-items:center;justify-content:center;padding:64px 72px;box-sizing:border-box;pointer-events:none}.ac-gallery-view img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;pointer-events:auto}.ac-gallery-view button{position:absolute;display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(255,255,255,.55);border-radius:50%;background:var(--bed);color:white;font:32px/1 sans-serif;cursor:pointer;pointer-events:auto}.ac-gallery-view button:focus-visible{outline:3px solid white;outline-offset:4px}.ac-gallery-close{right:18px;top:18px}.ac-gallery-prev{left:16px;top:calc(50% - 24px)}.ac-gallery-next{right:16px;top:calc(50% - 24px)}
@media(max-width:700px){.ac-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ac-gallery-tile:first-child{grid-column:auto;grid-row:auto}.ac-gallery-tile:nth-child(2){grid-column:auto}.ac-gallery-tile:nth-child(4){grid-column:auto}.ac-gallery-view{padding:74px 16px 84px}.ac-gallery-prev{left:calc(50% - 60px);top:auto;bottom:18px}.ac-gallery-next{right:calc(50% - 60px);top:auto;bottom:18px}}
@media(prefers-reduced-motion:reduce){.ac-gallery-tile img{transition:none}.ac-gallery-tile:hover img{transform:none}}
