CBT for insomnia significantly reduces postpartum depression symptoms, directly and indirectly, by improving mood and alleviating insomnia throughout treatment.