Update styles for headings with inline content