Css grid 33%-66% column, fixed row height

Hello everyone
I want to make a CSS grid showing multi-images on a collection page.
I want that each image displays a landscape or portrait based on its dimension.
In the image, there is an example of the design.

Do you have any suggestions for how to achieve that?

Here is the page in read-only as I am designing right now