/* ============================================================
   Trail Conditions — Map page
   Leaflet map container + trail marker popups.
   ============================================================ */

/* ── Map page ────────────────────────────────────────────── */
#map {
  width: 100%;
  height: calc(100vh - 130px);
}

#map-embed {
  width: 100%;
  height: calc(100vh - 180px);
}

.map-popup {
  font-family: 'DM Sans', sans-serif;
  min-width: 140px;
}
.map-popup-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.4rem;
}
.map-popup-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  margin-bottom: 0.35rem;
}
.map-popup-meta {
  font-size: 0.73rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.map-popup-link {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--border);
}
.map-popup-link:hover { text-decoration: underline; }
