.mk-location-map { width:100%; min-width:0; }
.mk-location-map__canvas { height:clamp(340px,56vh,620px); background:#e7e5e0; border:1px solid #d5d2cc; isolation:isolate; z-index:0; }
.mk-location-map__controls { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:12px; }
.mk-location-map__controls p { flex:1 1 245px; margin:0; font-size:14px; }
.mk-location-map__controls button { border:1px solid #bdb8af; color:#1a1621; padding:8px 12px; background:transparent; cursor:pointer; }
.mk-location-map__controls button:hover { background:#ebe8e1; }
.mk-location-map__popup { display:grid; gap:5px; }
.mk-location-map__popup a { text-decoration:underline; }



/* Project map labels */
.mk-location-map .leaflet-popup-content-wrapper {
  background: #faf9f5;
  color: #1a1621;
  border-radius: 12px;
}
.mk-location-map .leaflet-popup-content {
  margin: 16px 32px 16px 16px;
  font: inherit;
}
.mk-location-map .mk-location-map__popup {
  gap: 8px;
  font-size: 15px;
  line-height: 1.45;
}
.mk-location-map .mk-location-map__popup strong {
  font-size: 19px;
  line-height: 1.2;
}
.mk-location-map .mk-location-map__popup a {
  color: #a62420;
  text-underline-offset: 3px;
}
@media (prefers-reduced-motion: no-preference) {
  .mk-location-map .leaflet-marker-icon {
    transition: translate 160ms ease, filter 160ms ease;
  }
  .mk-location-map .leaflet-marker-icon:hover,
  .mk-location-map .leaflet-marker-icon:focus-visible {
    translate: 0 -4px;
    filter: drop-shadow(0 3px 4px #1a162166);
  }
}

.mk-location-map .mk-location-map__popup a:last-child {
  color: #5c5862;
  font-size: 13px;
  text-decoration: none;
  justify-self: start;
}
.mk-location-map .mk-location-map__popup a:last-child:is(:hover, :focus-visible) {
  text-decoration: underline;
}

body.mikreate-location-map-ready .mk-location-map:not([data-mikreate-dynamic]) { display: none; }
