.geotag-page {
  max-width: 1100px;
}

.route-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 42px;
}

.route-index a,
.route-heading > a {
  border: 1px solid rgba(4, 82, 51, 0.35);
  border-radius: 999px;
  color: #045233;
  font-family: 'Source Code Pro', 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 11px;
  text-decoration: none;
  text-transform: uppercase;
}

.route-index a:hover,
.route-heading > a:hover {
  background: #045233;
  color: #f2ece1;
}

.route-card {
  margin: 0 0 64px;
  scroll-margin-top: 18px;
}

.route-heading {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 13px;
}

.route-heading h2,
.route-date {
  margin: 0;
}

.route-heading h2 {
  color: #045233;
  font-size: clamp(22px, 4vw, 34px);
}

.route-date {
  color: #c94c2f;
  font-family: 'Source Code Pro', 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.route-map {
  background: #d9d3c7;
  border: 1px solid rgba(77, 74, 69, 0.32);
  border-radius: 6px;
  height: min(68vh, 610px);
  min-height: 420px;
  overflow: hidden;
  width: 100%;
}

.route-map::before {
  color: #4d4a45;
  content: 'MAP LOADS AS IT APPROACHES THE VIEWPORT';
  display: grid;
  font-family: 'Source Code Pro', 'IBM Plex Mono', monospace;
  font-size: 12px;
  height: 100%;
  place-items: center;
  text-align: center;
}

.route-map.leaflet-container::before {
  content: none;
}

.route-controls {
  align-items: center;
  color: #4d4a45;
  display: flex;
  flex-wrap: wrap;
  font-family: 'Source Code Pro', 'IBM Plex Mono', monospace;
  font-size: 11px;
  gap: 9px 14px;
  margin-top: 10px;
  text-transform: uppercase;
}

.route-controls label {
  color: #045233;
  font-weight: 800;
}

.route-controls input {
  max-width: 100%;
}

.route-status {
  color: #c94c2f;
  font-weight: 800;
}

.leaflet-control-attribution {
  font-size: 10px;
}

@media (max-width: 560px) {
  .route-card {
    margin-bottom: 48px;
  }

  .route-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .route-map {
    height: 62vh;
    min-height: 350px;
  }
}
