Text this: Assortative mating and the reversal of gender inequality in education in europe: an agent-based model.