@media screen and (min-width: 768px) {
  .tracks-map-container {
    display: grid;
    grid-template-areas: "first second";
    grid-template-columns: 5fr 7fr;
  }
}

.tracks-map-section {
  aspect-ratio: 1;
}
@media screen and (min-width: 768px) {
  .tracks-map-section {
    aspect-ratio: auto;
    grid-area: second;
    height: 100vh;
    padding: 0;
    position: sticky;
    top: 0;
  }
}

.tracks-map {
  height: 100%;
}

.tracks-list-section {
  padding: 30px 0;
}
@media screen and (min-width: 768px) {
  .tracks-list-section {
    grid-area: first;
    min-height: 100vh;
  }
}

.tracks-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.tracks-list li:not(:last-child) .track {
  border-bottom: 1px solid #e8e8e8;
}

.track {
  cursor: pointer;
  display: block;
  padding: 1rem;
}
@media screen and (min-width: 768px) {
  .track {
    display: grid;
    column-gap: 2rem;
    grid-template-columns: 200px auto;
  }
}

.track-media img {
  border-radius: 0.9375rem;
  max-width: 100%;
}

.track-info p {
  font-size: 0.9375rem;
}
.track-info dl {
  display: grid;
  grid-template-columns: minmax(max-content, auto) 1fr;
}

.tracks-map-marker {
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

.tracks-map-popup dl {
  display: grid;
  gap: 0.25rem 0.5rem;
  grid-template-columns: minmax(max-content, auto) 1fr;
}
.tracks-map-popup dd {
  margin: 0;
}

.tracks-map-legend {
  background-color: #ffffff;
  display: none;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
  min-width: 13rem;
  padding: 1rem;
}
@media screen and (min-width: 768px) {
  .tracks-map-legend {
    display: block;
  }
}
.leaflet-bottom .tracks-map-legend {
  margin-bottom: 64px;
}
.tracks-map-legend h4 {
  margin-top: 0;
}
.tracks-map-legend ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tracks-map-legend li {
  align-items: center;
  display: flex;
}
.tracks-map-legend li:not(:last-child) {
  margin-bottom: 0.5rem;
}
.tracks-map-legend svg {
  flex-shrink: 0;
  height: 1.5rem;
  margin-right: 0.5rem;
  width: 1.5rem;
}

/*# sourceMappingURL=tracks-map.css.map */
