/* ==========================================================
   🎵 Styles unifiés : navigation, dictées, rythme, quiz
   ========================================================== */

/* === Conteneur principal === */
.mhg-nav-wrapper {
  margin-top: 50px;
  text-align: center;
}

/* === Message introductif === */
.mhg-nav-message {
  font-size: 1.1em;
  color: #333;
  font-weight: 600;
  margin-bottom: 20px;
  background: #fff8f0;
  border: 1px solid #f0e0c0;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
}

/* === Bloc navigation précédent/suivant === */
.mhg-nav-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #fdfaf7;
  border: 2px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

.mhg-nav-prev {
  text-align: left;
}

.mhg-nav-next {
  text-align: right;
}

/* === Boutons principaux === */
.mhg-nav-btn {
  display: inline-block;
  background: #BA8225;
  color: #fff !important;
  font-weight: bold;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.mhg-nav-btn:hover {
  background: #d4952b;
  transform: scale(1.05);
}

/* === Responsivité === */
@media (max-width: 600px) {
  .mhg-nav-navigation {
    flex-direction: column;
    gap: 12px;
  }
  .mhg-nav-prev, .mhg-nav-next {
    text-align: center;
  }
  .mhg-nav-btn {
    width: 100%;
  }
}

/* === Widgets génériques (dictées, quiz, etc.) === */
.mhg-widget {
  background: #fdfaf7;
  border: 2px solid #ddd;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 20px;
}

.mhg-widget-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.mhg-widget-img {
  width: 100%;
  height: auto;
  display: block;
}

.mhg-widget-text {
  background: #BA8225;
  color: #fff;
  padding: 15px;
  font-weight: 600;
  font-size: 1em;
  transition: background 0.3s;
}

.mhg-widget-text .mhg-widget-sub {
  display: block;
  font-weight: 400;
  font-size: 0.9em;
  color: #fff8e8;
}

.mhg-widget-link:hover .mhg-widget-text {
  background: #d4952b;
}
