The CSS :has() selector is way more than a "Parent Selector"
Safari Technology Preview 137 just dropped, with unflagged support for CSS :has(). Often dubbed "the parent selector", CSS :has() is way more than that ... ~ As per selectors-4 specification: The :has() CSS pseudo-class represents an element if any of the selectors passed as parameters match at least one element.
https://www.bram.us/2021/12/21/the-css-has-selector-is-way-more-than-a-parent-selector/