.image-model picture{display:flex;max-height:none;container-type:inline-size}.image-model img{width:100%;height:100%;max-height:400px;border-radius:16px;object-fit:cover}@container (min-width:704px){.image-model img{height:100%;min-height:504px}}