How to achieve a side by side layout for topic posts like this?

CSS Flexboxes, perhaps? Just from the top of my head. Then perhaps using the API/requests to fetch some other data like the post count.