How to style links in Rich Text content in dynamic pages?

I have a dynamic page that shows a Rich Text paragraph (not Rich Content, just Rich Text). In the Content Manager, we add links to external pages. Everything looks fine in the Content Manager:

But when I display that content as a block in the dynamic page, the links are formatted as plain text: no underline, no blue color.

You can see the color and text-decoration have been overridden in the Chrome dev tools:

How can I update the style so links in the rich text are styled properly? (I’d prefer black with underline, but I’ll accept anything that’s different from normal text.)

I found a solution – have to add some Custom CSS in the Site Settings:

div[data-testid="richTextElement"] a { text-decoration: underline;}