#map-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100vw;
    margin: 0;
    z-index: -1;
  }

#map {
    height: 100%;
    width: 100%;
}

#highlight-plaque-container {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 400px;
    aspect-ratio: 4 / 3;
}

#highlighted-plaque {
  display: grid;
  gap: 15px;
  max-height: min(650px, 65vh);
  overflow-y: auto;
  position: absolute;
  bottom: 10px;
  left: 10px;
}

#highlighted-plaque .trek-plaque {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  aspect-ratio: 4 / 3;
  border: 4px solid #000000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#map-container .maplibregl-ctrl-attrib {
  position: absolute;
  bottom: 7px;
  right: 7px;
}

/* Somehow this was not done properly so had to add it manually... */
.maplibregl-ctrl-attrib.maplibregl-compact {
  background-color: #fff;
  border-radius: 12px;
  box-sizing: content-box;
  color: #000;
  margin: 10px;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  padding: 2px 5px 2px 5px;
  font-size: 12px;
  position: relative;
  display: flex;
  margin: 0 auto;
}

.maplibregl-ctrl-attrib a {
  color: rgba(0, 0, 0, .75);
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 450px) {
  #highlight-plaque-container {
    width: 300px;
  }
  .trek-plaque .title {
    font-size: 1rem;
  }
  .trek-plaque .flags img {
    height: 15px; /* Small flag size */
  }
  .trek-plaque .info {
    font-size: 0.7rem;
  }
  .trek-plaque .months-overview {
    font-size: 0.5rem;
  }

}
