/* quill编辑器内容自适应规则 */
.quill-content {
    font-size: 15px;
    line-height: 1.8;
    white-space: pre-wrap;  /* 保留空格和换行 */
    word-wrap: break-word;  /* 防止长文本溢出 */
}
.quill-content {
    h1 {
        font-size: 1.4em;
    }

    h2 {
        font-size: 1.2em;
    }

    /* 多媒体元素 */
    img, video, iframe {
        max-width: 100%; /* 关键限制 */
        height: auto; /* 保持比例 */
        display: block; /* 避免行内间隙 */
        margin: 10px 0;
    }

    /* 文本内容 */
    p, div, ul, ol, li {
        word-wrap: break-word; /* 长单词换行 */
        overflow-wrap: anywhere; /* 更智能的断词 */
        max-width: 100%; /* 二次保障 */
    }

    p.ql-indent-1 {
        margin-left: 20px;
    }

    a {
        color: #007bff; /* 超链接颜色 */
        text-decoration: none; /* 去掉下划线 */
    }

    a:hover {
        text-decoration: underline; /* 鼠标悬停时显示下划线 */
    }

    ul, ol {
        margin: 10px 0;
        padding-left: 20px; /* 列表缩进 */
    }

    li {
        margin: 5px 0;
    }
}