.map-container {
  --popup-location-title-font-weight: 600;
  --popup-font-size: clamp(15.5px, calc(0.969rem + ((1vw - 3.2px) * 0.057)), 16px);
  --popup-font-family: "Libertinus Serif", Sans-serif;
  --popup-link-color-text: #000000;
  --popup-link-icon-fill-color: #6F0000;
  --popup-link-icon-font-size: 22px;
  --popup-link-icon-text-gap: 8px;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}

@media screen and (max-width: 1024px) {
  .map-container {

    padding-bottom: 0;
    height: 600px;
  }
}
.map-container #divmap {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  border-color: black;
  position: absolute;
}

.map-container .leaflet-control-container .leaflet-control-attribution {
  display: none;
}

/*Popup*/
.map-container .leaflet-popup .leaflet-popup-content-wrapper {
  border-radius: 25px;
}

.map-container .leaflet-popup .leaflet-popup-content {
  margin: 20px 24px 10px 20px;
  min-width: 150px;
}

.map-container .leaflet-popup .leaflet-popup-close-button {
  top: 8px;
  right: 9px;
}

.map-container .leaflet-popup .popup-entry .location-name {
  display: block;
  font-weight: var(--popup-location-title-font-weight);
  margin-bottom: 8px;
}

.map-container .leaflet-popup .popup-entry .location-name,
.map-container .leaflet-popup .popup-entry .location-description {
  font-size: var(--popup-font-size);
}

.map-container .leaflet-popup .popup-entry .location-description>* {
  margin-block-start: 0;
  margin-block-end: 0.9rem;
}

.map-container .leaflet-popup .popup-entry .location-description>*+* {
  margin-block-start: 0;
  margin-block-end: 0.9rem;
}

.map-container .leaflet-popup .popup-entry .location-description>*:last-child {
  margin-block-end: 0;
}

.map-container .leaflet-popup .popup-entry .link-item {
  font-size: var(--popup-font-size);
  line-height: 1.1;
  font-family: var(--popup-font-family);
  width: 100%;
  color: var(--popup-link-color-text);
  display: inline-flex;
  /*margin-top: 15px;*/
  justify-content: flex-end;
}

.map-container .leaflet-popup .popup-entry .link-content-wrapper {
  flex-direction: row;
  column-gap: var(--popup-link-icon-text-gap);
  row-gap: 0px;
  justify-content: flex-start;
}

.map-container .leaflet-popup .popup-entry .link-icon {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  font-size: var(--popup-link-icon-font-size);
}

.map-container .leaflet-popup .popup-entry .link-icon svg {
  height: auto;
  width: 1em;
  fill: var(--popup-link-icon-fill-color);
  color: var(--popup-link-icon-fill-color);
}
