/* /bus-route-planner: the /bus app fills the first screen (a transformed frame, so its fixed layers scroll with it) and the indexable
   guide sits below, in normal page flow, ahead of the footer; it appears only after scrolling past the app. */
html:has(body.bus-planner), body.bus-planner { height: auto; overflow: visible; }
.bus-planner .bus-frame { position: relative; height: 100dvh; min-height: 520px; overflow: hidden; transform: translateZ(0); }
.bus-planner .bus-frame #map { height: calc(100% - var(--nv-bar-h)); width: 100%; top: var(--nv-bar-h); } /* the frame holds the site bar too, so the app's offsets (map under the bar, controls at the map's corners) are the /bus ones */
.bus-seo { padding: 0 0 24px; background: var(--nv-bg, #fff); position: relative; border-top: 3px solid #e9b83a; }
.bus-seo .rp-hero { padding: 24px 0 24px; }
.rp-intro h1 { margin: 0 0 16px; max-width: 14ch; }
.rp-intro p { max-width: 52ch; color: var(--nv-muted); }
.rp-section { padding: 40px 0; border-top: 1px solid var(--nv-line); }
.rp-section h2 { margin: 0 0 16px; }
.rp-steps, .rp-list { padding: 0; margin: 0; list-style: none; }
.rp-steps { display: grid; counter-reset: step; max-width: 46rem; }
.rp-steps li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 8px; padding: 16px 0; border-top: 1px solid var(--nv-line); }
.rp-steps li:first-child { border-top: 0; padding-top: 0; }
.rp-steps li::before { counter-increment: step; content: counter(step); grid-row: 1 / span 2; font: 600 .875rem/1.6 var(--nv-mono); color: var(--nv-muted); }
.rp-steps h3, .rp-steps p { grid-column: 2; }
.rp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 64px); }
.rp-list li { padding: 16px 0 20px; border-top: 1px solid var(--nv-line); }
.rp-steps h3, .rp-list h3 { margin: 0 0 4px; font-size: 1rem; }
.rp-steps p, .rp-list p { margin: 0; color: var(--nv-muted); max-width: 46ch; }
.rp-list + .rp-note { margin-top: 24px; }
.rp-faq details { border-top: 1px solid var(--nv-line); padding: 14px 0; }
.rp-faq summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; }
.rp-faq p { margin: 4px 0 8px; max-width: 70ch; color: var(--nv-muted); }
.rp-links { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 0; margin: 0; list-style: none; }
.rp-links a { display: inline-flex; align-items: center; min-height: 44px; }
.rp-note { color: var(--nv-muted); font-size: .875rem; max-width: 70ch; }
@media (max-width: 760px) { .rp-list { grid-template-columns: 1fr; } }