simple way to allow any size of card based on template