I must say that gender inequality is not realistic in almost every situation. Imagine a female president getting pregnant and approaching delivery, or finally putting to bed, what do you think will happen?
Long story short, it is just so so unrealistic for women to function in every situation as a man. Each gender has its purpose, and shouldn't be mixed up.
The vice president would surely take over for the main time till her leave is over.