/* CKEditor 5 默认内容样式 */

.ck-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    word-wrap: break-word;
}

.ck-content h1,
.ck-content h2,
.ck-content h3,
.ck-content h4,
.ck-content h5,
.ck-content h6 {
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
    padding-left: 1em;
    border-left: 4px solid #3498db;
    position: relative;
}

.ck-content h1 {
    font-size: 2.3em;
    border-left-width: 5px;
    border-left-color: #e74c3c;
}

.ck-content h2 {
    font-size: 1.84em;
    border-left-width: 4px;
    border-left-color: #3498db;
}

.ck-content h3 {
    font-size: 1.48em;
    border-left-width: 4px;
    border-left-color: #2ecc71;
}

.ck-content h4 {
    font-size: 1.22em;
    border-left-width: 3px;
    border-left-color: #f39c12;
}

.ck-content h5 {
    font-size: 1.06em;
    border-left-width: 3px;
    border-left-color: #9b59b6;
}

.ck-content h6 {
    font-size: 1em;
    border-left-width: 3px;
    border-left-color: #95a5a6;
}

.ck-content p {
    margin: 0.5em 0;
}

.ck-content strong {
    font-weight: bold;
}

.ck-content em {
    font-style: italic;
}

.ck-content a {
    color: #1b9aaa;
    text-decoration: none;
}

.ck-content a:hover {
    text-decoration: underline;
}

.ck-content blockquote {
    background: #f9f9f9;
}

.ck-content code {
    background-color: hsla(0, 0%, 78%, .3);
    padding: .15em;
    border-radius: 2px;
    font-family: 'Courier New', Courier, monospace;
}

.ck-content pre {
    padding: 1em;
    color: #353535;
    background: hsla(0, 0%, 78%, .3);
    border: 1px solid #c4c4c4;
    border-radius: 2px;
    text-align: left;
    direction: ltr;
    tab-size: 4;
    white-space: pre-wrap;
    font-style: normal;
    overflow-wrap: normal;
    font-family: 'Courier New', Courier, monospace;
}

.ck-content pre code {
    background: unset;
    padding: 0;
    border-radius: 0;
}

.ck-content ul,
.ck-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

.ck-content ul {
    list-style-type: disc;
}

.ck-content ol {
    list-style-type: decimal;
}

.ck-content li {
    margin-bottom: 0.5em;
}

.ck-content hr {
    margin: 15px 0;
    height: 4px;
    background: #dedede;
    border: 0;
}

.ck-content table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    height: 100%;
    border: 1px double #b3b3b3;
}

.ck-content table td,
.ck-content table th {
    min-width: 2em;
    padding: .4em;
    border: 1px solid #bfbfbf;
}

.ck-content table th {
    font-weight: bold;
    background: rgba(0, 0, 0, 0.05);
}

.ck-content img {
    max-width: 100%;
    height: auto;
}

.ck-content figure {
    margin: 1em 0;
    display: table;
}

.ck-content figure img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.ck-content figure figcaption {
    display: table-caption;
    caption-side: bottom;
    word-break: break-word;
    color: #333;
    background-color: #f7f7f7;
    padding: .6em;
    font-size: .75em;
    outline-offset: -1px;
}

