HTML Embed for Headers to pull a piece of text from a collection?

I’ve got a few collection page templates where I have a repeating headline, but want to change one word from the headline to call out the name of that collection item. I understand this isn’t a current feature in Webflow, so I thought maybe an HTML embed is a good approach?

How do I do this with custom class? say, .text-subheader instead of using an html element like

?