Webdesign Inspiration: How to Create List of Items with the Same Height but Different Content Length

What to do, if items has to have same size, but content length can vary?

We have a standard pagination of e.g. products or services. All boxes should have the same height to look good.

But description length can vary. In basic conditions, content would overflow outside, but this is not what we want:

Let’s conditionally hide extra information and enable show more functionality, if necessary. Make it also look fancy with background gradient to hide gradually: