.single-route .inner-hero__actions { margin-top: 26px; }
.route-content > :first-child { margin-top: 0; }
.route-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 28px; }
.route-facts div { padding: 18px 20px; border: 1px solid #ececec; border-radius: 12px; background: #fafafa; }
.route-facts dt { color: #777; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.route-facts dd { margin: 6px 0 0; color: #171717; font-weight: 700; }
.route-map-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr); gap: 24px; }
.route-map-layout--full { grid-template-columns: minmax(0, 1fr); }
.route-map { min-height: 440px; overflow: hidden; border-radius: 18px; background: linear-gradient(145deg, #eef5f1, #dce9e3); box-shadow: 0 18px 50px rgba(21, 55, 38, .12); }
.route-map iframe { width: 100%; height: 440px; border: 0; }
.route-map-illustration { margin: 22px 0 0; overflow: hidden; border-radius: 16px; background: #f6f8f7; }
.route-map-illustration img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.route-map-illustration figcaption { padding: 10px 14px; color: #657069; font-size: .78rem; }
.route-map__placeholder { min-height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 30px; text-align: center; }
.route-map__placeholder > span { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: #fff; color: #21734a; font-size: 34px; box-shadow: 0 10px 28px rgba(21, 55, 38, .12); }
.route-map__placeholder small { max-width: 390px; color: #68736d; }
.route-stops { position: relative; display: grid; gap: 0; margin: 0; padding: 5px 0; list-style: none; }
.route-stops::before { content: ""; position: absolute; top: 31px; bottom: 31px; left: 18px; width: 2px; background: linear-gradient(#21734a, #e3a323); transform-origin: top; animation: route-line 1s ease both; }
.route-stops li { position: relative; z-index: 1; display: grid; grid-template-columns: 38px 1fr; gap: 13px; align-items: center; min-height: 76px; opacity: 0; transform: translateX(14px); transition: opacity .5s ease, transform .5s ease; }
.route-stops li.is-visible { opacity: 1; transform: none; }
.route-stops li > span { display: grid; place-items: center; width: 38px; height: 38px; border: 4px solid #fff; border-radius: 50%; background: #21734a; color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 5px 18px rgba(21, 55, 38, .2); }
.route-stops li:last-child > span { background: #e3a323; }
.route-stops small, .route-stops strong { display: block; }
.route-stops small { margin-bottom: 3px; color: #777; }
.route-stops strong { line-height: 1.35; }
.route-map-section { padding: clamp(24px, 4vw, 38px); border: 1px solid #e3ebe6; border-radius: 22px; background: linear-gradient(160deg, #fff 0%, #f7fbf8 100%); }
.route-journey { margin-top: 22px; padding: 20px; border: 1px solid #e1e9e4; border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(20, 52, 35, .07); }
.route-timeline-shell { position: relative; overflow-x: auto; scrollbar-width: thin; }
.route-journey .route-stops { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); width: max(100%, calc(var(--route-stop-count) * 150px)); overflow-x: visible; gap: 0; padding: 12px 0 18px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.route-journey .route-stops::before { top: 30px; right: calc(50% / var(--route-stop-count)); bottom: auto; left: calc(50% / var(--route-stop-count)); width: auto; height: 2px; transform: none; animation: none; }
.route-journey .route-stops li,
.route-journey .route-stops li.is-visible { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; text-align: center; scroll-snap-align: start; opacity: 1; transform: none; transition: none; }
.route-journey .route-stops li > span { box-sizing: border-box; flex: 0 0 38px; width: 38px; min-width: 38px; height: 38px; min-height: 38px; margin-inline: auto; }
.route-journey .route-stops li div { min-width: 0; }
.route-journey .route-stops strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes route-line-horizontal { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.route-map-open { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 15px 17px; border: 1px solid #dbe8e1; border-radius: 14px; background: #f5faf7; color: #163d2a; text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.route-map-open > span:first-child { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #21734a; color: #fff; font-size: 18px; }
.route-map-open strong, .route-map-open small { display: block; }
.route-map-open small { margin-top: 2px; color: #6a746e; }
.route-map-open:hover { border-color: #21734a; box-shadow: 0 12px 26px rgba(21, 55, 38, .1); transform: translateY(-2px); }
.route-journey .route-map-open { max-width: 420px; margin: 22px auto 0; }

.route-places { margin-top: 34px; padding-top: 28px; border-top: 1px solid #e7ece9; }
.route-places__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.route-places__header h3 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.route-places__controls { display: flex; gap: 8px; }
.route-places__controls button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #dce5e0; border-radius: 50%; background: #fff; color: #21734a; cursor: pointer; }
.route-places__controls button:hover, .route-places__controls button:focus-visible { border-color: #21734a; background: #f2f8f4; }
.route-places__controls button:disabled { opacity: .35; cursor: default; }
.route-places__viewport { overflow-x: auto; padding: 2px 2px 14px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.route-places__track { display: flex; flex-wrap: nowrap; gap: 16px; width: max-content; margin: 0; padding: 0; list-style: none; }
.route-places__track > li { flex: 0 0 clamp(230px, 28vw, 285px); width: clamp(230px, 28vw, 285px); scroll-snap-align: start; }
.route-place-card { height: 100%; overflow: hidden; border: 1px solid #e1e7e3; border-radius: 15px; background: #fff; box-shadow: 0 9px 25px rgba(20, 40, 30, .07); }
.route-place-card figure { position: relative; margin: 0; }
.route-place-card figure > img, .route-place-card__placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.route-place-card__placeholder { display: grid; place-items: center; background: linear-gradient(145deg, #edf6f1, #dceae2); color: #21734a; font-size: 38px; }
.route-place-card figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; gap: 9px; padding: 24px 14px 12px; background: linear-gradient(transparent, rgba(5, 25, 15, .86)); color: #fff; }
.route-place-card figcaption span { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #2879e5; font-size: .75rem; }
.route-place-card__body { padding: 15px; }
.route-place-card__body p { margin: 0; color: #59655e; font-size: .82rem; line-height: 1.55; }
.route-place-card__body p + p { margin-top: 8px; }
.route-place-card__location { color: #47715a !important; }

/* Compact Route pricing: clearer hierarchy and less spreadsheet-like. */
.single-route .tx16-topic-price { margin: 30px 0 10px; padding: 0; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 18px 48px rgba(20, 40, 30, .09); }
.single-route .tx16-topic-price__header { max-width: none; margin: 0; padding: 26px 28px 22px; border-radius: 20px 20px 0 0; background: linear-gradient(125deg, #153d2a, #21734a); }
.single-route .tx16-topic-price__header .eyebrow { color: #f4c15d; }
.single-route .tx16-topic-price__header h2 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.single-route .tx16-topic-price__header > p:last-child { color: rgba(255,255,255,.78); }
.single-route .tx16-topic-price__table-wrap { border: 0; border-radius: 0; }
.single-route .tx16-topic-price__table { min-width: 720px; }
.single-route .tx16-topic-price__table thead th { position: sticky; top: 0; background: #f2f6f3; color: #294336; font-size: .7rem; letter-spacing: .06em; }
.single-route .tx16-topic-price__table tbody tr { transition: background .2s ease; }
.single-route .tx16-topic-price__table tbody tr:hover { background: #f7fbf8; }
.single-route .tx16-topic-price__table tbody th { min-width: 190px; }
.single-route .tx16-topic-price__table tbody td:last-child strong { display: inline-block; padding: 7px 11px; border-radius: 999px; background: #fff2d7; color: #8a5600; font-size: .92rem; white-space: nowrap; }
.single-route .tx16-topic-price__footer { margin: 0; padding: 20px 24px 24px; border-top: 1px solid #e7ece9; background: #fbfcfb; border-radius: 0 0 20px 20px; }
.single-route .tx16-topic-price__footer .button { min-height: 42px; }
@keyframes route-line { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.route-hub__body { padding: 80px 0; }
.route-hub__body > .container > .entry-content { max-width: 850px; margin-bottom: 40px; }
.route-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.route-card { overflow: hidden; border: 1px solid #ececec; border-radius: 16px; background: #fff; box-shadow: 0 15px 40px rgba(20, 40, 30, .07); transition: transform .25s ease, box-shadow .25s ease; }
.route-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(20, 40, 30, .12); }
.route-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.route-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.route-card:hover img { transform: scale(1.04); }
.route-card__body { padding: 24px; }
.route-card__body h2 { margin: 6px 0 12px; font-size: 22px; line-height: 1.35; }
.route-card__body h2 a { color: inherit; text-decoration: none; }
.route-card__link { color: #21734a; font-weight: 700; text-decoration: none; }
@media (max-width: 960px) { .route-map-layout { grid-template-columns: 1fr; } .route-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.route-facts, .route-card-grid { grid-template-columns: 1fr; }
	.route-map, .route-map iframe, .route-map__placeholder { min-height: 340px; height: 340px; }
	.route-hub__body { padding: 54px 0; }
	.route-map-section { margin-inline: -8px; padding: 22px 14px; border-radius: 18px; }
	.route-journey { padding: 14px 10px; }
	.single-route .tx16-topic-price { box-shadow: none; }
	.single-route .tx16-topic-price__header { padding: 22px 18px; border-radius: 16px; }
	.single-route .tx16-topic-price__table-wrap { overflow: visible; }
	.single-route .tx16-topic-price__table, .single-route .tx16-topic-price__table tbody { display: block; min-width: 0; }
	.single-route .tx16-topic-price__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.single-route .tx16-topic-price__table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 18px; margin: 14px 0; padding: 18px; border: 1px solid #e2e9e5; border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgba(20, 40, 30, .06); }
	.single-route .tx16-topic-price__table tbody th { grid-column: 1 / -1; min-width: 0; padding: 0 0 13px; border-bottom: 1px solid #e8ece9; font-size: 1.02rem; }
	.single-route .tx16-topic-price__table tbody td { display: block; padding: 0; border: 0; white-space: normal; }
	.single-route .tx16-topic-price__table tbody td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: #7a847e; font-size: .67rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
	.single-route .tx16-topic-price__table tbody td:last-child { grid-column: 1 / -1; padding-top: 4px; }
	.single-route .tx16-topic-price__table tbody td:last-child strong { font-size: 1.05rem; }
	.single-route .tx16-topic-price__footer { align-items: stretch; flex-direction: column; padding: 18px; border-radius: 0 0 16px 16px; }
	.single-route .tx16-topic-price__footer .button-group, .single-route .tx16-topic-price__footer .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .route-stops::before { animation: none; } .route-stops li { opacity: 1; transform: none; transition: none; } .route-card, .route-card img { transition: none; } }
