Fun with csplit

When you need to split a text file by lines or columns there are plenty of ways to accomplish that. But what if you need to split a file by lines, where each record consists of multiple lines, and the number of lines in each record is not fixed?