.nrt-map-embed {
  position: relative;
  width: 100%;
  height: var(--nrt-map-embed-height, 600px);
  border-radius: 8px;
  overflow: hidden;
  background: #f5f6f8;
}

.nrt-map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* !important: sheds any page-builder wrapper sizing/margin of equal or
   higher specificity that would otherwise clip the fullscreen map — same
   reasoning as .nrt-map-wrap.is-fullscreen in the per-route maps. */
.nrt-map-embed.is-fullscreen,
.nrt-map-embed:fullscreen,
.nrt-map-embed:-webkit-full-screen {
  position: fixed !important;
  inset: 0;
  margin: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  z-index: 999999;
  border-radius: 0;
}

.nrt-map-fullscreen-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid #e0e3e7;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  padding: 0;
}

.nrt-map-fullscreen-btn:hover {
  background: #f5f6f8;
}

.nrt-map-fullscreen-btn:focus-visible {
  outline: 3px solid #053747;
  outline-offset: 2px;
}

.nrt-map-fullscreen-btn svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}
