.velora-home-yandex-map {
  position: relative;
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.velora-home-yandex-map__inner {
  position: relative;
  z-index: 1;
}

.velora-home-yandex-map__panel {
  border-radius: var(--radius, 1rem);
  overflow: hidden;
  background: var(--velora-surface-muted, #f4f4f5);
}

.velora-home-yandex-map__frame {
  display: block;
  width: 100%;
  min-height: min(420px, 70vh);
  height: clamp(280px, 48vw, 480px);
  border: 0;
}

.velora-home-yandex-map__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: min(320px, 55vh);
  padding: 1.5rem;
  border: 2px dashed #c7c7cc;
  border-radius: var(--radius, 1rem);
  background: #f9f9fb;
  color: #3a3a3c;
  cursor: pointer;
  text-align: center;
  font: inherit;
}

.velora-home-yandex-map__placeholder:hover {
  border-color: #007aff;
  background: #f0f6ff;
}

.velora-home-yandex-map__placeholder-title {
  font-size: 1rem;
  font-weight: 600;
}

.velora-home-yandex-map__placeholder-hint {
  font-size: 0.875rem;
  color: #636366;
  max-width: 28rem;
}

.velora-home-yandex-map--draft-hidden {
  opacity: 0.45;
}

.velora-home-yandex-map__draft-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 0.375rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
}

body.velora-design-active .velora-home-yandex-map__frame {
  pointer-events: none;
}