CSS :where Specificity Rule Not Applying: Why footer a Wins
A rule written as :where(#content) a can match a link and still lose to footer a. This guide scores both selectors, explains why order and !important are the wrong first fixes, and shows how to test the result.