How solid is respect for rank in the military? Wouldn't a female superior officer be treated exactly like a male superior officer?

Superior officers would be respected the same across the board, male or female. It's pretty solid until something is done to compromise that repect. Then, the officer is no longer repected as a person, their rank is only repected. I have always said, I may not respect the person but I respect the rank. You may ask...what makes you not like a superior officer. Well, superior officers who humiliate subordinates in front of their peers, or show weakness in combat, practice discrimination, allow sexual harrassment, use power for personal gain etc...That's the whole purpose of bootcamp shoving rank and recognition down the throats of recruits.