Auto layout overwrites effects

I’m trying to create an auto layout with an existing library my team created. we have cards with different elevations in our effects. When I created the auto layout and try to apply the card effect it won’t change.

Help