/* Launch components: desktop ratio, 40px headings and 60px mobile sections. */
:root,html[data-theme=dark]{--acc-ink:#141117}
html body .dl-go,html body .ha-find,html body .go,html body .pf-search,html body .nd2-go{color:#141117!important}
.wrap{min-width:0;box-sizing:border-box}.wrap>*{min-width:0;max-width:100%;box-sizing:border-box}
html body .two{grid-template-columns:minmax(0,1fr) minmax(0,1.75fr)}
.ct-w,.mo-w,.rail{max-width:100%;min-width:0;overflow-x:auto}
.ct{min-width:100%}
html body .cheap .ct th,html body .cheap .ct td{display:table-cell!important}
.page-nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding-top:24px;padding-bottom:24px}
.page-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:24px;color:var(--ink);text-decoration:none}
section[id]{scroll-margin-top:130px}
.route-search{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:18px;background:var(--acc);color:#141117;border-radius:24px;font-weight:700;text-decoration:none}
.example-date{display:block!important;font-size:14px!important;line-height:1.4!important;color:var(--ink2)!important;margin-top:6px}
html body .dl-go{white-space:normal;font-size:14px;text-align:center;max-width:140px}
html body .dl-g.cards-2{grid-template-columns:repeat(2,minmax(0,1fr))}
html body .dl-g.cards-1{grid-template-columns:minmax(0,1fr);max-width:560px;margin-left:auto}
:focus-visible{outline:3px solid var(--acc);outline-offset:4px}
.mobile-menu{position:fixed;z-index:500;top:78px;left:16px;right:16px;max-height:80vh;overflow:auto;padding:20px;background:var(--tint,#fff);color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 40px #0004}
.mobile-menu[hidden]{display:none}
.mobile-menu a{display:flex;align-items:center;min-height:44px;padding:4px 12px;color:inherit;text-decoration:none}
.booking-note{font-size:14px;line-height:1.6;padding:20px 0;color:var(--ink2)}
.q-opts button,.q-opts a,header.site button{min-height:44px;min-width:44px}
@media(max-width:900px){
 html body .wrap{width:100%;max-width:100%;padding-left:16px;padding-right:16px}
 html body .two,html body .sp2-t,html body .plan-g{grid-template-columns:minmax(0,1fr)!important}
 html body .wrap>*,html body .booking-card,html body .ha-fields,html body .ha-pill{min-width:0;max-width:100%;box-sizing:border-box}
 html body section{padding-top:60px;padding-bottom:60px}
 html body section h2{margin-bottom:24px;font-size:40px;overflow-wrap:break-word}
 html body p{margin-bottom:16px}
 html body .ct{width:max-content;min-width:100%}
 html body .rail{width:100%;margin-left:0;margin-right:0}
 .ph h1{overflow-wrap:break-word}
}
@media(max-width:600px){
 html body .dl-cv{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
 html body .dl-cv>span{padding:8px;border:0}
 html body .dl-cv b,html body .dl-cv i{font-size:13px;line-height:1.4;white-space:normal}
 html body .dl-g.cards-2{grid-template-columns:minmax(0,1fr)}
 html body:has(.pin){padding-bottom:calc(80px + env(safe-area-inset-bottom))}
 html body .pin{padding-bottom:env(safe-area-inset-bottom)}
 html body .mo{min-width:520px}
}

@media(min-width:901px){
 html body section:has(.dl-g.cards-1) .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.75fr);column-gap:64px;align-items:start}
 html body section:has(.dl-g.cards-1) .wrap>h2,html body section:has(.dl-g.cards-1) .wrap>.ab-t,html body section:has(.dl-g.cards-1) .wrap>.sec-head{grid-column:1}
 html body section:has(.dl-g.cards-1) .ab-below,html body section:has(.dl-g.cards-1) .wrap>.dl-g{grid-column:2;grid-row:1/span 3;margin-top:0}
}
html body .bt-go,html body .i-tabs button.on,html body .nd-k,html body .lf-t i,html body .dc2:hover .d2-go,html body .lg-l a:hover,html body .faq details[open] summary:after,html body .bc-go,html body .nd2-big,html body .btn.acc,html[data-theme=dark] body span.btn,html[data-theme=dark] body .duo .btn{color:#141117!important}
:where(.dl-g,.dgrid,.stp-g,.ic-g,.plan-t,.need-g,.gd2-g)>*{min-width:0}
@media(max-width:600px){header.site .hdr-right{flex-shrink:0;gap:4px}header.site .lang{display:none}header.site .logo{min-width:0}header.site .lw b{font-size:clamp(20px,6vw,28px)}}
footer .booking-note{color:#d9d5de}footer .booking-note a{color:inherit;text-decoration:underline}
@media(max-width:820px){header.site .hdr-right .theme-t{display:none}}
.mobile-menu .mm-theme{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;margin:6px 0;padding:4px 12px;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.mobile-menu .mm-theme svg{width:20px;height:20px;flex:none}.mobile-menu .mm-theme .tt-sun{display:none}
html[data-theme=dark] .mobile-menu .mm-theme .tt-sun{display:block}html[data-theme=dark] .mobile-menu .mm-theme .tt-moon{display:none}
@media(max-width:820px){header.site .burger{font-size:0!important;width:42px;height:42px;padding:0!important;align-items:center;justify-content:center;border-radius:8px}header.site .burger::before{content:"";display:block;width:20px;height:14px;background:linear-gradient(currentColor,currentColor) top/100% 2px no-repeat,linear-gradient(currentColor,currentColor) center/100% 2px no-repeat,linear-gradient(currentColor,currentColor) bottom/100% 2px no-repeat}}
html .rc-pop .rc-cal__month,html .rc-pop .rc-cal__grid,html .rc-pop .rc-cal__cell{background:transparent!important}
html .rc-pop .rc-cal__cell:hover:not(.is-past):not(.is-selected):not(.is-between){background:var(--tint2)!important}
html .rc-pop .rc-cal__cell.is-between{background:var(--tint2)!important;color:var(--ink)!important}
html .rc-pop .rc-cal__cell.is-selected{background:var(--acc)!important;color:var(--acc-ink)!important}
html .rc-pop .rc-cal__cell.is-past{color:var(--ink2)!important;opacity:.45}
html .rc-pop .rc-cal__weekdays{color:var(--ink2)!important}
html .rc-pop .rc-sheet__header,html .rc-pop .rc-sheet__footer{background:inherit!important}html .rc-pop .rc-sheet__close{background:var(--tint2)!important;color:var(--ink)!important}html .rc-pop .rc-sheet__grip{background:var(--line)!important}
html[data-theme=dark].hero-e #qc-hero .hero--alt .ha-pill__trigger:hover,html[data-theme=dark] #qc-hero .hero--alt .ha-pill__trigger:hover{background:var(--tint2)!important;color:var(--ink)!important}
/* hero key facts (home and inner pages): icon and text start at the top, so a longer translation never pushes the value down */
html .kf>div{align-content:start;align-items:start}html .kf .kf-i{align-self:start}
/* car spec row: each spec stays on one line, the row wraps instead */
html .dl-sp{flex-wrap:wrap;row-gap:6px}html .dl-sp span{white-space:nowrap}
/* car card footer on phones: the button takes its own full-width row under the price, so long labels never stack three lines */
@media(max-width:700px){html body .dl-f{flex-wrap:wrap;gap:10px}html body .dl-f .dl-p{flex:1 1 auto}html body .dl-f .dl-go{flex:1 0 100%;max-width:none;text-align:center;padding:11px 14px!important}}
/* airport cards: the full airport name wraps instead of being cut off */
html .ap-t h3{white-space:normal;overflow:visible;text-overflow:clip;align-items:flex-start}html .ap-t h3 img{margin-top:.3em}
/* a lone card in any rail fills the row on phones */
@media(max-width:700px){html body .rail>:only-child{flex:0 0 100%!important}html body .rail:has(>:only-child){margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}}
/* "Travelling without a credit card" band on phones: the car sits in its own box; the desktop centring shift no longer lifts it over the button */
@media(max-width:700px){html body .quiz-band .quiz .art img{transform:none!important}}
/* section heads on phones: a side note drops under the heading instead of squeezing it into a narrow column */
@media(max-width:700px){html body .sec-head{flex-wrap:wrap;row-gap:10px}html body .sec-head>h2,html body .sec-head>p{flex:1 1 100%;max-width:100%}html body .sec-head>p{margin:0}}
/* hero key facts on phones: icon above the value so long words (German, Polish) get the full column; equal columns never push past the screen */
@media(max-width:700px){html body .kf{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body .kf>div{min-width:0;grid-template-columns:minmax(0,1fr)!important;align-content:start!important}html body .kf .kf-i{grid-row:auto!important;margin-bottom:8px}html body .kf b,html body .kf span{grid-column:1!important;overflow-wrap:break-word}html body .kf b{font-size:22px!important;hyphens:auto}}
/* photo cards (Airport pick-up, Delivery in the city...): in dark mode the text sits on the photo's fade as in light mode, not in a solid box with no padding */
html[data-theme=dark] body .duo .t{background:transparent!important;color:#fff!important}
/* sticky search bar built by launch.js on the homepages (inner pages carry their own .pin rules) */
.pin-home{position:fixed;left:0;right:0;top:var(--pt,106px);z-index:45;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 8px 24px rgba(20,18,24,.08);opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}
.pin-home.on{opacity:1;visibility:visible}
.pin-home .wrap{display:flex;align-items:center;gap:12px;height:64px}
.pin-home a.pf{flex:1;min-width:0;display:flex;align-items:center;height:44px;padding:0 16px;border:1.5px solid var(--line);border-radius:8px;color:var(--ink2);text-decoration:none;font-size:15px;white-space:nowrap;overflow:hidden}
.pin-home a.pf b{color:#2B2A31;margin-left:6px;overflow:hidden;text-overflow:ellipsis}
.pin-home a.go{height:44px;display:flex;align-items:center;padding:0 26px;border-radius:999px;background:var(--acc);color:var(--acc-ink);font-weight:800;text-decoration:none;white-space:nowrap}
@media(max-width:700px){.pin-home{top:auto;bottom:0;border-top:1px solid var(--line);border-bottom:0}.pin-home a.pf{display:none}.pin-home a.go{flex:1;justify-content:center}}
html[data-theme=dark] .pin-home{background:var(--ground)!important;border-color:var(--line)!important}html[data-theme=dark] .pin-home .pf{color:var(--ink2)!important}html[data-theme=dark] .pin-home .pf b{color:var(--ink)!important}
/* deal card button: always one line; it sits beside the price when it fits and drops under it, full width, when it does not */
html body .dl-f{flex-wrap:wrap;gap:10px}
html body .dl-f .dl-p{flex:0 1 auto;min-width:0}
html body .dl-go{white-space:nowrap;max-width:none;flex:1 0 auto;text-align:center}
/* only the search bar sticks: the header and the promo line scroll away with the page */
@media(min-width:701px){html.hero-e body .promo{position:absolute!important}html.hero-e body header.site{position:absolute!important}html body .pin,html body .pin-home{top:0!important}}
@media(max-width:700px){html body header.site{position:relative!important;top:auto!important}}
html:not(.hero-e) body header.site{position:relative!important;top:auto!important}
/* accent buttons on the deal cards and the sticky bar: a lighter weight */
html body .dl-go,html body .pin a.go{font-weight:700!important}
/* deal cards: the button's bottom edge sits on the baseline of the last price line, not on an empty 56px box */
html body .dl .dl-p{justify-content:flex-end}
html body .dl .dl-p>:last-child{line-height:1.15;text-box:trim-end cap alphabetic}
@supports not (text-box:trim-end cap alphabetic){html body .dl .dl-p>:last-child{margin-bottom:-.22em}}
/* car photos: every car is baked onto one 640x400 canvas, 65% of its height,
   wheels on the 88% floor line (the build rules normalize-fleet.mjs); the box keeps that shape so nothing rescales */
html body .dl .dl-pic img{aspect-ratio:640/400;object-fit:contain}

/* theme toggle: .hdr-right button gives 12px side padding, which pushed the 17px icon 4.5px right of centre */
html body header.site .hdr-right .theme-t{padding:0}

/* preview check, 2026-11-14: three layout faults measured on the live pages */
/* 1. headline and lede carried a 12px left margin, so they started right of the line the logo, search card and stats keep */
html.hero-e body #qc-hero .hero__headline{margin-left:0!important}
html body #qc-hero .hero__lede{margin-left:0}
/* 2. phone: the credit card band lost the 16px page edge; a later 24px rule in
   research/responsive-fixes.py applies at every width and overrode the phone one */
@media(max-width:700px){html body .quiz-band .quiz-wrap{padding-left:16px!important;padding-right:16px!important}}
/* 3. the 3D icons are forced into square boxes on phones; draw them whole instead of squashing them */
html body img.ft-3d,html body img.gd-3d{object-fit:contain}
