`isolation: isolate` is one of the best and most unexpectedly useful things I learned from @joshwcomeau.com's css for js devs course, highly recommend it for anyone looking to improve their CSS skills!