I note that the other "magic" characteristics of Heading Styles do not work when they are used for character formatting.
Why use Microsoft Word’s built-in heading styles? by Shauna Kelly
Use of a
Style Separator, instead, would preserve these characteristics.