Differences between new and older generations are shaping politics behind the historic change