/* /auto-huren/ (inc/car-rental.php): a wide page like /handig/, without the sidebar (template-parts/entry.php 'wide').
   The providers are the one bold thing: white cards in the pages' provider band (main.css .dest-offers), the logo as
   the heading, the kind, the fact and the button; the whole card is the link. The rest stays quiet and varies its form
   so the page has rhythm: three open columns with an icon (the ways to rent), the airports on the site's split-flap
   cards, four columns under a rule with "when" as a pill (eigen risico), the facts with an icon, the tip, the check
   line. Prose and the FAQ keep the reading width. */
.entry.is-full{max-width:none}
.entry.is-full>.entry-content>:not(.car-block){max-width:var(--read)}

/* the hero: the shade only behind the text (the photo's road and car stay in view by its focal point, inc/focus.php) */
.hub-hero.is-car:not(.is-plain)::after{background:linear-gradient(90deg,rgba(14,42,71,.86) 0%,rgba(14,42,71,.62) 34%,rgba(14,42,71,.12) 70%,rgba(14,42,71,0) 100%)}
@media (min-width:761px){.hub-hero.is-compact.is-car{min-height:clamp(280px,38vh,340px)}}
@media (max-width:620px){
  .hub-hero.is-car:not(.is-plain)::after{background:linear-gradient(0deg,rgba(14,42,71,.86) 0%,rgba(14,42,71,.55) 45%,rgba(14,42,71,.12) 100%)}
}

.entry-content .car-block{margin:2.2em 0 0}
.entry-content .car-sec{margin:clamp(48px,6vw,72px) 0 0}
.entry-content .car-block~.hub-faq{margin:clamp(48px,6vw,72px) 0 0}
.entry-content .car-title{margin:0 0 10px;font-size:clamp(1.5rem,1.15rem + 1.1vw,2rem);line-height:1.15}
.entry-content .car-lead{max-width:var(--read);margin:0 0 22px}
.entry-content .car-block :where(h3){margin:0}
.entry-content .car-block :where(ul){margin:0;padding:0;list-style:none}
.entry-content .car-block :where(li){margin:0}
.car-ico{display:grid;place-items:center;flex:none;width:48px;height:48px;color:var(--blue);background:var(--air);border-radius:50%}

