:root {
    --nh-blue: #2b79f6;
    --nh-blue-dark: #1558d5;
    --nh-navy: #0f2854;
    --nh-ink: #16233e;
    --nh-muted: #718097;
    --nh-line: #dce7f7;
    --nh-soft: #f4f8ff;
    --nh-orange: #ff9b2c;
    --nh-shadow: 0 24px 70px rgba(23, 72, 148, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.wx-news-home { min-width: 320px; overflow-x: clip; background: #fff; color: var(--nh-ink); font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
.wx-news-home a { text-decoration: none; }
.nh-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.nh-nav-toggle { display: none; }

/* Navigation */
.wx-news-home #nav { position: sticky; top: 0; z-index: 1100; }
.wx-news-home #nav .pull-right > a.item[href="/news/"] { position: relative; color: #fff; }
.wx-news-home #nav .pull-right > a.item[href="/news/"]::after { content: ""; position: absolute; right: 0; bottom: 16px; left: 0; height: 3px; border-radius: 3px; background: #fff; }
.wx-news-home #nav .pull-right > .item[data-db-nav-id="16"] { position: relative; color: #fff; }
.wx-news-home #nav .pull-right > .item[data-db-nav-id="16"]::after { content: ""; position: absolute; right: 0; bottom: 16px; left: 0; height: 3px; border-radius: 3px; background: #fff; }
.wx-news-home #nav.nh-nav-scrolled { background: rgba(255,255,255,.97) !important; box-shadow: 0 10px 32px rgba(19,54,111,.1); backdrop-filter: blur(14px); }
.wx-news-home #nav.nh-nav-scrolled .pull-left img { filter: none; }
.wx-news-home #nav.nh-nav-scrolled .pull-right > .item { color: #26364f !important; }
.wx-news-home #nav.nh-nav-scrolled .wx-product-trigger,
.wx-news-home #nav.nh-nav-scrolled .wx-function-trigger,
.wx-news-home #nav.nh-nav-scrolled .wx-content-trigger { color: inherit !important; }
.wx-news-home #nav.nh-nav-scrolled .pull-right > .item:hover,
.wx-news-home #nav.nh-nav-scrolled .pull-right > .item.is-current { color: var(--nh-blue) !important; }
.wx-news-home #nav.nh-nav-scrolled .pull-right > a.item[href="/news/"] { color: var(--nh-blue) !important; }
.wx-news-home #nav.nh-nav-scrolled .pull-right > a.item[href="/news/"]::after { background: var(--nh-blue); }
.wx-news-home #nav.nh-nav-scrolled .pull-right > .item[data-db-nav-id="16"]::after { background: var(--nh-blue); }
.wx-news-home #nav.nh-nav-scrolled .pull-right .demoCenter.download { border-color: #c8dcfa; background: #edf5ff; }
.wx-news-home #nav.nh-nav-scrolled .pull-right .demoCenter.download a { color: var(--nh-blue) !important; }

/* Editorial hero */
.nh-hero { position: relative; overflow: hidden; padding: 76px 0 72px; color: #fff; background: linear-gradient(118deg, #102b5a 0%, #1559d4 52%, #2785f5 100%); }
.nh-hero::before { content: ""; position: absolute; width: 520px; height: 520px; top: -290px; right: 4%; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 78px rgba(255,255,255,.025), 0 0 0 156px rgba(255,255,255,.018); }
.nh-hero::after { content: "NEWS"; position: absolute; left: calc(50% - 590px); bottom: -70px; color: rgba(255,255,255,.035); font-size: 230px; font-weight: 900; letter-spacing: -.08em; }
.nh-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 84px; align-items: center; }
.nh-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; color: #a8dcff; font-size: 14px; font-weight: 800; letter-spacing: .2em; }
.nh-eyebrow::before { content: ""; width: 32px; height: 3px; border-radius: 3px; background: var(--nh-orange); }
.nh-hero h1 { margin: 0 0 20px; color: #fff; font-size: clamp(42px, 4.4vw, 64px); line-height: 1.14; letter-spacing: -.04em; font-weight: 800; }
.nh-hero h1 span { display: block; color: #d9edff; }
.nh-hero-copy > p { max-width: 620px; margin: 0; color: rgba(255,255,255,.75); font-size: 18px; line-height: 1.85; }
.nh-hero-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.nh-btn { display: inline-flex; min-width: 142px; height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid rgba(255,255,255,.38); border-radius: 10px; color: #fff; font-size: 15px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.nh-btn:hover { transform: translateY(-2px); }
.nh-btn--primary { border-color: var(--nh-orange); background: var(--nh-orange); box-shadow: 0 14px 30px rgba(189,98,0,.22); }
.nh-btn--ghost { background: rgba(255,255,255,.07); }

.nh-latest { position: relative; padding: 28px 30px 30px; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: rgba(255,255,255,.09); box-shadow: 0 28px 60px rgba(4,34,91,.25); backdrop-filter: blur(14px); }
.nh-latest-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.nh-latest-top span { display: inline-flex; align-items: center; gap: 9px; color: #c6e7ff; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.nh-latest-top span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #65e3c4; box-shadow: 0 0 0 6px rgba(101,227,196,.12); }
.nh-latest-top time { color: rgba(255,255,255,.58); font-size: 13px; }
.nh-latest h2 { margin: 0 0 16px; color: #fff; font-size: 29px; line-height: 1.4; }
.nh-latest p { display: -webkit-box; overflow: hidden; margin: 0; color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.nh-latest > a { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; color: #fff; font-size: 15px; font-weight: 700; }
.nh-latest > a::after { content: "→"; font-size: 20px; transition: transform .2s ease; }
.nh-latest > a:hover::after { transform: translateX(4px); }
.nh-latest-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.nh-latest-foot div { text-align: center; }
.nh-latest-foot strong { display: block; color: #fff; font-size: 14px; }
.nh-latest-foot span { display: block; margin-top: 5px; color: rgba(255,255,255,.52); font-size: 12px; }

/* Category rail */
.nh-category-wrap { position: relative; z-index: 5; margin-top: -24px; }
.nh-categories { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--nh-line); border-radius: 18px; background: #fff; box-shadow: var(--nh-shadow); }
.nh-category { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; min-height: 112px; padding: 24px 28px; color: var(--nh-ink); transition: background .2s ease; }
.nh-category + .nh-category { border-left: 1px solid var(--nh-line); }
.nh-category:hover { background: #f7faff; }
.nh-category b { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: var(--nh-blue); background: #eaf3ff; font-size: 13px; }
.nh-category strong { display: block; color: var(--nh-navy); font-size: 18px; }
.nh-category small { display: block; margin-top: 5px; color: var(--nh-muted); font-size: 13px; }
.nh-category > span { color: #9db1cc; font-size: 20px; }

/* Shared */
.nh-section { padding: 92px 0; }
.nh-section--soft { background: var(--nh-soft); }
.nh-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.nh-section-title > span { display: block; margin-bottom: 11px; color: var(--nh-blue); font-size: 13px; font-weight: 800; letter-spacing: .2em; }
.nh-section-title h2 { margin: 0; color: var(--nh-ink); font-size: clamp(30px, 3vw, 42px); line-height: 1.3; font-weight: 800; }
.nh-section-head > p { max-width: 520px; margin: 0; color: var(--nh-muted); font-size: 16px; line-height: 1.8; text-align: right; }
.nh-more-link { display: inline-flex; align-items: center; gap: 8px; color: var(--nh-blue); font-size: 14px; font-weight: 700; white-space: nowrap; }
.nh-more-link::after { content: "→"; font-size: 18px; }

/* Featured newsroom */
.nh-featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.nh-feature-main { overflow: hidden; display: flex; min-width: 0; min-height: 0; flex-direction: column; border: 1px solid var(--nh-line); border-radius: 22px; color: var(--nh-ink); background: #fff; box-shadow: 0 18px 50px rgba(20,67,139,.08); }
.nh-feature-main .nh-feature-image { position: relative; overflow: hidden; height: 180px; flex: 0 0 180px; background: #eaf2ff; }
.nh-feature-main .nh-feature-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,37,80,0) 45%, rgba(10,37,80,.12) 100%); }
.nh-feature-main img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.nh-feature-content { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 24px 25px 25px; }
.nh-badge { display: inline-flex; align-self: flex-start; padding: 7px 11px; border-radius: 999px; color: #fff; background: var(--nh-blue); font-size: 12px; font-weight: 700; }
.nh-feature-content h3 { display: -webkit-box; overflow: hidden; margin: 16px 0 10px; color: var(--nh-navy); font-size: 21px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.nh-feature-content p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--nh-muted); font-size: 14px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.nh-feature-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; color: #9aa8bb; font-size: 12px; }
.nh-feature-meta a { color: var(--nh-blue); font-weight: 700; }
.nh-feature-side { display: contents; }
.nh-feature-card { position: relative; overflow: hidden; display: flex; min-width: 0; min-height: 0; flex-direction: column; border: 1px solid var(--nh-line); border-radius: 22px; background: #fff; box-shadow: 0 18px 50px rgba(20,67,139,.08); }
.nh-feature-card-visual { position: relative; overflow: hidden; height: 180px; min-height: 180px; background: linear-gradient(145deg, #1765df, #42a3f4); }
.nh-feature-card-visual img { width: 100%; height: 100%; object-fit: cover; }
.nh-feature-card-visual--industry { display: flex; align-items: flex-end; padding: 22px; }
.nh-feature-card-visual--industry::before { content: ""; position: absolute; width: 180px; height: 180px; top: -70px; right: -70px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.05); }
.nh-feature-card-visual--industry span { position: relative; color: rgba(255,255,255,.9); font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.nh-feature-card-visual--company { display: flex; align-items: flex-end; padding: 22px; background: linear-gradient(145deg, #122b59, #246cda); }
.nh-feature-card-visual--company::before { content: ""; position: absolute; width: 160px; height: 160px; top: -60px; right: -60px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.045); }
.nh-feature-card-visual--company span { position: relative; color: rgba(255,255,255,.9); font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.nh-feature-card-body { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 24px 25px 25px; }
.nh-feature-card-body .nh-badge { color: var(--nh-blue); background: #eaf3ff; }
.nh-feature-card h3 { display: -webkit-box; overflow: hidden; margin: 16px 0 10px; color: var(--nh-navy); font-size: 21px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.nh-feature-card p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--nh-muted); font-size: 14px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.nh-feature-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; color: #9aa8bb; font-size: 12px; }
.nh-feature-card-meta a { color: var(--nh-blue); font-weight: 700; }

/* Update timeline */
.nh-update-panel { overflow: hidden; border: 1px solid var(--nh-line); border-radius: 26px; background: #fff; box-shadow: var(--nh-shadow); }
.nh-update-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; color: #fff; background: linear-gradient(100deg, #1055cc, #2b7bf5); }
.nh-update-top h3 { margin: 0; color: #fff; font-size: 22px; }
.nh-update-top p { margin: 5px 0 0; color: rgba(255,255,255,.7); font-size: 13px; }
.nh-update-top a { color: #fff; font-size: 14px; font-weight: 700; }
.nh-update-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.nh-update-item { position: relative; min-height: 176px; padding: 28px; color: var(--nh-ink); border-right: 1px solid var(--nh-line); border-bottom: 1px solid var(--nh-line); transition: background .2s ease; }
.nh-update-item:nth-child(3n) { border-right: 0; }
.nh-update-item:nth-last-child(-n+3) { border-bottom: 0; }
.nh-update-item:hover { background: #f7faff; }
.nh-update-item time { color: var(--nh-blue); font-size: 13px; font-weight: 800; }
.nh-update-item h4 { display: -webkit-box; overflow: hidden; margin: 14px 0 0; color: var(--nh-ink); font-size: 17px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.nh-update-item span { position: absolute; right: 24px; bottom: 20px; color: #a6b3c5; font-size: 18px; }

/* Columns */
.nh-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nh-column { overflow: hidden; border: 1px solid var(--nh-line); border-radius: 22px; background: #fff; box-shadow: 0 16px 44px rgba(24,69,137,.06); }
.nh-column-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; border-bottom: 1px solid var(--nh-line); }
.nh-column-head div { display: flex; align-items: center; gap: 12px; }
.nh-column-head b { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: var(--nh-blue); background: #eaf3ff; font-size: 12px; }
.nh-column-head strong { color: var(--nh-navy); font-size: 19px; }
.nh-column-head a { color: #99a7ba; font-size: 13px; }
.nh-column-list { padding: 4px 26px 12px; }
.nh-column-item { display: block; padding: 20px 0; border-bottom: 1px solid #edf2f8; }
.nh-column-item:last-child { border-bottom: 0; }
.nh-column-item time { display: block; margin-bottom: 8px; color: #a0adbf; font-size: 12px; }
.nh-column-item strong { display: -webkit-box; overflow: hidden; color: var(--nh-ink); font-size: 15px; line-height: 1.55; font-weight: 600; -webkit-box-orient: vertical; -webkit-line-clamp: 2; transition: color .2s ease; }
.nh-column-item:hover strong { color: var(--nh-blue); }

/* CTA and footer */
.nh-cta { padding: 86px 0; }
.nh-cta-panel { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 50px 56px; border-radius: 26px; color: #fff; background: linear-gradient(115deg, #112b5b, #175ed5 62%, #298bf5); box-shadow: 0 26px 65px rgba(21,84,190,.2); }
.nh-cta-panel::after { content: ""; position: absolute; width: 310px; height: 310px; right: -130px; bottom: -220px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 52px rgba(255,255,255,.035), 0 0 0 104px rgba(255,255,255,.02); }
.nh-cta-panel > div { position: relative; z-index: 2; }
.nh-cta-panel span { color: #9ddfff; font-size: 13px; font-weight: 800; letter-spacing: .18em; }
.nh-cta-panel h2 { margin: 12px 0 9px; color: #fff; font-size: 32px; }
.nh-cta-panel p { margin: 0; color: rgba(255,255,255,.7); font-size: 16px; }
.nh-cta-panel .nh-hero-links { position: relative; z-index: 2; flex: 0 0 auto; margin-top: 0; }
.nh-footer { padding: 24px 0; color: #8592a7; background: #0c1f43; font-size: 14px; }
.nh-footer .nh-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nh-footer nav { display: flex; gap: 22px; }
.nh-footer a { color: #c2cada; }

@media (max-width: 1100px) {
    .nh-hero-grid { grid-template-columns: 1fr 430px; gap: 44px; }
    .nh-hero h1 { font-size: 48px; }
    .nh-columns { gap: 14px; }
}

@media (max-width: 900px) {
    .nh-container { width: min(100% - 32px, 720px); }
    .wx-news-home #nav { height: 76px; padding: 0 16px; }
    .wx-news-home #nav .pull-left { position: relative; z-index: 3; }
    .wx-news-home #nav .pull-left img { width: 164px; }
    .nh-nav-toggle { position: relative; z-index: 3; display: block; float: right; width: 44px; height: 44px; margin-top: 16px; border: 0; border-radius: 10px; background: rgba(255,255,255,.13); cursor: pointer; }
    .nh-nav-toggle::before, .nh-nav-toggle::after { content: ""; position: absolute; left: 12px; width: 20px; height: 2px; background: #fff; transition: transform .2s ease, top .2s ease; }
    .nh-nav-toggle::before { top: 16px; box-shadow: 0 6px 0 #fff; }
    .nh-nav-toggle::after { top: 28px; }
    .nh-nav-toggle[aria-expanded="true"]::before { top: 21px; transform: rotate(45deg); box-shadow: none; }
    .nh-nav-toggle[aria-expanded="true"]::after { top: 21px; transform: rotate(-45deg); }
    .wx-news-home #nav.nh-nav-scrolled .nh-nav-toggle { background: #edf4ff; }
    .wx-news-home #nav.nh-nav-scrolled .nh-nav-toggle::before, .wx-news-home #nav.nh-nav-scrolled .nh-nav-toggle::after { background: var(--nh-blue); box-shadow: none; }
    .wx-news-home #nav .pull-right { position: fixed; top: 76px; right: 0; left: 0; display: none; max-height: calc(100vh - 76px); overflow: auto; padding: 14px 18px 24px; background: #fff; box-shadow: 0 20px 45px rgba(18,49,99,.16); }
    .wx-news-home #nav.nh-menu-open .pull-right { display: block; }
    .wx-news-home #nav .pull-right > a.item, .wx-news-home #nav.nh-nav-scrolled .pull-right > a.item { display: block; width: 100%; height: auto; min-height: 48px; padding: 14px 6px; border-bottom: 1px solid #edf2f9; color: #26364f !important; line-height: 20px; }
    .wx-news-home #nav .pull-right > a.item[href="/news/"] { color: var(--nh-blue) !important; }
    .wx-news-home #nav .pull-right > a.item::after { display: none; }
    .wx-news-home #nav .demoCenter { display: inline-flex; margin: 16px 8px 0 0 !important; }
    .wx-news-home #nav .wx-study-list { position: static; width: 100%; margin-top: 10px; box-shadow: none; }
    .wx-news-home #nav:not(.nh-nav-scrolled) { background: #1b60d5; }
    .nh-hero-grid { grid-template-columns: 1fr; }
    .nh-hero-copy { max-width: 680px; }
    .nh-latest { max-width: 620px; }
    .nh-categories { grid-template-columns: 1fr; }
    .nh-category + .nh-category { border-top: 1px solid var(--nh-line); border-left: 0; }
    .nh-featured { grid-template-columns: 1fr; }
    .nh-feature-main { min-height: 0; }
    .nh-update-list { grid-template-columns: repeat(2, 1fr); }
    .nh-update-item:nth-child(3n) { border-right: 1px solid var(--nh-line); }
    .nh-update-item:nth-child(2n) { border-right: 0; }
    .nh-update-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--nh-line); }
    .nh-update-item:nth-last-child(-n+2) { border-bottom: 0; }
    .nh-columns { grid-template-columns: 1fr; }
    .nh-cta-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
    .nh-container { width: calc(100% - 28px); }
    .nh-hero { padding: 58px 0 64px; }
    .nh-hero h1 { font-size: 38px; }
    .nh-hero-copy > p { font-size: 16px; }
    .nh-hero-links { display: grid; grid-template-columns: 1fr 1fr; }
    .nh-btn { min-width: 0; padding: 0 14px; }
    .nh-latest { padding: 22px; border-radius: 20px; }
    .nh-latest h2 { font-size: 23px; }
    .nh-latest-foot { grid-template-columns: 1fr; gap: 14px; text-align: left; }
    .nh-latest-foot div { text-align: left; }
    .nh-category { min-height: 96px; padding: 20px; }
    .nh-section { padding: 68px 0; }
    .nh-section-head { align-items: flex-start; flex-direction: column; margin-bottom: 30px; }
    .nh-section-head > p { text-align: left; }
    .nh-feature-main { min-height: 0; border-radius: 20px; }
    .nh-feature-main .nh-feature-image, .nh-feature-card-visual { height: 164px; min-height: 164px; flex-basis: 164px; }
    .nh-feature-content { padding: 22px 20px; }
    .nh-feature-content h3 { font-size: 20px; }
    .nh-feature-card { min-height: 0; border-radius: 20px; }
    .nh-feature-card-body { padding: 22px 18px; }
    .nh-feature-card h3 { font-size: 18px; }
    .nh-feature-card p { -webkit-line-clamp: 3; }
    .nh-update-top { align-items: flex-start; flex-direction: column; }
    .nh-update-list { grid-template-columns: 1fr; }
    .nh-update-item, .nh-update-item:nth-child(2n), .nh-update-item:nth-child(3n), .nh-update-item:nth-last-child(-n+2), .nh-update-item:nth-last-child(-n+3) { border-right: 0; border-bottom: 1px solid var(--nh-line); }
    .nh-update-item:last-child { border-bottom: 0; }
    .nh-update-item { min-height: 145px; }
    .nh-cta { padding: 62px 0; }
    .nh-cta-panel { padding: 38px 24px; border-radius: 22px; }
    .nh-cta-panel h2 { font-size: 27px; }
    .nh-cta-panel .nh-hero-links { width: 100%; }
    .nh-footer .nh-container { align-items: flex-start; flex-direction: column; }
    .nh-footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .nh-btn, .nh-category { transition: none; }
}
