/* Detailed travel-time page. The shared brand and map styles come from mn.css. */
.travel-page [hidden] { display: none !important; }
.travel-hero h1 { max-width: none; }
.travel-hero .prose { max-width: 62ch; }
.travel-hero .lead { max-width: 50ch; }
.travel-hero .lead + p { margin-top: 1.2rem; }
.travel-inbound { padding-bottom: clamp(36px, 5vw, 60px); }
.travel-inbound h2 { margin-bottom: 1rem; }
.travel-inbound ul { padding-left: 1.3rem; }
.travel-inbound li { margin-bottom: .35rem; }
.travel-page .map-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, 1fr); align-items: start; }
.travel-page .panel { position: static; }
.travel-page .map-card { position: sticky; top: 16px; }
.mk-origin { cursor: pointer; }
.mk-origin-dot { fill: var(--blue); stroke: white; stroke-width: 1.4; }
.mk-origin:not(.koulu) .mk-origin-dot { fill: white; stroke: var(--blue); stroke-width: 2; }
.origin-key { display: inline-block; width: .72em; height: .72em; border-radius: 50%; background: var(--blue); }
.origin-key.stop { background: white; border: 2px solid var(--blue); }
.mk-subarea { fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-dasharray: 3 2; vector-effect: non-scaling-stroke; pointer-events: none; }
.mk-subarea-guide { stroke: var(--forest); stroke-width: 1; pointer-events: none; }
.mk-subarea-label { fill: var(--forest); stroke: white; stroke-width: 2.5; paint-order: stroke; font: 600 11px var(--sans); pointer-events: none; }
.mk-subarea-label.has-route { pointer-events: all; cursor: pointer; }
.travel-page .band.alt { padding-block: clamp(24px, 4vw, 48px); background: var(--gold-wash); }
.travel-times { width: 100%; border-collapse: collapse; table-layout: fixed; font-family: var(--sans); font-size: 1rem; }
.travel-times th { font-weight: 600; }
.travel-times thead th { padding: .5rem 0 .7rem; font-size: .76rem; letter-spacing: .02em; }
.travel-times th:first-child { width: 44%; text-align: left; }
.travel-times th:not(:first-child), .travel-times td:not(:first-child) { width: 28%; text-align: right; }
.travel-times tbody tr:not(.travel-note) > * { padding: .85rem 0 .3rem; border-top: 1px solid var(--forest-line); vertical-align: baseline; }
.travel-times tbody tr:not(.travel-note) > :first-child { padding-right: .65rem; font-family: var(--heading); font-size: 1.15rem; overflow-wrap: anywhere; }
.travel-times td:not([colspan]) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.travel-times td.car { white-space: normal; }
.travel-times .time-value { display: inline-block; white-space: nowrap; }
.travel-times .travel-note td { padding: 0 0 .85rem; text-align: left; font-size: .83rem; line-height: 1.5; }
.travel-fallback { max-width: 44rem; margin-block: 1.3rem; }
.travel-sources { scroll-margin-top: 1rem; }
.travel-sources summary { cursor: pointer; font-family: var(--heading); font-size: 1.1rem; line-height: 1.25; }
.travel-sources .prose { padding-top: 1rem; }
.travel-sources .prose p { font-size: 1rem; }
.village-trips { border-collapse: collapse; width: min(100%, 42rem); margin-block: 1rem; line-height: 1.35; }
.village-trips :is(th, td) { padding: .55rem .4rem; border-bottom: 1px solid var(--line); text-align: left; }
.village-trips :is(th, td):not(:first-child) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.village-trips small { display: block; font-size: .9rem; font-weight: normal; }
.travel-admin { margin-top: 1.5rem; font-size: .8rem; }
@media (max-width: 880px) {
  .travel-page .map-grid { grid-template-columns: 1fr; }
  .travel-page .map-card { position: static; }
}
@media (max-width: 420px) {
  .travel-times { font-size: .92rem; }
  .travel-times tbody tr:not(.travel-note) > :first-child { font-size: 1rem; }
  .travel-times th:first-child { width: 40%; }
  .travel-times th:not(:first-child), .travel-times td:not(:first-child) { width: 30%; }
}
