.map {
  height: 900px;
}

.map[data-percentile-map-defer-display-value] {
  visibility: hidden;
}

.map[data-percentile-map-defer-display-value].is-ready {
  visibility: visible;
}

.custom-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.marker-circle {
  background-color: #fdb813;
  color: black;
  font-weight: bold;
  font-size: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.leaflet-popup-content-wrapper {
  border-radius: var(--pico-border-radius);
}

.leaflet-bar {
  border-radius: var(--pico-border-radius);
}

.leaflet-touch .leaflet-bar {
  border-radius: var(--pico-border-radius);
}

.leaflet-popup-content-wrapper .leaflet-popup-content {
  font-size: 0.8rem;
  line-height: 1.2;

  a {
    color: black;
    text-decoration: none;
    font-size: 0.8rem;
  };
  a:hover {
    text-decoration: underline;
    color: #fdb813;
  };
}

/* Popup sections (heading, summary, link) built by full_map_controller#sectionsPopup */
.leaflet-popup-content .map-popup-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;

  & + & {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
  }

  p {
    margin: 0;
  }

  a,
  a:hover {
    color: var(--genesis-secondary);
    text-decoration: underline;
  }
}

.leaflet-popup-tip-container {
}

.leaflet-container * {
  pointer-events: auto !important;
}

.poi-marker { background: rgb(158, 95, 35); border-radius: 50%; }
