/* ============================================================
   新闻中心 news.html — 列表页
   与首页 / 研发实力 / 技术服务 / 关于我们 / 产品中心 统一视觉体系：
   思源黑体 CN · 品牌红 #E73216 · 橙 #EA5B16 · 深 #231815
   正文灰 #625F5D · 次要 #9A9591 · 浅底 #f6f8f8 · 描边 #f0f2f3
   注：本站 html 根字号 calc(100vw/19.2)，1920 下 1rem = 100px。
   ============================================================ */

/* ---------- Hero Banner（尺寸/字体/动效与其它内页完全一致） ---------- */
.newslist-page .newslist-hero {
    background: #101d22;
    color: #fff;
    min-height: 6.6rem;
    overflow: hidden;
    position: relative;
}

/* ---------- Banner 背景图 ----------
   图片由页面 HTML 提供（<div class="newslist-hero-bg"><img src="..."></div>），
   这样每页可单独替换，不再依赖本文件里的统一图片。 */
.newslist-page .newslist-hero-bg {
    inset: 0;
    overflow: hidden;
    position: absolute;
}
.newslist-page .newslist-hero-bg::after {
    background: rgba(16,29,34,.42);
    content: "";
    inset: 0;
    position: absolute;
}
.newslist-page .newslist-hero-bg img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}
.newslist-hero-grid {
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 42px 42px;
    inset: 0;
    position: absolute;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 72%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 72%);
}
.newslist-hero-glow {
    background: radial-gradient(circle, rgba(244,123,104,.34) 0%, transparent 62%);
    height: 4.6rem;
    position: absolute;
    right: -.6rem;
    top: -1.2rem;
    width: 5.4rem;
}
.newslist-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(3.2rem, 4.6rem);
    min-height: 5.2rem;
    padding-top: .5rem;
    position: relative;
    z-index: 2;
}
.newslist-breadcrumb {
    align-items: center;
    color: rgba(255,255,255,.62);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 10px;
    grid-column: 1/-1;
    margin-bottom: .22rem;
}
.newslist-breadcrumb a { color: rgba(255,255,255,.62); }
.newslist-breadcrumb strong { color: #fff; font-weight: 400; }
.newslist-hero-copy { align-self: center; padding-bottom: .3rem; }

/* 小标签：全站统一 11px / 700 / .17em */
.newslist-eyebrow {
    color: #f47b68;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .17em;
    line-height: 1.4;
    text-transform: uppercase;
}
.newslist-hero h1 {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.12;
    margin-top: .14rem;
}
.newslist-hero-copy > p {
    color: rgba(255,255,255,.72);
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.8;
    margin-top: .22rem;
    max-width: 6.6rem;
}
.newslist-hero-actions {
    align-items: center;
    display: flex;
    gap: .26rem;
    margin-top: .32rem;
}
/* 主按钮：全站统一胶囊 + 品牌红 */
.newslist-primary-action {
    align-items: center;
    background: var(--brand-primary, #E73216);
    border: 1px solid var(--brand-primary, #E73216);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 15px;
    font-weight: 600;
    gap: .12rem;
    line-height: 1;
    padding: .16rem .34rem;
    text-decoration: none;
    transition: background-color .3s, box-shadow .3s, transform .3s;
}
.newslist-primary-action span {
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    transition: transform .3s;
}
.newslist-primary-action:hover {
    background: #c92b11;
    box-shadow: 0 10px 24px rgba(231,50,22,.3);
    color: #fff;
    transform: translateY(-2px);
}
.newslist-primary-action:hover span { transform: translateX(3px); }
.newslist-text-action {
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 999px;
    color: rgba(255,255,255,.9);
    display: inline-flex;
    font-size: 15px;
    gap: .1rem;
    line-height: 1;
    padding: .16rem .32rem;
    text-decoration: none;
    transition: border-color .3s, color .3s, background-color .3s;
}
.newslist-text-action:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff;
}
.newslist-hero-badge {
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
}
.newslist-badge-halo {
    background: radial-gradient(circle, rgba(244,123,104,.5) 0%, transparent 64%);
    border-radius: 50%;
    height: 3.4rem;
    position: absolute;
    width: 3.4rem;
}
.newslist-badge-core {
    align-items: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    height: 2.1rem;
    justify-content: center;
    position: relative;
    text-align: center;
    width: 2.1rem;
}
.newslist-badge-core small {
    color: #f47b68;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}
.newslist-badge-core strong {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.25;
    margin-top: .05rem;
}

/* ---------- 新闻列表区 ---------- */
.newslist-main {
    background: #f6f8f8;
    overflow: hidden;
    padding: .8rem 0;
    position: relative;
}
/* 生物点阵纹理：呼应荧光微球/孔板意象，纯 CSS 无额外图片 */
.newslist-main::before {
    background-image: radial-gradient(rgba(231,50,22,.07) 1.2px, transparent 1.2px);
    background-size: 28px 28px;
    content: "";
    inset: 0;
    position: absolute;
    -webkit-mask-image: radial-gradient(ellipse 62% 48% at 50% 0%, #000 0%, transparent 74%);
    mask-image: radial-gradient(ellipse 62% 48% at 50% 0%, #000 0%, transparent 74%);
}
.newslist-main > .container { position: relative; z-index: 1; }

/* 区块标题：与其它内页 .xxx-section-heading 完全一致 */
.newslist-section-heading {
    align-items: flex-end;
    display: flex;
    gap: .4rem;
    justify-content: space-between;
    margin-bottom: .34rem;
}
.newslist-section-heading h2 {
    color: #231815;
    font-size: clamp(28px, 2.35vw, 42px);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.25;
    margin: .14rem 0 0;
}
.newslist-section-heading > p {
    color: #9A9591;
    flex: 0 1 auto;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 .05rem;
    min-width: 4rem;
    text-align: right;
}

/* ---------- 分类标签条 ---------- */
.newslist-cats { margin-bottom: .34rem; }
.newslist-cats-inner {
    align-items: center;
    border-bottom: 1px solid #e7eaeb;
    display: flex;
    flex-wrap: wrap;
    gap: .12rem;
    padding-bottom: .24rem;
}
.newslist-cat {
    border: 1px solid #e3e7e8;
    border-radius: .5rem;
    background: #fff;
    color: #625F5D;
    font-size: 14px;
    line-height: 1;
    padding: .1rem .28rem;
    text-decoration: none;
    transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s, transform .3s;
}
.newslist-cat:hover {
    border-color: rgba(231,50,22,.38);
    color: var(--brand-primary, #E73216);
    transform: translateY(-2px);
}
.newslist-cat.on {
    background: linear-gradient(120deg, #E73216 0%, #EA5B16 100%);
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(231,50,22,.24);
    color: #fff;
}

/* ---------- 列表容器：头条占满一行，其余 3 列 ---------- */
.newslist-list {
    display: grid;
    gap: .3rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------- 头条大卡（列表第 1 条） ---------- */
.newslist-lead {
    background: #fff;
    border: 1px solid #f0f2f3;
    border-radius: .16rem;
    box-shadow: 0 18px 44px rgba(35,24,21,.08);
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: border-color .3s, box-shadow .35s, transform .35s;
}
.newslist-lead:hover {
    border-color: rgba(231,50,22,.2);
    box-shadow: 0 26px 56px rgba(35,24,21,.14);
    transform: translateY(-3px);
}
.newslist-lead-pic {
    background: #eef0f2;
    display: block;
    overflow: hidden;
    position: relative;
}
.newslist-lead-pic::after {
    background: linear-gradient(180deg, rgba(16,29,34,0) 45%, rgba(16,29,34,.34) 100%);
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}
.newslist-lead-pic img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
    width: 100%;
}
.newslist-lead:hover .newslist-lead-pic img { transform: scale(1.05); }
.newslist-lead-tag {
    background: linear-gradient(120deg, #E73216 0%, #EA5B16 100%);
    border-radius: .06rem;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    left: .2rem;
    letter-spacing: .04em;
    padding: .06rem .16rem;
    position: absolute;
    top: .2rem;
    z-index: 2;
}
.newslist-lead-body {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: .5rem .55rem;
}
.newslist-lead-meta {
    align-items: center;
    display: flex;
    gap: .12rem;
}
.newslist-lead-cat {
    background: rgba(231,50,22,.08);
    border-radius: .05rem;
    color: var(--brand-primary, #E73216);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    padding: .04rem .12rem;
}
.newslist-lead-date {
    color: #a8a4a0;
    font-size: 13px;
    letter-spacing: .04em;
}
.newslist-lead-title {
    color: #231815;
    display: -webkit-box;
    font-size: clamp(20px, 1.7vw, 28px);
    font-weight: 700;
    line-height: 1.45;
    margin: .18rem 0 .16rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.newslist-lead:hover .newslist-lead-title { color: var(--brand-primary, #E73216); }
.newslist-lead-desc {
    color: #625F5D;
    display: -webkit-box;
    font-size: 14px;
    line-height: 1.8;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.newslist-lead-more {
    align-items: center;
    color: var(--brand-primary, #E73216);
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    gap: .06rem;
    margin-top: .26rem;
}
.newslist-lead-more span { font-size: 16px; transition: transform .3s; }
.newslist-lead:hover .newslist-lead-more span { transform: translateX(4px); }

/* ---------- 网格卡片 ---------- */
.newslist-card {
    background: #fff;
    border: 1px solid #f0f2f3;
    border-radius: .14rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: border-color .3s, box-shadow .35s, transform .35s;
}
.newslist-card::before {
    background: linear-gradient(120deg, #E73216 0%, #EA5B16 100%);
    content: "";
    height: 2px;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: scaleX(.35);
    transform-origin: left center;
    transition: opacity .3s, transform .4s;
    z-index: 3;
}
.newslist-card:hover {
    border-color: rgba(231,50,22,.2);
    box-shadow: 0 20px 44px rgba(35,24,21,.1);
    transform: translateY(-5px);
}
.newslist-card:hover::before { opacity: 1; transform: scaleX(1); }
.newslist-card-pic {
    aspect-ratio: 16/10;
    background: #eef0f2;
    display: block;
    overflow: hidden;
    position: relative;
}
.newslist-card-pic img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
    width: 100%;
}
.newslist-card:hover .newslist-card-pic img { transform: scale(1.06); }
.newslist-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: .34rem .38rem .36rem;
}
.newslist-card-meta {
    align-items: center;
    display: flex;
    gap: .1rem;
    justify-content: space-between;
}
.newslist-card-cat {
    background: rgba(231,50,22,.08);
    border-radius: .05rem;
    color: var(--brand-primary, #E73216);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    padding: .04rem .12rem;
}
.newslist-card-date { color: #a8a4a0; font-size: 12px; }
.newslist-card-title {
    color: #231815;
    display: -webkit-box;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    margin: .18rem 0 .12rem;
    min-height: 3.1em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color .3s;
}
.newslist-card:hover .newslist-card-title { color: var(--brand-primary, #E73216); }
.newslist-card-desc {
    color: #8a8681;
    display: -webkit-box;
    flex: 1;
    font-size: 13px;
    line-height: 1.7;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.newslist-card-more {
    align-items: center;
    color: var(--brand-primary, #E73216);
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    gap: .06rem;
    margin-top: .2rem;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .3s, transform .3s;
}
.newslist-card-more span { font-size: 15px; transition: transform .3s; }
.newslist-card:hover .newslist-card-more { opacity: 1; transform: none; }
.newslist-card:hover .newslist-card-more span { transform: translateX(3px); }

/* ---------- 分页（PbootCMS {page:bar} 真实结构） ----------
   结构为 .page-status / .page-index / .page-pre / .page-numbar /
   .page-next / .page-last 六层包裹 span，其中前五者内部才是 <a>。
   因此只给 <a> 和 .page-num 上样式，包裹层一律不加底色，避免方块套方块。 */
.newslist-pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .1rem;
    justify-content: center;
    margin-top: .5rem;
}
.newslist-pagination .page-status {
    color: #9A9591;
    font-size: 14px;
    margin-right: .18rem;
}
.newslist-pagination .page-numbar {
    align-items: center;
    display: inline-flex;
    gap: .08rem;
}
.newslist-pagination a {
    align-items: center;
    background: #fff;
    border: 1px solid #e3e7e8;
    border-radius: .08rem;
    color: #625F5D;
    display: inline-flex;
    font-size: 14px;
    height: clamp(32px, .4rem, 40px);
    justify-content: center;
    min-width: clamp(32px, .4rem, 40px);
    padding: 0 .14rem;
    text-decoration: none;
    transition: background-color .3s, border-color .3s, color .3s, transform .3s;
}
.newslist-pagination a:hover {
    border-color: rgba(231,50,22,.4);
    color: var(--brand-primary, #E73216);
    transform: translateY(-2px);
}
.newslist-pagination a.page-num-current {
    background: linear-gradient(120deg, #E73216 0%, #EA5B16 100%);
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(231,50,22,.24);
    color: #fff;
}
/* 不可用态（首/前一页在首页时 PbootCMS 输出 javascript:;） */
.newslist-pagination a[href="javascript:;"] {
    background: #f1f3f4;
    border-color: #e9ebec;
    color: #bdb9b5;
    cursor: not-allowed;
}
.newslist-pagination a[href="javascript:;"]:hover { transform: none; }
/* 省略号是 span.page-num，不着底色 */
.newslist-pagination span.page-num { color: #a8a4a0; padding: 0 .06rem; }

/* ---------- CTA（与关于我们 / 产品中心 同一梯度区块） ---------- */
.newslist-cta {
    background: #fff;
    padding: 0 0 .8rem;
}
.newslist-cta-inner {
    align-items: center;
    background: linear-gradient(120deg, #E73216 0%, #EA5B16 100%);
    border-radius: .12rem;
    box-shadow: 0 14px 30px rgba(234,91,22,.22);
    color: #fff;
    display: flex;
    gap: .4rem;
    justify-content: space-between;
    overflow: hidden;
    padding: .5rem .6rem;
    position: relative;
}
.newslist-cta-inner::after {
    background: radial-gradient(circle, rgba(255,255,255,.3) 0%, transparent 60%);
    content: "";
    height: 3rem;
    position: absolute;
    right: -.6rem;
    top: -1.2rem;
    width: 3rem;
}
.newslist-cta-inner > div { position: relative; z-index: 2; }
.newslist-cta .newslist-eyebrow { color: rgba(255,255,255,.72); }
.newslist-cta h2 {
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 700;
    line-height: 1.3;
    margin: .12rem 0 0;
}
.newslist-cta p {
    font-size: 15px;
    line-height: 1.7;
    margin: .12rem 0 0;
    opacity: .85;
}
.newslist-cta .newslist-primary-action {
    background: #fff;
    border-color: #fff;
    color: var(--brand-primary, #E73216);
    flex-shrink: 0;
    padding: .18rem .4rem;
    position: relative;
    z-index: 2;
}
.newslist-cta .newslist-primary-action:hover {
    background: #fff;
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
    color: var(--brand-primary, #E73216);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1399px) {
    .newslist-section-heading { margin-bottom: .3rem; }
}
@media (max-width: 1199px) {
    .newslist-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .26rem; }
    .newslist-section-heading > p { min-width: 0; }
}
@media (max-width: 991px) {
    .newslist-hero-inner { grid-template-columns: 1fr; }
    .newslist-hero-badge { display: none; }
    .newslist-lead { grid-template-columns: 1fr; }
    .newslist-lead-pic { aspect-ratio: 16/9; }
    .newslist-lead-body { padding: .38rem .4rem .42rem; }
    .newslist-section-heading { align-items: flex-start; flex-direction: column; gap: .1rem; }
    .newslist-section-heading > p { max-width: none; text-align: left; }
    .newslist-cta-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 767px) {
    .newslist-hero-inner {
        grid-template-columns: 1fr;
        min-height: 4.8rem;
        padding-top: .34rem;
    }
    .newslist-hero h1 { font-size: clamp(30px, 8vw, 44px); }
    .newslist-hero-copy > p { font-size: 15px; max-width: none; }
    .newslist-hero-actions { flex-wrap: wrap; gap: .18rem; }
    .newslist-main { padding: .62rem 0; }
    .newslist-list { grid-template-columns: 1fr; gap: .24rem; }
    .newslist-lead-body { padding: .32rem .34rem .36rem; }
    .newslist-lead-desc { -webkit-line-clamp: 3; }
    .newslist-card-title { min-height: 0; }
    .newslist-card-more { opacity: 1; transform: none; }
    /* 分类条横向滚动，避免换行挤压 */
    .newslist-cats-inner {
        flex-wrap: nowrap;
        gap: .14rem;
        overflow-x: auto;
        padding-bottom: .2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .newslist-cats-inner::-webkit-scrollbar { display: none; }
    .newslist-cat { flex: 0 0 auto; }
    .newslist-cta { padding: 0 0 .62rem; }
    .newslist-cta-inner { padding: .4rem .34rem; }
    .newslist-pagination .page-status { flex: 0 0 100%; margin: 0 0 .1rem; text-align: center; }
}
@media (max-width: 380px) {
    .newslist-hero-actions { gap: .12rem; }
    .newslist-primary-action,
    .newslist-text-action { font-size: 14px; padding: .14rem .26rem; }
    .newslist-pagination a { font-size: 13px; min-width: .36rem; }
}
