/* NOVIA Toyota 4.2.011 - anchored sections with the 2-row company header.
   Scope: six car detail pages, never the CMS editor or the contact page. */
body.nv-v42-header #nv-vehicle-header-v42 {
  position: sticky !important;
  top: 0 !important;
  z-index: 120 !important;
  overflow: visible;
}
body.nv-v42-header .subnav {
  position: sticky !important;
  top: var(--nv011-header-height, 0px) !important;
  z-index: 110 !important;
  max-width: 100%;
}
html { scroll-padding-top: var(--nv011-scroll-offset, 90px) !important; }
body.nv-v42-header main section[id],
body.nv-v42-header main [id="overview"],
body.nv-v42-header main [id="specs"],
body.nv-v42-header main [id="gallery"],
body.nv-v42-header main [id="performance"],
body.nv-v42-header main [id="trims"],
body.nv-v42-header main [id="compare"],
body.nv-v42-header main [id="offers"] {
  scroll-margin-top: var(--nv011-scroll-offset, 90px);
}
/* On short mobile screens a two-level pinned header would hide content.
   Instead the top company header scrolls away, while the section menu remains fixed. */
html.nv011-compact-view body.nv-v42-header #nv-vehicle-header-v42 {
  position: relative !important;
}
html.nv011-compact-view body.nv-v42-header .subnav { top: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}
