Title: A Lefschetz theorem for foliated manifolds