CSS line-clamp (min./auto lines)

Hi there coders,

I have made some cards in a collection list.
I have use line-clamp with a limit of 2 lines to uniform my cards.
Here’s the custom code - and it works:

However, other elements in the cards do not always take up the same amount of space so white areas appear - see cards:

Is it possible to set a minimum number of lines (2 as now) and then set some kind of auto lines in the code to fill out the white area with line-clamp text? Or fill out 100% height of the paragraph div with line-clamp lines?

Does it make sense? :grinning:

On some card the white area will be bigger than on attached example.

Thanks in advance!


Here is my site Read-Only: LINK
(how to share your site Read-Only link)