.hero-map {
  position: relative;
  display: block;
  overflow: hidden;
  background: #EEF4FF;
  cursor: pointer;
}

.hero-map__canvas,
.hero-map__status {
  position: absolute;
  inset: 0;
}

.hero-map__canvas {
  z-index: 0;
  opacity: 1;
  filter: saturate(1.04) brightness(1.01);
  transition: opacity 0.35s ease;
}

.hero-map__status {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.84);
  color: #365374;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.hero-map[data-state="ready"] .hero-map__status {
  opacity: 0;
  pointer-events: none;
}

.hero-map[data-state="fallback"] .hero-map__canvas {
  opacity: 1;
  pointer-events: none;
}

.hero-map[data-state="disabled"],
.hero-map[data-state="fallback"] {
  cursor: default;
}

.hero-map-marker {
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #0B5BD3;
  box-shadow: 0 0 0 6px rgba(11, 91, 211, 0.16), 0 8px 18px rgba(11, 91, 211, 0.22);
  cursor: pointer;
}

.hero-map[data-state="disabled"] .hero-map__status,
.hero-map[data-state="fallback"] .hero-map__status {
  opacity: 1;
  background: rgba(255, 255, 255, 0.92);
}

.map-card__all-cities {
  padding: 0 32px 12px;
}

.map-card__footer {
  flex-direction: column;
  gap: 12px;
  height: auto;
  padding: 8px 4px 0;
}

.map-card__footer .map-card__legend {
  font-size: 16px;
}

@media (max-width: 767px) {
  .hero-map__status {
    font-size: 12px;
  }

  .hero-map-marker {
    width: 16px;
    height: 16px;
  }

  .map-card__all-cities {
    padding: 0 20px 10px;
    font-size: 12px;
  }

  .map-card__footer {
    gap: 10px;
    padding-top: 6px;
  }

  .map-card__footer .map-card__legend {
    font-size: 15px;
  }
}
