Here's something to chew over while we discuss civil rights. Since Brown v Board of Education separation into separate accommodations has been the very definition of discrimination, but now some are arguing that separation into same sex classroom helps K-12 students learn better.
Boys and girls have different learning styles, and there are hormones to consider. But the effort is unproven and there is legal precedence to consider.
Does the greater social interest in educating children well override the need to provide equal protection? Or might it be argued that separation, in this instance, best provides equal protection. I'm not even sure how one best phrases the question.