/* Coast trip map styles. Used by trip pages that include a coast map. */
.ct-map-figure { margin: 1.2rem 0 1.4rem; max-width: 100%; }
.ct-map-svg { display: block; width: 100%; max-width: 900px; height: auto; border: 1px solid var(--line); background: var(--asphalt-3); }
.ct-map-svg .ct-bg { fill: #142022; }
.ct-map-svg .ct-casing { fill: none; stroke: #070c0e; stroke-width: 7; stroke-linejoin: round; stroke-linecap: round; }
.ct-map-svg .ct-route { fill: none; stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
.ct-map-svg .ct-d1 { stroke: #c9a24a; }
.ct-map-svg .ct-d2 { stroke: #9cc3c0; }
.ct-map-svg .ct-d3 { stroke: #e8ecf0; }
.ct-map-svg .ct-d4 { stroke: #d9785b; }
.ct-map-svg .ct-spur { fill: none; stroke: #d9785b; stroke-width: 2.4; stroke-dasharray: 6 5; stroke-linecap: round; }
.ct-map-svg text { font-family: var(--sans); font-weight: 600; fill: #e8ecf0; paint-order: stroke; stroke: #070c0e; stroke-width: 3.5px; stroke-linejoin: round; font-size: 17px; }
.ct-map-svg .ct-start circle { fill: #9cc3c0; stroke: #070c0e; stroke-width: 2; }
.ct-map-svg .ct-night circle { fill: #e8ecf0; stroke: #c9a24a; stroke-width: 3; }
.ct-map-svg .ct-poi circle { fill: #1d2b2f; stroke: #a9b7b9; stroke-width: 1.5; }
.ct-map-svg .ct-poi text { font-size: 15px; font-weight: 500; fill: #a9b7b9; }
.ct-map-svg .ct-legend text { font-size: 15px; font-weight: 500; }
.ct-map-svg .ct-note { font-size: 17px; }
.ct-map-svg .ct-scale path { fill: none; stroke: #a9b7b9; stroke-width: 2; }
.ct-map-svg .ct-scale text { font-size: 14px; font-weight: 500; fill: #a9b7b9; }
.ct-map-figure figcaption { margin-top: 0.5rem; max-width: var(--measure); }
.trip-page .trip ul.ct-gpx li { margin: 0.45rem 0; }
@media (max-width: 640px) {
  .ct-map-svg text { font-size: 31px; stroke-width: 6px; }
  .ct-map-svg .ct-poi text, .ct-map-svg .ct-legend text, .ct-map-svg .ct-note { font-size: 28px; }
  .ct-map-svg .ct-scale text { font-size: 26px; }
  .ct-map-svg .ct-route { stroke-width: 5.5; }
  .ct-map-svg .ct-casing { stroke-width: 10; }
  .ct-map-svg .ct-spur { stroke-width: 4.5; stroke-dasharray: 10 8; }
  .ct-map-svg .ct-night circle { stroke-width: 4; }
}
/* Vietnamese stacked diacritics need a little more room in the big display heading. */
html[lang="vi"] .trip-page .page-hero h1 { line-height: 1.14; }
