This content appears on the first page. It includes enough text to establish the page context before testing explicit page breaks.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
After this section, a page break should be inserted. The next content should appear on a new page.
This is the last content before the explicit page break.
This section should appear at the top of a new page because the previous section had page-break-after: always.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
This section forces a page break before itself. It should always start on a new page.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
This entire section should try to stay together on a single page. If it cannot fit on the current page, it should move to the next page.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional content to make this section larger and test the avoid behavior with more substantial content blocks.
This is another section with page-break-before to verify multiple consecutive page breaks work correctly.
This section has page-break-after. Any trailing content should appear on the final page.
This is the last section. It should appear on its own page after the previous section's page-break-after.