/* Scoped map pin overlay — bound to real image dimensions instead of outer page grid. */
body.aims-contact-original .aims-contact-branch-map { position:relative !important; overflow:visible !important; }
body.aims-contact-original .aims-contact-branch-map .aims-branch-image-stage {
  width:100%; position:relative; display:block; overflow:visible; line-height:0;
}
body.aims-contact-original .aims-contact-branch-map .aims-branch-image-stage > img {
  display:block !important; width:100% !important; height:auto !important;
  max-height:none !important; margin:0 !important; object-fit:contain !important;
}
body.aims-contact-original .aims-branch-image-stage .aims-branch-pin-layer-v3 {
  position:absolute !important; inset:0 !important; width:100% !important;
  height:100% !important; pointer-events:none; z-index:5;
}
body.aims-contact-original .aims-branch-pin-layer-v3 .aims-branch-pin-v3 {
  position:absolute; display:flex; align-items:center; gap:3px; width:max-content;
  transform:translate(-6px,-100%); font:500 clamp(9px,.7vw,12px)/1.1 Arial,sans-serif;
  color:#1d2530; text-shadow:0 1px 2px white,0 -1px 2px white;
}
body.aims-contact-original .aims-branch-pin-layer-v3 .aims-branch-pin-v3::before,
body.aims-contact-original .aims-branch-pin-layer-v3 .aims-branch-pin-v3::after { content:none !important; }
body.aims-contact-original .aims-branch-pin-layer-v3 .aims-pin-dot {
  position:relative; flex:none; width:13px; height:17px; border:1px solid white;
  background:#d23437; clip-path:polygon(50% 100%,16% 50%,10% 29%,21% 10%,50% 0,79% 10%,90% 29%,84% 50%);
}
body.aims-contact-original .aims-branch-pin-layer-v3 .aims-pin-dot::after {
  content:''; position:absolute; width:4px; height:4px; left:4px; top:4px;
  border-radius:50%; background:white;
}
body.aims-contact-original .aims-branch-pin-layer-v3 .aims-pin-label {
  white-space:nowrap; font-size:inherit; line-height:1.1; color:#222;
}
body.aims-contact-original .aims-branch-pin-layer-v3 .aims-pin-label-left { flex-direction:row-reverse; }
body.aims-contact-original .aims-branch-pin-editor {
  background:#eef8fc; border:1px solid #1296c6; border-radius:9px; padding:10px 12px;
  display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:12px 0 24px;
  font:14px/1.5 Arial,sans-serif;
}
body.aims-contact-original .aims-branch-pin-editor button {
  border:0; border-radius:6px; background:#138fbb; color:white;
  padding:10px 14px; cursor:pointer;
}
@media(max-width:700px){
  body.aims-contact-original .aims-branch-pin-layer-v3 .aims-branch-pin-v3 {font-size:8px;}
  body.aims-contact-original .aims-branch-pin-layer-v3 .aims-pin-dot {width:9px;height:12px;}
}
