.rd-container {
  font-family: system-ui, sans-serif;
    line-height: 1.6;
    margin: 2em 0;
    max-width: 900px;
}

/* === Accordéons === */
.rd-accordion {
      overflow: hidden;
    padding: 10px;
    border-radius: 20px;
    margin-bottom: 20px;
}


.rd-accordion-header {
      width: 100%;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8em 1em;
    cursor: pointer;
    transition: background 0.25s ease;
    background: #222222b3;
    border-radius: 50px;
}

.rd-accordion-header:hover {
  background: #de5700;
}



/* Zone gauche (icône + titre) */
.rd-header-left {
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.rd-icon {
  font-family: "Material Symbols Rounded";
  font-size: 22px;
  color: #ffffff;
  user-select: none;
  transition: color 0.25s ease;
  padding: 10px;
  border-radius: 50px;
  background: #323131;
}

.rd-accordion-header.active .rd-icon {
  border : 1px solid rgba(255, 255, 255, 0.1)
}

.rd-accordion-header h2 {
  font-size: 18px;
  margin: 0;
  color: #ffffff;
  text-align: left;
  font-family: monospace;
}

.rd-arrow {
  font-weight: bold;
  font-size: 1.4em;
  color: #de5700;
}

.rd-accordion-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 1em;
}

/* === Onglets internes === */
.rd-tab-buttons {
  display: flex;
    flex-wrap: wrap;
    gap: 0.4em;
    padding: 10px;
    border-radius: 10px;
}

.rd-tab-btn {
  background: #262626;
  color: #fff;
  border-radius: 50px;
  padding: 0.4em 0.8em;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  font-size: 0.9em;
  font-family: monospace;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rd-tab-btn:hover {
  background: #de5700;
  color: #ffffff;
}

.rd-tab-btn.active {
  background: #de5700;
  color: #ffffff;
  transition: all 0.2s ease-in-out;
  
}

/* === Contenu des onglets === */
.rd-tab-content {
  display: none;
  animation: fadeIn 0.2s ease;
}

.rd-tab-content.active {
  display: block;
  padding-bottom: 20px;
  color: #bfbfbf;
    font-size: 15px;
    line-height: 1.55;
    max-width: 100ch;
}

.rd-tab-content h3 {
  margin-top: 0.5em;
  font-size: 1.05em;
  font-family: monospace;
  font-weight: bold;
}

.rd-tab-content p {
  margin: 0.5em 0 1em;
  color: #ddd;
}

/* Lien et strong dans le texte */
.rd-tab-content p strong {
  color: #ffffff;
}

.rd-tab-content p a {
  color: #de5700;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.rd-tab-content p a:hover {
  color: #de5700;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* === Listes dans le contenu === */
.rd-list {
  margin: 0.5em 0 1em 0;
  padding: 0;
  list-style: none; /* Supprime les puces par défaut */
  color: #ddd;
}

.rd-list li {
  margin: 0.4em 0;
  font-size: 0.95em;
  line-height: 1.5;
  position: relative;
  padding-left: 2em; /* espace pour l’icône */
  transition: all 0.2s ease-in-out;
}
.rd-list li:hover {
  transform: translateX(6px); /* décale tout le bloc */
}
/* Icône arrow_circle_right avant chaque <li> */
.rd-list li::before {
  content: "arrow_forward";
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 1.1em;
  color: #de5700;
  position: absolute;
  left: 0;
  top: 0.05em;
  transition: color 0.2s ease;
}

/* Effet au survol */
.rd-list li:hover::before {
  color: #de5700;
}


.rd-list li strong {
  color: #ffffff;
}

.rd-list li a {
  color: #de5700;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.rd-list li a:hover {
  color: #de5700;
}

/* === Tableaux dans le contenu === */
.rd-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.95em;
  background: transparent;
  overflow: hidden;
  border: 1px;
}

.rd-table th,
.rd-table td {
  padding: 0.6em 0.8em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  color: #ddd;
  vertical-align: top;
  background: transparent;
  transition: all 0.2s ease-in-out;
}

.rd-table td:hover {
  transform: translateX(6px); /* décale tout le bloc */
}

.rd-table th {
  color: #fff;
  width: 35%;
  background: #392a21;
}

.rd-table strong {
  color: #ffffff;
}
.rd-table a {
  color: #de5700;
  transition: color 0.2s ease;
}

.rd-table a:hover {
  color: #de5700;
  text-decoration: underline;
}


.rd-internal-link {
  color: #de5700;
  font-weight: bold;
}
.rd-container a {
  color: #de5700;
  font-weight: bold;
}

.rd-container a:hover {
  color: #de5700;
  text-decoration: underline;
}