@media print{ @page { size: A4; margin: 10mm 15mm; bleed: 6mm; @bottom-center { content: counter(page) } } @page:left { margin-left: 25mm; margin-right: 15mm; } @page:right { margin-left: 15mm; margin-right: 25mm; } h2 { break-before: page; } }