.ckeditor-content {
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
}

.ckeditor-content p {
    margin: 0 0 1em;
}

.ckeditor-content h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.ckeditor-content h2 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

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

.ckeditor-content ul {
    list-style: disc;
}

.ckeditor-content ol {
    list-style: decimal;
}

.ckeditor-content li {
    margin-bottom: 0.5em;
}

.ckeditor-content blockquote {
    border-left: 4px solid #ccc;
    padding-left: 1em;
    color: #666;
    background: #f9f9f9;
    margin: 1em 0;
}

.ckeditor-content hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 2em 0;
}

.ckeditor-content strong {
    font-weight: bold;
}

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

.ckeditor-content u {
    text-decoration: underline;
}

.ckeditor-content .text-tiny {
    font-size: 0.7em;
}

.ckeditor-content .text-small {
    font-size: 0.85em;
}

.ckeditor-content .text-big {
    font-size: 1.4em;
}

.ckeditor-content .text-huge {
    font-size: 1.8em;
}

.ckeditor-content .align-left {
    text-align: left;
}

.ckeditor-content .align-center {
    text-align: center;
}

.ckeditor-content .align-right {
    text-align: right;
}

/* Images */
.ckeditor-content figure.image {
    display: inline-block;
    margin: 1em auto;
    text-align: center;
}

.ckeditor-content figure.image-style-align-center {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
}

.ckeditor-content figure.image-style-align-center img {
    display: inline-block;
}

.ckeditor-content figure.image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

/* Table */
.ckeditor-content table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1em;
}

.ckeditor-content th,
.ckeditor-content td {
    border: 1px solid #ddd;
    padding: 0.5em;
    text-align: left;
}

/* Colors (if using inline style) */
.ckeditor-content span[style*="color"] {
    color: inherit;
    /* 視需求保留原色 */
}

/* Font size from inline style (可視情況禁用) */
.ckeditor-content span[style*="font-size"] {
    font-size: inherit;
}