/* The weather atlas's real geography, in the existing homepage map frame. */
body.ej-journal .ej-geo-scene[hidden] { display:none; }
body.ej-journal .ej-geographic-svg { isolation:isolate; }
body.ej-journal .ej-geo-country { fill:none; stroke:#bbc2af; stroke-width:.8; stroke-dasharray:3 4; }
body.ej-journal .ej-geo-country.is-tanzania { stroke:#9caa94; stroke-width:1.15; stroke-dasharray:none; }
body.ej-journal .ej-geo-lake { fill:#dce9e8; stroke:#8ca8a7; stroke-width:.75; }
body.ej-journal .ej-geo-park { fill:#e8ebdf; stroke:#c1c9b7; stroke-width:.8; }
body.ej-journal .ej-geo-park.is-on-route { fill:url(#ej-geo-park-fill); stroke:#477760; stroke-width:1.15; }
body.ej-journal .ej-geo-river { fill:none; stroke:#477c8b; stroke-width:.95; opacity:.7; }
body.ej-journal .ej-geo-route-underlay { fill:none; stroke:#f2efe3; stroke-width:5.4; stroke-linecap:round; stroke-linejoin:round; }
body.ej-journal .ej-geographic-svg .ej-atlas-route.is-current { stroke:#235347; stroke-width:2.6; opacity:1; }
body.ej-journal .ej-geographic-svg .ej-atlas-stop { stroke:#235347; stroke-width:1.6; fill:#fffdf8; }
body.ej-journal .ej-geographic-svg .ej-atlas-stop.is-base { fill:#235347; stroke:#fffdf8; }
body.ej-journal .ej-geographic-svg .ej-atlas-leader { stroke:#798f7d; stroke-width:.8; }
body.ej-journal :is(.ej-geo-label,.ej-geo-label-small,.ej-geo-context,.ej-geo-water) { paint-order:stroke; stroke:#f2efe3; stroke-width:4px; stroke-linejoin:round; pointer-events:none; }
body.ej-journal .ej-geo-label { fill:#163832; font:500 17px var(--font-serif); }
body.ej-journal .ej-geo-label-small { fill:#65715f; font:400 10px var(--font-sans); }
body.ej-journal .ej-geo-context { fill:#8a937c; font:500 10px var(--font-sans); letter-spacing:2px; }
body.ej-journal .ej-geo-water { fill:#779995; font:italic 15px var(--font-serif); letter-spacing:.7px; stroke-width:2px; }
body.ej-journal .ej-geo-north { fill:#80612e; stroke:#80612e; stroke-width:1; }
body.ej-journal .ej-geo-north text { font:500 10px var(--font-sans); stroke:none; }
body.ej-journal .ej-geo-scale { fill:#69765f; stroke:#87967b; stroke-width:1; }
body.ej-journal .ej-geo-scale text { font:9px var(--font-sans); stroke:none; }
body.ej-journal .ej-geo-locator { stroke:#a6b096; stroke-width:.7; fill:#e5e8da; }
body.ej-journal .ej-geo-locator text { stroke:none; fill:#7c866c; font:500 7px var(--font-sans); letter-spacing:1px; }
body.ej-journal .ej-geo-locator rect { fill:#8eb69b66; stroke:#235347; stroke-width:1; }
body.ej-journal .ej-geo-key { fill:#65715f; font:9px var(--font-sans); }
body.ej-journal .ej-geo-key .key-route { stroke:#235347; stroke-width:2.6; }
body.ej-journal .ej-geo-key .key-park { fill:#8EB69B; stroke:#477760; stroke-width:.75; }
body.ej-journal .ej-geo-key .key-water { stroke:#477c8b; stroke-width:2; }
body.ej-journal .ej-geographic-sheet figcaption { flex-wrap:wrap; gap:4px 14px; font-size:9px; }
body.ej-journal .ej-atlas-credits { font-size:8px; }
body.ej-journal .ej-atlas-credits a { text-decoration-color:#8EB69B; }
@media (max-width:760px) {
  body.ej-journal .ej-geo-label { font-size:22px; }
  body.ej-journal .ej-geo-label-small { font-size:14px; }
  body.ej-journal .ej-geo-context { font-size:14px; }
  body.ej-journal .ej-geo-water { font-size:19px; }
  body.ej-journal .ej-geo-north text { font-size:14px; }
  body.ej-journal .ej-geo-scale text { font-size:12px; }
  body.ej-journal .ej-geo-key { font-size:12px; }
  body.ej-journal .ej-geo-locator { display:none; }
}

/* Direction, numbered chapters and an active geographic focus. */
body.ej-journal .ej-geographic-svg .ej-atlas-route.is-current.is-drawing {
  stroke-dasharray:var(--atlas-route-length);
  stroke-dashoffset:var(--atlas-route-length);
  animation:ej-atlas-route-draw .8s cubic-bezier(.33,.7,.35,1) forwards;
}
body.ej-journal .ej-atlas-direction {
  fill:none;
  stroke:#b28b45;
  stroke-width:2;
  stroke-linecap:round;
  stroke-dasharray:1 14;
  pointer-events:none;
  animation:ej-atlas-route-flow 8s linear infinite;
}
body.ej-journal .ej-geographic-svg .ej-atlas-stop {
  opacity:0;
  pointer-events:none;
}
body.ej-journal .ej-atlas-map-stop {
  cursor:pointer;
  outline:none;
}
body.ej-journal .ej-atlas-map-stop-hit {
  fill:transparent;
  stroke:none;
}
body.ej-journal .ej-atlas-map-stop-ring {
  fill:#f2efe3;
  fill-opacity:.9;
  stroke:#235347;
  stroke-width:1.35;
  vector-effect:non-scaling-stroke;
  transition:fill .2s,stroke .2s;
}
body.ej-journal .ej-atlas-map-stop-core {
  fill:#fdfbf4;
  stroke:none;
  transition:fill .2s;
}
body.ej-journal .ej-atlas-map-stop-number {
  fill:#163832;
  stroke:none;
  font:700 7px/1 var(--font-sans);
  pointer-events:none;
  user-select:none;
}
body.ej-journal .ej-atlas-map-stop:hover .ej-atlas-map-stop-ring,
body.ej-journal .ej-atlas-map-stop:focus-visible .ej-atlas-map-stop-ring,
body.ej-journal .ej-atlas-map-stop.is-active .ej-atlas-map-stop-ring {
  fill:#daf1de;
  stroke:#a18145;
  stroke-width:2.2;
}
body.ej-journal .ej-atlas-map-stop.is-active .ej-atlas-map-stop-core {
  fill:#235347;
}
body.ej-journal .ej-atlas-map-stop.is-active .ej-atlas-map-stop-number {
  fill:#daf1de;
}
body.ej-journal .ej-atlas-map-stop.is-active .ej-atlas-map-stop-ring {
  transform-box:fill-box;
  transform-origin:center;
  animation:ej-atlas-stop-breathe 2.2s ease-in-out infinite;
}

@keyframes ej-atlas-route-draw {
  to { stroke-dashoffset:0; }
}
@keyframes ej-atlas-route-flow {
  to { stroke-dashoffset:-60; }
}
@keyframes ej-atlas-stop-breathe {
  0%,100% { transform:scale(1); }
  50% { transform:scale(1.17); }
}

@media (max-width:760px) {
  body.ej-journal .ej-atlas-map-stop-ring { stroke-width:1.7; }
  body.ej-journal .ej-atlas-map-stop-number { font-size:8px; }
}

@media (prefers-reduced-motion:reduce) {
  body.ej-journal .ej-geographic-svg .ej-atlas-route.is-current.is-drawing,
  body.ej-journal .ej-atlas-direction,
  body.ej-journal .ej-atlas-map-stop.is-active .ej-atlas-map-stop-ring {
    animation:none;
  }
}
