"tend to earn less than men"
not the most scientific claim
Women choose different jobs and more of them work part time.
Even in Medicine women choose the lower paying more hands on specialties.
I don't think this is a 'structural' issues, I suspect this is a choice issue.