/* Directory photographs only. No global buttons, forms, consent or tracking. */
main .bfotos,main #bfotos{display:block;width:100%;height:auto;max-width:100%;overflow:visible}
main a.ba_foto:not([hidden]){display:inline-block;vertical-align:top;width:calc(50% - 16px);margin:8px}
main a.ba_foto[hidden]{display:none!important}
main a.ba_foto img{display:block;width:100%;height:auto}
.city-gallery{display:block;max-width:100%;margin-block:24px}
.city-gallery button{font:inherit;color:#183c4e;background:#fff;border:1px solid #587f93;border-radius:8px;min-height:44px;cursor:pointer}
.city-gallery-main{display:block;width:100%;padding:0;overflow:hidden}
.city-gallery-main img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#eff4f6;margin:0}
.city-gallery-controls{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-block:16px}
.city-gallery-controls button{padding:10px 14px}
.city-gallery-thumbs{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:12px}
.city-gallery-thumbs button{padding:3px;overflow:hidden}
.city-gallery-thumbs img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;margin:0}
.city-gallery-thumbs [aria-pressed=true]{outline:3px solid #183c4e;outline-offset:2px}
.city-gallery-dialog{max-width:min(1100px,94vw);max-height:94dvh;padding:20px;border:0;border-radius:12px;background:#fff;color:#183c4e}
.city-gallery-dialog::backdrop{background:rgba(0,0,0,.8)}
.city-gallery-dialog>img{display:block;max-width:100%;max-height:70dvh;object-fit:contain;margin:auto}
.city-gallery-dialog button{font:inherit;min-height:44px;background:#183c4e;color:#fff;border:0;border-radius:8px;padding:10px 14px;cursor:pointer}
.city-gallery button:focus-visible,.city-gallery-dialog button:focus-visible{outline:3px solid #20717b;outline-offset:4px}
