/* Base styles for markdown content */
.prose {
    max-width: 65ch;
    color: inherit;
}

.prose a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}

.prose strong {
    color: inherit;
    font-weight: 600;
}

.prose ol {
    list-style-type: decimal;
    padding-left: 1.625em;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.625em;
}

.prose blockquote {
    font-weight: 500;
    font-style: italic;
    border-left-width: 0.25rem;
    border-left-color: #e5e7eb;
    margin-left: 0;
    padding-left: 1rem;
}

.prose h1 {
    color: inherit;
    font-weight: 800;
    font-size: 2.25em;
    margin-top: 0;
    margin-bottom: 0.8888889em;
    line-height: 1.1111111;
}

.prose h2 {
    color: inherit;
    font-weight: 700;
    font-size: 1.5em;
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.3333333;
}

.prose h3 {
    color: inherit;
    font-weight: 600;
    font-size: 1.25em;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    line-height: 1.6;
}

.prose h4 {
    color: inherit;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.5;
}

.prose code {
    color: inherit;
    font-weight: 600;
    font-size: 0.875em;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
}

.prose pre {
    color: #e5e7eb;
    background-color: #1f2937;
    overflow-x: auto;
    font-size: 0.875em;
    line-height: 1.7142857;
    margin-top: 1.7142857em;
    margin-bottom: 1.7142857em;
    border-radius: 0.375rem;
    padding: 0.8571429em 1.1428571em;
}

.prose pre code {
    background-color: transparent;
    border-width: 0;
    border-radius: 0;
    padding: 0;
    font-weight: 400;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
}

/* Dark mode adjustments */
.dark .prose {
    color: inherit;
}

.dark .prose a {
    color: #60a5fa;
}

.dark .prose blockquote {
    border-left-color: #374151;
}

.dark .prose code {
    background-color: rgba(255, 255, 255, 0.05);
}

.dark .prose pre {
    color: #e5e7eb;
    background-color: #374151;
}
