/* Styles typographiques pour le contenu des articles (News, Blog) */
.prose {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #374151;
    /* gray-700 */
    line-height: 1.8;
    font-size: 1rem;
    /* 16px */
}

/* Espacement global des éléments */
.prose>*+* {
    margin-top: 1.5em;
}

/* Titres */
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    color: #111827;
    /* gray-900 */
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.8em;
}

.prose h2 {
    font-size: 1.75em;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.3em;
}

.prose h3 {
    font-size: 1.5em;
    color: #1f2937;
}

.prose h4 {
    font-size: 1.25em;
}

/* Paragraphes */
.prose p {
    margin-bottom: 1em;
    text-align: justify;
}

/* Liens */
.prose a {
    color: #2563eb;
    /* primary-600 */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.prose a:hover {
    color: #1d4ed8;
    /* primary-700 */
}

/* Listes */
.prose ul,
.prose ol {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.625em;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding-left: 0.375em;
}

/* Citations */
.prose blockquote {
    font-weight: 500;
    font-style: italic;
    color: #111827;
    border-left-width: 0.25rem;
    border-left-color: #e5e7eb;
    /* gray-200 */
    padding-left: 1em;
    margin-top: 1.6em;
    margin-bottom: 1.6em;
    background-color: #f9fafb;
    /* gray-50 */
    padding: 1em 1em 1em 1.5em;
    border-radius: 0 0.375rem 0.375rem 0;
}

/* Code */
.prose code {
    color: #e11d48;
    /* rose-600 */
    background-color: #f3f4f6;
    /* gray-100 */
    padding: 0.15em 0.35em;
    border-radius: 0.25em;
    font-size: 0.875em;
    font-weight: 600;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.prose pre {
    background-color: #1f2937;
    /* gray-800 */
    color: #e5e7eb;
    /* gray-200 */
    padding: 1em;
    border-radius: 0.375rem;
    overflow-x: auto;
    font-size: 0.875em;
    line-height: 1.7;
    margin-top: 1.7em;
    margin-bottom: 1.7em;
}

.prose pre code {
    background-color: transparent;
    color: inherit;
    font-size: 1em;
    padding: 0;
    font-weight: 400;
}

/* Images dans le contenu */
.prose img {
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-top: 2em;
    margin-bottom: 2em;
    max-width: 100%;
    height: auto;
}

/* Tableaux */
.prose table {
    width: 100%;
    table-layout: auto;
    text-align: left;
    margin-top: 2em;
    margin-bottom: 2em;
    font-size: 0.875em;
    line-height: 1.7;
}

.prose thead {
    border-bottom-width: 1px;
    border-bottom-color: #d1d5db;
    /* gray-300 */
}

.prose thead th {
    color: #111827;
    font-weight: 600;
    vertical-align: bottom;
    padding-right: 0.5714286em;
    padding-bottom: 0.5714286em;
    padding-left: 0.5714286em;
}

.prose tbody tr {
    border-bottom-width: 1px;
    border-bottom-color: #e5e7eb;
    /* gray-200 */
}

.prose tbody td {
    padding: 0.5714286em;
    vertical-align: baseline;
}