This section has effect for the purposes of the application to the protected characteristic of pregnancy and maternity of—
A person (A) discriminates against a woman if A treats her unfavourably because of a pregnancy of hers.
A person (A) discriminates against a woman if, in the period of 26 weeks beginning with the day on which she gives birth, A treats her unfavourably because she has given birth.
The reference in subsection (3) to treating a woman unfavourably because she has given birth includes, in particular, a reference to treating her unfavourably because she is breast-feeding.
For the purposes of this section, the day on which a woman gives birth is the day on which—
Section 13, so far as relating to sex discrimination, does not apply to anything done in relation to a woman in so far as—