/* Header logo + dealer name, all dealer looks A-K (item 4). brandfit.js sets the logo's width/height. */
.site-header { min-height: 72px; box-sizing: border-box; }
@media (min-width: 1024px) { .site-header { min-height: 96px; } }
.rr-brand { transition: none !important; display: inline-flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; }
.site-header img.rr-logo {
  display: block; flex: none; max-width: none; max-height: none; min-width: 0 !important; min-height: 0; object-fit: contain;
  transition: none !important; /* the looks animate logo size on scroll; the fit must measure the real size */
  /* the look's own white box / padding is replaced by the backing below, only when the logo needs it */
  background: none; padding: 0; border-radius: 0; filter: none;
  height: 40px; width: auto; /* before the script runs */
}
.rr-brand__name {
  min-width: 0; font-size: 17px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: inherit;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rr-brand__name[hidden] { display: none !important; }
img.rr-logo--light, img.rr-logo--dark { box-sizing: border-box; padding: 4px 6px !important; border-radius: 8px !important; }
img.rr-logo--light { background: #fff !important; }
img.rr-logo--dark { background: #16181b !important; }
/* footer logo: same contain rule, no silhouette filter (the backing keeps it visible) */
img.rr-logo--foot { width: auto; max-width: min(240px, 70vw); object-fit: contain; filter: none !important; opacity: 1 !important; }
.rr-hero-name { margin: 10px 0 0; font-size: clamp(15px, 2.2vw, 19px); font-weight: 700; letter-spacing: .02em; color: inherit; opacity: .92; }
.rr-hero-name[hidden] { display: none; }
/* agreement-pro item 4: on phones EN/ES lives only in the Menu panel (every look has it in .tm-panel), so the header
   logo gets that room. Tablets and computers keep EN/ES in the header. */
@media (max-width: 767px) {
  .site-header .lang-toggle:not(.tm-panel .lang-toggle) { display: none !important; }
}
/* Header call button (Look A; other looks already hide the number on phones): number on tablets + computers,
   a 44x44 tap-to-call icon on phones. aria-label on the link keeps the number as its name. */
.rr-hphone__icon { display: none; }
@media (max-width: 767px) {
  .site-header .rr-hphone { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0 !important; box-sizing: border-box; }
  .site-header .rr-hphone__icon { display: block; width: 20px; height: 20px; }
  .site-header .rr-hphone__num { display: none; }
}
