/* 新闻洞察页：轻量编辑式排版，内容只在当前分页中生成。 */
main[data-news-page] {
    background: #f8f7f4;
}

main[data-news-page] .news-editorial-hero {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    min-height: 360px;
    padding: 96px 0 42px !important;
    background: #0b1524 !important;
}

main[data-news-page] .news-editorial-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(7, 16, 30, .9), rgba(7, 16, 30, .54) 48%, rgba(7, 16, 30, .28)), url("assets/case-books-table-photo.webp") center 52% / cover no-repeat;
}

main[data-news-page] .news-editorial-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(5, 11, 20, .06), rgba(5, 11, 20, .35));
}

main[data-news-page] .news-editorial-hero .container {
    position: relative;
    z-index: 1;
}

main[data-news-page] .news-editorial-hero .news-title-copy {
    max-width: 720px;
}

main[data-news-page] .news-editorial-hero .news-title-rule {
    width: 40px;
    height: 2px;
    margin-bottom: 20px;
    background: #9f1821;
}

main[data-news-page] .news-editorial-hero .label {
    display: block;
    margin-bottom: 15px;
    color: #d8c198 !important;
    font: 700 11px/1.1 var(--sans);
    letter-spacing: .2em;
    text-transform: uppercase;
}

main[data-news-page] .news-editorial-hero h1 {
    margin: 0 0 18px !important;
    color: #fff !important;
    font-size: clamp(42px, 5vw, 68px) !important;
    line-height: 1.05 !important;
}

main[data-news-page] .news-editorial-hero p {
    max-width: 630px;
    margin: 0;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

main[data-news-page] .news-filter-tabs {
    display: flex;
    gap: 28px;
    margin-top: 54px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(255, 255, 255, .24);
    scrollbar-width: none;
}

main[data-news-page] .news-filter-tabs::-webkit-scrollbar { display: none; }

main[data-news-page] .news-filter-tab {
    position: relative;
    flex: 0 0 auto;
    padding: 0 0 13px;
    border: 0;
    color: rgba(255, 255, 255, .68);
    background: transparent;
    font: 600 13px/1.2 var(--sans);
    cursor: pointer;
}

main[data-news-page] .news-filter-tab::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: transparent;
}

main[data-news-page] .news-filter-tab:hover,
main[data-news-page] .news-filter-tab.active { color: #fff; }
main[data-news-page] .news-filter-tab.active::after { background: #a51e27; }

main[data-news-page] .news-content-section {
    padding: 64px 0 96px;
    background: #f8f7f4;
}

main[data-news-page] .news-editorial-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 286px;
    gap: clamp(48px, 7vw, 104px);
    align-items: start;
}

main[data-news-page] .news-results-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(61, 58, 54, .2);
}

main[data-news-page] .news-section-label,
main[data-news-page] .news-sidebar-heading > span {
    display: block;
    margin-bottom: 9px;
    color: #a37638;
    font: 700 10px/1.1 var(--sans);
    letter-spacing: .19em;
    text-transform: uppercase;
}

main[data-news-page] .news-results-heading h2,
main[data-news-page] .news-sidebar-heading h3 {
    margin: 0 !important;
    color: #262522 !important;
    font: 600 28px/1.2 var(--serif) !important;
}

main[data-news-page] .news-result-count {
    color: rgba(44, 44, 44, .56);
    font-size: 12px;
    letter-spacing: .08em;
    white-space: nowrap;
}

main[data-news-page] .news-results { min-height: 420px; }

