/* Container equivalent to mx-auto prose-lg prose-slate */
.prose {
    font-size: 1.125rem; /* ~18px (prose-lg) */
    line-height: 1.75rem;
    color: #1e293b; /* slate-800 */
}

/* Headings */
.prose h1 {
    font-size: 2rem;
    line-height: 2.5rem;
    margin: 2rem 0 1rem;
    font-weight: 700;
}
.prose h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}
.prose h3 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin: 1.25rem 0 0.75rem;
    font-weight: 600;
}
.prose h4,
.prose h5,
.prose h6 {
    font-size: 1.125rem;
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}

/* Paragraphs & text */
.prose p {
    margin-bottom: 1rem;
}
.prose strong,
.prose b {
    font-weight: 700;
}
.prose em,
.prose i {
    font-style: italic;
}
.prose u {
    text-decoration: underline;
}
.prose small {
    font-size: 0.875rem;
}
.prose mark {
    background: #fef08a;
    padding: 0 0.2em;
}
.prose sub,
.prose sup {
    font-size: 0.75em;
}

/* Links */
.prose a {
    color: #2563eb;
    text-decoration: underline;
}
.prose a:hover {
    color: #1e40af;
}

/* Blockquote */
.prose blockquote {
    border-left: 4px solid #cbd5e1;
    padding-left: 1rem;
    font-style: italic;
    color: #475569;
    margin: 1.5rem 0;
}

/* Lists */
.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.prose ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.prose li {
    margin-bottom: 0.5rem;
}

/* Code */
.prose code {
    font-family: monospace;
    background: #f1f5f9;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.95em;
}
.prose pre {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    font-family: monospace;
    margin-bottom: 1rem;
}
.prose pre code {
    background: none;
    padding: 0;
    font-size: 0.9em;
}

/* Tables */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 1rem;
}
.prose th,
.prose td {
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1rem;
    text-align: left;
}
.prose th {
    background: #f8fafc;
    font-weight: 600;
}
.prose caption {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Images & figures */
.prose img,
.prose video,
.prose iframe {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 6px;
}
.prose figure {
    margin: 1.5rem 0;
    text-align: center;
}
.prose figcaption {
    font-size: 0.875rem;
    color: #475569;
    margin-top: 0.5rem;
}

/* Horizontal line */
.prose hr {
    border: none;
    border-top: 1px solid #cbd5e1;
    margin: 2rem 0;
}

/* Forms */
.prose input,
.prose textarea,
.prose select,
.prose button {
    font: inherit;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}
.prose button {
    background: #2563eb;
    color: white;
    border: none;
    cursor: pointer;
}
.prose button:hover {
    background: #1e40af;
}
.prose label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

/* Other elements */
.prose details {
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}
.prose summary {
    font-weight: 600;
    cursor: pointer;
}
.prose time {
    color: #475569;
    font-style: italic;
}
