/* ============================================================
   新闻中心聚合页：行业新闻(头条+网格) + 常见问题(Q&A问答卡片)
   仅作用于 .nhub，不影响站内其它页面  (2026-11-17)
   ============================================================ */
.nhub {
    padding: 100px 0 100px;
    background: #f7f9fb;
}
.nhub-wrap {
    width: 1320px;
    max-width: 92%;
    margin: 0 auto;
}
.nhub-sec {
    margin-bottom: 70px;
    scroll-margin-top: 20px;
}
.nhub-sec:last-child { margin-bottom: 0; }

/* ---------- 板块标题栏 ---------- */
.nhub-hd {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 0 18px;
    margin-bottom: 28px;
    border-bottom: 2px solid #e8edf3;
    position: relative;
}
.nhub-hd:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 108px;
    height: 2px;
    background: var(--primary, #1a6fc4);
}
.nhub-hd__title { line-height: 1; }
.nhub-hd__en {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-style: italic;
    letter-spacing: 3px;
    color: #1a6fc4;
    margin-bottom: 9px;
}
.nhub-hd h2 {
    font-size: 28px;
    font-weight: 800;
    color: #14243d;
    letter-spacing: 2px;
    margin: 0;
}
.nhub-hd__more {
    font-size: 15px;
    color: #6b7787;
    font-weight: 600;
    transition: color .3s;
}
.nhub-hd__more i {
    font-style: normal;
    transition: transform .3s;
    display: inline-block;
}
.nhub-hd__more:hover { color: var(--primary, #1a6fc4); }
.nhub-hd__more:hover i { transform: translateX(5px); }

/* ================= 板块一：行业新闻 ================= */
.nhub-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* 头条：横跨整行，左图右文横幅 */
.nhub-lead {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 34px rgba(20, 45, 80, .09);
    transition: transform .4s ease, box-shadow .4s ease;
}
.nhub-lead:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 46px rgba(20, 45, 80, .16);
}
.nhub-lead__media { position: relative; min-height: 320px; overflow: hidden; }
.nhub-lead__media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.nhub-lead:hover .nhub-lead__media img { transform: scale(1.06); }
.nhub-lead__flag {
    position: absolute; left: 0; top: 0;
    background: #1a6fc4; color: #fff;
    font-size: 13px; font-weight: 600; letter-spacing: 1px;
    padding: 8px 18px; border-radius: 0 0 8px 0;
}
.nhub-lead__body { padding: 40px 38px; display: flex; flex-direction: column; justify-content: center; }
.nhub-lead__date { font-size: 13px; color: #1a6fc4; font-weight: 600; letter-spacing: 1px; margin-bottom: 14px; }
.nhub-lead__body h3 {
    font-size: 20px; font-weight: 800; color: #282828;
    line-height: 2; margin: 0 0 16px; transition: color .3s;
}
.nhub-lead:hover .nhub-lead__body h3 { color: #1a6fc4; }
.nhub-lead__body p { font-size: 15px; line-height: 2; color: #999; margin: 0 0 22px; }
.nhub-lead__more { font-size: 14px; color: #1a6fc4; font-weight: 700; }
.nhub-lead__more i { font-style: normal; transition: transform .3s; display: inline-block; }
.nhub-lead:hover .nhub-lead__more i { transform: translateX(5px); }

/* 网格卡片：图上、文下 */
.nhub-ncard {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(20, 45, 80, .08);
    transition: transform .4s ease, box-shadow .4s ease;
}
.nhub-ncard:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20, 45, 80, .16); }
.nhub-ncard__media { aspect-ratio: 16 / 10; overflow: hidden; background: #e9eef4; }
.nhub-ncard__media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.nhub-ncard:hover .nhub-ncard__media img { transform: scale(1.08); }
.nhub-ncard__body { padding: 20px 22px 22px; }
.nhub-ncard__body h3 {
    font-size: 18px; font-weight: 700; color: #282828;
    line-height: 2; margin: 0 0 10px; 
    transition: color .3s;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.nhub-ncard:hover .nhub-ncard__body h3 { color: #1a6fc4; }
.nhub-ncard__body p {
    font-size: 14px; line-height: 2; color: #999; margin: 0 0 14px; min-height: 46px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nhub-ncard__date {
    font-size: 14px; color: #9aa6b5;
    padding-top: 14px; border-top: 1px solid #eef2f6; display: block;
}

/* ================= 板块二：常见问题 Q&A ================= */
.nhub-qa-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.nhub-qa {
    background: #fff;
    border: 1px solid #ebeff4;
    border-left: 4px solid var(--primary, #1a6fc4);
    border-radius: 6px;
    padding: 26px 28px 22px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.nhub-qa:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(20, 45, 80, .12);
    border-left-color: #0f5aa8;
}
.nhub-qa__q { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 20px; }
.nhub-qa__badge {
    flex: 0 0 auto;
    width: 30px; height: 30px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px; font-weight: 700; font-style: italic; color: #fff;
}
.nhub-qa__badge--q { background: #1a6fc4; }
.nhub-qa__badge--a { background: #b9c9dc; }
.nhub-qa__q h3 {
    font-size: 18px; font-weight: 700; color: #282828;
    line-height: 1.5; margin: 1px 0 0; transition: color .3s;
}
.nhub-qa:hover .nhub-qa__q h3 { color: #1a6fc4; }
.nhub-qa__a { display: flex; align-items: flex-start; gap: 13px; }
.nhub-qa__a p {
    font-size: 14px; line-height: 2; color: #999; margin: 2px 0 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.nhub-qa__more {
    display: inline-block; margin: 16px 0 0 43px;
    font-size: 15px; color: #1a6fc4; font-weight: 600;
}
.nhub-qa__more i { font-style: normal; transition: transform .3s; display: inline-block; }
.nhub-qa:hover .nhub-qa__more i { transform: translateX(5px); }

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1080px) {
    .nhub-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nhub-lead { grid-template-columns: 1fr; }
    .nhub-lead__media { min-height: 240px; }
}
@media screen and (max-width: 640px) {
    .nhub { padding: 30px 0 55px; }
    .nhub-sec { margin-bottom: 46px; }
    .nhub-hd h2 { font-size: 22px; }
    .nhub-hd__en { font-size: 11px; }
    .nhub-hd__more { font-size: 13px; }
    .nhub-news-grid { grid-template-columns: 1fr; gap: 18px; }
    .nhub-lead { grid-template-columns: 1fr; }
    .nhub-lead__media { min-height: 200px; }
    .nhub-lead__body { padding: 24px 22px; }
    .nhub-lead__body h3 { font-size: 17px; }
    .nhub-ncard__body h3 { min-height: 0;font-size:17px;line-height:2 }
    .nhub-qa-grid { grid-template-columns: 1fr; gap: 16px; }
    .nhub-qa { padding: 22px 20px 18px; }
    .nhub-qa__q h3 { font-size: 16px; }
    .nyPro_list dl dd .nyProList_text .nyProList_ms p{font-size:14px}
}