/* providers: one card each, two or three across (they fill the band), one column below 861px (no orphan third card) */
.entry-content .dest-offers.car-offers{margin:0;padding:24px}
.entry-content .car-offers .car-picks{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:16px}
@media (min-width:861px){.entry-content .car-offers .car-picks{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}
.car-pick{position:relative;display:grid;grid-template-rows:auto auto 1fr auto;justify-items:start;gap:12px;padding:20px 22px 22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);transition:border-color .15s ease}
/* logo and kind side by side where the card is wide enough (one column, or three across from 1200px); stacked between and on a 320px phone */
@media (min-width:361px) and (max-width:860px),(min-width:1200px){
  .car-pick{grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto 1fr auto;column-gap:12px}
  .entry-content .car-pick .car-kind{align-self:center;justify-self:end}
  .entry-content .car-pick :is(.car-pick-fact,.car-pick-book){grid-column:1/-1}
}
.car-pick:hover{border-color:var(--go)}
.car-pick:has(.car-pick-cta:not(.btn-go)):hover{border-color:var(--blue)}
/* the logo on a plate (the uniform logos carry their own margin), the name as a wordmark on the same plate */
.entry-content .car-pick-name{display:flex;margin:0;font-size:1.25rem;line-height:1.1}
.car-pick .provider-logo{display:grid;place-items:center;width:188px;max-width:100%;height:64px;padding:4px 10px;border:1px solid var(--line);border-radius:10px;text-align:center}
.entry-content .car-pick .provider-logo img{width:100%;height:100%;aspect-ratio:764/220;object-fit:contain;border-radius:0}
.entry-content .car-kind{margin:0;padding:2px 12px;font-size:.8125rem;font-weight:700;line-height:1.5;color:var(--deep);background:var(--air);border-radius:999px}
.entry-content .car-pick-fact{align-self:start;max-width:62ch;margin:0;font-size:.9375rem;line-height:1.55}
.entry-content .car-pick-book{margin:4px 0 0}
.entry-content a.car-pick-cta{min-height:48px;color:#fff;text-decoration:none}
.entry-content a.car-pick-cta:hover{color:#fff}
/* the whole card is the button's link; the ring stays on the button */
.car-pick-cta::after{content:"";position:absolute;inset:0;border-radius:var(--radius)}
.car-pick:has(.car-pick-cta:focus-visible){border-color:var(--blue)}

/* three ways to rent: open columns, icon on top; on a phone icon beside the text */
.entry-content .car-routes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;margin-top:22px}
.car-route{display:flex;flex-direction:column;gap:16px}
.entry-content .car-route-name{margin:0 0 6px;font-size:1.25rem;line-height:1.25}
.entry-content .car-route-line{margin:0}
.entry-content .car-watch{margin:10px 0 0;color:var(--muted);font-size:.9375rem;line-height:1.5}
.car-watch strong{color:var(--deep)}
.entry-content .car-route-book{margin:16px 0 0}
.entry-content a.car-btn{color:#fff;text-decoration:none}

/* departure airports: the code on the split-flap card, as /handig/ and /parkeren/ */
.entry-content .car-airports{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.car-airport{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:start;height:100%;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.car-airport .flap{--flap-w:52px;--flap-h:44px;--flap-fs:1rem}
.entry-content .car-airport-name{margin:0 0 4px;font-size:1.125rem;line-height:1.3}
.entry-content .car-airport p{margin:0;font-size:.9375rem;line-height:1.55}
.entry-content .car-airport .car-links{display:flex;flex-wrap:wrap;gap:2px 18px;margin-top:8px;font-weight:700}
.car-links a{display:inline-block;padding:4px 0}

/* eigen risico: four columns under a rule, when you arrange it as a pill */
.entry-content .car-ways{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.car-way{padding-top:16px;border-top:3px solid var(--blue)}
.entry-content .car-way-name{font-size:1.125rem;line-height:1.3}
.entry-content .car-when{display:inline-block;margin:10px 0 0;padding:2px 12px;font-size:.875rem;font-weight:700;line-height:1.5;color:var(--deep);background:var(--air);border-radius:10px}
.entry-content .car-way-watch{margin:10px 0 0;font-size:.9375rem;line-height:1.55}

/* borg, creditcard, leeftijd, rijbewijs: two columns, an icon beside each */
.car-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 44px;margin:22px 0 0}
/* the icon sits in the dt (a dl's div holds only dt and dd); the dd lines up with the dt's text */
.car-facts dt{display:flex;align-items:center;gap:16px;font:800 1.125rem/1.3 var(--display);color:var(--deep)}
.car-facts dd{margin:2px 0 0 64px;font-size:.9375rem;line-height:1.6}
.entry-content .car-sec .kader{max-width:var(--read);margin:36px 0 0}
.entry-content .car-checked{max-width:var(--read);margin:14px 0 0;color:var(--muted);font-size:.875rem;line-height:1.45}
.entry-content .car-checked a{color:inherit}

@media (max-width:999px){.entry-content .car-ways{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}}
@media (max-width:860px){
  .entry-content .car-routes{grid-template-columns:minmax(0,1fr);gap:24px}
  .car-route{flex-direction:row;align-items:flex-start}
  .entry-content .car-airports,.car-facts{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:620px){
  .entry-content .dest-offers.car-offers{padding:18px 14px 14px}
  .car-pick{padding:16px 16px 18px;gap:10px}
  .car-pick .provider-logo{width:156px;height:54px}
  .entry-content .car-pick-book{justify-self:stretch}
  .entry-content a.car-pick-cta{width:100%}
  .car-ico{width:42px;height:42px}
  .car-route{gap:14px}
  .car-airport{gap:14px;padding:16px}
  .car-airport .flap{--flap-w:42px;--flap-h:34px;--flap-fs:.8125rem;--flap-r:8px}
  .entry-content .car-ways{grid-template-columns:minmax(0,1fr);gap:24px}
  .car-facts dt{gap:14px}
  .car-facts dd{margin-left:56px}
}
/* the hero's chips land each section below the sticky header, at every width (main.css drops smooth scrolling and
   transitions for reduced motion) */
.entry-content .car-block h2[id],.entry-content .hub-faq h2[id]{scroll-margin-top:calc(var(--header-h) + 20px)}
.entry-content .car-offers h2[id]{scroll-margin-top:calc(var(--header-h) + 44px)}
