/* A cluster of a layer with cluster_points, in the layer's colour (map-geojson-layers.js).
   The number counts objects, not points: an alley of 190 trees is one. */
.map-cluster span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

/* Preview picture of an object in a map popup (featureImageHtml() in map-geojson-layers.js),
   here because every page drawing those popups loads this file. Fixed size, so Leaflet
   measures the popup right before the picture has loaded. The card's own size is in
   map-form-section.css. */
.map-feature-image {
    display: block;
    width: 240px;
    height: 135px;
    margin: 0.4rem 0;
    object-fit: cover;
    border-radius: 6px;
}
