/* Tailwind Theme - Custom CSS */

/* Rich text content styling */
.rich-text h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
.rich-text h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.25; }
.rich-text h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; line-height: 1.3; }
.rich-text h4 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.rich-text h5 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.rich-text h6 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.rich-text p { margin-bottom: 1rem; line-height: 1.75; }
.rich-text ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.rich-text ol { list-style-type: decimal; padding-left: 1.5rem; margin-bottom: 1rem; }
.rich-text li { margin-bottom: 0.25rem; }
.rich-text blockquote {
    border-left: 4px solid var(--color-primary-500, #6366f1);
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    background-color: #f9fafb;
    color: #4b5563;
}
.rich-text a { color: var(--color-primary-600, #4f46e5); text-decoration: underline; }
.rich-text a:hover { color: var(--color-primary-700, #4338ca); }
.rich-text table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.rich-text th,
.rich-text td { padding: 0.5rem 0.75rem; border: 1px solid #e5e7eb; text-align: left; }
.rich-text th { background-color: #f9fafb; font-weight: 600; }
.rich-text tr:nth-child(even) { background-color: #f9fafb; }
.rich-text img { max-width: 100%; height: auto; border-radius: 0.5rem; }
.rich-text pre { margin-bottom: 1rem; }
.rich-text code { font-size: 0.875rem; }
.rich-text hr { border: none; border-top: 1px solid #e5e7eb; margin: 1.5rem 0; }

/* Code blocks */
.code-block { margin-bottom: 1.5rem; }
.code-block pre {
    background-color: #1f2937;
    color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
}
.code-block pre code {
    font-size: 0.875rem;
    line-height: 1.7;
}

/* Pagination override for Tailwind theme */
nav[aria-label="Pagination Navigation"] {
    display: flex;
    justify-content: center;
}
