/* Per-model car photo in the auto hero (2026-11-19). The <picture> sits under the hero's existing gradient
   overlay (.hero.auto-hero:after), which keeps its gradients but drops the shared stock background image. */
.hero.auto-hero.slk-has-car{position:relative;overflow:hidden}
.slk-hero-car{position:absolute;top:0;right:0;bottom:0;width:77%;z-index:0;margin:0;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 19%);mask-image:linear-gradient(to right,transparent 0%,#000 19%)}
.slk-hero-car img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 60%}
.hero.auto-hero.slk-has-car:after{opacity:1;
  background-image:linear-gradient(90deg,#08142b 0%,rgba(8,20,43,.90) 12%,rgba(8,20,43,.28) 38%,rgba(8,20,43,.02) 62%),
    linear-gradient(0deg,rgba(8,20,43,.62) 0%,rgba(8,20,43,0) 24%,rgba(8,20,43,.06) 76%,rgba(8,20,43,.22) 100%)!important}
@media (max-width:1000px){.slk-hero-car{width:83%}}
@media (max-width:770px){
/* Phones: the photo is a normal image under the hero text and buttons, not a dimmed background. */
.hero.auto-hero.slk-has-car{flex-direction:column;align-items:stretch}
.hero.auto-hero.slk-has-car:after{display:none}
.slk-hero-car{position:relative;order:2;width:calc(100% - 36px);margin:22px auto 0;aspect-ratio:3/2;opacity:1;
  -webkit-mask-image:none;mask-image:none;border:1px solid rgba(255,255,255,.12);border-radius:6px;overflow:hidden}
.slk-hero-car img{object-position:center 60%}
}
