/**
 * MTWM Google Maps preservation layer.
 * Theme removes old sensory CSS for editorial consistency. Retain the
 * original interactive Google Map and marker infrastructure without photo API.
 * Scoped to the plugin's actual map markup; no map data or API credentials stored.
 */
body.mtwm-editorial-view [data-mtwm-map-shell],
body.mtwm-editorial-view .mtwm-region-hero-map,
body.mtwm-editorial-view .mtwm-map-wrap {
  display:block;
  width:100%;
  min-width:0;
  box-sizing:border-box;
  margin-block:clamp(1rem, 2vw, 1.75rem);
}
body.mtwm-editorial-view #mtwm-hub-map,
body.mtwm-editorial-view .mtwm-map {
  display:block;
  position:relative;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  height:clamp(300px, 38vw, 480px);
  min-height:300px;
  background:#ECEFE9;
  border:0;
  border-radius:clamp(0.5rem, 1.1vw, 0.8rem);
  overflow:hidden;
}
body.mtwm-editorial-view .mtwm-region-hero-map .mtwm-map-mini,
body.mtwm-editorial-view .mtwm-map.mtwm-map-mini {
  height:clamp(260px, 30vw, 380px);
  min-height:260px;
}
body.mtwm-editorial-view .mtwm-map-placeholder {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:0.5rem;
  padding:1.5rem;
  color:#20342D;
  text-align:center;
  background:#E8EDE8;
}
body.mtwm-editorial-view .mtwm-map-placeholder p { margin:0; max-width:35rem; font-size:1rem; }
body.mtwm-editorial-view .gm-style,
body.mtwm-editorial-view .gm-style > div { max-width:none; }
body.mtwm-editorial-view .gm-style .gm-style-iw {
  font-family:system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size:0.94rem;
  line-height:1.45;
}
@media (max-width:600px) {
  body.mtwm-editorial-view #mtwm-hub-map,
  body.mtwm-editorial-view .mtwm-map {
    height:350px;
    min-height:300px;
    border-radius:0.6rem;
  }
  body.mtwm-editorial-view .mtwm-region-hero-map .mtwm-map-mini,
  body.mtwm-editorial-view .mtwm-map.mtwm-map-mini {
    height:300px;
    min-height:260px;
  }
}
