Change or remove tags from post_class

Hi, I’m a new user trying to do changes to Headline theme.

When I get the post data, I want to remove som specific tags from the {{post_class}} instead of filter them. Also I may want to change the featured value or the post type of those posts who has it.

Example: instead of this

<article class="gh-card post tag1 tag2 tag3 tag4 featured">

I want to convert it to

<article class="gh-card widget tag2 card-format1">

I’m asking this because I don’t want to get all the tags, and using only the primary may not bring the needed ones.