/* 文章整体容器 */
.article-wrapper {
    max-width: 1200px;
    min-height: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
    background-color: #ffffff;
    box-sizing: border-box;
}
.main {
    width: 100%;
    background-color: #ecebeb;
}

/* 文章标题 */
.article-title {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: center;
}

/* 元信息（发布时间、点击量） */
.article-meta {
    text-align: center;
    margin-bottom: 25px;
    color: #7f8c8d;
    font-size: 18px;
}

.article-meta .meta-item {
    margin: 0 10px;
}

.article-body {
    font-size: 20px;
    line-height: 2;
    color: #333;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    /* 移除 overflow: hidden */
    padding: 0 15px; /* 新增内边距 */
}

/* 针对所有p标签覆盖nowrap，确保换行 */
.article-body p {
    white-space: normal !important; /* 覆盖内联的nowrap */
    word-break: break-word !important; /* 确保长文本/单词换行 */
    overflow-wrap: break-word !important; /* 兼容旧浏览器 */
}
.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
