/* [hostaway_listings_map] */

.hlt-map {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #e9eef1;
  z-index: 0;
}

.hlt-map--failed { display: none; }

.hlt-map-popup {
  display: grid;
  gap: 4px;
  width: 220px;
  font-size: 14px;
  line-height: 1.35;
}

.hlt-map-popup__media {
  height: 130px;
  margin-bottom: 6px;
  border-radius: 8px;
  overflow: hidden;
  background: #e9eef1;
}

.hlt-map-popup .hlt-map-popup__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hlt-map-popup__title {
  font-weight: 700;
  font-size: 15px;
  color: inherit;
  text-decoration: none;
}

.hlt-map-popup__title:hover { text-decoration: underline; }

.hlt-map-popup__address { margin: 0; opacity: .75; }

.hlt-map-popup__link {
  margin-top: 4px;
  font-weight: 600;
  color: var(--hostaway-primary-color, #3b7487);
}

.hlt-map-note {
  padding: 10px 12px;
  border: 1px dashed currentColor;
  border-radius: 6px;
  font-size: 14px;
  opacity: .8;
}

/* Leaflet popups wrap the content box; keep the photo flush. */
.leaflet-popup-content { margin: 12px; }

/* Leaflet cluster icons: the SVG circle only, without Leaflet's default div-icon box. */
.hlt-map .hlt-map-cluster {
  background: none;
  border: 0;
}

.hlt-map .hlt-map-cluster svg { display: block; }

/* Several apartments at one address: a list instead of stacked pins. */
.hlt-map-list { width: 250px; font-size: 14px; line-height: 1.35; }
.hlt-map-list__head { margin: 0 0 8px; font-weight: 700; }
.hlt-map-list__items { max-height: 260px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.hlt-map-list__items li { margin: 0; padding: 0; }
.hlt-map-list .hlt-map-list__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px solid rgba(0, 0, 0, .08);
  color: inherit;
  text-decoration: none;
}
.hlt-map-list .hlt-map-list__item:hover span { text-decoration: underline; }
.hlt-map-list .hlt-map-list__thumb { display: block; width: 56px; height: 42px; border-radius: 6px; object-fit: cover; background: #e9eef1; }
