/* ========================================
   Map: Leaflet Container, Popups, Clusters
   ======================================== */


.map-popup {
  font-size: 0.875rem;
  line-height: 1.5;

  & strong {
    font-size: 1rem;
  }

  & code {
    background: #f0f0f2;
    padding: 0.1rem 0.3rem;
    border-radius: 0.2rem;
    font-size: 0.8rem;
  }
}

/* Map cluster overrides */
.marker-cluster {
  background-clip: padding-box;
  border-radius: 20px;

  & div {
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-top: 5px;
    text-align: center;
    border-radius: 15px;
    font: 12px var(--wpa-font);
    font-weight: bold;
    color: #fff;
  }

  & span {
    line-height: 30px;
  }
}

.marker-cluster-small {
  background: rgba(255, 184, 28, 0.35);

  & div {
    background: rgba(255, 184, 28, 0.9);
    color: #0a0a0a;
  }
}

.marker-cluster-medium {
  background: rgba(255, 154, 92, 0.4);

  & div {
    background: rgba(255, 154, 92, 0.9);
    color: #0a0a0a;
  }
}

.marker-cluster-large {
  background: rgba(196, 92, 38, 0.45);

  & div {
    background: rgba(196, 92, 38, 0.95);
    color: #fff;
  }
}
