/* news-category.css - 新闻分类列表页专用样式 */
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
}
body {
    font-family: "Microsoft Yahei", Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100% !important;
}
/* 面包屑导航样式 */
.breadcrumb {
    padding: 15px 0;
    font-size: clamp(0.8rem, 2vw, 0.875rem);
    color: #666;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb span {
    color: #999;
    margin: 0 8px;
}
/* 分类标题 */
.category-title {
    font-size: clamp(1.5rem, 5vw, 1.8rem);
    font-weight: bold;
    color: #222;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #007bff;
    line-height: 1.3;
}
/* 新闻列表容器 */
.news-list {
    background-color: #fff;
    padding: 20px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    width: 100% !important;
}
/* 新闻列表项 */
.news-item {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}
.news-item:last-child {
    border-bottom: none;
}
.news-item a {
    font-size: clamp(1rem, 3vw, 1.125rem);
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
}
.news-item a:hover {
    color: #007bff;
}
.news-item .news-meta {
    font-size: clamp(0.8rem, 2vw, 0.875rem);
    color: #999;
    margin-top: 8px;
}
/* 无新闻提示 */
.no-news {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}
/* 响应式适配 - 小屏幕优化 */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 10px 0;
        margin-bottom: 15px;
    }
    .category-title {
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    .news-list {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
}