Of course, there's also ramp-down and ramp-up time on each side of the leave. I'd expect a leave of 12 months is probably closer to a total productivity loss of 18 month, which will drag pay down further if there's a reduction to a second merit increase. If you take years off, as many do, staying home until the kid enters kindergarten, then you're probably looking at a massive relative gap when you start back.
But yeah, taking a year for parental leave is not a death knell for most professionals' careers. It will realistically result in a long-term salary depression relative to peers, though.
Most women also reasonably choose to prioritize family over career when their children are very young further inhibiting them from advancing their career during that time.