/* Map and travel stages share one design in the tour and the admin preview. */
.route-has-details{width:100%;min-width:0;display:block!important;box-sizing:border-box}
.tour-route-section:has(.route-has-details) .tour-route-grid{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
.tour-route-section:has(.route-has-details) .tour-route-copy{max-width:920px}
.tour-route-section .tour-route-map.route-has-details{width:100%!important;max-width:none!important;margin:0!important}
.route-geographic-map{margin:0;border-radius:16px;overflow:hidden;background:#f3f6ef;border:1px solid #d5dfd0;color:#294333}
.route-map-enlarge{position:relative;display:block!important;width:100%!important;height:auto!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#f3f6ef!important;cursor:zoom-in;line-height:0!important;overflow:hidden}
.route-map-enlarge img{display:block!important;width:100%!important;max-height:620px!important;height:auto!important;object-fit:contain!important;object-position:center!important;background:#f3f6ef}
.route-map-zoom-hint{position:absolute;right:12px;bottom:12px;border-radius:8px;padding:9px 12px;background:rgba(255,255,255,.94);color:#214633;font:500 13px/1.4 Manrope,Arial,sans-serif;box-shadow:0 2px 12px #163e291a}
.route-geographic-map figcaption{padding:12px 16px;color:#506850;font:400 13px/1.5 Manrope,Arial,sans-serif;overflow-wrap:anywhere}
.route-journey{margin-top:18px;padding:24px;border:1px solid #d9e2d2;border-radius:16px;background:#fafcf7;color:#234632;text-align:left;box-sizing:border-box}
.route-journey h3{margin:0 0 20px!important;color:#234632!important;font:400 29px/1.1 var(--display,Georgia),serif!important}
.route-journey ol{margin:0!important;padding:0!important;list-style:none!important}
.route-leg{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:start;gap:14px;padding:18px 0!important;border-top:1px solid #e0e7d9;margin:0!important;position:relative;color:#234632!important}
.route-leg:first-child{border-top:0;padding-top:0!important}
.route-leg:last-child{padding-bottom:0!important}
.route-leg-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e8efe4;color:#365640}
.route-leg-walk .route-leg-icon{background:#e2efda;color:#3a6b34}
.route-leg-icon svg{width:24px;height:24px}
.route-leg-mode{display:block;margin-bottom:5px;font:500 12px/1.4 Manrope,Arial,sans-serif;color:#647660}
.route-leg-copy strong{display:block;font:600 16px/1.5 Manrope,Arial,sans-serif!important;color:#234632!important;overflow-wrap:anywhere}
.route-leg-copy p{font:400 14px/1.5 Manrope,Arial,sans-serif!important;color:#60705c!important;margin:6px 0 0!important}
.route-leg-meta{display:grid;gap:5px;text-align:right;max-width:180px}
.route-leg-meta b{font:600 18px/1.5 Manrope,Arial,sans-serif!important;color:#2f5535!important;white-space:nowrap}
.route-leg-meta span{font:400 13px/1.5 Manrope,Arial,sans-serif;color:#60705c}
.route-image-fields{margin:24px 0;padding:20px;border:1px solid #dce6d6;border-radius:14px;background:#f7faf3}
.route-image-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 18px}
.route-segment-row{align-items:start!important}
.route-segment-row .repeater-inputs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.route-segment-row label{font-size:12px;margin:0!important;display:grid;gap:6px}
.route-preview-map.route-has-details{padding:12px;display:block;background:#edf3e7}
.route-preview-map .route-journey{padding:18px}
@media(max-width:700px){
 .route-journey{padding:20px 16px;margin-top:14px}
 .route-journey h3{font-size:27px!important}
 .route-leg{grid-template-columns:36px minmax(0,1fr)!important;gap:10px;padding:16px 0!important}
 .route-leg-icon{width:36px;height:36px;border-radius:10px}
 .route-leg-icon svg{width:22px;height:22px}
 .route-leg-meta{grid-column:2;display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;text-align:left;max-width:none}
 .route-leg-copy strong{font-size:15px!important}
 .route-map-zoom-hint{font-size:12px;padding:7px 10px}
 .route-segment-row .repeater-inputs{grid-template-columns:minmax(0,1fr)!important}
 .route-image-fields{padding:15px}
}
/* Keep the bright upper part of the invitation photo on phones. */
@media(max-width:900px){
 :root body.catalog-page.catalog-cards-view .sidebar-promo-bg{background-position:center,center top!important}
}
