/* Standalone facility map: full-viewport canvas + popup card overrides. */

html,
body.map-app {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body.map-app {
  display: block;
  min-height: 100%;
  line-height: 1.5;
}

#map_canvas {
  width: 100%;
  height: 100%;
}

.maplibregl-popup-content {
  padding: 0;
  overflow: auto;
  max-height: 80vh;
}

.maplibregl-popup-content .card {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.maplibregl-popup-content .card-img-top {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* The card is already inside a popup; the listing hover lift is noise here. */
.maplibregl-popup-content .card--hover:is(:hover, :focus-visible) {
  transform: none;
  box-shadow: none;
}

.map-popup__actions {
  padding: 0 1rem 1rem;
  background: #fff;
}

.map-popup__gmaps {
  --bs-btn-padding-y: 0.5rem;
}
