She lost because the other candidate was black.
Correct: Race trumped gender last time around. However, Obama has (hopefully) discredited identity politics for a while. Hillary will still have her core support, but will lose the swing voters unless the GOP candidate can be sufficiently demonized. I expect the Goldwater/nuclear war ads from 1964 to be dusted off...