body {
    font-family: "Inconsolata", monospace;
}
/* Styles pour le contenu de l'article */
.prose {
    color: #374151;
    line-height: 1.8;
}

.prose h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #111827;
    line-height: 1.3;

    @media (max-width: 1024px) {
        font-size: 1.25rem;
        line-height: 1.2;
    }

    @media (max-width: 640px) {
        font-size: 1.1rem;
        line-height: 1.1;
    }
}

.prose h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #111827;
    line-height: 1.3;

    @media (max-width: 1024px) {
        font-size: 1.10rem;
        line-height: 1.2;
    }

    @media (max-width: 640px) {
        font-size: 1.1rem;
        line-height: 1;
    }

}

.prose p {
    margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}
.prose a:hover {
    color: #6d28d9;
}

.prose strong {
    font-weight: 600;
    color: #111827;
}

.prose img {
    border-radius: 0.5rem;
    margin: 2rem 0;
}
.prose code {
    background-color: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.prose pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.prose pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

/* Styles for the plus-minus table */
table {
  width: 100%;
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 0.875rem;

  box-shadow: 0 0 0 1px #e5e7eb;
}

table thead tr {
  background-color: #f9fafb;
}

table thead th, table tbody th {
  text-align: left;
  font-weight: 600;
}

table th,
table td {
  padding: 12px 16px;
}

table tbody tr + tr td {
  border-top: 1px solid #e5e7eb;
}

table tbody tr:hover {
  background-color: #f9fafb;
}

.table-plus-minus th:first-child {
  color: #15803d;
}

.table-plus-minus th:last-child {
  color: #b91c1c;
}

.table-plus-minus td:last-child {
  color: #4b5563;
}


/* Bloc FAQ */
h2 {
  margin-bottom: 1rem;
}

details {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  background-color: #ffffff;
}

/* Question */
summary {
  cursor: pointer;
  font-weight: 600;
  color: #111827;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}

/* Supprime le chevron natif */
summary::-webkit-details-marker {
  display: none;
}

/* Indicateur ouverture / fermeture */
summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.1rem;
  color: #6b7280;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  content: "–";
}

/* Réponse */
details p {
  margin-top: 0.5rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Hover léger */
summary:hover {
  color: #1f2937;
}
