/* KHODRANO_VEHICLE_IMAGE_RATIO_4X3_V1
   Strictly scoped to the two requested vehicle-card image frames. */
.home-fleet-card > .home-fleet-media,
.vehicle-card.vehicle-card-db > .vehicle-card-db__image {
    display: block !important;
    position: relative;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden;
}

.home-fleet-card > .home-fleet-media > img,
.vehicle-card.vehicle-card-db > .vehicle-card-db__image > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center;
}

/* Keep image placeholders inside the same 4:3 frame, if the image is missing. */
.home-fleet-card > .home-fleet-media > :not(img),
.vehicle-card.vehicle-card-db > .vehicle-card-db__image > :not(img) {
    max-width: 100%;
    box-sizing: border-box;
}