/* Content-sized cards: never stretch artwork to fill the viewport. */
@media(min-width:1001px){
 #routes.route-section{height:auto;padding-top:32px;padding-bottom:40px;display:block}
 #routes .section-head{max-width:none;margin-bottom:28px}
 #routes #routes-title{font-size:clamp(30px,3vw,40px);line-height:1.25;letter-spacing:-.025em}
 #routes .title-line,#routes .title-phrase{display:inline;white-space:normal}
 #routes .section-head>p{margin-top:12px;font-size:16px;line-height:1.6}
 #routes .route-grid{grid-template-columns:1.15fr 1fr 1fr;grid-template-rows:auto;gap:22px;align-items:stretch}
 #routes .route-card{min-height:0;height:auto;grid-row:auto;display:flex;flex-direction:column;padding:16px 18px 18px;border-radius:18px}
 #routes .route-image,#routes .route-try .route-image{height:clamp(160px,22vh,210px);min-height:0;flex:0 0 auto}
 #routes .route-image img{height:100%;min-height:0}
 #routes .route-label{margin:14px 0 5px;padding:0;font-size:12px;line-height:1.6}
 #routes .route-card h3{margin:0 0 9px;font-size:21px;line-height:1.4}
 #routes .route-card>p:not(.route-label){font-size:14px;line-height:1.65;margin:0 0 16px}
 #routes .route-card>span{margin-top:auto;min-height:40px;padding-top:12px;align-items:center;font-size:14px}
}
@media(min-width:1001px) and (max-height:740px){
 #routes.route-section{padding-top:20px;padding-bottom:24px}
 #routes #routes-title{font-size:32px;line-height:1.2}
 #routes .section-head{margin-bottom:20px}
 #routes .section-head>p{margin-top:8px;font-size:15px}
 #routes .route-card{padding:12px 14px 14px}
 #routes .route-image,#routes .route-try .route-image{height:145px}
 #routes .route-label{margin-top:10px}
 #routes .route-card h3{font-size:19px;margin-bottom:7px}
 #routes .route-card>p:not(.route-label){font-size:13px;margin-bottom:12px}
 #routes .route-card>span{min-height:38px;padding-top:9px}
}

/* B: complete objects remain visible at every card size. */
#routes .route-image.route-mockup{padding:0;background:#ffe8cb;display:flex;align-items:center;justify-content:center;width:100%;height:auto;aspect-ratio:3/2;align-self:start}
#routes .route-image.route-mockup img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;border:0;border-radius:0;box-shadow:none;transform:none}
@media(min-width:761px){
 #routes .route-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:1001px) and (max-height:650px){
 #routes .route-image.route-mockup{width:min(100%,240px);align-self:center}
}
