/* Square map frames across all route pages. */
.avrm-map,
.avrm-explorer-map,
.avrm-explorer-layout {
  border-radius: 0 !important;
}

/* Square table-of-contents backgrounds. */
.p-toc {
  border-radius: 0 !important;
}

/* Route card: theme body text and 4:3 photograph. */
.avrm-explorer .avrm-explorer-copy > p {
  font-family: inherit;
  font-size: inherit !important;
  font-weight: 400;
  line-height: 1.5 !important;
  color: inherit !important;
}
.avrm-explorer .avrm-explorer-image img {
  width: 100%;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover;
}

/* Hide map gesture messages and their dark overlay. */
.avrm-map .mapboxgl-touch-pan-blocker,
.avrm-map .mapboxgl-scroll-zoom-blocker,
.avrm-explorer-map .mapboxgl-touch-pan-blocker,
.avrm-explorer-map .mapboxgl-scroll-zoom-blocker {
  display: none !important;
}

/* Compact, readable highest-elevation popup. */
.avrm-map .avrm-elevation-popup {
  display: block !important;
  width: auto !important;
  min-width: 110px;
  padding: 2px;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  white-space: nowrap;
}
