/* Fixed 4:3 frames with individually positioned photos. */
.business-gallery{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:4/3;background:#edf1ef;touch-action:pan-y;min-width:0}
.business.listing-card .business-gallery>img{display:block;position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:50% 50%;border-radius:0;margin:0;transform:scale(1);transform-origin:center;transition:transform .8s cubic-bezier(.45,0,.55,1);background:#edf1ef}
.business-gallery-controls{display:none}
.business-gallery.is-ready .business-gallery-controls{display:block}
.business-gallery .business-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid #ffffffa8;border-radius:50%;background:#ffffffed;color:#163c40;box-shadow:0 2px 10px #102e3a33;cursor:pointer;opacity:.95}
.business-gallery-arrow.is-prev{left:10px}.business-gallery-arrow.is-next{right:10px}
.business-gallery-arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.business-gallery .business-gallery-arrow:hover{background:#fff;opacity:1}
.business-gallery-arrow:focus-visible{outline:3px solid #e49b3c;outline-offset:3px}
.business-gallery-count{position:absolute;bottom:11px;right:12px;z-index:3;background:#102f3de8;color:white;border-radius:20px;padding:5px 10px;font:600 12px/1.4 system-ui,sans-serif;pointer-events:none}
.business-gallery .gallery-outgoing{z-index:2;pointer-events:none}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.business.listing-card .business-gallery:hover:not(.is-browsing)>img:not(.gallery-outgoing){transform:scale(1.035)}}
@media(prefers-reduced-motion:reduce){.business.listing-card .business-gallery>img{transition:none;transform:none}}

/* Official menu links remain separate from the photo controls. */
.business-gallery .business-menu-link{position:absolute;top:12px;left:12px;z-index:4;display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:10px 13px;border:1px solid #ffffffb3;border-radius:24px;background:#102f3df5;color:#fff;text-decoration:none;font:650 13px/1.3 system-ui,sans-serif;box-shadow:0 2px 10px #102e3a33;max-width:calc(100% - 24px)}
.business-gallery .business-menu-link:hover{background:#164d57;color:#fff;text-decoration:none}
.business-gallery .business-menu-link:focus-visible{outline:3px solid #e49b3c;outline-offset:3px}
.business-menu-link svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Keep linked business cards below the site header. */
.business[id]{scroll-margin-top:110px}
