/* Prose Styling pour le contenu de l'article */
.prose {
    color: #374151;
    line-height: 1.75;
}

.prose h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.prose h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.prose h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.prose h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.prose p {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.prose strong {
    font-weight: 600;
    color: #111827;
}

.prose em {
    font-style: italic;
}

.prose a {
    color: #fd681a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.prose a:hover {
    color: #e55b10;
    text-decoration: underline;
}

.prose ul, .prose ol {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.prose li > p {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.prose blockquote {
    font-style: italic;
    border-left: 4px solid #fd681a;
    padding-left: 1.5rem;
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
    color: #4b5563;
    font-size: 1.125rem;
}

.prose code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #111827;
}

.prose pre {
    background-color: #1f2937;
    color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
    overflow-x: auto;
}

.prose pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
    font-size: 0.875rem;
}

.prose img {
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.prose hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.prose th {
    background-color: #f9fafb;
    font-weight: 600;
    text-align: left;
    padding: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

.prose td {
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .prose {
        font-size: 1rem;
    }
    
    .prose h1 {
        font-size: 1.875rem;
    }
    
    .prose h2 {
        font-size: 1.5rem;
    }
    
    .prose h3 {
        font-size: 1.25rem;
    }
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}