Getting your child to sleep through the night can feel like solving an impossible puzzle. You adjust bedtimes, try different routines, maybe even invest in blackout curtains or white noise machines.