/* Tesla's light hero needs its own foreground palette. */
.vehicle-brand-hero.vehicle-brand-tesla{background:#e8e9df;color:#20251f}
.vehicle-brand-hero.vehicle-brand-tesla h1{color:#20251f}
.vehicle-brand-hero.vehicle-brand-tesla h1 em{color:#a33e18}
.vehicle-brand-hero.vehicle-brand-tesla .eyebrow{color:#46513f}
.vehicle-brand-hero.vehicle-brand-tesla>p:last-of-type{color:#454b42}
.vehicle-brand-hero.vehicle-brand-tesla>a{color:#9f3b18}
@media(max-width:400px){.vehicle-brand-hero.vehicle-brand-volkswagen h1{font-size:clamp(34px,10.8vw,42px)}}
.vehicle-directory-section .section-label,
.vehicle-model-groups small,
.vehicle-model-groups article>div:first-child>a,
.vehicle-model-groups article>div:last-child span,
.vehicle-model-groups i{color:#9f3b18}
.vehicle-model-groups article>div:last-child>a:hover{background:#dfdfd5;color:#20251f}
.vehicle-unlisted-consult{background:#292c29;color:#fff;scroll-margin-top:100px}
.vehicle-unlisted-consult h2{color:#fff}
.vehicle-unlisted-consult small,.vehicle-unlisted-consult h2 em{color:#f0a078}
.vehicle-unlisted-consult p{color:#d6dad2}
.vehicle-unlisted-consult>a{background:#a33e18;color:#fff}
.vehicle-unlisted-consult>a:hover{background:#853012;color:#fff}
.vehicle-directory-hero>a:focus-visible,
.vehicle-model-groups a:focus-visible,
.vehicle-unlisted-consult>a:focus-visible{outline:3px solid #9f3b18;outline-offset:5px}

.vehicle-directory-brands {
  gap: clamp(14px, 2vw, 28px);
  border: 0;
  margin-top: clamp(32px, 4vw, 56px);
}

.vehicle-directory-brands > a {
  min-width: 0;
  min-height: 250px;
  padding: clamp(18px, 2.3vw, 36px);
  border: 1px solid #9da197;
  border-radius: 16px;
  background: #f8f7f2;
  box-shadow: 0 8px 22px rgba(31, 36, 29, .07);
  transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s;
}

.vehicle-directory-brands > a:nth-child(even) {
  border-color: #858b80;
  background: #eceee8;
}

.vehicle-directory-brands strong {
  margin-top: 0;
  color: #171a16;
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.vehicle-directory-brands p {
  margin: 12px 0 22px;
  color: #454b42;
  font-size: 16px;
  word-break: keep-all;
}

.vehicle-directory-brands .vehicle-brand-card-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  color: #963817;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

.vehicle-brand-card-link i {
  font-style: normal;
  transition: transform .2s;
}

.vehicle-directory-brands > a:focus-visible,
.vehicle-directory-body .vehicle-model-groups a:focus-visible {
  outline: 3px solid #963817;
  outline-offset: 4px;
}

.vehicle-directory-brands > a:active {
  border-color: #963817;
}

@media (hover: hover) and (pointer: fine) {
  .vehicle-directory-brands > a:hover {
    transform: translateY(-4px);
    border-color: #963817;
    background: #fff9f3;
    box-shadow: 0 12px 26px rgba(31, 36, 29, .15);
  }

  .vehicle-directory-brands > a:hover .vehicle-brand-card-link i {
    transform: translate(3px, -2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vehicle-directory-brands > a,
  .vehicle-brand-card-link i {
    transition: none;
  }

  .vehicle-directory-brands > a:hover,
  .vehicle-directory-brands > a:hover .vehicle-brand-card-link i {
    transform: none;
  }
}

/* Vehicles landing mobile readability — 2026-11-03 */
@media(max-width:800px){
  .vehicle-directory-body .section-label{font-size:12px;line-height:1.6}
  .vehicle-directory-body .vehicle-directory-hero>p:last-of-type{font-size:17px;line-height:1.85}
  .vehicle-directory-body .vehicle-unlisted-consult small{font-size:12px;line-height:1.5}
  .vehicle-directory-body .vehicle-unlisted-consult p{font-size:16px;line-height:1.8}
  .vehicle-directory-body .vehicle-unlisted-consult>a{font-size:14px;line-height:1.5}
}


@media (max-width: 1100px) {
  .vehicle-directory-brands > a {
    min-height: 0;
    padding: 22px 24px;
  }
}

@media (max-width: 800px) {
  .vehicle-directory-brands strong {
    font-size: clamp(22px, 6.3vw, 34px);
  }
}

/* Brand landing titles fit narrow phones without horizontal overflow. */
@media(max-width:800px){
 .vehicle-directory-body .vehicle-brand-hero h1{font-size:clamp(28px,8vw,46px);line-height:1.15;letter-spacing:-.04em;max-width:100%}
}

/* Mobile brand headers start directly with the main title. */
@media(max-width:800px){
 .vehicle-directory-body .vehicle-brand-hero>.eyebrow{display:none}
}
