Similar Question:
Preventing CSS styles from being applied to specific sections of code
When HTML code is inserted into WordPress
with multiple plugins, each may have its own style that automatically overrides global styles. To address this issue, one approach is to identify and override unwanted styles. This task can sometimes be challenging, as exemplified in my previous experience.
Is there a way to define an HTML element so that it is free from base styling and does not inherit any styles from the surrounding page?