I have added this code to my custom css, and also directly attached to the widget in Elementor, but sadly it does not apply the css. The weird thing is that by manipulating the css directly in the browser, it works perfectly.
Since it's a development environment hidden behind a vpn, so I can not share the url.
@stefen Thanks for your help, I'm working i a development environment that requires a vpn. What I can do is request an IP allowlist. Is it possible for you to send me your IP address in a private message?