/* Page background (kept to blend with your brand red if the iframe shows it) */
html, body {
  height: 100%;
  margin: 0;
  background: #c22a1f;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

/* IMPORTANT: no padding-bottom trick — fixed, tall container instead */
.map-wrap {
  position: relative;      /* anchor for the badge */
  width: 100%;
  height: 88vh;            /* tall on desktop & mobile */
  max-height: 1000px;      /* sensible cap */
  min-height: 560px;       /* ensure it never gets short */
}

/* Leaflet map area */
#map {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  overflow: hidden;
}

/* “Last updated” overlay badge INSIDE the map */
#last-updated {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  background: rgba(0,0,0,.45);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
  z-index: 500;
  backdrop-filter: blur(2px);
}

/* Slightly shorter on very large desktops so it doesn’t dominate */
@media (min-width: 1400px) {
  .map-wrap { height: 84vh; }
}
