Maybe, just maybe, the government should pay attentions to these situations, rather the gender gap.

Spare us the BS with nature of business changing. An employee on maternity or paternity leave is a liability and should be treated as such by the employer and the rules/laws governing M&A. You want to buy a business you assume all liabilities.