.sahika-branches-map__canvas {
  background: #e6eef5;
  font-family: inherit;
  height: 500px;
  isolation: isolate;
  position: relative;
  visibility: hidden;
  width: 100%;
}

.sahika-branches-map__canvas[hidden],
.sahika-branches-map__fallback[hidden] {
  display: none;
}

.sahika-branches-map__canvas.is-ready {
  visibility: visible;
}

.sahika-branches-map .sahika-branches-map__pin {
  z-index: 0;
  background: #fff;
  border: 3px solid #fff;
  display: block;
  cursor: pointer;
  height: 40px;
  padding: 0;
  width: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(5, 17, 53, .35);
}

.sahika-branches-map__fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 16px 20px;
}

.sahika-branches-map__fallback a {
  color: #0431b8;
  text-decoration: underline;
}

.sahika-branches-map__pin img {
  display: block;
  width: 100%;
}

.sahika-branches-map .maplibregl-popup {
  z-index: 1;
}

.sahika-branches-map .maplibregl-popup-content {
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(5, 17, 53, .2);
}

.sahika-branches-map .maplibregl-popup-close-button {
  background: transparent;
  color: #29384a;
  font-size: 19px;
  line-height: 1;
  padding: 4px 6px;
}

.sahika-branches-map__popup-title {
  color: #0431b8;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
}

.sahika-branches-map__popup-address,
.sahika-branches-map .maplibregl-popup-content p {
  color: #29384a;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 8px;
}

.sahika-branches-map .sahika-branches-map__popup-phone {
  color: #0431b8;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

.sahika-branches-map__popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
}

.sahika-branches-map .sahika-branches-map__popup-route,
.sahika-branches-map .sahika-branches-map__popup-call {
  background: #0431b8;
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
  text-decoration: none;
}

.sahika-branches-map .sahika-branches-map__popup-route:hover,
.sahika-branches-map .sahika-branches-map__popup-route:focus,
.sahika-branches-map .sahika-branches-map__popup-call:hover,
.sahika-branches-map .sahika-branches-map__popup-call:focus {
  background: #03278d;
  color: #fff;
}

@media (max-width: 767px) {
  .sahika-branches-map__canvas {
    height: 360px;
  }
}

/* Let the map receive clicks through the transparent edges of the footer logo row. */
body:has(.js-sahika-branches-map.is-ready) .ct-code-footer-logo {
  pointer-events: none;
}

body:has(.js-sahika-branches-map.is-ready) .ct-code-footer-logo a {
  pointer-events: auto;
}
