.education { // avoid page breaks inside the education section page-break-inside: avoid; margin-top: 24pt; // remove the extra space added for the website margin-bottom: 0; } .education__degree { font-size: 10pt; } .education__details { margin-top: 0.3em; }