/* Variants of the existing KB inner-page template for service, directory and editorial pages. */
body.kb-public-layout main .route-cover {
  align-items:center; padding-block:clamp(24px,4vw,56px);
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); column-gap:clamp(24px,5vw,80px);
}
body.kb-public-layout .cover-heading h1 {max-width:22ch; overflow-wrap:break-word}
body.kb-public-layout .cover-heading h1 span {display:block; font-size:clamp(18px,2vw,26px); line-height:1.28; margin:12px 0 0; letter-spacing:-.02em}
body.kb-public-layout .cover-panel .kb-hero-summary {margin:0; max-width:66ch; font-size:clamp(16px,1.2vw,18px); line-height:1.6}
body.kb-public-layout main .cover-panel {align-self:center; display:grid; grid-template-columns:1fr; gap:18px; justify-items:start; border:0}
body.kb-public-layout .cover-panel .kb-hero-actions {width:auto; max-width:100%; display:flex; flex-wrap:wrap; gap:8px; grid-column:auto}
body.kb-public-layout .cover-panel .kb-hero-actions a {min-height:44px; width:auto; max-width:100%; white-space:normal; padding-inline:20px}
body.kb-public-layout main .section-nav {position:static; display:flex; flex-wrap:wrap; justify-content:flex-start; gap:0 22px; padding-block:8px}
body.kb-public-layout main .section-nav a {white-space:normal; overflow-wrap:anywhere; padding-block:8px}
body.kb-public-layout #opening .kb-pickup-help {max-width:78ch; margin:0 clamp(16px,3vw,46px) 24px}
body.kb-public-layout[data-kb-layout="article"] main .route-cover {grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "booking";gap:20px}
body.kb-public-layout[data-kb-layout="article"] .cover-heading h1 {max-width:28ch}
body.kb-public-layout[data-kb-layout="article"] .content-copy {max-width:78ch}
body.kb-public-layout[data-kb-layout="directory"] .kb-directory-link {min-width:0;overflow-wrap:anywhere}
body.kb-public-layout .kb-page :is(.kb-section,.content-container,.content-copy,.kb-link-section,.cover-panel,.kb-directory,.kb-route-fares-scroll) {min-width:0}
body.kb-public-layout .kb-page :is(h2,h3,td,th,a) {overflow-wrap:break-word}
body.kb-public-layout .kb-page :is(.kb-entry-preview,.kb-link-section) {box-sizing:border-box}
@media(max-width:760px){
 body.kb-public-layout main .route-cover {grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "booking";gap:18px}
 body.kb-public-layout main .cover-panel {width:100%}
 body.kb-public-layout .cover-panel .kb-hero-actions {width:100%}
 body.kb-public-layout .cover-panel .kb-hero-action--primary {width:100%}
}
@medianot all{
 body.kb-public-layout .cover-heading h1 span {color:var(--muted)!important}
 body.kb-public-layout :is(select,input,textarea,button,[role=button]) {color-scheme:dark}
 body.kb-public-layout .kb-page :is(select,input:not([type=checkbox]):not([type=radio]),textarea,button) {background-color:var(--raised)!important;color:var(--ink)!important}
 body.kb-public-layout :is(.kb-live-entry,.kb-entry-preview article>a,.closing-button){background:var(--action)!important;color:white!important}
 body.kb-public-layout .kb-page :is(.kb-entry-preview article,.kb-price-table thead,.kb-context-links) {background-color:var(--panel)!important}
 body.kb-public-layout .kb-page a:focus-visible {outline:3px solid var(--link)!important}
}
body.map.studio.kb-public-layout .route-cover .cover-panel {max-width:none;align-self:start;justify-self:stretch;display:flex;flex-direction:column;align-items:flex-start;gap:16px}
body.map.studio.kb-public-layout .route-cover .cover-panel .kb-hero-actions {display:flex;width:auto;order:1}
body.map.studio.kb-public-layout .route-cover .cover-panel .kb-hero-summary {order:0}
body.map.studio.kb-public-layout .route-cover .cover-heading {align-self:start}
@media (min-width:761px){
 body.map.studio.kb-public-layout:not([data-kb-layout="article"]) main .route-cover {grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"heading booking"}
}
@media(max-width:760px){
 body.map.studio.kb-public-layout .route-cover .cover-panel .kb-hero-actions {width:100%}
}
@medianot all{
 body.kb-public-layout .kb-luggage {--ink:#f4f3f1}
 body.map.studio.kb-public-layout .kb-luggage :is(.kb-luggage-inputs,.kb-luggage-card){background:var(--panel)!important}
 body.map.studio.kb-public-layout .kb-luggage [data-status=estimated_fit]>.kb-luggage-status {background:#17352c!important;color:#bcf1d8!important}
 body.map.studio.kb-public-layout .kb-luggage [data-status=model_required]>.kb-luggage-status {background:#372e1c!important;color:#f7da91!important}
}
