/* 新闻列表页样式 */
.news-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.news-item:last-child {
    border-bottom: none;
}
.news-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}
.news-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.news-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.news-excerpt {
    color: #333;
    line-height: 1.6;
}

/* 新闻详情页样式 */
.news-detail-title {
    font-size: 2rem;
    margin-bottom: 20px;
}
.news-detail-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.news-detail-content {
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
}
.news-detail-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}
.news-detail-content h3 {
    margin-top: 30px;
    margin-bottom: 20px;
}
.news-detail-content p {
    margin-bottom: 15px;
}
.related-news {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.related-news h3 {
    margin-bottom: 20px;
}
.related-news-item {
    margin-bottom: 15px;
}
.back-to-list {
    margin-bottom: 20px;
}

/* 响应式设计 */
@media (max-width: 767px) {
    /* 列表页响应式 */
    .news-title {
        font-size: 1.3rem;
    }
    .news-item {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    .news-meta {
        font-size: 0.8rem;
    }
    .news-excerpt {
        font-size: 0.9rem;
    }
    
    /* 详情页响应式 */
    .news-detail-title {
        font-size: 1.5rem;
    }
    .news-detail-meta {
        font-size: 0.8rem;
    }
    .news-detail-content {
        font-size: 0.9rem;
    }
    .news-detail-content h3 {
        font-size: 1.2rem;
        margin-top: 20px;
        margin-bottom: 15px;
    }
    .related-news {
        margin-top: 30px;
        padding-top: 20px;
    }
    .related-news h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 575px) {
    /* 列表页响应式 */
    .news-title {
        font-size: 1.2rem;
    }
    h1 {
        font-size: 1.8rem;
    }
    
    /* 详情页响应式 */
    .news-detail-title {
        font-size: 1.3rem;
    }
    .back-to-list .btn {
        padding: 0.3rem 0.6rem;
    }
    .related-news h3 {
        font-size: 1.2rem;
    }
}

/* 分页样式 */

.pagination span,.pagination span a{
	margin-right: 10px;
}