.mgt-interactive-map {
  position: relative;
  width: min(calc(100% - (2 * var(--mgt-gutter))), 1120px);
  margin: 1.5rem auto 2rem;
}

.mgt-interactive-map__canvas,
.mgt-interactive-map__fallback img {
  width: 100%;
  height: clamp(360px, 58vw, 620px);
  border: 1px solid var(--mgt-line);
  border-radius: var(--mgt-radius);
  background: #e6f4f3;
}

.mgt-interactive-map__fallback {
  position: relative;
}

.mgt-interactive-map__fallback img {
  object-fit: cover;
}

.mgt-interactive-map__open {
  position: absolute;
  inset: auto 50% 1.25rem auto;
  min-height: 44px;
  padding: 0.75rem 1rem;
  transform: translateX(50%);
  border: 0;
  border-radius: 999px;
  background: var(--mgt-forest);
  box-shadow: var(--mgt-shadow-sm);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}

.mgt-interactive-map__open:hover {
  background: var(--mgt-forest-deep);
}

.mgt-interactive-map__caption {
  margin-top: 0.5rem;
  color: var(--mgt-muted);
  font-size: 13px;
  line-height: 1.45;
}

.mgt-map-marker {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(17, 32, 25, 0.28);
  color: #fff;
  font: 700 14px/1 Arial, sans-serif;
}

.mgt-map-marker--day-1 { background: #09664d; }
.mgt-map-marker--day-2 { background: #ee9b4b; }
.mgt-map-marker--day-3 { background: #239da2; }

.mgt-interactive-map .leaflet-popup-content {
  margin: 0.8rem 1rem;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.mgt-interactive-map .leaflet-control-attribution {
  font-size: 11px;
}

@media (max-width: 560px) {
  .mgt-interactive-map__canvas,
  .mgt-interactive-map__fallback img {
    height: 430px;
  }
}
