/* 新闻列表Banner样式 */
.news-list-banner {
    position: relative;
    height: 200px;
    color: #fff;
    display: flex;
    align-items: center;
    background-color: #222;
}

.news-list-banner .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: 1;
}

.news-list-banner .container {
    position: relative;
    z-index: 2;
}

.news-list-banner .breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-list-banner .breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.news-list-banner .breadcrumb span {
    color: #ddd;
}

.news-list-banner .breadcrumb .active {
    color: #4CAF50;
}

.news-list-banner h1 {
    font-size: 36px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* 新闻列表区域 */
.news-list-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.news-list-section .row {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 40px;
}

/* 新闻列表主体 */
.news-list-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-item {
    background-color: #fff;
    padding: 0;
    position: relative;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

/* 日期徽章 */
.news-date-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #4CAF50;
    color: #fff;
    width: 60px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.news-date-badge .month {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.news-date-badge .day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.news-date-badge .year {
    font-size: 12px;
    margin-top: 5px;
}

.news-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-img img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: #4CAF50;
}

.news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4CAF50;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #3d8b40;
    gap: 12px;
}

/* 分页样式 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #333;
    border: 1px solid #eee;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-btn.active {
    background-color: #4CAF50;
    color: #fff;
    border-color: #4CAF50;
}

.page-btn:hover:not(.active) {
    background-color: #f0f0f0;
    border-color: #ddd;
}

.page-ellipsis {
    color: #666;
    font-size: 16px;
    padding: 0 5px;
}

.page-next {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #333;
    border: 1px solid #eee;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-next:hover {
    background-color: #4CAF50;
    color: #fff;
    border-color: #4CAF50;
}

/* 新闻列表侧边栏 */
.news-list-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 侧边栏通用样式（复用新闻详情页，新增分类项样式） */
.categories-widget li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.categories-widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.categories-widget a {
    color: #666;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    width: calc(100% - 20px);
    transition: color 0.3s ease;
}

.categories-widget a:hover {
    color: #4CAF50;
}

.categories-widget span {
    color: #999;
    font-size: 13px;
}

.categories-widget i {
    color: #999;
    font-size: 12px;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .news-list-section .row {
        grid-template-columns: 6fr 4fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .news-list-section .row {
        grid-template-columns: 1fr;
    }
    
    .news-list-banner {
        height: 160px;
        padding: 0 15px;
    }
    
    .news-list-banner h1 {
        font-size: 28px;
    }
    
    .news-date-badge {
        width: 50px;
        height: 70px;
    }
    
    .news-date-badge .day {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .news-list-banner {
        height: 140px;
    }
    
    .news-list-banner h1 {
        font-size: 24px;
    }
    
    .news-img {
        height: 180px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .page-btn, .page-next {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}







 /* 侧边栏容器 */
        .news-list-sidebar {
            width: 320px;
            background: #ffffff;
            border: 1px solid #eee;
            padding: 30px;
            border-radius: 8px;
        }

        /* 通用侧边栏模块 */
        .sidebar-widget {
            margin-bottom: 40px;
        }
        .sidebar-widget h3 {
            font-size: 18px;
            color: #222;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding-bottom: 15px;
            margin-bottom: 20px;
            border-bottom: 2px solid #2563eb;
            position: relative;
        }

        /* 搜索框样式 */
        .search-widget {
            position: relative;
        }
        .search-widget input {
            width: 100%;
            height: 48px;
            border: 1px solid #ddd;
            padding: 0 50px 0 15px;
            border-radius: 4px;
            font-size: 14px;
            outline: none;
        }
        .search-widget input:focus {
            border-color: #2563eb;
        }
        .search-widget button {
            position: absolute;
            right: 0;
            top: 0;
            width: 48px;
            height: 48px;
            background: #2563eb;
            border: none;
            color: #fff;
            font-size: 16px;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            transition: background 0.3s;
        }
        .search-widget button:hover {
            background: #1d4ed8;
        }

        /* 分类列表 */
        .categories-widget li {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #f1f1f1;
        }
        .categories-widget li:last-child {
            border-bottom: none;
        }
        .categories-widget a {
            font-size: 15px;
            color: #444;
        }
        .categories-widget a:hover {
            color: #2563eb;
            padding-left: 5px;
        }
        .categories-widget a span {
            color: #888;
            margin-left: 6px;
        }
        .categories-widget li i {
            color: #aaa;
            font-size: 13px;
        }

        /* 最新文章 */
        .recent-posts-widget li {
            display: flex;
            gap: 12px;
            margin-bottom: 18px;
        }
        .recent-posts-widget li:last-child {
            margin-bottom: 0;
        }
        .recent-posts-widget img {
            width: 70px;
            height: 70px;
            object-fit: cover;
            border-radius: 4px;
        }
        .post-info {
            flex: 1;
        }
        .post-info a {
            font-size: 14px;
            line-height: 1.5;
            display: block;
            margin-bottom: 6px;
            color: #333;
        }
        .post-info a:hover {
            color: #2563eb;
        }
        .post-info span {
            font-size: 12px;
            color: #999;
        }

        /* 标签模块 */
        .tags-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .tags-list a {
            padding: 7px 14px;
            border: 1px solid #ddd;
            font-size: 13px;
            border-radius: 30px;
            color: #555;
        }
        .tags-list a:hover {
            background: #2563eb;
            color: #fff;
            border-color: #2563eb;
        }

        /* 响应式适配 */
        @media (max-width: 768px) {
            .news-list-sidebar {
                width: 100%;
            }
        }