still seeing people hardcode height: 500px on mobile cards. it's absolute madness when you have varying content lengths. just use aspect-ratio: 16/9 and let the browser handle the math. if the image is weirdly sized, at least it won't break your layout or create huge gaps of empty space. honestly,
stop using fixed heights for anything dynamic. it makes the whole grid look broken on small screens.
.card-img {width: 100%;aspect-ratio: 4/3;object-fit: cover;}tbh it's a single line of css and saves so much headache ⚠