/* 新闻详情页样式 */
.news-section {
    padding: 60px 0;
    background: #fff;
}

/* 新闻内容容器 */
.news-content {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 60px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    border-radius: 8px;
}

/* 新闻头部样式 */
.news-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.news-title {
    font-size: 28px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 20px;
}

.news-meta {
    color: #999;
    font-size: 14px;
}

.news-meta span {
    display: inline-flex;
    align-items: center;
    margin: 0 15px;
}

.news-meta i {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 新闻摘要样式 */
.news-summary {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid #1e50ae;
    border-radius: 0 4px 4px 0;
}

.news-summary p {
    color: #666;
    line-height: 1.8;
    margin: 0;
    font-size: 15px;
}

/* 新闻主体样式 */
.news-body {
    color: #333;
    line-height: 1.8;
    font-size: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.news-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    margin: 20px 0;
    border-radius: 8px;
}

.news-text {
    margin-top: 30px;
}

.news-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}

.news-text h2 {
    font-size: 20px;
    color: #333;
    margin: 30px 0 20px;
    font-weight: bold;
    position: relative;
    padding-left: 15px;
}

.news-text h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #1e50ae;
}

/* 新闻底部样式 */
.news-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

/* 标签样式 */
.news-tags {
    margin-bottom: 30px;
}

.news-tags span {
    color: #666;
    margin-right: 10px;
}

.news-tags a {
    display: inline-block;
    padding: 5px 15px;
    background: #f5f5f5;
    color: #666;
    margin-right: 10px;
    border-radius: 3px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-tags a:hover {
    background: #1e50ae;
    color: #fff;
}

/* 上一篇/下一篇导航 */
.news-navigation {
    padding-top: 0;
    border-top: none;
}

.prev-next {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.prev-next .prev,
.prev-next .next {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    flex: 1;
    white-space: nowrap;
}

.prev-next .prev::before {
    content: "上一篇：";
    flex-shrink: 0;
    width: 54px;
}

.prev-next .next::before {
    content: "下一篇：";
    flex-shrink: 0;
    width: 54px;
}

.prev-next a {
    color: #333;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 54px);
}

.prev-next a:hover {
    color: #1e50ae;
}

/* 响应式适配 */
@media screen and (max-width: 992px) {
    .news-content {
        margin: 0 20px;
        padding: 30px 40px;
    }
}

@media screen and (max-width: 768px) {
    .news-section {
        padding: 40px 0;
    }

    .news-content {
        margin: 0 15px;
        padding: 20px;
    }

    .news-title {
        font-size: 24px;
    }

    .news-meta span {
        margin: 0 10px;
    }

    .news-summary {
        padding: 15px;
    }

    .news-text h2 {
        font-size: 18px;
    }

    .news-image {
        max-height: 300px;
    }

    .prev-next {
        flex-direction: column;
        gap: 15px;
    }
}

@media screen and (max-width: 576px) {
    .news-meta {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .news-meta span {
        margin: 0;
    }

    .prev-next a {
        max-width: 70%;
    }
}
