.leaflet-popup-content-wrapper {
  border-radius: 8px !important;
  padding: 1px !important;
}

.leaflet-popup-content {
  margin: 2px !important;
}
.leaflet-popup-content .popup {
  position: relative;
}
.leaflet-popup-content a, .leaflet-popup-content img {
  display: block;
}
.leaflet-popup-content img {
  border-radius: 8px;
  max-width: unset;
}
.leaflet-popup-content .meta {
  position: absolute;
  bottom: 0;
  padding: 32px 8px 4px 8px;
  background-image: linear-gradient(to bottom, rgba(255, 0, 0, 0), rgba(0, 0, 0, 0.7));
  color: var(--c-white);
  opacity: 0.8;
  width: 100%;
  border-radius: 8px;
}

a.leaflet-popup-close-button {
  padding: 6px 20px 0 0 !important;
  color: white !important;
  transition: color 0.2s ease-in-out;
}
a.leaflet-popup-close-button:hover {
  color: darkgray !important;
}
