/* Refreshed changelog layout layered on the existing news-updates theme. */
.wx-news-updates #nav { background: rgba(255,255,255,.98) !important; box-shadow: 0 8px 30px rgba(17,53,109,.08); backdrop-filter: blur(14px); }
.wx-news-updates #nav .pull-left img { filter: none; }
.wx-news-updates #nav .pull-right > a.item,
.wx-news-updates #nav .wx-product-trigger,
.wx-news-updates #nav .wx-function-trigger { color: #26364f !important; }
.wx-news-updates #nav .pull-right > a.item[href="/news/"],
.wx-news-updates #nav .pull-right > a.item.is-current { color: var(--nu-blue) !important; }
.wx-news-updates #nav .pull-right > a.item[href="/news/"]::after,
.wx-news-updates #nav .pull-right > a.item.is-current::after { bottom: 13px; background: var(--nu-blue); }
.wx-news-updates #nav .pull-right .demoCenter.download { border-color: #c8dcfa; background: #edf5ff; }
.wx-news-updates #nav .pull-right .demoCenter.download a { color: var(--nu-blue) !important; }

.nu-hero { padding: 76px 0 100px; }
.nu-release { padding: 34px; border-radius: 22px; }
.nu-release-top { margin-bottom: 22px; }
.nu-release h2 { font-size: 29px; }
.nu-release-version { display: flex; align-items: center; gap: 12px; margin: 20px 0 2px; }
.nu-release-version b { display: grid; min-width: 68px; height: 34px; place-items: center; padding: 0 12px; border-radius: 8px; color: #0c4cad; background: #fff; font-size: 13px; }
.nu-release-version span { color: rgba(255,255,255,.65); font-size: 13px; }

.nu-category-wrap { position: relative; z-index: 5; margin-top: -34px; }
.nu-categories { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--nu-line); border-radius: 18px; background: #fff; box-shadow: var(--nu-shadow); }
.nu-category { display: flex; min-height: 92px; align-items: center; gap: 16px; padding: 18px 26px; border-right: 1px solid var(--nu-line); color: var(--nu-ink); transition: color .2s ease, background .2s ease; }
.nu-category:last-child { border-right: 0; }
.nu-category b { color: #a8b7ca; font-size: 12px; letter-spacing: .12em; }
.nu-category span { display: grid; gap: 5px; }
.nu-category strong { color: inherit; font-size: 17px; }
.nu-category small { color: var(--nu-muted); font-size: 12px; }
.nu-category i { margin-left: auto; color: #9bacc2; font-style: normal; font-size: 20px; }
.nu-category:hover { color: var(--nu-blue); background: #f7faff; }
.nu-category.is-active { color: #fff; background: linear-gradient(125deg, var(--nu-blue-dark), var(--nu-blue)); }
.nu-category.is-active b, .nu-category.is-active small, .nu-category.is-active i { color: rgba(255,255,255,.72); }

.nu-section { padding: 100px 0 108px; }
.nu-latest-feature { grid-template-columns: .92fr 1.08fr; margin-bottom: 24px; border-radius: 22px; }
.nu-latest-image { min-height: 300px; }
.nu-latest-content { padding: 38px 44px; }
.nu-latest-content h3 { font-size: 27px; }

.nu-main-grid { display: block; }
.nu-sidebar { position: sticky; z-index: 12; top: 94px; display: grid; grid-template-columns: 190px minmax(0,1fr) 150px; align-items: center; overflow: visible; margin-bottom: 24px; border-radius: 18px; }
.nu-side-head { height: 100%; min-height: 92px; padding: 22px 24px; border-radius: 17px 0 0 17px; }
.nu-side-head span { margin-bottom: 6px; }
.nu-side-head h3 { font-size: 20px; }
.nu-year-filter { display: flex; gap: 7px; overflow-x: auto; padding: 16px; scrollbar-width: none; }
.nu-year-filter::-webkit-scrollbar { display: none; }
.nu-filter { flex: 0 0 auto; width: auto; min-width: 86px; min-height: 44px; justify-content: center; padding: 0 14px; }
.nu-filter::after { display: none; }
.nu-filter-result { margin: 0; padding: 0 20px; border-left: 1px solid var(--nu-line); color: #8493a8; line-height: 1.7; text-align: center; }
.nu-side-note { display: none; }

.nu-timeline { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.nu-timeline::before { display: none; }
.nu-update-item { grid-template-columns: 88px minmax(0,1fr) 40px; gap: 20px; min-height: 164px; padding: 26px 26px; border-radius: 18px; }
.nu-update-item::before { top: 27px; left: 27px; width: 9px; height: 9px; border: 0; transform: none; box-shadow: 0 0 0 6px #e6f0ff; }
.nu-update-date { align-self: start; padding-top: 25px; color: var(--nu-blue); font-size: 13px; line-height: 1.5; }
.nu-update-title { font-size: 18px; }
.nu-update-desc { -webkit-line-clamp: 3; }
.nu-update-arrow { width: 40px; height: 40px; }
.nu-load-more-wrap { display: flex; justify-content: center; margin-top: 32px; }
.nu-load-more { min-width: 190px; height: 48px; padding: 0 24px; border: 1px solid #b9d3f8; border-radius: 10px; color: var(--nu-blue); background: #fff; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s ease; }
.nu-load-more:hover { color: #fff; background: var(--nu-blue); transform: translateY(-2px); }
.nu-load-more[hidden] { display: none; }

@media (max-width: 1000px) {
    .nu-main-grid { display: block; }
    .nu-sidebar { grid-template-columns: 165px minmax(0,1fr); }
    .nu-filter-result { display: none; }
}

@media (max-width: 980px) {
    .wx-news-updates #nav:not(.nu-nav-scrolled) { background: #fff !important; }
    .nu-sidebar { position: static; display: block; }
    .nu-side-head { min-height: 0; border-radius: 17px 17px 0 0; }
    .nu-category { padding: 18px; }
    .nu-category small { display: none; }
    .nu-timeline { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .nu-categories { grid-template-columns: 1fr; }
    .nu-category { min-height: 70px; border-right: 0; border-bottom: 1px solid var(--nu-line); }
    .nu-category:last-child { border-bottom: 0; }
    .nu-section { padding: 70px 0 76px; }
    .nu-latest-feature { display: block; }
    .nu-latest-image { min-height: 210px; }
    .nu-latest-content { padding: 28px 24px; }
    .nu-update-item { grid-template-columns: 1fr 38px; gap: 14px; min-height: 0; padding: 23px 20px; }
    .nu-update-item::before { top: 24px; left: 21px; }
    .nu-update-date { grid-column: 1 / -1; padding: 22px 0 0; }
    .nu-update-title { font-size: 17px; }
}
