.vehicle .slide img[data-vv-studio],
.vv-thumbnails img[data-vv-studio] {
  object-fit: contain;
}

/* Keep the complete 16:9 composition visible while browsing the same gallery. */
.vehicle .media-wrap:has(img[data-vv-studio-ready]),
.vv-detail-carousel:has(img[data-vv-studio-ready]) {
  aspect-ratio: 16 / 9;
}
.vv-studio-alpha {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  container-type: size;
}
.vv-studio-stage {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100cqw, calc(100cqh * 16 / 9));
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: url("/brand/signature-showroom.webp") center / 100% 100% no-repeat;
}
.vv-studio-stage > img[data-vv-studio][data-vv-studio-ready] {
  position: absolute;
  left: var(--subject-left);
  top: var(--subject-top);
  display: block;
  width: var(--subject-width);
  max-width: none;
  height: auto;
  background: transparent;
  margin: 0;
  border-radius: 0;
}
.vv-compare-table .vv-studio-alpha {
  height: 120px;
  margin-bottom: 10px;
  border-radius: 8px;
}
@media (max-width: 640px) {
  .vv-compare-table .vv-studio-alpha { height: 100px; }
}
img[data-vv-studio][src="/brand/studio-photo-unavailable.svg"] {
  background: url("/brand/signature-showroom.webp") left center / cover no-repeat;
  object-fit: contain;
}
.vv-compare-table img[data-vv-studio][src="/brand/studio-photo-unavailable.svg"] {
  background-position: left top;
}

#vvDetails.vv-dealer-sourced:has(.vv-current-slide :is([data-vv-studio-ready], [src="/brand/studio-photo-unavailable.svg"])) .vv-detail-eyebrow::after {
  content: none;
}
.vehicle .slide video[data-vv-studio-poster] {
  pointer-events: auto;
}

.vehicle .media-wrap .vv-compare-label.vv-photo-compare {
  top: 0;
  right: 8px;
}
.vehicle .media-wrap .vv-condition,
.vehicle[data-vin="JTMBGAHB7TY611939"] .media-wrap .vv-condition {
  left: 4.5%;
  top: 13%;
  padding-left: 0;
}
/* Keep listing identity on the photograph. Reviewed showroom photos and the
   original Woodland gallery already carry this same upper-left artwork. */
.vehicle .media-wrap::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 4.5%;
  top: 6%;
  width: 14.5%;
  aspect-ratio: 240 / 61;
  background: url("/brand/listing-wordmark.webp") center / contain no-repeat;
  pointer-events: none;
}
.vehicle .media-wrap:has(.vv-current-slide :is([data-vv-studio-ready]:not([src$="/90d3d02d54779aea-blueline.webp"]), [data-vv-original-wordmark], [src="/brand/studio-photo-unavailable.svg"]))::before,
.vehicle.vv-dealer-sourced .vv-yearmake::after {
  content: none;
}

.vv-studio-stage > img[data-vv-studio-ready="cutout"] {
  clip-path: var(--vehicle-outline, none);
  -webkit-mask: var(--vehicle-matte, none) center / 100% 100% no-repeat;
  mask: var(--vehicle-matte, none) center / 100% 100% no-repeat;
}
.vv-studio-stage::before {
  content: "";
  position: absolute;
  left: var(--subject-left);
  top: var(--subject-top);
  width: var(--subject-width);
  aspect-ratio: var(--subject-aspect);
  background: var(--contact-shadow, none) center / 100% 100% no-repeat;
  pointer-events: none;
}

