/* General styling */
.rich-editor-content {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    padding: 30px 0px;
}

/* Headings */
.rich-editor-content h1 {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    margin-bottom: 15px;
}

.rich-editor-content h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.rich-editor-content h3 {
    font-size: 20px;
    font-weight: bold;
    color: #444;
    margin-bottom: 10px;
}

/* Paragraphs */
.rich-editor-content p {
    margin-bottom: 12px;
    text-align: justify;
}

/* Bold & Italic */
.rich-editor-content strong {
    font-weight: bold;
    color: #000;
}

.rich-editor-content em {
    font-style: italic;
    color: #555;
}

/* Lists */
.rich-editor-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

.rich-editor-content ol {
    list-style-type: decimal;
    margin-left: 20px;
}

.rich-editor-content li {
    margin-bottom: 5px;
}

/* Links */
.rich-editor-content a {
    color: #007bff;
    text-decoration: none;
}

.rich-editor-content a:hover {
    text-decoration: underline;
}

/* Blockquote */
.rich-editor-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 15px;
    font-style: italic;
    color: #555;
    margin: 10px 0;
}

/* Images */
.rich-editor-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Tables */
.rich-editor-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.rich-editor-content th, 
.rich-editor-content td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.rich-editor-content th {
    background-color: #f4f4f4;
    font-weight: bold;
}

/* Horizontal Rule */
.rich-editor-content hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 20px 0;
}

/* Code Blocks */
.rich-editor-content pre {
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}

.rich-editor-content code {
    font-family: 'Courier New', monospace;
    background-color: #f9f9f9;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .rich-editor-content {
        font-size: 14px;
    }

    .rich-editor-content h1 {
        font-size: 24px;
    }

    .rich-editor-content h2 {
        font-size: 20px;
    }

    .rich-editor-content h3 {
        font-size: 18px;
    }
}
