/* 文章详情页样式 */

/* 文章区域 */
.news-section {
    padding: 40px 0 60px;
    background: #fff;
    height: auto;
    min-height: 500px;
}

.section-title::after{
    background: none;
}

/* 文章标题 */
/* .section-title {
    text-align: center;
    font-size: 40px;
    color: #931d22;
    margin: 0 auto;
    position: relative;
    padding-bottom: 20px;
    border-bottom: 3px solid #a9e0e7;
    width: 160px;
    min-width: 160px;
    width: auto;
    display: inline-block;
} */

.section-title {
    text-align: center;
    font-size: 40px;
    color: #000;
    margin: 0 auto;
    padding-bottom: 20px;
    width: auto;
    display: inline-block;
}

/* 副标题 */
.section-subtitle {
    font-size: 18px;
    color: #666;
    margin: 20px;
    text-align: right;
    max-width: 100%;
    font-weight: normal;
}

.section-subtitle span {
    font-family: Arial, Helvetica, sans-serif;
}

/* 文章元信息 */
.section-other {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.section-other .date {
    font-size: 14px;
    color: #999;
}

/* 字体大小切换 */
.font-size-switch {
    display: flex;
    gap: 5px;
}

.font-size-switch button {
    padding: 5px 12px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.font-size-switch button:hover {
    background: #f5f5f5;
}

.font-size-switch button.active {
    background: #931d22;
    color: #fff;
    border-color: #931d22;
}

/* 文章内容 */
.content.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: left;
}

.content.article-content p {
    margin-bottom: 10px;
    text-indent: 2em;
}

.content.article-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 10px auto;
}

/* 字体大小切换样式 */
.article-content.font-small {
    font-size: 14px;
}

.article-content.font-medium {
    font-size: 16px;
}

.article-content.font-large {
    font-size: 18px;
}

/* 上一篇下一篇 */
.article-nav {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.article-nav .nav-item {
    font-size: 14px;
    flex: 1;
    display: flex;
    gap: 5px;
}

.article-nav .nav-item.next {
    text-align: right;
    align-items: flex-end;
}

.article-nav .nav-label {
    color: #999;
}

.article-nav a {
    color: #333;
    text-decoration: none;
    font-weight:normal;
    padding:0;
    font-size: 14px;
}

.article-nav a:hover {
    color: #931d22;
}

.article-nav .no-article {
    color: #999;
}

/* 响应式 */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .section-other {
        gap: 15px;
    }
    
    .section-other .date {
        font-size: 12px;
    }
}

/* 1600px 以下适配 */
@media (max-width: 1600px) {
    body{
        min-width: 1600px;
    }

    .about-page .container {
        width: 1400px !important;
        margin: 0 auto;
    }
}

/* 1440px 以下适配 */
@media (max-width: 1440px) {
    body {
        min-width: 1440px;
    }
    .about-page .container {
        width: 1280px !important;
        margin: 0 auto;
    }
}
