The Lessons of Defeat for the GOP