/* Shared heading hierarchy for every DidacticsLab page and language. */
:root{--dl-heading-colour:#18212b;--dl-accent:#255fa8}
body h1{font-family:Arial,sans-serif!important;font-size:48px!important;line-height:1.12!important;letter-spacing:-1.2px!important;font-weight:800!important;color:var(--dl-heading-colour)!important;margin:0 0 24px!important}
body h2:not(.question){font-family:Arial,sans-serif!important;font-size:32px!important;line-height:1.25!important;letter-spacing:-.4px!important;font-weight:700!important;color:var(--dl-heading-colour)!important;margin:0 0 20px!important}
body h3{font-family:Arial,sans-serif!important;font-size:24px!important;line-height:1.3!important;letter-spacing:normal!important;font-weight:700!important;color:var(--dl-heading-colour)!important;margin:0 0 14px!important}
body h4{font-family:Arial,sans-serif!important;font-size:20px!important;line-height:1.35!important;letter-spacing:normal!important;font-weight:700!important;color:var(--dl-heading-colour)!important;margin:0 0 12px!important}
body p+h2,body ul+h2,body div+h2:not(.question){margin-top:32px!important}
body p+h3,body ul+h3,body div+h3{margin-top:24px!important}
body p+h4{margin-top:24px!important}
body .hero .learner-section-heading{margin-top:32px!important}
body .learning-card h3{margin:10px 0!important}
body .explanation-label{color:var(--dl-accent);font-size:36px;font-weight:800;line-height:1.1;margin-bottom:12px}
@media(max-width:760px){body h1{font-size:36px!important;letter-spacing:-.7px!important}body h2:not(.question){font-size:28px!important}body h3{font-size:22px!important}body h4{font-size:18px!important}}
@media print{body h1{font-size:28px!important}body h2:not(.question){font-size:23px!important}body h3{font-size:19px!important}body h4{font-size:16px!important}}

/* Numbered section labels and their explanatory headings. */
body .section-kicker{font:800 14px/1.4 Arial,sans-serif;color:#255fa8;text-transform:uppercase;letter-spacing:1.1px;margin:0 0 10px}
body .section-kicker+h2,body .hero .section-kicker+.learner-section-heading{margin-top:0!important;margin-bottom:24px!important}
body .hero .section-kicker{margin-top:32px}
body .page-toc a,body .reading-toc a{color:#255fa8!important;text-transform:uppercase;font-size:13px!important;line-height:1.5;letter-spacing:.25px}

/* Keep each two-line section heading visually grouped. */
body .section-kicker{margin-bottom:4px!important}
body .section-kicker+h2,body .hero .section-kicker+.learner-section-heading{margin-top:0!important}

/* Override generic div-to-heading spacing for the two-line heading pair. */
body div.section-kicker+h2,body div.section-kicker+h2.learner-section-heading,body .hero div.section-kicker+h2.learner-section-heading{margin-top:0!important;padding-top:0!important}
body div.section-kicker{margin-bottom:0!important;padding-bottom:0!important;line-height:1.2}
body .learner-section>.learner-section-heading{margin-bottom:18px!important}
body .learner-content>.situation-explanations{margin-top:0}
