/* 新闻列表页面样式 */

/* 页面头部 */
.newslist-header {
    background: linear-gradient(135deg, #ff9f8f 0%, #ff7e66 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
}

.newslist-page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.newslist-breadcrumb {
    font-size: 16px;
    opacity: 0.9;
}

.newslist-breadcrumb a {
    color: #fff;
}

.newslist-breadcrumb span {
    margin: 0 10px;
}

/* 分类标签 */
.newslist-categories {
    padding: 40px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.newslist-category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.newslist-cat-btn {
    padding: 10px 25px;
    border: 2px solid #ddd;
    background: #fff;
    color: #555;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

.newslist-cat-btn:hover {
    border-color: #ff9f8f;
    color: #ff9f8f;
}

.newslist-cat-btn.active {
    background: #ff9f8f;
    color: #fff;
    border-color: #ff9f8f;
}

/* 内容布局 */
.newslist-content {
    padding: 60px 0 80px;
}

.newslist-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* 文章列表 */
.newslist-items {
    display: grid;
    gap: 30px;
}

.newslist-item {
    display: flex;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.newslist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.newslist-item-image {
    width: 280px;
    height: 220px;
    flex-shrink: 0;
    overflow: hidden;
}

.newslist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.newslist-item:hover .newslist-item-image img {
    transform: scale(1.1);
}

.newslist-item-content {
    flex: 1;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
}

.newslist-item-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #999;
}

.newslist-item-cat {
    color: #ff9f8f;
    font-weight: 600;
}

.newslist-item-meta i {
    margin-right: 5px;
}

.newslist-item-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.newslist-item-title a {
    color: #2c3e50;
    transition: color 0.3s;
}

.newslist-item-title a:hover {
    color: #ff9f8f;
}

.newslist-item-desc {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.newslist-item-more {
    color: #ff9f8f;
    font-weight: 600;
    transition: gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.newslist-item-more:hover {
    gap: 10px;
}

/* 分页 */
.newslist-pagination {
    margin-top: 40px;
    text-align: center;
}

/* 侧边栏 */
.newslist-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.newslist-sidebar-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.newslist-sidebar-title {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff9f8f;
}

/* 热门文章 */
.newslist-hot-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newslist-hot-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s;
}

.newslist-hot-item:hover {
    background: #f8f9fa;
}

.newslist-hot-num {
    width: 28px;
    height: 28px;
    background: #ff9f8f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.newslist-hot-num:nth-child(1) {
    background: #ff6b6b;
}

.newslist-hot-item:nth-child(2) .newslist-hot-num {
    background: #ff8787;
}

.newslist-hot-item:nth-child(3) .newslist-hot-num {
    background: #ffa3a3;
}

.newslist-hot-text {
    flex: 1;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 分类列表 */
.newslist-cat-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newslist-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 8px;
    color: #555;
    transition: all 0.3s;
}

.newslist-cat-item:hover {
    background: #f8f9fa;
    color: #ff9f8f;
}

.newslist-cat-item i {
    margin-right: 10px;
    color: #ff9f8f;
}

.newslist-cat-count {
    background: #f8f9fa;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #999;
}

/* 标签云 */
.newslist-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.newslist-tags a {
    background: #f8f9fa;
    padding: 6px 15px;
    border-radius: 20px;
    color: #666;
    font-size: 13px;
    transition: all 0.3s;
}

.newslist-tags a:hover {
    background: #ff9f8f;
    color: #fff;
}

/* 联系CTA */
.newslist-sidebar-cta {
    background: linear-gradient(135deg, #ff9f8f, #ff7e66);
    color: #fff;
    text-align: center;
}

.newslist-sidebar-cta h4 {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.3);
}

.newslist-sidebar-cta p {
    margin-bottom: 20px;
    opacity: 0.95;
}

.newslist-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #ff9f8f;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.newslist-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 响应式 */
@media (max-width: 992px) {
    .newslist-layout {
        grid-template-columns: 1fr;
    }
    
    .newslist-item {
        flex-direction: column;
    }
    
    .newslist-item-image {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 576px) {
    .newslist-page-title {
        font-size: 32px;
    }
    
    .newslist-item-title {
        font-size: 18px;
    }
}

