/* Only loaded on the Finnish film page. */
.journey-intro, .journey-section { --route-accent: #e6ac73; }
.journey-intro { display: grid; gap: 36px; padding-top: 60px; padding-bottom: 54px; }
.journey-intro h2 { max-width: 15ch; }
.journey-intro .eyebrow, .journey-section .eyebrow { color: var(--route-accent); }
.journey-jumps { display: flex; flex-wrap: wrap; gap: 16px 30px; margin-top: 30px; font-size: 13px; }
.journey-jumps a { text-underline-offset: 6px; text-decoration-color: #88877e; }
.journey-jumps a:hover { color: var(--route-accent); }
.journey-story > p:first-child { margin-top: 0; }
.journey-stats { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #ffffff26; border-bottom: 1px solid #ffffff26; margin: 12px 0 0; padding: 28px 0; gap: 20px; }
.journey-stats > div { display: flex; flex-direction: column-reverse; gap: 12px; }
.journey-stats > div + div { border-left: 1px solid #ffffff26; padding-left: 28px; }
.journey-stats dt { font-size: 12px; color: var(--text-muted); }
.journey-stats dd { font-family: var(--font-heading); font-size: clamp(34px,4.6vw,64px); line-height: 1; margin: 0; }
#elokuva, #reittikartta, .route-leg { scroll-margin-top: 24px; }
.journey-section { padding-top: 60px; }
.journey-section-heading { display: grid; gap: 20px; margin-bottom: 32px; }
.journey-section-heading h2 { max-width: none; }
.journey-section-heading > p { margin-top: 0 !important; max-width: 50ch !important; }
.journey-route-layout { display: grid; gap: 32px; align-items: start; }
.journey-map-frame { position: relative; background: #1b2520; overflow: hidden; border: 1px solid #b7c5b029; }
.route-map { display: block; width: 100%; height: auto; }
.route-map [data-leg] { transition: opacity .18s ease, stroke-width .18s ease; }
.route-map.is-filtered [data-leg] { opacity: .25; }
.route-map.is-filtered [data-leg].is-active { opacity: 1; stroke: #fff1cf; stroke-width: 7px; }
.route-map .map-stop:hover .stop-ring { fill: #fff1cf; stroke: #e6ac73; stroke-width: 4px; }
.map-expand { position: absolute; right: 14px; top: 17%; border: 1px solid #9ca98f66; background: #18221dec; color: #f1edda; padding: 10px 13px; font: inherit; font-size: 11px; cursor: pointer; }
.map-expand:hover { background: #354331; }
.journey-map-caption { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; margin-top: 12px; font-size: 10px; color: #bdbeb4; }
.journey-map-caption a { text-underline-offset: 3px; }
.route-status { display: flex; align-items: center; gap: 8px; color: var(--route-accent); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 22px; }
.route-status > span { width: 6px; height: 6px; background: var(--route-accent); border-radius: 50%; }
.journey-itinerary h3 { margin: 0; font-size: 28px; }
.journey-section .journey-hint { font-size: 11px; margin-top: 12px; color: #bcbfb5; }
.route-legs { margin-top: 24px; border-top: 1px solid #ffffff26; }
.route-leg { border-bottom: 1px solid #ffffff26; }
.route-leg summary { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 15px 0; font-size: 12px; cursor: pointer; list-style: none; }
.route-leg summary::-webkit-details-marker { display: none; }
.route-leg summary:hover, .route-leg[open] summary { color: var(--route-accent); }
.route-number { color: #abae9f; font-size: 10px; flex: 0 0 22px; }
.route-toggle { margin-left: auto; font-size: 22px; line-height: 1; }
.route-leg[open] .route-toggle { transform: rotate(45deg); }
.route-description { padding: 0 4px 22px 36px; }
.journey-section .route-description p { font-size: 12px; margin-top: 12px; }
.journey-section .route-description .route-road { margin-top: 0; color: var(--route-accent); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.route-reset { border: 0; padding: 14px 0; background: none; color: #dddccf; font: inherit; font-size: 11px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.journey-section .route-draft-note { border-left: 2px solid #e6ac7366; padding-left: 16px; color: #bdbeb4; font-size: 11px; margin-top: 24px; }
.journey-download { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 28px 0; margin-top: 24px; border-top: 1px solid #ffffff26; border-bottom: 1px solid #ffffff26; }
.journey-download h3 { font-size: 25px; margin: 0; }
.journey-download p { font-size: 11px; margin-top: 8px !important; max-width: 62ch !important; }
.journey-download-links { display: flex; gap: 12px; }
.journey-download .button { margin: 0; min-width: 112px; justify-content: space-between; gap: 24px; font-size: 12px; padding: 12px 18px; }
.journey-photo { margin: 42px 0 0; position: relative; }
.journey-photo img { width: 100%; height: auto; aspect-ratio: 2.8; object-fit: cover; object-position: center 44%; filter: saturate(.7); }
.journey-photo figcaption { font-size: 10px; color: #bdbeb4; margin-top: 10px; }
.journey-map-dialog { background: #1b2520; color: #f3f4ef; border: 1px solid #697561; padding: 0; max-width: min(1100px,calc(100vw - 32px)); width: calc(100vw - 32px); max-height: calc(100dvh - 32px); }
.journey-map-dialog[open] { display: flex; flex-direction: column; }
.journey-map-dialog::backdrop { background: #080d0bef; }
.map-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid #ffffff26; }
.journey-section .map-dialog-bar h2 { font-size: 25px; margin: 0; }
.map-dialog-bar button { font: inherit; font-size: 12px; background: none; color: inherit; border: 1px solid #697561; padding: 10px 14px; cursor: pointer; flex-shrink: 0; }
.map-dialog-scroll { min-height: 0; overflow: auto; }
.map-dialog-scroll img { width: 100%; height: auto; max-width: none; }
.journey-section .journey-map-dialog > p { font-size: 10px; margin: 0; padding: 12px 20px; }
body.journey-map-open { overflow: hidden; }
.journey-section :focus-visible, .journey-intro :focus-visible { outline: 2px solid #e6ac73; outline-offset: 5px; }
[hidden] { display: none !important; }
@media(min-width: 900px) {
 .journey-intro { grid-template-columns: 1fr 1fr; gap: 42px 56px; }
 .journey-section-heading { grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }
 .journey-route-layout { grid-template-columns: minmax(0,1.7fr) minmax(290px,1fr); gap: 36px; }
}
@media(min-width: 1300px) {
 .journey-route-layout { gap: 52px; }
 .journey-itinerary { padding-top: 8px; }
 .route-leg summary { font-size: 14px; min-height: 72px; }
 .journey-section .journey-hint, .journey-section .route-draft-note, .journey-section .route-description p { font-size: 12px; }
}
@media(max-width: 599px) {
 .journey-intro { padding-top: 36px; gap: 28px; }
 .journey-stats { gap: 10px; padding: 22px 0; }
 .journey-stats > div + div { padding-left: 12px; }
 .journey-stats dt { font-size: 9px; }
 .journey-stats dd { font-size: 32px; }
 .journey-section { padding-top: 36px; }
 .journey-map-column { margin: 0 -12px; }
 .journey-map-caption { padding: 0 12px; font-size: 9px; }
 .map-expand { font-size: 10px; right: 8px; padding: 9px; }
 .journey-download { align-items: start; }
 .journey-photo img { aspect-ratio: 1.6; }
 .map-dialog-bar { padding: 12px; gap: 12px; }
 .journey-section .map-dialog-bar h2 { font-size: 21px; }
 .map-dialog-bar button { font-size: 10px; padding: 8px; }

}
@media(prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .route-map [data-leg] { transition: none; }
}
@media print {
 .journey-jumps, .map-expand, .route-reset, .journey-download, .journey-photo, .journey-map-dialog { display: none !important; }
 .journey-route-layout { display: block; }
 .journey-map-column { break-inside: avoid; }
}
.journey-tabs { display: flex; gap: 0; border-bottom: 1px solid #ffffff26; margin-bottom: 28px; }
.journey-tabs button { color: #bdbeb4; background: none; font: inherit; font-size: 11px; padding: 12px 12px 12px 0; margin-right: 20px; cursor: pointer; border: 0; border-bottom: 2px solid transparent; }
.journey-tabs button[aria-selected="true"] { color: var(--route-accent); border-bottom-color: var(--route-accent); }
.journey-places { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid #ffffff26; }
.journey-places li { border-bottom: 1px solid #ffffff26; }
.journey-places a { display: flex; align-items: center; gap: 12px; padding: 18px 0; text-decoration: none; font-size: 13px; }
.journey-places a:hover, .journey-places a:focus-visible { color: var(--route-accent); }
.place-number { color: #acb29e; font-size: 10px; }
.place-time { margin-left: auto; color: var(--route-accent); font-size: 11px; white-space: nowrap; }
.map-stop.is-highlighted .stop-ring { fill: #e6ac73; stroke: #fff1cf; stroke-width: 4px; }
#loop-panel { margin-top: 28px; }
.journey-tabs:not([hidden]) ~ #loop-panel { margin-top: 0; }
.map-expand { top: 14.5%; }

.map-zoom-controls { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-bottom: 1px solid #ffffff26; }
.map-zoom-controls button { font: inherit; font-size: 12px; padding: 8px 12px; border: 1px solid #697561; color: inherit; background: transparent; cursor: pointer; min-width: 40px; }
.map-zoom-controls button:disabled { opacity: .35; cursor: default; }
.map-zoom-controls span { font-size: 10px; color: #c0c8b7; }
.map-pan-hint { margin-left: auto; }
@media(max-width: 599px) { .map-zoom-controls { padding: 10px 12px; } .map-pan-hint { display: none; } }
/* Interactive terrain map, with the printable map as a network/WebGL fallback. */
.journey-live-map { position: absolute; inset: 0; z-index: 2; visibility: hidden; font-family: var(--font-body); }
.live-map-ready .journey-live-map { visibility: visible; }
.live-map-ready > .route-map { visibility: hidden; }
.live-map-ready .map-expand { z-index: 3; top: auto; bottom: 48px; }
.journey-map-tools { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 0; }
.journey-map-tools button { font: inherit; font-size: 11px; color: #dedfce; background: transparent; border: 1px solid #ffffff35; padding: 10px 12px; cursor: pointer; }
.journey-map-tools button[aria-pressed="true"] { border-color: #e6ac73; color: #e6ac73; }
.live-map-status { width: 100%; font-size: 10px; color: #b6bba9; }
.live-place-marker { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #263328; background: #f0e5c9; color: #19251c; font: 11px var(--font-body); cursor: pointer; box-shadow: 0 2px 10px #0008; }
.live-place-marker:hover, .live-place-marker:focus-visible { background: #e6ac73; border-color: #fff; }
.journey-live-map .maplibregl-popup-content { background: #222d24; color: #f3f4ef; padding: 22px; font-family: var(--font-body); border: 1px solid #abb593; }
.journey-live-map .maplibregl-popup-content strong { display: block; margin-bottom: 10px; font-size: 14px; }
.journey-live-map .maplibregl-popup-content a { color: #e6ac73; font-size: 11px; }
.journey-live-map .maplibregl-popup-close-button { color: #fff; font-size: 20px; padding: 2px 7px; }
.journey-live-map .maplibregl-popup-tip { border-top-color: #222d24; border-bottom-color: #222d24; }
.journey-live-map .maplibregl-ctrl-attrib { font-family: sans-serif; }
.journey-places li { display: flex; align-items: center; gap: 10px; }
.journey-places a { flex: 1; }
.place-locate { background: transparent; border: 1px solid #ffffff30; color: #e6ac73; padding: 9px 6px; font: 10px var(--font-body); cursor: pointer; }
.place-locate:hover { border-color: #e6ac73; }
.journey-elevation { border-top: 1px solid #ffffff26; border-bottom: 1px solid #ffffff26; padding: 20px 0 12px; margin-top: 6px; }
.elevation-heading h3 { font-size: 23px; margin: 0 0 10px; }
.elevation-heading output, .elevation-axis, .profile-control { font-size: 11px; color: #e6ac73; }
.elevation-chart { display: block; width: 100%; height: 125px; margin-top: 12px; cursor: crosshair; }
.elevation-axis { display: flex; justify-content: space-between; color: #b6bba9; }
.profile-control { display: flex; align-items: center; gap: 12px; margin-top: 12px; color: #b6bba9; }
.profile-control input { flex: 1; min-width: 0; accent-color: #e6ac73; }
.journey-section p.elevation-note { font-size: 10px; color: #b6bba9; margin-top: 10px; }
.profile-map-dot { width: 13px; height: 13px; border: 2px solid white; border-radius: 50%; background: #dd884b; box-shadow: 0 0 0 5px #e6ac7344; }
@media(max-width:599px) { .journey-map-tools,.journey-elevation { margin-left: 12px; margin-right: 12px; } .journey-download-links { flex-wrap: wrap; } .journey-download .button { min-width: 80px; gap: 10px; } }
.journey-map-frame .journey-live-map { position: absolute; width: 100%; height: 100%; }
