Another part is people staying in college longer (or going back to college) to get more education which is needed for a modern workforce, and the result of that is more lifetime earnings, not less.
A third part is many people are opting for one income, since many couples can now live on one income. More people moving from the middle class did so by moving up rather than down.