/* Location card (spec v3 W4): small still map, address, Directions. Mobile first (360–430 px). */

.mm-card { padding: 0; overflow: hidden; }

.mm-map-wrap { position: relative; height: 136px; background: #e7ebf0; }
.mm-map { position: absolute; inset: 0; z-index: 0; background: #e7ebf0; }
.mm-map.is-failed::after {
  content: "Map unavailable"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.85rem; font-weight: 600;
}
.mm-map .leaflet-control-attribution {
  font-size: 9px; line-height: 1.35; padding: 0 5px; background: rgba(255, 255, 255, 0.8); color: #3d4a57;
}
.mm-map .leaflet-control-attribution a { color: inherit; }

/* The whole map is one link to the big map; a small corner badge says so. */
.mm-open { position: absolute; inset: 0; z-index: 1; display: block; -webkit-tap-highlight-color: transparent; }
.mm-open:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.mm-open-hint {
  position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.94); color: var(--text); box-shadow: 0 1px 4px rgba(16, 24, 40, 0.25);
}
.mm-open-hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.mm-pin svg { width: 30px; height: 38px; display: block; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35)); }
.mm-pin path { fill: var(--brand); stroke: #fff; stroke-width: 2.5; }
.mm-pin circle { fill: #fff; }

.mm-body { padding: 12px 16px 6px; }
.mm-addr { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.mm-pin-icon {
  width: 20px; height: 20px; flex: none; margin-top: 2px;
  fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.mm-line1 { font-weight: 700; overflow-wrap: anywhere; line-height: 1.25; }
.mm-line2 { color: var(--muted); font-size: 0.875rem; }
.mm-go { min-height: 50px; font-size: 1.02rem; }
.mm-go svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.mm-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px;
  padding: 0 16px 8px; font-size: 0.85rem;
}
.mm-alt { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; text-decoration: none; }
.mm-nopin { display: flex; flex: 1 1 100%; align-items: center; justify-content: space-between; gap: 8px; }
.mm-nopin .btn { flex: none; white-space: nowrap; }
.mm-nopin.is-done { color: var(--ok); }
.mm-nopin-text { color: var(--muted); font-size: 0.8rem; }

