I'm not sure why it makes sense to change the CSS this way instead of adding or removing classes. This seems trickier and more complicated to maintain if we ever want to change any of this.