.wp-block-post-terms:not(.taxonomy-product_cat, .taxonomy-product_tag) { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; background-color: transparent !important; } .wp-block-post-terms:not( .taxonomy-product_cat, .taxonomy-product_tag )[class*="has-text-align-center"] { justify-content: center; } .wp-block-post-terms:not( .taxonomy-product_cat, .taxonomy-product_tag )[class*="has-text-align-right"] { justify-content: flex-end; } .wp-block-post-terms:not(.taxonomy-product_cat, .taxonomy-product_tag) > *:not(.wp-block-post-terms__prefix, .wp-block-post-terms__suffix) { position: relative; padding: 5px 10px; border-radius: 6px; text-align: center; overflow: hidden; } .wp-block-post-terms:not(.taxonomy-product_cat, .taxonomy-product_tag) > *:not(.wp-block-post-terms__prefix, .wp-block-post-terms__suffix)::before { content: ""; position: absolute; width: 100%; height: 100%; z-index: 1; background: currentColor; border-radius: inherit; opacity: 0.07; top: 0; left: 0; transition: opacity 0.1s ease-in-out; } .wp-block-post-terms:not(.taxonomy-product_cat, .taxonomy-product_tag) > *:not(.wp-block-post-terms__prefix, .wp-block-post-terms__suffix):hover > span { text-shadow: 0px 0px 1px #00000033; } .wp-block-post-terms:not(.taxonomy-product_cat, .taxonomy-product_tag) > *:not( .wp-block-post-terms__prefix, .wp-block-post-terms__suffix ):hover::before { opacity: 0.12; } .wp-block-post-terms:not(.taxonomy-product_cat, .taxonomy-product_tag) .wp-block-post-terms__separator { display: none; }