/* Homepage geography, drawn directly over the existing hero photograph. */
body.page-package-detail.ed-journal :is(.ed-route-map,.ed-atlas-canvas,.ed-map-svg) { background:transparent; box-shadow:none; }
body.page-package-detail.ed-journal .ed-atlas-land,
body.page-package-detail.ed-journal .ed-atlas-land.is-tanzania { fill:none; fill-opacity:0; stroke:#9caa94; stroke-width:.8; stroke-dasharray:3 4; }
body.page-package-detail.ed-journal .ed-atlas-land.is-tanzania { stroke:#496552; stroke-width:1.4; stroke-dasharray:none; stroke-linejoin:round; }
body.page-package-detail.ed-journal .ed-atlas-park { fill:none; stroke:#a5b59d; stroke-width:.65; }
body.page-package-detail.ed-journal .ed-atlas-park.is-on-route { fill:url(#heroAtlasParkFill); fill-opacity:1; stroke:#477760; stroke-width:1; }
body.page-package-detail.ed-journal .ed-atlas-lake { fill:#dce9e8; fill-opacity:.72; stroke:#8ca8a7; stroke-width:.75; }
body.page-package-detail.ed-journal .ed-atlas-river { fill:none; stroke:#477c8b; stroke-width:.85; opacity:.8; vector-effect:non-scaling-stroke; }
body.page-package-detail.ed-journal .ed-atlas-ocean { fill:#477c8b; font:italic 500 17px var(--font-serif); letter-spacing:.06em; }
body.page-package-detail.ed-journal .ed-atlas-casing { stroke:#faf8f2; stroke-width:4.8; opacity:.85; }
body.page-package-detail.ed-journal .ed-map-route { stroke:#235347; stroke-width:2.3; opacity:1; }
body.page-package-detail.ed-journal .ed-map-point { fill:#fffdf8; stroke:#235347; stroke-width:1.3; filter:none; }
body.page-package-detail.ed-journal .ed-map-point.is-start { fill:#235347; stroke:#fffdf8; stroke-width:1.5; }
body.page-package-detail.ed-journal .ed-map-stop.is-current .ed-map-point { fill:#c4a56a; stroke:#173b32; stroke-width:1.5; }
body.page-package-detail.ed-journal .ed-map-stop:is(.is-preview,:focus-visible) .ed-map-point { fill:#8eb69b; stroke:#173b32; stroke-width:1.8; }
body.page-package-detail.ed-journal .ed-map-leader { stroke:#798f7d; stroke-width:.65; opacity:.85; }
body.page-package-detail.ed-journal .ed-map-label { fill:#163832; font:500 21px var(--font-serif); paint-order:stroke; stroke:#faf8f2b3; stroke-width:3px; }
body.page-package-detail.ed-journal .ed-map-label.is-current { font-weight:600; stroke-width:3px; }
body.page-package-detail.ed-journal .ed-map-north { fill:#80612e; }
body.page-package-detail.ed-journal .ed-map-north path { stroke:#80612e; }
body.page-package-detail.ed-journal .ed-atlas-locator-land { fill:none; stroke:#496552; stroke-width:1.2; stroke-dasharray:none; stroke-linejoin:round; }
body.page-package-detail.ed-journal .ed-atlas-locator-focus { fill:#8eb69b33; stroke:#235347; stroke-width:.8; stroke-dasharray:none; }
body.page-package-detail.ed-journal .ed-atlas-locator text { fill:#65715f; font-size:9px; }
body.page-package-detail.ed-journal .ed-atlas-key text { fill:#65715f; font:400 11px var(--font-sans); }
body.page-package-detail.ed-journal .ed-atlas-key rect { fill:#8eb69b; stroke:#477760; stroke-width:.75; }
body.page-package-detail.ed-journal .ed-atlas-key .key-route { stroke:#235347; stroke-width:2.3; }
body.page-package-detail.ed-journal .ed-atlas-key .key-water { stroke:#477c8b; stroke-width:1.8; }
body.page-package-detail.ed-journal .ed-atlas-scale { fill:#65715f; }
body.page-package-detail.ed-journal .ed-atlas-scale path { fill:none; stroke:#798f7d; stroke-width:1; }
body.page-package-detail.ed-journal .ed-atlas-scale text { font:10px var(--font-sans); }
body.page-package-detail.ed-journal .ed-atlas-park.is-highlighted { fill:#8eb69b; fill-opacity:.82; stroke:#94713b; stroke-width:1.7; }
body.page-package-detail.ed-journal .ed-atlas-lake.is-highlighted { fill:#91b3b9; fill-opacity:.85; stroke:#94713b; stroke-width:1.7; }
@media(max-width:600px) {
  body.page-package-detail.ed-journal .ed-map-label { font-size:24px; }
  body.page-package-detail.ed-journal .ed-atlas-key text { font-size:13px; }
  body.page-package-detail.ed-journal .ed-atlas-scale text { font-size:13px; }
}

/* Keep the selected stop legible over detailed photographs without a map panel. */
@media screen {
  body.page-package-detail.ed-journal .ed-map-label {
    stroke:#faf8f2ed;
    stroke-width:3.5px;
  }
  body.page-package-detail.ed-journal .ed-map-label.is-current,
  body.page-package-detail.ed-journal .ed-map-label:hover {
    fill:#0b2b26;
    stroke:#fffdf8;
    stroke-width:4.5px;
  }
  body.page-package-detail.ed-journal .ed-map-callout.is-current .ed-map-leader {
    stroke:#8a652d;
    stroke-width:1.3;
  }
  body.page-package-detail.ed-journal .ed-map-segment {
    stroke:#906322;
    stroke-width:3.4;
  }
  body.page-package-detail.ed-journal .ed-map-active {
    stroke:#906322;
    stroke-width:2;
  }
  body.page-package-detail.ed-journal .ed-map-selection-copy > p,
  body.page-package-detail.ed-journal .ed-atlas-credit {
    color:#30483b;
  }
  body.page-package-detail.ed-journal .ed-atlas-key text,
  body.page-package-detail.ed-journal .ed-atlas-scale {
    fill:#30483b;
  }
  body.page-package-detail.ed-journal .ed-atlas-key text,
  body.page-package-detail.ed-journal .ed-atlas-scale text {
    paint-order:stroke;
    stroke:#faf8f2cc;
    stroke-width:2px;
    stroke-linejoin:round;
  }
  body.page-package-detail.ed-journal .ed-route-map :is(button, a):focus-visible {
    outline:2px solid #235347;
    outline-offset:3px;
  }
}

/* Area taps use the same stop preview as the map markers. */
body.page-package-detail.ed-journal .ed-atlas-geography { pointer-events:none; }
body.page-package-detail.ed-journal .ed-atlas-geography .is-selectable {
  pointer-events:visibleFill;
  cursor:pointer;
}
body.page-package-detail.ed-journal .ed-map-area-choices { margin:8px 0; }
body.page-package-detail.ed-journal .ed-map-area-choices > p {
  margin:0 0 4px;
  color:#173b32;
  font-weight:600;
  font-size:12px;
}
body.page-package-detail.ed-journal .ed-map-area-choices > div {
  display:flex;
  flex-wrap:wrap;
  gap:4px 8px;
}
body.page-package-detail.ed-journal .ed-map-area-choices button {
  min-height:44px;
  padding:4px 12px;
  border:1px solid #235347;
  border-radius:999px;
  background:#faf8f2;
  color:#173b32;
  font:inherit;
  font-size:12px;
  cursor:pointer;
}
body.page-package-detail.ed-journal .ed-map-area-choices button[aria-pressed="true"] {
  background:#235347;
  color:#daf1de;
}

/* Numbered day-by-day field atlas, matched to the homepage map language. */
body.page-package-detail.ed-journal .ed-map-route-flow {
  fill:none;
  stroke:#b28b45;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:1 14;
  vector-effect:non-scaling-stroke;
  pointer-events:none;
  animation:ed-atlas-route-flow 8s linear infinite;
}
body.page-package-detail.ed-journal .ed-map-point {
  fill:#fffdf8;
  stroke:#235347;
  stroke-width:1.45;
  filter:none;
}
body.page-package-detail.ed-journal .ed-map-point.is-start {
  fill:#235347;
  stroke:#fffdf8;
  stroke-width:1.8;
}
body.page-package-detail.ed-journal .ed-map-point-number {
  fill:#163832;
  stroke:none;
  font:700 7px/1 var(--font-sans);
  pointer-events:none;
  user-select:none;
}
body.page-package-detail.ed-journal .ed-map-stop[data-map-stop="0"] .ed-map-point-number {
  fill:#daf1de;
}
body.page-package-detail.ed-journal .ed-map-stop:is(.is-current,.is-preview,:focus-visible) .ed-map-point-number,
body.page-package-detail.ed-journal .ed-map-stop[data-map-stop="0"].is-current .ed-map-point-number {
  fill:#163832;
}
body.page-package-detail.ed-journal .ed-map-stop.is-current .ed-map-point {
  fill:#daf1de;
  stroke:#a18145;
  stroke-width:2.4;
}
body.page-package-detail.ed-journal .ed-map-active {
  stroke:#a18145;
  stroke-width:1.8;
  transform-box:fill-box;
  transform-origin:center;
  animation:ed-atlas-stop-breathe 2.2s ease-in-out infinite;
}
body.page-package-detail.ed-journal .ed-map-selection {
  margin-top:0;
  margin-bottom:8px;
  padding:7px 0 10px;
  border:0;
  border-bottom:1px solid #23534738;
  border-radius:0;
  background:transparent;
}
body.page-package-detail.ed-journal .ed-map-selection > * {
  min-width:0;
}
body.page-package-detail.ed-journal .ed-map-selection-copy {
  overflow-wrap:anywhere;
}
body.page-package-detail.ed-journal .ed-map-stepper {
  flex:none;
}
body.page-package-detail.ed-journal .ed-atlas-photo {
  opacity:1;
  isolation:isolate;
  background:transparent;
  mix-blend-mode:normal;
}
body.page-package-detail.ed-journal .ed-atlas-photo img {
  position:relative;
  z-index:1;
  opacity:1 !important;
  filter:none !important;
  mix-blend-mode:normal;
}
body.page-package-detail.ed-journal .ed-atlas-photo .ed-map-stop-folio {
  z-index:2;
}
body.page-package-detail.ed-journal .ed-map-selection-copy > strong {
  color:#163832;
}
body.page-package-detail.ed-journal .ed-map-selection-copy > p {
  color:#3f5547;
}

@keyframes ed-atlas-route-flow {
  to { stroke-dashoffset:-60; }
}
@keyframes ed-atlas-stop-breathe {
  0%,100% { opacity:1; }
  50% { opacity:.45; }
}

@media(max-width:600px) {
  body.page-package-detail.ed-journal .ed-map-point-number { font-size:8px; }
  body.page-package-detail.ed-journal .ed-map-selection { padding:7px 0 10px; }
}

@media(prefers-reduced-motion:reduce) {
  body.page-package-detail.ed-journal :is(.ed-map-route-flow,.ed-map-active) { animation:none; }
}
