/* Full-width reference pages and dated route tables. */
.wide-route-page .page-hero__grid,
.wide-route-page .content-grid{grid-template-columns:minmax(0,1fr);gap:20px}
.wide-route-page .page-hero__grid>*,
.wide-route-page .content-grid>*{min-width:0}
.wide-route-page .prose{max-width:none}
.wide-route-page .source-card{position:static;width:100%}
.wide-route-page .page-hero__aside{width:100%}

.routes-table-v8 .arrival-next-day,
.route-page-table .arrival-next-day{position:relative;top:-.38em;margin-left:3px;color:#8290a3;font-size:.5rem;font-weight:400;letter-spacing:0;line-height:1;vertical-align:super;white-space:nowrap}

.route-page-data{padding-top:0}
.route-page-data__head{margin-bottom:18px}
.route-page-data__head h2{margin:0 0 8px}
.route-page-data__head p{margin:0;color:var(--muted);font-size:.875rem;line-height:1.55}
.route-page-table{overflow:visible}
.route-page-table table{width:100%;border-collapse:separate;border-spacing:0 8px;table-layout:fixed;background:transparent;font-size:.875rem}
.route-page-table caption{padding:14px 16px;border:1px solid var(--line);border-radius:14px;color:var(--heading);background:#eaf3ff;font-size:.875rem;font-weight:700;text-align:left}
.route-page-table thead th{padding:10px 12px;color:#647792;font-size:.75rem;font-weight:700;text-align:left}
.route-page-table tbody tr{box-shadow:0 5px 13px #16345c0b}
.route-page-table tbody td{padding:13px 12px;border-top:1px solid #dbe6f2;border-bottom:1px solid #dbe6f2;background:#fff;vertical-align:middle;overflow-wrap:anywhere}
.route-page-table tbody td:first-child{border-left:1px solid #dbe6f2;border-radius:12px 0 0 12px}
.route-page-table tbody td:last-child{border-right:1px solid #dbe6f2;border-radius:0 12px 12px 0}
.route-page-table tbody strong{display:inline-block;color:var(--heading);font-size:1rem;font-weight:700;font-variant-numeric:tabular-nums}
.route-page-table tbody small{display:block;margin-top:3px;color:var(--muted);font-size:.73rem;line-height:1.35}
.route-page-table .arrival-time{white-space:nowrap}
.route-page-table .route-page-price{white-space:nowrap}
.route-page-table--schedule th:nth-child(1){width:19%}
.route-page-table--schedule th:nth-child(2){width:19%}
.route-page-table--schedule th:nth-child(3){width:10%}
.route-page-table--schedule th:nth-child(4){width:13%}
.route-page-table--schedule th:nth-child(5){width:14%}
.route-page-table--schedule th:nth-child(6){width:25%}
.route-page-table--prices th:nth-child(1){width:25%}
.route-page-table--prices th:nth-child(2){width:43%}
.route-page-table--prices th:nth-child(3){width:18%}
.route-page-table--prices th:nth-child(4){width:14%}
.route-page-table__note{margin:14px 0 0;color:var(--muted);font-size:.78rem;line-height:1.55}
.route-page-table__note a{color:var(--brand)}
@media(max-width:900px){
  .route-page-table table,.route-page-table tbody,.route-page-table tr{display:block;width:100%}
  .route-page-table thead{display:none}
  .route-page-table tbody{display:grid;gap:12px}
  .route-page-table tbody tr{padding:13px;border:1px solid #dbe6f2;border-radius:14px;background:#fff}
  .route-page-table tbody td{display:block;min-width:0;padding:8px 4px;border:0!important;border-radius:0!important;background:transparent}
  .route-page-table tbody td+td{border-top:1px solid var(--line)!important}
  .route-page-table tbody td:before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--muted);font-size:.72rem;font-weight:650}
}
