/* ============================================================
   首页 · 新闻中心改造：左栏行业新闻 + 右栏常见问题FAQ(Q&A，可滚动)
   仅作用于 .hnf，不影响站内其它页面  (2026-11-17)
   ============================================================ */

/* 蓝色大背景容器：适度收紧上下留白 */
.hnf {
    padding: 140px 0 140px;
}

/* 标题区：原 eyou_allbt 为 50% 浮动，这里占满整行 */
.hnf .zxzxtop {
    overflow: hidden;
}
.hnf .zxzxtop .eyou_allbt {
    width: 100%;
    float: none;
    margin-bottom: 38px;
}

/* 两栏网格 */
.hnf__grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 28px;
    align-items: stretch;
}

/* 每栏白色卡片容器 */
.hnf__news,
.hnf__faq {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(6, 30, 64, .22);
    padding: 30px 34px 34px;
    min-width: 0;
}

/* ---------- 栏目标题 ---------- */
.hnf__hd {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 6px;
    border-bottom: 2px solid #eef2f7;
}
.hnf__hd-en {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    letter-spacing: 2px;
    font-size: 12px;
    color: #1a6fc4;
    margin-bottom: 6px;
}
.hnf__hd h3 {
    font-size: 24px;
    font-weight: 800;
    color: #14243d;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1;
}
.hnf__hd-more {
    font-size: 14px;
    color: #8a95a5;
    font-weight: 600;
    white-space: nowrap;
}
.hnf__hd-more i {
    font-style: normal;
    display: inline-block;
    transition: transform .3s;
}
.hnf__hd-more:hover { color: #1a6fc4; }
.hnf__hd-more:hover i { transform: translateX(4px); }

/* ---------- 左栏：行业新闻（头条大图 + 列表） ---------- */
.hnf__news-body {
    max-height: 496px;
    overflow-y: auto;
    padding-right: 4px;
}

/* 头条：左图右文横幅 */
.hnf__lead {
    display: grid;
    grid-template-columns: 46% 1fr;
    background: #f4f7fb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    transition: box-shadow .35s ease;
}
.hnf__lead:hover { box-shadow: 0 10px 28px rgba(20, 45, 80, .14); }
.hnf__lead-media { position: relative; overflow: hidden; min-height: 196px; }
.hnf__lead-media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.hnf__lead:hover .hnf__lead-media img { transform: scale(1.07); }
.hnf__lead-flag {
    position: absolute; left: 0; top: 0;
    background: #1a6fc4; color: #fff;
    font-size: 12px; font-weight: 700; letter-spacing: 1px;
    padding: 6px 13px; border-radius: 0 0 7px 0;
}
.hnf__lead-body {
    padding: 20px 18px;
    display: flex; flex-direction: column; justify-content: center;
}
.hnf__lead-date { font-size: 12px; color: #1a6fc4; font-weight: 600; letter-spacing: .5px; margin-bottom: 8px; }
.hnf__lead-body h4 {
    font-size: 18px; font-weight: 800; color: #282828;
    line-height: 2; margin: 0 0 9px; transition: color .3s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hnf__lead:hover .hnf__lead-body h4 { color: #1a6fc4; }
.hnf__lead-body p {
    font-size: 14px; line-height: 2; color: #999; margin: 0 0 11px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hnf__lead-more { font-size: 14px; color: #1a6fc4; font-weight: 700; }
.hnf__lead-more i { font-style: normal; display: inline-block; transition: transform .3s; }
.hnf__lead:hover .hnf__lead-more i { transform: translateX(4px); }

.hnf__news-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 17px 4px;
    border-bottom: 1px dashed #e8edf3;
}
.hnf__news-item:last-child { border-bottom: 0; }
.hnf__news-date {
    flex: 0 0 58px;
    text-align: center;
    color: #9aa6b5;
    font-size: 12px;
    line-height: 1.3;
}
.hnf__news-date b {
    display: block;
    font-size: 27px;
    color: #1a6fc4;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
}
.hnf__news-txt {
    flex: 1;
    min-width: 0;
}
.hnf__news-txt h4 {
    font-size: 18px;
    font-weight: 700;
    color: #282828;
    line-height: 2;
    margin: 0 0 7px;
    transition: color .3s;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hnf__news-item:hover .hnf__news-txt h4 { color: #1a6fc4; }
.hnf__news-txt p {
    font-size: 14px;
    color: #999;
    line-height: 2;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hnf__news-arrow {
    flex: 0 0 auto;
    color: #c3ccd8;
    font-style: normal;
    font-size: 18px;
    transition: transform .3s, color .3s;
}
.hnf__news-item:hover .hnf__news-arrow {
    color: #1a6fc4;
    transform: translateX(4px);
}

/* ---------- 右栏：常见问题 Q&A（可上下滑动） ---------- */
.hnf__faq-scroll {
    max-height: 496px;
    overflow-y: auto;
    padding-right: 10px;
}
.hnf__qa {
    padding: 17px 0;
    border-bottom: 1px dashed #e8edf3;
}
.hnf__qa:last-child { border-bottom: 0; }
.hnf__qa-q,
.hnf__qa-a {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.hnf__qa-q { margin-bottom: 11px; }
.hnf__badge {
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 700;
    font-style: italic;
    color: #fff;
}
.hnf__badge-q { background: #1a6fc4; }
.hnf__badge-a { background: #b9c9dc; }
.hnf__qa-q h4 {
    font-size: 18px;
    font-weight: 700;
    color: #282828;
    line-height: 2;
    margin: 2px 0 0;
}
.hnf__qa-a p {
    font-size: 14px;
    color: #999;
    line-height: 2;
    margin: 2px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- 滚动条美化 ---------- */
.hnf__news-body::-webkit-scrollbar,
.hnf__faq-scroll::-webkit-scrollbar { width: 6px; }
.hnf__news-body::-webkit-scrollbar-thumb,
.hnf__faq-scroll::-webkit-scrollbar-thumb {
    background: #cfd9e6;
    border-radius: 3px;
}
.hnf__news-body::-webkit-scrollbar-thumb:hover,
.hnf__faq-scroll::-webkit-scrollbar-thumb:hover { background: #1a6fc4; }
.hnf__news-body::-webkit-scrollbar-track,
.hnf__faq-scroll::-webkit-scrollbar-track { background: transparent; }

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1000px) {
    .hnf__grid { grid-template-columns: 1fr; }
    .hnf__news-body, .hnf__faq-scroll { max-height: 440px; }
}
@media screen and (max-width: 640px) {
    .hnf { padding: 54px 0 60px; }
    .hnf .zxzxtop .eyou_allbt { margin-bottom: 26px; }
    .hnf__news, .hnf__faq { padding: 22px 20px 26px; }
    .hnf__hd h3 { font-size: 20px; }
    .hnf__news-date { flex-basis: 50px; }
    .hnf__news-date b { font-size: 23px; }
}

/* ---------- 首页"关于我们"H1：一句话介绍网站 ---------- */
.eyou_about .eyou_allbt .about-h1 {
    position: relative;
    margin: 20px 0 0;
    padding-left: 15px;
    font-size: 20px;
    line-height: 2;
    font-weight: 600;
    color: #2b3d55;
    letter-spacing: .5px;
}
.eyou_about .eyou_allbt .about-h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: linear-gradient(180deg, #1a6fc4, #0a58a2);
    border-radius: 2px;
}
@media screen and (max-width: 640px) {
    .eyou_about .eyou_allbt .about-h1 {
        font-size: 16px;
    }
    .hnf__news-txt h4{font-size:16px}
    .hnf__qa-q h4{font-size:16px}
    .hnf__lead{display: block}
    .fotvav{display: none}
}
