1. No matter how long the heading or paragraph is, all cards in a row should have the same height and aligned content. → This works well using subgrid.
2. The font size of the heading and paragraph should scale based on the width of the .card, to avoid using too many media queries and to allow adding more cards without constantly adjusting font sizes. → This works using container-type: inline-size on .card and cqi units on the text.
Problem:
subgrid doesn’t seem to work properly when combined with