﻿
/* 顶部 Hero 区域 */
.news-hero {
    padding: 90px 0 40px;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

    .news-hero .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

.news-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

    .news-hero-content h1 {
        font-size: 42px;
        font-weight: 700;
        margin-bottom: 12px;
        color: #111827;
    }

    .news-hero-content p {
        font-size: 18px;
        color: #4b5563;
        margin-bottom: 30px;
    }

/* 精选卡片 */
.news-featured-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: left;
}

    .news-featured-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    }

/* 主布局 */
.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.news-main-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* 筛选栏 */
.news-filter-bar {
    background: #ffffff;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-tab-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    background-color: #f9fafb;
    color: #4b5563;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

    .news-tab-btn.news-active {
        background-color: #2563eb;
        color: #fff;
    }

    .news-tab-btn:hover:not(.news-active) {
        background-color: #eef2ff;
        color: #2563eb;
    }

/* 搜索 + 年份 */
.news-search-filter {
    display: flex;
    gap: 16px;
    align-items: center;
}

.news-search-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

    .news-search-box i {
        position: absolute;
        left: 12px;
        color: #6b7280;
    }

    .news-search-box input {
        width: 100%;
        padding: 10px 12px 10px 36px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        font-size: 14px;
        outline: none;
        transition: all 0.3s ease;
    }

        .news-search-box input:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

.news-year-select {
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    cursor: pointer;
}

/* 新闻卡片列表 */
.news-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

.news-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-card-body {
    padding: 18px;
}

.news-card-category {
    display: inline-block;
    font-size: 12px;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-excerpt {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
}

/* 分页 */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

    .news-pagination button {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #fff;
        color: #4b5563;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
    }

        .news-pagination button.active,
        .news-pagination button:hover {
            background: #2563eb;
            color: #fff;
        }

/* 侧边栏 */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.news-widget-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .news-widget-title i {
        color: #2563eb;
    }

/* 热门文章 */
.news-hot-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .news-hot-list li {
        padding: 10px 0;
        border-bottom: 1px dashed #e5e7eb;
        font-size: 16px;
        transition: all 0.3s ease;
    }

        .news-hot-list li:last-child {
            border-bottom: none;
        }

        .news-hot-list li:hover {
            color: #2563eb;
            padding-left: 4px;
        }

/* 标签云 */
.news-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-tag {
    padding: 6px 10px;
    background: #f9fafb;
    border-radius: 4px;
    font-size: 13px;
    color: #4b5563;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .news-tag:hover {
        background: #2563eb;
        color: #fff;
    }

/* 响应式 */
@media (max-width: 992px) {
    .news-main-grid {
        grid-template-columns: 1fr;
    }

    .news-hero-content h1 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .news-search-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .news-cards {
        grid-template-columns: 1fr;
    }

    .news-hero {
        padding: 40px 0 30px;
    }

    .news-hero-content h1 {
        font-size: 28px;
    }
}
.news-btn-subscribe {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .news-btn-subscribe:hover {
        background-color: #1d4ed8;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px -5px rgba(37,99,235,0.3);
    }



.news-featured-img {
    flex: 1.2;
    background: linear-gradient(145deg, #d9e6ff, #cbdffc);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #1e40af;
}

.news-featured-content {
    flex: 2;
    padding: 20px;
}

.news-badge {
    display: inline-block;
    background: #e0e7ff;
    color: #1e40af;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 30px;
    margin-bottom: 4px;
}

.news-featured-content h3 {
    font-size: 2.5rem;
    margin-bottom: 6px;
}

.news-featured-content p {
    color: #4b5563;
    margin-bottom: 15px;
}

.news-read-more {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
    font-size: 1.5rem;
}

    .news-read-more:hover {
        gap: 10px;
    }



.news-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    transition: all 0.25s ease;
    border: 1px solid #edf2f7;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

    .news-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 30px -12px rgba(0,0,0,0.08);
        border-color: #cbdffc;
    }

.news-card-thumb {
    width: 100px;
    height: 100px;
    background: #eef2ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #2563eb;
    flex-shrink: 0;
    margin-right: 20px; 
}

.news-card-info {
    flex: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.news-category-tag {
    font-size: 1rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
    text-transform: uppercase;
}

.news-tag-company {
    background: #dbeafe;
    color: #1e3a8a;
}

.news-tag-product {
    background: #dcfce7;
    color: #166534;
}

.news-tag-insight {
    background: #fef9c3;
    color: #854d0e;
}

.news-tag-media {
    background: #f3e8ff;
    color: #6b21a5;
}

.news-date {
    font-size: 1.2rem;
    color: #6b7280;
}

.news-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

    .news-card-title a {
        text-decoration: none;
        color: #0f172a;
        transition: color 0.2s;
    }

        .news-card-title a:hover {
            color: #2563eb;
        }

.news-summary {
    color: #4b5563;
    font-size: 1.2rem;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



.news-hot-meta {
    font-size: 1.2rem;
    color: #6c757d;
    margin-top: 5px;
}


.news-pr-contact {
    background: #f8fafc;
    border-radius: 20px;
    padding: 16px;
    text-align: center;
}

    .news-pr-contact i {
        color: #2563eb;
        margin-right: 8px;
    }



.news-page-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

    .news-page-btn.news-active-page {
        background: #2563eb;
        color: white;
        border-color: #2563eb;
    }

.news-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 48px 0 32px;
    margin-top: 40px;
}

.news-footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

@media (max-width: 640px) {
    .news-card-thumb {
        margin-right: 16px;
    }
}