/* Click-to-load Google Maps placeholder (GDPR consent gate) */
.imaz-map-consent {
  position: relative;
  min-height: 368px; /* matches the Elementor map widget height so there's no jump on load */
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #C5E0F5;
}

/* The neutralised (src-less) iframe stays in flow so the box matches the real
   map height set in Elementor — no hardcoded height to drift out of sync. */
.imaz-map-consent > iframe {
  width: 100%;
  display: block;
  border: 0;
}

.imaz-map-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  background:
    linear-gradient(rgba(12, 35, 68, 0.42), rgba(12, 35, 68, 0.55)),
    url(../images/map-preview.png) center / cover no-repeat;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5; /* override Elementor .elementor-custom-embed{line-height:0} */
}

.imaz-map-addr {
  margin: 0;
  font-weight: 700;
  color: #ffffff;
  font-size: 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.imaz-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0052A5;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.30);
}

.imaz-map-btn:hover {
  background: #2E75B6;
}

.imaz-map-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.imaz-map-note {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
