I am trying to have the same heigth for all images on this page : https://wp147723.wpdns.ca/catalogue/jeunesse/
On the first image on the left, I added a max-height and set Object fit as contain but then the shadow does not apply to the image only, a white space is created.
How can I remove this white space, or is there any other way to have all images with the same height and still have a fitting shadow.
Thank you