/* TinyMCE富文本内容样式 */
.tinymce-content {
    line-height: 1.8;
}

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

.tinymce-content h1,
.tinymce-content h2,
.tinymce-content h3,
.tinymce-content h4,
.tinymce-content h5,
.tinymce-content h6 {
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.tinymce-content h1 { font-size: 2.25rem; }
.tinymce-content h2 { font-size: 1.875rem; }
.tinymce-content h3 { font-size: 1.5rem; }
.tinymce-content h4 { font-size: 1.25rem; }
.tinymce-content h5 { font-size: 1.125rem; }
.tinymce-content h6 { font-size: 1rem; }

.tinymce-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 1.5rem auto;
    display: block;
}

.tinymce-content video {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 1.5rem auto;
    display: block;
}

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

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

.tinymce-content table th {
    background-color: #f9fafb;
    font-weight: 600;
    text-align: left;
}

.tinymce-content ul,
.tinymce-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.tinymce-content li {
    margin: 0.5rem 0;
}

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

.tinymce-content code {
    background-color: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    color: #e11d48;
}

.tinymce-content pre {
    background-color: #1f2937;
    color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

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

.tinymce-content a {
    color: #6366f1;
    text-decoration: underline;
}

.tinymce-content a:hover {
    color: #4f46e5;
}

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

.tinymce-content strong {
    font-weight: 700;
}

.tinymce-content em {
    font-style: italic;
}

