/* Vehicle-page mobile image presentation.
   The selected global product ratio owns the frame. Photos are center-cropped
   rather than stretched, matching desktop and the catalog. */
@media (max-width:1023px){
  .dgal__main{aspect-ratio:var(--ah-photo-ratio,16 / 9);background:var(--paper-2,#f2f2f2)}
  .dgal__f img{object-fit:cover;object-position:center;background:var(--paper-2,#f2f2f2)}
  .dthumb{aspect-ratio:var(--ah-photo-ratio,16 / 9)}
  .dthumb img{object-fit:cover;object-position:center;background:var(--paper-2,#f2f2f2)}
}

/* Narrative paragraphs and feature rows keep the source order. */
.dtitle__vat,.dnotes li > span,.ddescription__text p{white-space:pre-wrap}
.ddescription__text{max-width:80ch;overflow-wrap:anywhere;white-space:normal}
.ddescription__text .deq-col + .deq-col,.ddescription__text .deq-col + p,.ddescription__text p + .deq-col{margin-top:20px}
.ddescription__text .deq-i{padding-block:12px;line-height:1.65}
.ddescription__text .deq-i:first-child{padding-top:0}
.ddescription__text .deq-sub{line-height:1.65}
.ddescription__clamp{--description-preview-lines:6;position:relative;font-size:15px;line-height:1.75;max-height:calc(1em * 1.75 * var(--description-preview-lines));overflow:hidden;scroll-margin-top:calc(var(--nav-h,80px) + 24px)}
.ddescription__clamp.is-open{max-height:none}
.ddescription__clamp.is-clipped:not(.is-open)::after{content:"";position:absolute;inset:auto 0 0;height:28px;pointer-events:none;background:linear-gradient(transparent,var(--paper,#fff))}
@media(max-width:767px){
  .ddescription__text .deq-i--coded{grid-template-columns:40px minmax(0,1fr);column-gap:10px}
  .ddescription__text .deq-c{font-size:11px;line-height:2.25}
}
