To keep your subheadings with the following content, you'll want to adjust your Keep Options under Print Layout in your Theme.
You can make changes to your theme on the Formatting Tab by clicking the three dots next to the theme name and selecting Edit or Edit as New Theme.
For more details on how to set up or adjust your theme settings, you can refer to this tutorial: https://www.atticus.io/create-a-custom-theme/ It provides detailed instructions and tips on creating and modifying your theme.