/*
 * Optional custom CSS for the TeacherBot Bludit theme.
 *
 * The layout is intentionally built with Tailwind utility classes.
 * Keep this file empty until you need styles that are awkward to express
 * with utilities (for example, styling HTML generated inside article content).
 */

/* Article content: Bludit renders Markdown into semantic HTML. */
.teacherbot-article-content h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    color: #111827;
}

.teacherbot-article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.teacherbot-article-content p {
    margin: 1rem 0;
}

.teacherbot-article-content a {
    color: #46a302;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.teacherbot-article-content ul,
.teacherbot-article-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.teacherbot-article-content ul {
    list-style: disc;
}

.teacherbot-article-content ol {
    list-style: decimal;
}

.teacherbot-article-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 0.75rem;
}

.teacherbot-article-content blockquote {
    margin: 1.5rem 0;
    border-left: 4px solid #58cc02;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    color: #4b5563;
}

.teacherbot-article-content pre {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 0.75rem;
    padding: 1rem;
    background: #111827;
    color: #f9fafb;
}

.teacherbot-article-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.teacherbot-article-content th,
.teacherbot-article-content td {
    border: 1px solid #e5e7eb;
    padding: 0.625rem 0.75rem;
    text-align: left;
}
