/* ===========================================
   LSFC Zone — Rich Text Editor Content CSS
   Applied to all .lsfc-content containers
   =========================================== */

.lsfc-content {
    font-family: 'Kalpurush', serif;
    font-size: 16px;
    line-height: 1.9;
    color: #1a1a1a;
}

.lsfc-content h1, .lsfc-content h2, .lsfc-content h3, .lsfc-content h4 {
    font-family: 'Kalpurush', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #5e1b5b;
}
.lsfc-content h1 { font-size: 2rem; }
.lsfc-content h2 { font-size: 1.6rem; }
.lsfc-content h3 { font-size: 1.3rem; }
.lsfc-content h4 { font-size: 1.1rem; }

.lsfc-content p { margin-bottom: 1rem; }

.lsfc-content img {
    max-width: 100%;
    border-radius: 8px;
    height: auto;
    display: block;
    margin: 15px auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lsfc-content blockquote {
    border-left: 4px solid #902a8b;
    padding-left: 1rem;
    color: #555;
    font-style: italic;
    margin: 1rem 0;
    background: #fdf2fc;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
}

.lsfc-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
.lsfc-content table th, .lsfc-content table td {
    border: 1px solid #dee2e6;
    padding: 0.6rem 0.9rem;
}
.lsfc-content table th {
    background: #fdf2fc;
    font-weight: 700;
    color: #5e1b5b;
}
.lsfc-content table tr:hover {
    background: #fdf8fd;
}

.lsfc-content ul, .lsfc-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.lsfc-content li { margin-bottom: 0.4rem; }

.lsfc-content a {
    color: #902a8b;
    text-decoration: underline;
}
.lsfc-content a:hover {
    color: #5e1b5b;
}

.lsfc-content code {
    background: #f1f3f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #c7254e;
}

.lsfc-content pre {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    overflow-x: auto;
}

.lsfc-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.lsfc-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #902a8b, transparent);
    margin: 2rem 0;
}

/* Dark mode support */
body.dark-mode .lsfc-content {
    color: #e0e0e0;
}
body.dark-mode .lsfc-content h1,
body.dark-mode .lsfc-content h2,
body.dark-mode .lsfc-content h3,
body.dark-mode .lsfc-content h4 {
    color: #c990c6;
}
body.dark-mode .lsfc-content blockquote {
    background: #1a0a1a;
    color: #bbb;
}
body.dark-mode .lsfc-content table th {
    background: #1a0a1a;
    color: #c990c6;
}
body.dark-mode .lsfc-content code {
    background: #2a2a2a;
    color: #e88;
}
