Grey out text in specific query looped cards

Don’t know what your exact setup looks like but something similar to this should work

Depending on your setup you might not even need a function, just a custom field to insert as attribute.

Once you have that you can style anything inside a listing based on that attribute selector.