/* ===== Overrides stricts fiche exos (sans toucher custom.css) ===== */

/* 1) Moins de marge en haut de l'encadré + petite marge interne à gauche */
section.definition.mm-exo{
  margin-top: 10px !important;
  padding-top: 8px !important;      /* ↓ moins d’air au-dessus du titre */
  padding-left: 14px !important;    /* ↓ petite marge interne à gauche */
}

/* 2) Texte de l'exo : noir, uniforme, non gras (sauf titre) */
section.definition.mm-exo,
section.definition.mm-exo *{
  color:#111 !important;
  font-weight: 400 !important;
}

/* Titre de l'exercice : bleu + souligné jaune (conserve le gras) */
section.definition.mm-exo > h3{
  color:#145BF5 !important;
  font-weight:700 !important;
  margin-top:0 !important;
  border-bottom:3px solid #FFEA0B !important;
  padding-bottom:4px !important;
}

/* Questions : non gras (uniforme) */
section.definition.mm-exo .question h4{
  font-weight:400 !important;
}

/* Équations : même couleur noire, centrées */
section.definition.mm-exo mjx-container{
  color:#111 !important;
}
section.definition.mm-exo mjx-container[display="true"]{
  text-align:center !important;
  margin:8px auto !important;
}
