Dynamic formatting for the group card layouts.