Gannett to cut 400 staffers across the board