@charset "UTF-8";
.mapsvg.scrolling {
  cursor: -webkit-grabbing;
  opacity: 1;
}
.mapsvg, .mapsvg .new_dynamic_map, .mapsvg .tabs-container {
  z-index: 99999 !important;
  position: relative !important;
  /* Keep old popover width just in case MapSVG uses it internally */
}
.mapsvg .mapsvg-popover, .mapsvg .new_dynamic_map .mapsvg-popover, .mapsvg .tabs-container .mapsvg-popover {
  width: 600px !important;
}

.new_dynamic_map, .tabs-container {
  z-index: 99999 !important;
  position: relative !important;
}
.new_dynamic_map .mapsvg-popover, .tabs-container .mapsvg-popover {
  width: 600px !important;
}
@media (max-width: 768px) {
  .new_dynamic_map .tabs, .tabs-container .tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
  }
  .new_dynamic_map .tab-link, .tabs-container .tab-link {
    display: inline-block;
    width: auto;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px !important;
    margin-bottom: 10px;
    align-self: flex-start;
  }
  .new_dynamic_map .tab-content-wrapper .tab-content .tab-desc, .tabs-container .tab-content-wrapper .tab-content .tab-desc {
    max-width: 90% !important;
  }
}

#mapsvg-map-2 .mapsvg-marker {
  position: absolute;
}
#mapsvg-map-2 .mapsvg-marker-image {
  display: block;
  transition: transform 0.2s ease;
  width: auto;
  height: auto;
}
@media (max-width: 768px) {
  #mapsvg-map-2 .mapsvg-marker-image {
    transform: scale(0.6);
  }
}
@media (max-width: 480px) {
  #mapsvg-map-2 .mapsvg-marker-image {
    transform: scale(0.3);
  }
}

/* ✅ Desktop popover override (still keep!) */
@media (max-width: 768px) {
  .mapsvg-controller-container.mapsvg-popover.active {
    max-width: 80% !important;
  }
}
/* ✅ NEW — DETAIL VIEW SLIDE-IN SUPPORT */
.mapsvg-details-container {
  position: fixed !important;
  top: 30% !important;
  left: 0 !important;
  width: 600px !important;
  max-width: 50% !important;
  height: 100vh !important;
  z-index: 9999 !important;
  transform: translateX(-100%) !important;
  transition: transform 0.4s ease !important;
  background-color: #f16731 !important;
  border-radius: 5px !important;
  padding-top: 64px !important;
  padding-left: 64px !important;
  overflow-y: hidden !important;
  border: none !important;
  max-height: 100% !important;
}

.mapsvg-details-container.active {
  transform: translateX(0) !important;
}

/* Close button */
.mapsvg-details-container .mapsvg-details-close:after,
.mapsvg-details-container .mapsvg-details-close:before {
  background: #fff !important;
  content: "";
  height: 2px;
  left: -1px !important;
  margin-top: 12px !important;
  position: absolute;
  top: 50% !important;
  width: 75% !important;
}

/* ✅ Disable popover on mobile — keep yours untouched */
@media (max-width: 768px) {
  div#mapsvg-controller-detailsView {
    background: #f16731 !important;
  }
  div#mapsvg-controller-popover {
    display: none;
  }
  .mapsvg-controller-container.mapsvg-popover.active {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .mapsvg-controller-container.mapsvg-fullscreen-sm .mapsvg-mobile-modal-close {
    display: block;
  }
}
@media screen and (max-width: 767px) {
  .mapsvg-mobile-modal-close {
    background: #f16731 !important;
    border: 1px solid #ccc !important;
    border-radius: 21px !important;
    top: 20px !important;
    left: 75% !important;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 40px;
    padding: 0 20px;
    position: absolute;
    z-index: 10000;
    height: 40px !important;
    width: 150px !important;
  }
}
.mapsvg-slide-panel {
  padding: 84px 40px 84px 44px;
  color: #fff;
}
.mapsvg-slide-panel .post-title {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 110%;
  margin-top: 16px;
}
.mapsvg-slide-panel .expert-roles .roles,
.mapsvg-slide-panel .post-date,
.mapsvg-slide-panel .post-organization {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 140%;
  padding-top: 16px;
}
.mapsvg-slide-panel .post-bio {
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  padding-top: 16px;
}
.mapsvg-slide-panel .mapsvg-slide-link {
  height: 48px;
  padding: 16px 30px;
  width: 150px;
  border-radius: 45px;
  background: #fff;
  color: #000;
  margin-top: 15px;
  display: block;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.5px;
}

/* Keep mobile popover rules */
@media (max-width: 768px) {
  .mapsvg-layer-popovers,
  .mapsvg-controller-container.mapsvg-popover {
    position: fixed !important;
    left: 0% !important;
    bottom: 0% !important;
    width: 90% !important;
    max-width: 400px !important;
    height: 80vh !important;
    z-index: 99999 !important;
  }
}