Answer :

AL2006

No.  It will not fit.  It will stick out.

Using Pythagoras' son, 3-D Pythagoras, the inside diagonal of the box is

the square root of [ (28)² + (12)² + (8)² ] =

                           √(784 + 144 + 64) =

                                               √992 = 31.5 inches