/*
 * La Ferme à Mamy location map. Replaces the Elfsight Google Maps widget (subscription
 * ended). Leaflet 1.9.4 is self-hosted in js/vendor; tiles come from OpenStreetMap.
 * No cookies are set, so the map needs no consent gating.
 */

.st-map {
  margin-top: 40px;
}

.st-map__canvas {
  height: 440px;
  border-radius: 10px;
  overflow: hidden;
  background: #e8ebe7;
  /* Keeps Leaflet's own panes (z-index up to 1000) below the site header. */
  position: relative;
  z-index: 0;
}

/* Quieter tiles so the two markers carry the page's green. */
.st-map .leaflet-tile-pane {
  filter: saturate(0.55) contrast(1.02);
}

.st-map__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 14px 0 0;
  font-size: 0.95rem;
}

.st-map__foot a {
  color: #006459;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.st-map__pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #006459;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.st-map__pin--lift {
  width: 14px;
  height: 14px;
  background: #1d2621;
}

.st-map .leaflet-tooltip.st-map__label {
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1d2621;
  padding: 4px 8px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.st-map .leaflet-control-attribution {
  font-size: 11px;
}

@media screen and (max-width: 767px) {
  .st-map__canvas {
    height: 340px;
  }
}
