/* Addendum G: vehicle imagery. Inherits each template's colors and type; no motion.
   Template CSS loads after this file, so selectors are body-scoped for specificity. */
body .vi-secondary{margin:0;border-radius:8px;overflow:hidden;background:color-mix(in srgb,var(--body-text,currentColor) 6%,transparent)}
body .vi-secondary img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:0}
body .vi-split.vi-split,body .landing-focus .lf-crew-head.vi-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-areas:"head media" "copy media";gap:8px 32px;align-items:start}
body .vi-split>.vi-split-copy,body .vi-split-focus>.vi-split-head{grid-area:head}
body .vi-split-focus>div:not(.vi-split-head){grid-area:copy}
body .vi-split>.vi-split-copy{grid-row:1/3}
body .vi-split>.vi-split-media{grid-area:media;align-self:center}
body .vi-secondary.vi-secondary-wide{margin:20px 0 24px}
body .vi-secondary-wide img{aspect-ratio:21/9}
body .vi-classic-hero.vi-no-hero{grid-template-columns:1fr}
body .vi-classic-hero>.lp-hero-image>img{height:auto}

/* Reusable Keep shopping thumbnail entries (not currently rendered) */
body .vi-keep-models{list-style:none;margin:0 0 16px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:10px}
body .vi-keep-models a{display:flex;align-items:center;gap:12px;min-height:56px;padding:6px 12px 6px 6px;border:1px solid var(--line,color-mix(in srgb,currentColor 18%,transparent));border-radius:8px;color:inherit;font-weight:600;text-decoration:none}
body .vi-keep-models a:hover span{text-decoration:underline}
body .vi-keep-models a:focus-visible{outline:3px solid var(--brand-accent,currentColor);outline-offset:2px}
body .vi-keep-models .vi-keep-thumb{flex:0 0 auto;width:72px;height:48px;border-radius:6px;object-fit:cover}

/* Sticky thumbnail: mobile only, sized to the bar */
body .offer-sticky .offer-sticky-lead{display:flex;align-items:center;gap:10px;min-width:0}
body .offer-sticky .offer-sticky-thumb{display:none}

@media(max-width:760px){
 body .vi-split.vi-split,body .landing-focus .lf-crew-head.vi-split{grid-template-columns:1fr;grid-template-areas:"head" "copy" "media";gap:0}
 body .vi-split>.vi-split-copy{grid-row:auto}
 body .vi-split>.vi-split-media{margin:12px 0 20px}
 body .vi-secondary-wide img{aspect-ratio:16/10}
 /* Classic: hero image under the model name, above the payment */
 body .hero.vi-classic-hero{gap:0}
 body .vi-classic-hero>.hero-copy{display:contents}
 body .vi-classic-hero>.hero-copy>*{order:2}
 body .vi-classic-hero>.hero-copy>.eyebrow:first-child,body .vi-classic-hero>.hero-copy>h1{order:0}
 body .vi-classic-hero>.lp-hero-image{order:1;margin:16px 0 8px}
 body .vi-classic-hero>.full{order:3;margin-top:20px}
 body .offer-sticky .offer-sticky-thumb{display:block;flex:0 0 40px;width:40px;height:40px;border-radius:6px;object-fit:cover}
 body .offer-sticky .offer-sticky-lead{flex:1 1 auto}
}

/* A filled CSS animation can keep a fixed containing block even when its final
   transform is none. Remove this hero-copy animation so the sticky bar is pinned
   to the viewport; other Showcase animations remain unchanged. */
body .landing-showcase .ls-hero-copy{animation:none!important;transform:none!important;will-change:auto}
/* Full-bleed without 100vw (which includes the scrollbar): let the public main span
   the viewport for these two templates; inner sections keep their own centering. */
body.dealer-public .public-main:has(> .landing-focus){max-width:none;padding:0;margin:0}
body .public-main>.landing-focus{margin:0;width:auto;max-width:100%}
body .public-main>.landing-showcase{max-width:100%;overflow-x:clip}
@media(max-width:760px){body .landing-showcase .ls-inquiry{margin-left:0;margin-right:0}}
