/* Compact car-only heroes keep each diagnostic code and title together. */
.code-hero{background-image:linear-gradient(90deg,rgba(2,18,34,.93),rgba(2,18,34,.78) 55%,rgba(2,18,34,.36)),url('/assets/car-hero.png');background-position:center,right center;background-size:cover,cover}
.code-hero .hero-content{box-sizing:border-box;min-height:280px;padding-top:42px;padding-bottom:42px}
.code-hero .hero-copy{width:100%;max-width:1020px}
.code-hero .hero-copy h1{width:100%;min-height:0;margin:10px 0 16px;font-size:clamp(2rem,3.1vw,2.65rem);line-height:1.15;letter-spacing:-.025em;text-wrap:pretty;text-shadow:none}
.code-token{color:#00e4ee;white-space:nowrap}
.code-hero .hero-copy p{max-width:66ch;margin:0}
.code-content{padding-top:40px}
.code-content>.card{margin:0}
.code-content>.card h2{margin-top:0}
@media(max-width:760px){
  .code-hero{background-image:linear-gradient(90deg,rgba(2,18,34,.94),rgba(2,18,34,.78)),url('/assets/car-hero.png');background-position:center,78% center}
  .code-hero .hero-content{min-height:0;padding-top:28px;padding-bottom:32px}
  .code-hero .hero-copy .eyebrow{max-width:none}
  .code-hero .hero-copy h1{font-size:clamp(28px,6.8vw,38px);overflow-wrap:break-word}
  .code-content{padding-top:32px}
  .code-content>.card h2{font-size:clamp(26px,7vw,34px)}
}

/* Introduction on the Car Codes index, before the code guides. */
.code-content>.dtc-explainer{margin-bottom:24px;padding:clamp(22px,4vw,32px);background:#eef9fa;border-color:#cbe6e9}
.dtc-explainer h2{max-width:28ch;font-size:clamp(1.65rem,3vw,2.2rem);line-height:1.2}
.dtc-explainer p{max-width:90ch;line-height:1.65}
.dtc-explainer p:last-child{margin-bottom:0}
