.road-map-section { padding-bottom: 0; }
.road-map-link { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.road-map-link:hover { color: var(--accent); }
.road-map-link span { color: var(--accent); font-size: 20px; }
.route-panel { display: grid; grid-template-columns: 300px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 22px 60px rgba(17,20,22,.07); }
.route-sidebar { padding: 34px 30px; background: #171d20; color: #fff; display: flex; flex-direction: column; }
.route-tag { display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.route-stops { list-style: none; margin: 38px 0 30px; padding: 0 0 0 27px; position: relative; }
.route-stops::before { content: ''; position: absolute; top: 7px; bottom: 56px; left: 6px; width: 2px; background: var(--accent); opacity: .7; }
.route-stops li { display: grid; gap: 7px; position: relative; }
.route-stops li + li { margin-top: 34px; }
.route-stops li::before { content: ''; position: absolute; left: -27px; top: 3px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--accent); background: #171d20; }
.route-stop-label { color: #b6c0c5; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.route-stops strong { font-size: 27px; letter-spacing: -.04em; font-weight: 750; }
.route-stops li > span:last-child { font-size: 14px; color: #d0d7db; }
.route-directions { display: flex; align-items: center; gap: 12px; padding-top: 24px; margin-top: auto; border-top: 1px solid #3b4347; }
.route-directions > span { color: var(--accent); font-size: 34px; }
.route-directions strong { display: block; font-size: 14px; font-weight: 650; }
.route-directions div > span { display: block; margin-top: 6px; color: #b6c0c5; font-size: 11px; }
.route-reset { margin-top: 25px; padding: 13px 16px; background: var(--accent); color: #111416; border: 0; border-radius: 9px; font-weight: 750; font-size: 12px; cursor: pointer; text-align: left; }
.route-reset span { float: right; font-size: 17px; line-height: 1; }
.route-reset:hover { background: #ffc367; }
.route-reset:focus-visible, .road-map-link:focus-visible, .route-map-notes a:focus-visible { outline: 3px solid #b66a00; outline-offset: 4px; }
.route-map-column { min-width: 0; background: #fff; }
.route-map-frame { position: relative; height: 480px; isolation: isolate; overflow: hidden; background: #e7eae2; }
.route-map-fallback { width: 100%; height: 100%; object-fit: contain; }
.route-map { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; font-family: inherit; background: #e7eae2; }
.route-map[hidden], .route-reset[hidden], .route-map-fallback[hidden] { display: none; }
.route-map.leaflet-container a { color: #17546a; }
.route-map .leaflet-control-zoom a { color: #192327; }
.route-map .leaflet-control-zoom { border: 1px solid #ccd1ce; box-shadow: 0 3px 16px #11131518; }
.route-map .leaflet-control-zoom a { width: 38px; height: 38px; line-height: 38px; }
.route-map .leaflet-control-attribution { font-size: 10px; padding: 3px 7px; background: rgba(255,255,255,.95); }
.route-map .route-km-label { background: #171d20; border: 1px solid #171d20; border-radius: 7px; color: #fff; padding: 7px 9px; box-shadow: 0 3px 14px #11131522; font-family: inherit; font-size: 11px; font-weight: 700; }
.route-map .leaflet-tooltip-top.route-km-label::before { border-top-color: #171d20; }
.route-map .leaflet-tooltip-bottom.route-km-label::before { border-bottom-color: #171d20; }
.route-map .leaflet-popup-content { font-family: inherit; font-size: 13px; line-height: 1.65; }
.route-map-caption { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 58px; padding: 14px 22px; }
.route-map-caption > span { display: flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 11px; font-weight: 700; }
.route-map-caption i { display: inline-block; width: 24px; height: 5px; background: #c27000; border-radius: 9px; }
.route-map-caption p { margin: 0; color: #535f64; font-size: 11px; line-height: 1.5; }
.route-map-noscript { padding: 0 22px 18px; font-size: 12px; line-height: 1.6; }
.route-map-notes { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; color: #596064; font-size: 12px; line-height: 1.6; }
.route-map-notes > p { margin: 0; }
.route-map-notes details { max-width: 430px; }
.route-map-notes summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.route-map-notes a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1050px) {
  .route-panel { grid-template-columns: 265px minmax(0, 1fr); }
  .route-sidebar { padding: 28px 24px; }
  .route-map-caption { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 760px) {
  .route-panel { grid-template-columns: 1fr; }
  .route-sidebar { padding: 27px 24px; }
  .route-stops { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 27px 0; padding: 0; }
  .route-stops::before, .route-stops li::before { display: none; }
  .route-stops li + li { margin-top: 0; }
  .route-stops strong { font-size: clamp(21px, 5.6vw, 27px); }
  .route-directions { padding-top: 17px; }
  .route-reset { margin-top: 19px; }
  .route-map-frame { height: 360px; }
  .route-map-notes { flex-direction: column; gap: 10px; }
}
