/* Origine : style.css (ancien) — section CPT cours */

/* =========================================================
   CPT "cours" — fond spécifique
   ========================================================= */

body.single-cours {
  background-color: #f4ede1;
}

body.single-cours #main-content,
body.single-cours .mh-content {
  background-color: #f4ede1;
}

/* =========================================================
   CPT "cours" — métadonnées sous le titre
   ========================================================= */

body.single-cours .mhg-taxonomies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.single-cours .mhg-taxonomy-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  border-radius: 14px;
  border: 1px solid currentColor;
  background: transparent;
  white-space: nowrap;
}

body.single-cours .mhg-taxonomy-rubrique {
  color: #4a3a1f;
}

body.single-cours .mhg-taxonomy-style {
  color: #1f3a4a;
}

body.single-cours .mhg-niveau-debutant {
  color: #1f5c2a;
}

body.single-cours .mhg-niveau-intermediaire {
  color: #7a3e00;
}

body.single-cours .mhg-niveau-avance {
  color: #7a1f1f;
}

/* =========================================================
   Cours — Badge niveau pédagogique
   ========================================================= */

.cours-niveau{
  display: inline-block;
  margin: 10px 0 0 0;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  color: #3a2412;
  background: linear-gradient(180deg, #d1bd93 0%, #c9b48a 100%);
  border: 1px solid #b49a6a;
  border-radius: 999px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.35);
}

.mhg-table-dispos {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #fffaf3;
  border-radius: 8px;
  overflow: hidden;
}
.mhg-table-dispos th, .mhg-table-dispos td {
  padding: 10px 12px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}
.mhg-table-dispos th {
  background: #ba8225;
  color: #fff;
}
.mhg-btn-demande {
  background: #ba8225;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 6px 12px;
  cursor: pointer;
  transition: 0.2s;
}
.mhg-btn-demande:hover {
  background: #8c692a;
}
