I added the custom CSS code to the file: /templates/t4_bs5_blank/local/css/custom.css, but for some reason, it was removed—this likely caused the issue you encountered.
I’ve re-added the code and created a new article for testing, and it’s now working as expected.