/* Homepage reading density. Imported after mobile-reading.css. */
body:has(.route-map) .hero {
  padding-top: 48px;
  padding-bottom: 36px;
}

body:has(.route-map) .hero h1 {
  font-size: clamp(2.5rem, 3.4vw, 2.9rem);
  line-height: 1.14;
}

body:has(.route-map) .route-map {
  margin-top: 38px;
}

body:has(.route-map) .route-map > a {
  min-height: 68px;
}

body:has(.route-map) .stage-section {
  padding-top: 44px;
}

body:has(.route-map) .tool-ticket {
  min-height: 172px;
  padding: 20px 24px;
}

body:has(.route-map) .tool-ticket strong {
  margin-top: 16px;
}

body:has(.route-map) .guide-strip {
  padding-bottom: 48px;
}

@media (max-width: 767px) {
  body:has(.route-map) .hero {
    padding-top: 30px;
    padding-bottom: 24px;
  }

  body:has(.route-map) .hero h1 {
    font-size: clamp(1.625rem, 7.1vw, 1.875rem);
    line-height: 1.25;
  }

  body:has(.route-map) .hero-copy > p {
    margin-top: 14px;
  }

  body:has(.route-map) .route-map {
    margin-top: 24px;
    gap: 6px;
  }

  body:has(.route-map) .route-map > a {
    min-height: 50px;
  }

  body:has(.route-map) .route-map i {
    height: 12px;
  }

  body:has(.route-map) .stage-section {
    padding-top: 32px;
  }

  body:has(.route-map) .section-heading {
    margin-bottom: 14px;
  }

  body:has(.route-map) .tool-ticket {
    min-height: 0;
    padding: 16px 20px 18px;
  }

  body:has(.route-map) .tool-ticket strong {
    margin-top: 10px;
  }

  body:has(.route-map) .tool-ticket p {
    margin-top: 6px;
  }

  body:has(.route-map) .guide-strip {
    padding-bottom: 34px;
  }
}
@media (max-width: 767px) {
  body:has(.route-map) .route-map { grid-template-columns: 1fr 10px 1fr 10px 1fr; align-items: start; gap: 3px; }
  body:has(.route-map) .route-map > a { grid-template-columns: 1fr; justify-items: center; gap: 3px; text-align: center; }
  body:has(.route-map) .route-map .stop { grid-row: auto; width: 30px; height: 30px; }
  body:has(.route-map) .route-map strong { font-size: 15px; }
  body:has(.route-map) .route-map small { font-size: 12px; line-height: 1.4; }
  body:has(.route-map) .route-map i { width: 10px; height: 2px; margin: 15px 0 0; }
  body:has(.route-map) .tool-ticket p { max-width: 100%; font-size: 14px; line-height: 1.5; }
  body:has(.route-map) .hero { padding-top: 24px; padding-bottom: 20px; }
}
