.nb4-multimarker-map {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(300px, 0.9fr);
  gap: 40px;
  align-items: stretch;
  width: 100%;
}
.nb4-map {
  min-height: 360px;
  height: 650px;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  z-index: 1;
}
.nb4-location-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 26px 42px;
  align-content: start;
}
.nb4-location-card {
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 14px 16px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  cursor: default;
  outline: none;
}
.nb4-location-card.is-active {
  box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
  transform: translateY(-1px);
}
.nb4-location-title {
  margin: 0 0 12px;
  color: #050505;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}
.nb4-location-address {
  margin-bottom: 14px;
  color: #7f8790;
  font-size: 15px;
  line-height: 1.45;
}
.nb4-location-contact-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
}
.nb4-location-phone,
.nb4-location-email {
  display: inline-block;
  color: #0645b9;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.nb4-location-phone:hover,
.nb4-location-email:hover { text-decoration: underline; }
.nb4-location-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #0b5ed7;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.nb4-location-link:hover {
  background: #0849a8;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.nb4-marker {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #2f7fbf;
  box-shadow: 0 5px 13px rgba(0, 0, 0, .28);
  border: 3px solid rgba(255,255,255,.9);
}
.nb4-marker::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.nb4-marker-wrap.is-active .nb4-marker {
  background: #0b5ed7;
  width: 32px;
  height: 32px;
  box-shadow: 0 8px 20px rgba(11, 94, 215, .42);
}
@media (max-width: 1024px) {
  .nb4-multimarker-map { grid-template-columns: 1fr; gap: 28px; }
  .nb4-location-list { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}
@media (max-width: 640px) {
  .nb4-location-list { grid-template-columns: 1fr; gap: 16px; }
  .nb4-map { min-height: 320px; height: 420px; }
}

@media (max-width: 1024px) {
  .nb4-map { order: 1; }
  .nb4-location-list { order: 2; }
}

/* NB4 mobile layout hard fix: keep cards below the map even when Elementor responsive inline CSS sets column widths. */
@media (max-width: 1024px) {
  .elementor-widget-nb4_multimarker_map .nb4-multimarker-map,
  .nb4-multimarker-map {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .elementor-widget-nb4_multimarker_map .nb4-map,
  .nb4-multimarker-map > .nb4-map {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }

  .elementor-widget-nb4_multimarker_map .nb4-location-list,
  .nb4-multimarker-map > .nb4-location-list {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }
}

@media (max-width: 767px) {
  .elementor-widget-nb4_multimarker_map .nb4-location-list,
  .nb4-multimarker-map > .nb4-location-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}
