/* WYSIWYG Editor Content Styling */

.wysiwyg-content {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #374151;
}

.wysiwyg-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

.wysiwyg-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.wysiwyg-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.wysiwyg-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.wysiwyg-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.wysiwyg-content h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.wysiwyg-content h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.wysiwyg-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.wysiwyg-content ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.wysiwyg-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.wysiwyg-content a {
    color: #7E5FBE;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.wysiwyg-content a:hover {
    color: #5E3F9E;
}

.wysiwyg-content strong,
.wysiwyg-content b {
    font-weight: 700;
}

.wysiwyg-content em,
.wysiwyg-content i {
    font-style: italic;
}

.wysiwyg-content blockquote {
    border-left: 4px solid #7E5FBE;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #4b5563;
}

.wysiwyg-content code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
}

.wysiwyg-content pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.wysiwyg-content pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

.wysiwyg-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.wysiwyg-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.wysiwyg-content table th,
.wysiwyg-content table td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}

.wysiwyg-content table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #1f2937;
}

.wysiwyg-content table tr:nth-child(even) {
    background-color: #f9fafb;
}

.wysiwyg-content hr {
    border: 0;
    border-top: 2px solid #e5e7eb;
    margin: 2rem 0;
}
