/* ======================================================
   OPGAVE: EXAM MODE (layout, uafhængig af tema)
   Slås til ved at sætte: <html class="exam-mode">
   ====================================================== */

html.exam-mode body{
  line-height: 1.55;
}

/* Større ro i layout */
html.exam-mode .container,
html.exam-mode .content{
  max-width: 980px;
  margin: 0 auto;
}

/* Formler centreret i exam-mode */
html.exam-mode .formula,
html.exam-mode .math,
html.exam-mode .mjx-container{
  text-align: center;
}

/* Typisk ønske: første formel efter H2 centreres ekstra tydeligt */
html.exam-mode h2 + .formula,
html.exam-mode h2 + .math{
  margin-top: .25rem;
}

/* Skru lidt op for “vigtighed” i exam-mode */
html.exam-mode .formula{
  font-weight: 600;
}

/* Print-venligt */
@media print{
  html.exam-mode body{ background: #fff !important; color: #000 !important; }
  html.exam-mode a{ color: #000 !important; text-decoration: underline; }
}
