/* 终极列表样式解决方案 */
.ck-content,
.ck-content ul,
.ck-content ol,
.ck-content li,
.ck-content ul li,
.ck-content ol li {
    all: unset !important; /* 彻底重置所有继承样式 */
    display: block !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #333 !important;
}

/* 强制有序列表显示数字 */
.ck-content ol {
    counter-reset: list-counter !important;
    margin-left: 2em !important;
    padding-left: 0 !important;
}

.ck-content ol li {
    display: list-item !important;
    counter-increment: list-counter !important;
    position: relative !important;
    margin-bottom: 0.5em !important;
    list-style-type: none !important; /* 禁用默认样式，使用伪元素 */
}

.ck-content ol li::before {
    content: counter(list-counter) ". " !important;
    position: absolute !important;
    left: -2.3em !important;
    width: 2em !important;
    text-align: right !important;
}

/* 强制无序列表显示符号 */
.ck-content ul {
    margin-left: 2em !important;
    padding-left: 0 !important;
}

.ck-content ul li {
    display: list-item !important;
    position: relative !important;
    margin-bottom: 0.5em !important;
    list-style-type: none !important; /* 禁用默认样式，使用伪元素 */
}

.ck-content ul li::before {
    content: "• " !important; /* 使用实心圆点 */
    position: absolute !important;
    left: -1.5em !important;
    width: 1.5em !important;
    text-align: center !important;
}

/* 二级列表样式 */
.ck-content ul ul li::before {
    content: "◦ " !important; /* 空心圆点 */
}

.ck-content ol ol li::before {
    content: counter(list-counter, lower-alpha) ". " !important;
}

.ck-content hr {
    margin:
            15px 0;
    height: 4px;
    background:
            hsl(0, 0%, 87%);
    border:
            0;
}

/*//编辑器内容样式*/

.ck-content {
    width: 100% !important;
    min-height: 400px;
    border-radius: 0 0 4px 4px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.ck-content p {
    margin: 0 0 1em 0;
}

.ck-content ul,
.ck-content ol {
    margin: 0 0 1em 1.5em;
    padding: 0;
}

.ck-content li {
    margin-bottom: 0.5em;
}

.ck-content h1,
.ck-content h2,
.ck-content h3,
.ck-content h4,
.ck-content h5,
.ck-content h6 {
    margin: 1em 0 0.5em 0;
    line-height: 1.2;
}
figure.table{
    width: 100%;
}
.ck-content table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1em;
}

.ck-content table,
.ck-content th,
.ck-content td {
    border: 1px solid #666;
}

.ck-content th,
.ck-content td {
    padding: 8px 12px;
}
.ck-content .table {
    margin:0.9em auto;
    display: table;
}

.ck-content a{
    font-size: 1em;
    color:rgb(17, 141, 239);
}