I must say that it is EXTRAORDINARILY RARE for judges in these cases to NOT award custody to the woman.
Which leads me to suspect that there might be something a little off about the author. Aside from her obviously faulty gay-dar.
Based on what? Can you give a citation with accurate statistics? Judges can do anything they want. In big cities, you will find specialty law firms to handle divorce cases involving professional men who are wealthy and will do anything to destroy their former wives so they can take the children and go off with their new partner, whether male or female. Is this because they want the children? Often, no. They just want to reduce the amount of child support they must pay; or they want to destroy the ex because she is the proof of their betrayal and guilt.
The article says her ex and his gay partner both make more money than she does. It wouldn't surprise me if he were a lawyer, doctor, executive or accountant.