/* Photo slideshows (branch cards + About). Loaded last, so these rules win.
   Photos come from Admin → Branches → Photos and Admin → Website text → About photos. */
.slides{position:relative;overflow:hidden;width:100%;height:100%;outline:none;touch-action:pan-y}
.slides-track{display:flex;height:100%;transition:transform .7s cubic-bezier(.65,0,.35,1);will-change:transform}
.slide{flex:0 0 100%;margin:0;height:100%}
.slide img{display:block;width:100%;height:100%;object-fit:cover}
.slides:focus-visible{box-shadow:inset 0 0 0 2px var(--gold)}

/* arrows + dots */
.sl-btn{position:absolute;top:50%;z-index:3;display:grid;place-items:center;width:42px;height:42px;margin-top:-21px;border-radius:50%;
  border:1px solid rgba(226,189,120,.45);background:rgba(4,17,32,.62);color:var(--gold-hi);cursor:pointer;opacity:.85;transition:opacity .25s,background .25s}
.sl-btn svg{width:20px;height:20px}
.sl-btn:hover,.sl-btn:focus-visible{opacity:1;background:rgba(4,17,32,.85)}
.sl-btn.prev{left:12px}.sl-btn.next{right:12px}
.sl-dots{position:absolute;left:0;right:0;bottom:12px;z-index:3;display:flex;justify-content:center;gap:8px}
.sl-dots button{width:9px;height:9px;padding:0;border-radius:50%;border:0;background:rgba(255,255,255,.45);cursor:pointer;transition:width .3s,background .3s}
.sl-dots button[aria-current]{width:24px;border-radius:9px;background:var(--gold)}

/* branch card: fills the photo box; caption sits above the dots */
.bvis.has-slides .slides{position:absolute;inset:0}
.bvis.has-slides .cap{bottom:40px;z-index:3}
.bvis.has-slides .sl-dots{bottom:14px}

/* About: a framed photo box in place of the skyline */
.city-art.has-photos{max-width:none;aspect-ratio:4/3;border-radius:28px;overflow:hidden;border:1px solid var(--line);
  box-shadow:0 40px 80px -40px rgba(0,0,0,.8)}
.city-art.has-photos .slides{position:absolute;inset:0}
.city-art.has-photos .slide img{transform:none!important}

@media (max-width:640px){
  .sl-btn{width:36px;height:36px;margin-top:-18px}.sl-btn.prev{left:8px}.sl-btn.next{right:8px}
  .city-art.has-photos{border-radius:20px}
  .bvis.has-slides .cap{bottom:34px}
}
@media (prefers-reduced-motion:reduce){ .slides-track{transition:none} }
