switched to flexbox-based card layout