Ruth Bader Ginsburg went to school at a time when the law school buildings did not even have bathrooms for women. This created not only a sense of not belonging, but resulted in practical problems as well.
When the Supreme Court justice went to law school at Columbia in the 1950s, there were no women’s bathrooms in the building. “If nature called, you had to make a mad dash to another building that had a women’s bathroom,” she recalled… It was “even worse if you were in the middle of an exam. We never complained; it never occurred to us to complain.” (Source)
Infrastructure can be an insidious way to enforce racial segregation. See Policy Through Bridge Height
Mothers may be more likely than fathers to transmit sexist attitudes to their children, according to a recent study. See Mothers and Sexist Attitudes