.rich-text-content {
    /* Typography */
    line-height: 1.7;
}

.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4,
.rich-text-content h5,
.rich-text-content h6 {
    color: #ffffff;
    font-weight: bold;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.rich-text-content h1 { font-size: 2em; }
.rich-text-content h2 { font-size: 1.5em; }
.rich-text-content h3 { font-size: 1.25em; }
.rich-text-content h4 { font-size: 1.1em; }
.rich-text-content h5 { font-size: 1em; }
.rich-text-content h6 { font-size: 0.9em; }

.rich-text-content p {
    margin-bottom: 1em;
    color: #d1d5db;
}

.rich-text-content strong,
.rich-text-content b {
    font-weight: bold;
    color: #ffffff;
}

.rich-text-content em,
.rich-text-content i {
    font-style: italic;
}

.rich-text-content u {
    text-decoration: underline;
}

.rich-text-content s,
.rich-text-content strike {
    text-decoration: line-through;
}

.rich-text-content ul,
.rich-text-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

.rich-text-content ul {
    list-style-type: disc;
}

.rich-text-content ol {
    list-style-type: decimal;
}

.rich-text-content li {
    margin-bottom: 0.5em;
    color: #d1d5db;
}

.rich-text-content blockquote {
    border-left: 4px solid #6366f1;
    padding-left: 1em;
    margin: 1em 0;
    font-style: italic;
    color: #9ca3af;
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 0 4px 4px 0;
    padding: 1em;
}

.rich-text-content code {
    background-color: #374151;
    color: #fbbf24;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.rich-text-content pre {
    background-color: #1f2937;
    color: #f3f4f6;
    padding: 1em;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1em 0;
    border: 1px solid #374151;
}

.rich-text-content pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
}

.rich-text-content a {
    color: #60a5fa;
    text-decoration: underline;
    transition: color 0.2s;
}

.rich-text-content a:hover {
    color: #93c5fd;
}

.rich-text-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1em 0;
}

.rich-text-content hr {
    border: none;
    border-top: 1px solid #4b5563;
    margin: 2em 0;
}

.rich-text-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    background-color: #374151;
    border-radius: 6px;
    overflow: hidden;
}

.rich-text-content th,
.rich-text-content td {
    padding: 0.75em;
    text-align: left;
    border-bottom: 1px solid #4b5563;
}

.rich-text-content th {
    background-color: #4b5563;
    font-weight: bold;
    color: #ffffff;
}

.rich-text-content td {
    color: #d1d5db;
}