/* Detailed atlas and flight use the same projection; scoped to the import panel. */
.import-route {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 920px;
  justify-self: center;
  padding: 20px 24px 24px;
  border: 1px solid #d9b96f40;
  border-radius: 12px;
  background: radial-gradient(ellipse at 50% 0, #d9b96f0d, transparent 75%), #101012;
  color: #d9b96f;
}
.import-route-top { display: flex; align-items: center; min-height: 26px; }
.import-route-kicker { font-size: .75rem; font-weight: 600; letter-spacing: .17em; line-height: 1.6; color: #d9b96f; }
.import-map { position: relative; width: 100%; aspect-ratio: 800 / 560; margin: 14px auto 18px; overflow: hidden; border-radius: 8px; background: #101f2a; isolation: isolate; }
.import-atlas { display: block; width: 100%; height: 100%; object-fit: contain; }
.import-flight { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: hidden; color: #ffdf91; }
.import-flight-track { filter: drop-shadow(0 1px 2px #000); fill: none; stroke: #f2ce80; stroke-width: 1.8; stroke-dasharray: 3 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.import-flight-halo { r: 9px; fill: #d9b96f18; stroke: #f1d18b99; stroke-width: 1; vector-effect: non-scaling-stroke; }
.import-flight-endpoint { r: 4px; fill: #ffe5a2; }
.import-flight-icon { filter: drop-shadow(0 1px 2px #000); transform: scale(.75); transform-origin: 0 0; transform-box: view-box; }
.import-flight-moving { display: none; }
.import-route[data-flight-ready] .import-flight-moving { display: inline; }
.import-route[data-flight-ready] .import-flight-still { display: none; }

.import-inset-connector { fill: none; stroke: #f2ce80b3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.import-origin-label, .import-destination-label { position: absolute; color: #ffe4a5; font-size: .75rem; line-height: 1.25; font-weight: 700; letter-spacing: .08em; text-shadow: 0 1px 5px #000, 0 1px 2px #000; pointer-events: none; }
.import-origin-label { left: 8.07%; top: calc(35.9% + 11px); transform: translateX(-10%); }
.import-destination-label { left: 86.64%; top: calc(31.52% + 11px); transform: translateX(-50%); }
.import-jersey-detail { position: absolute; width: 34%; aspect-ratio: 1; right: 2%; bottom: 3%; border: 1px solid #e6c377b3; border-radius: 8px; overflow: hidden; background: #101f2a; box-shadow: 0 5px 18px #0006; }
.import-jersey-detail img { display: block; width: 100%; height: 100%; object-fit: contain; }
.import-jersey-title { position: absolute; top: 7%; left: 7%; color: #f1ddb0; font-size: .9375rem; line-height: 1.4; font-weight: 650; letter-spacing: .1em; }
.import-jersey-title small { display: block; font-size: .625rem; font-weight: 400; letter-spacing: .08em; color: #bdc7c9; }
.oregon-section .import-imagery-credit { margin: 16px 0 0; color: #a1a9b1; font-size: .75rem; line-height: 1.65; text-align: center; }
.import-imagery-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.import-imagery-credit a:hover { color: #efd69a; }

.import-route-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid #d9b96f22; }
.import-route-place { display: flex; align-items: center; gap: 12px; min-width: 0; }
.import-route-place>div { display: flex; flex-direction: column; gap: 3px; }
.import-route-flag { display: block; width: 52px; height: 36px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 1px 3px #0005); }
.import-route-place strong { color: #f0e5cf; font-family: 'DM Sans', Arial, sans-serif; font-size: .9375rem; letter-spacing: .12em; font-weight: 600; line-height: 1.3; }
.import-route-place small { color: #aaa9a5; font-size: .75rem; line-height: 1.5; }
.import-route-caption { color: #c5b794; font-size: .8125rem; line-height: 1.6; letter-spacing: .04em; text-align: center; }
@media (max-width: 600px) {
  /* The featured Mango image flows directly into its supporting strip on phones. */
  .hero { padding-bottom: 0; }
  .values { margin-top: 0; }
  .import-route { padding: 18px 16px; }
  .import-map { margin-block: 18px 22px; }
  .import-jersey-detail { width: 35%; bottom: 2%; }
  .import-jersey-title { font-size: .75rem; }
  .import-jersey-title small { display: none; }
  .oregon-section .import-imagery-credit { font-size: .75rem; }
  .import-flight-icon { transform: scale(.9); }
  .import-flight-endpoint { r: 6px; }
  .import-flight-halo { r: 12px; }
  .import-route-footer { flex-wrap: wrap; gap: 15px 12px; }
  .import-route-caption { order: 3; flex-basis: 100%; font-size: .75rem; }
  .import-route-place { flex: 1 1 0; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .import-route-place>div { align-items: center; }
  .import-route-place strong { font-size: .875rem; letter-spacing: .06em; }
  .import-route-flag { width: 40px; height: 30px; }
}
@media (max-width: 400px) {
  .import-origin-label, .import-destination-label { font-size: .6875rem; }
}
@media (max-width: 360px) {
  .import-route-place { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .import-route .import-flight-moving { display: none!important; }
  .import-route .import-flight-still { display: inline!important; }
}
