/* Budapest Ultrahang — a MapLibre/OpenFreeMap térkép arculati illesztése.
   Csak a négy térképes oldal tölti be (index, contact, english, deutsch).
   A doboz méretét (.map, .map--leaflet), a logós tűt (.bu-pin*) és a buborék
   tartalmának tipográfiáját (.bu-popup) továbbra is az assets/css/style.css adja. */

.map--leaflet.maplibregl-map {
  font-family: var(--font);
  background: var(--green-50);
}

.bu-pin-wrap { cursor: pointer; line-height: 0; }

/* Zoom-vezérlő */
.map--leaflet .maplibregl-ctrl-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  background: #fff;
}
.map--leaflet .maplibregl-ctrl-group button {
  width: 34px; height: 34px;
  color: var(--green-800);
  background-color: transparent;
}
.map--leaflet .maplibregl-ctrl-group button + button { border-top: 1px solid var(--line); }
.map--leaflet .maplibregl-ctrl-group button:not(:disabled):hover {
  background-color: var(--green-100);
  color: var(--green-800);
}

/* Buborék */
.bu-map-popup .maplibregl-popup-content {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 12px 32px 12px 16px;
}
.bu-map-popup .maplibregl-popup-close-button {
  width: 30px; height: 30px;
  font-size: 18px; line-height: 1;
  color: var(--muted);
  background-color: transparent;
}
.bu-map-popup .maplibregl-popup-close-button:hover { background-color: transparent; color: var(--green-700); }

/* Kötelező attribution: diszkrét, de olvasható (semleges UI-betű, hogy egy sorba férjen).
   A .map doboz nagy lekerekítése levágná a jobb alsó sarkot, ezért kap egy kis behúzást. */
.map--leaflet .maplibregl-ctrl-bottom-right { margin: 0 8px 8px 0; }
.map--leaflet .maplibregl-ctrl-attrib {
  background: rgba(255, 255, 255, 0.86);
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.45;
  padding: 2px 8px;
  border-radius: 8px;
}
.map--leaflet .maplibregl-ctrl-attrib,
.map--leaflet .maplibregl-ctrl-attrib a { color: var(--muted); }

@media (max-width: 600px) {
  .map--leaflet .maplibregl-ctrl-attrib { font-size: 10px; padding: 2px 6px; }
  .map--leaflet .maplibregl-ctrl-group button { width: 40px; height: 40px; }
}
