.vpt-reviewed-photo-grid .vpt-feature-image { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
.vpt-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.vpt-media-grid figure { margin: 0; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.vpt-media-grid a { display: block; position: relative; background: #f5f6f7; }
.vpt-gallery-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.vpt-media-grid figcaption { padding: .9rem 1rem; color: #4f565c; font-size: .9rem; line-height: 1.6; }
.vpt-gallery-expand { position: absolute; top: .65rem; right: .65rem; background: #fff; color: #111417; border-radius: 999px; padding: .3rem .75rem; font-size: .85rem; font-weight: 700; box-shadow: 0 2px 12px #0002; }
.vpt-media-grid a:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.vpt-media-dialog { width: min(1100px, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 1rem; border: 0; border-radius: 18px; color: #111417; background: #fff; }
.vpt-media-dialog::backdrop { background: #080b0de6; }
.vpt-media-dialog-top, .vpt-media-dialog-actions { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.vpt-media-dialog-actions[hidden] { display: none; }
.vpt-media-dialog h3 { margin: 0; font-size: 1.1rem; }
.vpt-media-dialog button { min-height: 44px; padding: .6rem 1rem; border: 1px solid #9ca3aa; border-radius: 999px; color: #111417; background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.vpt-media-dialog button:focus-visible, .vpt-video-play:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.vpt-media-viewer { display: grid; place-items: center; margin-top: .8rem; background: #f5f6f7; border-radius: 12px; }
.vpt-media-viewer img { width: 100%; height: auto; max-height: min(62dvh, 690px); object-fit: contain; }
.vpt-media-dialog p { margin: .6rem 0; font-size: .95rem; }
.vpt-video-list { display: grid; gap: 1.5rem; }
.vpt-video-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.vpt-video-stage { position: relative; background: #101314; }
.vpt-video-stage video { display: block; width: 100%; height: auto; object-fit: contain; }
.vpt-video-card-portrait { width: min(100%, 24rem); justify-self: center; }
.vpt-video-card-portrait video { max-height: 60vh; max-height: 60svh; }
.vpt-video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 0; padding: 1rem 1.5rem; min-height: 48px; border-radius: 999px; background: var(--red); color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 4px 30px #0005; }
.vpt-video-sound { position: absolute; top: .75rem; right: .75rem; min-height: 44px; padding: .6rem 1rem; border: 1px solid #fff; border-radius: 999px; background: #101314; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.vpt-video-sound:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.vpt-video-play[hidden], .vpt-video-sound[hidden] { display: none; }
.vpt-video-copy { padding: 1.3rem; }
.vpt-video-copy h3 { margin: 0; font-size: 1.3rem; }
.vpt-video-copy p { color: #4f565c; }
.vpt-video-copy a { color: #ad001b; text-underline-offset: .2em; }
@media (min-width: 681px) {
  .vehicle-product-template .vpt-media-content { max-width: calc(100vw - 12rem - max(1.25rem, calc((100vw - 1180px) / 2))); }
  .vehicle-product-template .vpt-reviewed-photo-grid { max-width: calc(100vw - 12rem - max(1.25rem, calc((100vw - 1180px) / 2))); }
}
@media (min-width: 681px) and (max-width: 1024px) {
  .vehicle-product-template .vpt-reviewed-photo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .vpt-media-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .vpt-media-dialog { padding: .75rem; }
  .vpt-media-viewer img { max-height: 50dvh; }
}
