CSS' `:has()` pseudo-class is powerful stuff, and even moreso when you combine it with classic techniques like quantity queries and a mobile-first mindset. I wrote about it for @piccalilli! https://piccalil.li/blog/making-content-aware-components-using-css-has-grid-and-quantity-queries/