2x Yellow - 1 match ban
1x red - 1 match ban
second time red - 2 match ban
etc...

There's a difference between cup/CL and leage.
Cards collected in (for example) cup matches doesn't count for CL or leage (and vice versa)