html, body {
            overflow: auto !important; 
            height: auto !important;
            background-color: #f4f5f7 !important;
            margin: 0; 
            font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        }
        .post-content-text img { max-width: 100%; height: auto; border-radius: 6px; margin: 15px 0; border: 1px solid #eee; cursor: zoom-in; }
        .post-content-text p { line-height: 1.8; font-size: 16px; color: #374151; margin-bottom: 1em; }
        .post-content-text a { color: #4a88f7; text-decoration: underline; }
        
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;  
            overflow: hidden;
        }
        /* ----------------------------------
 * 富文本容器优化
 * ---------------------------------- */

/* 1. 基础文字排版 */
.post-content-text {
    font-size: 16px;
    line-height: 1.8;        /* 黄金阅读行高，文字不再挤在一起 */
    color: #333333;          /* 使用深灰色而不是纯黑，对眼睛更友好 */
    word-wrap: break-word;   /* 防止长英文字母或链接撑破容器 */
    padding: 10px 0;         /* 上下留出一点呼吸感 */
}

/* 2. 标题和段落间距 */
.post-content-text h1, 
.post-content-text h2, 
.post-content-text h3 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    color: #222;
    font-weight: 600;
}

.post-content-text p {
    margin-bottom: 1.2em; /* 段落间留白 */
}

/* 3. 清除富文本编辑器容易产生的无用空白段落 */
.post-content-text p:empty {
    display: none;
}

/* 4. 图片终极优化方案 */
/* 修改你之前的这部分 CSS */
.post-content-text img {
    width: 100%;             /* 核心修改：强制图片撑满容器宽度，实现等宽对齐 */
    max-height: 450px;       /* 新增：防止长条竖图太高影响阅读 */
    object-fit: cover;       /* 核心：如果图片高度受到 max-height 限制，保证图片按比例裁切而不变形 */
    
    /* 下面这些保留原样即可 */
    height: auto !important; 
    display: block;          
    margin: 25px auto;       
    border-radius: 8px;      
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); 
}

/* 5. 针对图中那种带边框的灰色卡片/引用的优化（可选） */
.post-content-text blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #6c757d;
    color: #555;
    font-size: 0.95em;
}