Something like adding box-shadow to buttons on hover was difficult to do pre-WordPress 6.1. It’s easier now, but still not as intuitive as just writing your own CSS. Ganesh explains it so gosh-darn well in this post.
https://css-tricks.com/adding-box-shadows-to-wordpress-blocks-and-elements/