/* ========================================
   STYLES POUR LE CONTENU DES ARTICLES
   ======================================== */

/* Conteneur principal */
.article-content {
    max-width: 100%;
}

/* Titres */
.article-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid #D99B66;
}

.article-content h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #111827;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Paragraphes */
.article-content p {
    font-size: 1rem;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* Listes */
.article-content ul {
    list-style-type: disc;
    list-style-position: inside;
    margin-bottom: 1.5rem;
    color: #374151;
}

.article-content ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.article-content ol {
    list-style-type: decimal;
    list-style-position: inside;
    margin-bottom: 1.5rem;
    color: #374151;
}

.article-content ol li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

/* Liens */
.article-content a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.2s;
}

.article-content a:hover {
    color: #1e40af;
}

/* Images */
.article-content img {
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    margin: 2.5rem 0;
    width: 100%;
    height: auto;
}

/* Citations */
.article-content blockquote {
    border-left: 4px solid #D99B66;
    background-color: #eff6ff;
    padding: 1rem 1.5rem;
    font-style: italic;
    color: #374151;
    margin: 2rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Texte en gras */
.article-content strong {
    color: #111827;
    font-weight: 600;
}

/* Texte en italique */
.article-content em {
    font-style: italic;
}

/* Code inline */
.article-content code {
    background-color: #f3f4f6;
    color: #1f2937;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-family: monospace;
}

/* Blocs de code */
.article-content pre {
    background-color: #1f2937;
    color: #f3f4f6;
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-content pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
}

/* Tableaux */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.article-content th {
    background-color: #f3f4f6;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    border: 1px solid #d1d5db;
}

.article-content td {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
}

/* Séparateurs */
.article-content hr {
    border: none;
    border-top: 1px solid #d1d5db;
    margin: 3rem 0;
}