/* 动态列表不参与全站 reveal 扫描，避免内容已生成但仍保持 opacity:0。 */
main[data-news-page] .news-feature,
main[data-news-page] .news-editorial-row,
main[data-news-page] .news-feature.reveal,
main[data-news-page] .news-editorial-row.reveal,
main[data-news-page] .news-editorial-layout,
main[data-news-page] .news-results-column,
main[data-news-page] .news-results,
main[data-news-page] .news-sidebar {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

main[data-news-page] .news-feature {
    display: grid;
    grid-template-columns: minmax(240px, 42%) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    padding: 32px 0 40px;
    border-bottom: 1px solid rgba(61, 58, 54, .2);
}

main[data-news-page] .news-feature-media,
main[data-news-page] .news-row-media { display: block; overflow: hidden; background: #eceae5; }
main[data-news-page] .news-feature-media { aspect-ratio: 1.42 / 1; }
main[data-news-page] .news-feature-image,
main[data-news-page] .news-row-image,
main[data-news-page] .news-image-placeholder { display: block; width: 100%; height: 100%; object-fit: cover; }
main[data-news-page] .news-feature-image,
main[data-news-page] .news-row-image { transition: transform .45s ease; }
main[data-news-page] .news-feature-media:hover img,
main[data-news-page] .news-row-media:hover img { transform: scale(1.035); }
main[data-news-page] .news-image-placeholder { background: linear-gradient(135deg, #e8e1d8, #d3ccc2); }

main[data-news-page] .news-feature-copy { align-self: center; }
main[data-news-page] .news-item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: #9f1821; font: 700 10px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
main[data-news-page] .news-item-meta time { color: rgba(44, 44, 44, .48); font-weight: 500; }
main[data-news-page] .news-feature h3,
main[data-news-page] .news-editorial-row h3 { margin: 14px 0 10px !important; color: #262522 !important; font: 600 24px/1.3 var(--serif) !important; }
main[data-news-page] .news-feature h3 a,
main[data-news-page] .news-editorial-row h3 a { color: inherit; transition: color .2s ease; }
main[data-news-page] .news-feature h3 a:hover,
main[data-news-page] .news-editorial-row h3 a:hover { color: #9f1821; }
main[data-news-page] .news-feature p,
main[data-news-page] .news-editorial-row p { margin: 0; color: rgba(68, 71, 72, .82) !important; font-size: 14px !important; line-height: 1.75 !important; }
main[data-news-page] .news-read-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 24px; padding-bottom: 5px; border-bottom: 1px solid #9f1821; color: #9f1821; font: 700 11px/1.2 var(--sans); letter-spacing: .12em; }
main[data-news-page] .news-read-link span { font-size: 15px; transition: transform .2s ease; }
main[data-news-page] .news-read-link:hover span { transform: translate(2px, -2px); }

main[data-news-page] .news-editorial-list { display: grid; }
main[data-news-page] .news-editorial-row { display: grid; grid-template-columns: 132px minmax(0, 1fr) 24px; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(61, 58, 54, .16); }
main[data-news-page] .news-row-media { aspect-ratio: 1.35 / 1; }
main[data-news-page] .news-editorial-row h3 { margin: 8px 0 5px !important; font-size: 18px !important; }
main[data-news-page] .news-editorial-row p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 13px !important; line-height: 1.55 !important; }
main[data-news-page] .news-row-arrow { color: #9f1821; font-size: 20px; transition: transform .2s ease; }
main[data-news-page] .news-row-arrow:hover { transform: translate(2px, -2px); }

main[data-news-page] .news-sidebar { position: sticky; top: 96px; }
main[data-news-page] .news-search-block { padding: 0 0 28px; border-bottom: 1px solid rgba(61, 58, 54, .2); }
main[data-news-page] .news-search-block label { display: block; margin-bottom: 13px; color: #262522; font: 600 19px/1.3 var(--serif); }
main[data-news-page] .news-search-control { display: flex; align-items: center; border-bottom: 1px solid #262522; }
main[data-news-page] .news-search-control input { min-width: 0; flex: 1; padding: 9px 0; border: 0; outline: 0; background: transparent; color: #262522; font: 14px/1.4 var(--sans); }
main[data-news-page] .news-search-control input::placeholder { color: rgba(44, 44, 44, .45); }
main[data-news-page] .news-search-control span { color: #9f1821; font-size: 17px; }
main[data-news-page] .news-category-rail { padding: 30px 0 8px; }
main[data-news-page] .news-sidebar-heading { margin-bottom: 14px; }
main[data-news-page] .news-category-rail-button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(61, 58, 54, .13); background: transparent; color: rgba(44, 44, 44, .66); font: 14px/1.2 var(--sans); text-align: left; cursor: pointer; transition: color .2s ease, padding .2s ease; }
main[data-news-page] .news-category-rail-button span:last-child { color: rgba(44, 44, 44, .38); font-size: 11px; }
main[data-news-page] .news-category-rail-button:hover,
main[data-news-page] .news-category-rail-button.active { padding-left: 8px; color: #9f1821; }
main[data-news-page] .news-category-rail-button.active span:last-child { color: #9f1821; }
main[data-news-page] .news-sidebar-note { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid rgba(61, 58, 54, .2); color: rgba(44, 44, 44, .54) !important; font-size: 12px !important; line-height: 1.7 !important; }

main[data-news-page] .news-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 34px; }
main[data-news-page] .news-pagination button { min-width: 34px; height: 34px; padding: 0 9px; border: 1px solid rgba(159, 24, 33, .22); background: transparent; color: #45413c; font: 600 11px/1 var(--sans); cursor: pointer; }
main[data-news-page] .news-pagination button:hover,
main[data-news-page] .news-pagination button.active { border-color: #9f1821; background: #9f1821; color: #fff; }
main[data-news-page] .news-pagination button:disabled { opacity: .35; cursor: not-allowed; }
main[data-news-page] .news-pagination-gap { display: inline-flex; min-width: 22px; align-items: center; justify-content: center; color: rgba(44, 44, 44, .5); }
main[data-news-page] .news-empty-state { padding: 72px 0; border-bottom: 1px solid rgba(61, 58, 54, .16); }
main[data-news-page] .news-empty-state span { color: #a37638; font: 700 10px/1 var(--sans); letter-spacing: .2em; }
main[data-news-page] .news-empty-state h3 { margin: 16px 0 8px !important; font: 600 25px/1.2 var(--serif) !important; }
main[data-news-page] .news-empty-state p { color: rgba(44, 44, 44, .58) !important; font-size: 14px !important; }

main[data-news-page]:not(.is-news-ready) .news-skeleton { background: linear-gradient(90deg, #eceae5 25%, #f3f1ed 37%, #eceae5 63%); background-size: 400% 100%; animation: news-shimmer 1.3s ease infinite; }
main[data-news-page] .news-skeleton-feature { height: 250px; margin: 32px 0 40px; }
main[data-news-page] .news-skeleton-row { height: 116px; margin: 0 0 1px; border-bottom: 1px solid rgba(61, 58, 54, .13); }
@keyframes news-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

@media (max-width: 960px) {
    main[data-news-page] .news-editorial-hero { min-height: 0; padding: 76px 0 34px !important; }
    main[data-news-page] .news-editorial-layout { grid-template-columns: minmax(0, 1fr); gap: 52px; }
    main[data-news-page] .news-sidebar { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
    main[data-news-page] .news-sidebar-note { grid-column: 1 / -1; margin-top: 0; }
}

@media (max-width: 640px) {
    main[data-news-page] .news-content-section { padding: 44px 0 64px; }
    main[data-news-page] .news-filter-tabs { gap: 22px; margin-top: 40px; }
    main[data-news-page] .news-filter-tab { font-size: 12px; }
    main[data-news-page] .news-results-heading h2 { font-size: 25px !important; }
    main[data-news-page] .news-feature { grid-template-columns: 1fr; gap: 22px; padding: 24px 0 30px; }
    main[data-news-page] .news-feature-media { aspect-ratio: 1.55 / 1; }
    main[data-news-page] .news-feature h3 { font-size: 22px !important; }
    main[data-news-page] .news-editorial-row { grid-template-columns: 82px minmax(0, 1fr); gap: 13px; padding: 16px 0; }
    main[data-news-page] .news-row-media { grid-row: span 2; }
    main[data-news-page] .news-editorial-row h3 { font-size: 16px !important; }
    main[data-news-page] .news-editorial-row p { -webkit-line-clamp: 1; font-size: 12px !important; }
    main[data-news-page] .news-row-arrow { display: none; }
    main[data-news-page] .news-sidebar { display: block; }
    main[data-news-page] .news-category-rail { margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    main[data-news-page] .news-skeleton { animation: none !important; }
    main[data-news-page] .news-feature-image,
    main[data-news-page] .news-row-image,
    main[data-news-page] .news-row-arrow,
    main[data-news-page] .news-read-link span { transition: none !important; }
}
