﻿/* 新闻中心 */

.page-news {
    background: #f5f7fb;
}

.page-news .main-nav li.active a::after {
    width: 48px;
    height: 3px;
    bottom: 18px;
    border-radius: 2px;
    background: #fff;
}

.news-hero {
    margin-top: 80px;
    background:
        linear-gradient(90deg, rgba(30, 58, 138, 0.92), rgba(37, 99, 235, 0.72)),
        url("https://bucket.tzgj333.cn/gwtp/img_banner.png") center center / cover no-repeat;
    color: #fff;
}

.news-hero-inner {
    max-width: 1400px;
    min-height: 320px;
    margin: 0 auto;
    padding: 104px 40px 70px;
    box-sizing: border-box;
}

.news-hero-en {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-hero h1 {
    margin: 0 0 16px;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 4px;
}

.news-hero p:last-child {
    margin: 0;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.8;
}

.news-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 46px 40px 86px;
}

.news-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.news-tabs a {
    min-width: 112px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(30, 58, 138, 0.06);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.news-tabs a:hover,
.news-tabs a.is-active {
    background: #1e3a8a;
    color: #fff;
    transform: translateY(-1px);
}

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.news-item {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(30, 58, 138, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(30, 58, 138, 0.14);
}

.news-thumb {
    position: relative;
    min-height: 190px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    overflow: hidden;
}

.news-thumb::before {
    content: attr(data-title);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #93a5c6;
    font-size: 14px;
    letter-spacing: 2px;
    z-index: 0;
}

.news-thumb img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 28px 30px 26px;
}

.news-content time {
    display: inline-block;
    margin-bottom: 10px;
    color: #94a3b8;
    font-size: 13px;
}

.news-content h2 {
    margin: 0 0 12px;
    color: #1e3a8a;
    font-size: 22px;
    line-height: 1.45;
}

.news-content h2 a {
    transition: color 0.2s ease;
}

.news-content h2 a:hover {
    color: #2563eb;
}

.news-content p {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.9;
}

.news-read {
    display: inline-flex;
    align-items: center;
    padding: 9px 22px;
    border-radius: 4px;
    background: #1e3a8a;
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
    transition: background 0.2s ease;
}

.news-read:hover {
    background: #2563eb;
}

.news-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-top: 18px;
}

.news-pagination a {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    color: #64748b;
    font-size: 13px;
}

.news-pagination a:hover,
.news-pagination a.is-current {
    border-color: #1e3a8a;
    background: #1e3a8a;
    color: #fff;
}

.news-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-side-card {
    padding: 26px 24px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(30, 58, 138, 0.08);
}

.news-side-card h3 {
    margin: 0 0 18px;
    color: #1e3a8a;
    font-size: 18px;
    letter-spacing: 1px;
}

.news-side-card a {
    display: block;
    padding: 12px 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    border-top: 1px solid #eef2f7;
}

.news-side-card a:hover {
    color: #1e3a8a;
}

.news-contact p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.9;
}

.news-contact p + p {
    margin-top: 8px;
}

/* 新闻详情 */
.news-detail-main {
    max-width: 1060px;
    margin: 0 auto;
    padding: 46px 40px 86px;
}

.news-article {
    padding: 42px 54px 50px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(30, 58, 138, 0.08);
}

.news-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: #94a3b8;
    font-size: 13px;
}

.news-breadcrumb a {
    color: #64748b;
}

.news-breadcrumb a:hover {
    color: #1e3a8a;
}

.news-article-head {
    text-align: center;
    padding-bottom: 26px;
    border-bottom: 1px solid #eef2f7;
}

.news-article-head h1 {
    margin: 0 0 16px;
    color: #1e3a8a;
    font-size: 32px;
    line-height: 1.45;
    letter-spacing: 1px;
}

.news-article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    color: #94a3b8;
    font-size: 13px;
}

.news-article-cover {
    position: relative;
    margin: 34px 0;
    padding-bottom: 48%;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.news-article-cover::before {
    content: attr(data-title);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #93a5c6;
    font-size: 15px;
    letter-spacing: 2px;
}

.news-article-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.news-article-body {
    color: #475569;
    font-size: 15px;
    line-height: 2.1;
}

.news-article-body p {
    margin: 0 0 18px;
    text-align: justify;
}

.news-article-nav {
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid #eef2f7;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-article-nav a {
    color: #64748b;
    font-size: 14px;
}

.news-article-nav a:hover {
    color: #1e3a8a;
}

.news-back-wrap {
    margin-top: 32px;
    text-align: center;
}

.news-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 32px;
    border-radius: 4px;
    background: #1e3a8a;
    color: #fff;
    font-size: 14px;
}

.news-back:hover {
    background: #2563eb;
}

@media (max-width: 992px) {
    .news-hero {
        margin-top: 64px;
    }

    .news-hero-inner {
        min-height: 250px;
        padding: 76px 20px 52px;
    }

    .news-main {
        padding: 32px 20px 62px;
    }

    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-aside {
        display: none;
    }

    .page-news .footer-brand p {
        white-space: normal;
    }

    .news-detail-main {
        padding: 32px 20px 62px;
    }

    .news-article {
        padding: 32px 28px 40px;
    }
}

@media (max-width: 640px) {
    .news-hero h1 {
        font-size: 30px;
        letter-spacing: 2px;
    }

    .news-hero-en {
        font-size: 12px;
    }

    .news-hero p:last-child {
        font-size: 13px;
    }

    .news-tabs {
        gap: 8px;
    }

    .news-tabs a {
        min-width: auto;
        padding: 8px 14px;
        font-size: 12px;
    }

    .news-item {
        grid-template-columns: 1fr;
    }

    .news-thumb {
        min-height: 180px;
    }

    .news-content {
        padding: 22px 20px 24px;
    }

    .news-content h2 {
        font-size: 19px;
    }

    .news-content p {
        font-size: 13px;
        line-height: 1.8;
    }

    .news-article {
        padding: 26px 18px 34px;
    }

    .news-article-head h1 {
        font-size: 24px;
    }

    .news-article-cover {
        margin: 26px 0;
        padding-bottom: 58%;
    }

    .news-article-body {
        font-size: 14px;
        line-height: 1.9;
    }

    .news-article-meta {
        justify-content: flex-start;
        text-align: left;
    }
}
