/* Support rich text formatting in user-generated content (resolving Tailwind Preflight overrides) */
.rich-text strong, .rich-text b {
    font-weight: 700 !important;
}
.rich-text em, .rich-text i {
    font-style: italic !important;
}
.rich-text u {
    text-decoration: underline !important;
}
.rich-text mark {
    background-color: #fef08a !important; /* Tailwind yellow-200 */
    color: #000000 !important;
    padding: 0 4px;
    border-radius: 2px;
}
.rich-text ul {
    list-style-type: disc !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1rem !important;
}
.rich-text ol {
    list-style-type: decimal !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1rem !important;
}
.rich-text li {
    margin-bottom: 0.25rem !important;
}
.rich-text a {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
}
.rich-text p {
    margin-bottom: 1rem;
}
.rich-text h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.rich-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.rich-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.rich-text h4,
.rich-text h5,
.rich-text h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.rich-text blockquote {
    border-left: 4px solid #d1d5db;
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
}
.rich-text img {
    max-width: 100%;
    height: auto;
}
