/* =================================================================
   ===== NEWS & INSIGHTS · 新闻资讯卡片 =====
   ================================================================= */
.logo-wall-clients .logo-wall-label,
.logo-wall-suppliers .logo-wall-label {
    display: none;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 383px);
    gap: 18px;
    justify-content: start;
}
.news-card {
    border-radius: var(--r-md);
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef2f8;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-lg);
    border-color: var(--c-primary);
}
.news-img {
    display: block;
    aspect-ratio: 400 / 260;
    overflow: hidden;
    background: var(--c-bg);
}
.news-img svg, .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.news-card:hover .news-img svg,
.news-card:hover .news-img img {
    transform: scale(1.06);
}
.news-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-category {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: var(--r-xl);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.news-category.cat-company {
    background: var(--c-primary-l);
    color: var(--c-primary);
}
.news-category.cat-industry {
    background: #dcfce7;
    color: #15803d;
}
.news-category.cat-tech {
    background: #f3e8ff;
    color: #7c3aed;
}
.news-title {
    margin: 0 0 6px;
    line-height: 1.35;
}
.news-title a {
    color: var(--c-text);
    text-decoration: none;
    font-size: 15.5px;
    font-weight: 700;
}
.news-title a:hover {
    color: var(--c-primary);
}
.news-date {
    font-size: 12px;
    color: var(--c-faint);
    margin-bottom: 8px;
}
.news-excerpt {
    color: var(--c-muted);
    font-size: 13px;
    line-height: 1.55;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}
.news-more {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-primary);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: gap .2s;
}
.news-more:hover {
    color: var(--c-cta);
    gap: 6px;
}
@media (max-width: 1200px) {
    .news-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 383px)); }
}
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-title a { font-size: 15px; }
}


/* ================================================================
   NEWS DETAIL PAGE 新闻详情页
   ================================================================ */
/* 详情页 hero 直接复用 .page-hero（与新闻列表页一致：蓝渐变背景、相同高度、
   面包屑位于 .page-hero-inner(.container) 顶部），仅不输出 h1 标题与副标题。 */
.news-article {
    padding-top: 20px;
}
.news-article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 920px;
    margin: 0 auto;
}

/* --- 文章内容 --- */
.news-article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.news-article-date {
    font-size: 13px;
    color: var(--c-faint);
    font-weight: 500;
}
.news-article-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--c-title);
    line-height: 1.25;
    margin-bottom: 20px;
}
.news-article-excerpt {
    font-size: 19px;
    color: var(--c-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--c-line);
    font-weight: 500;
}
.news-article-image {
    margin-bottom: 36px;
}
.news-article-image svg {
    width: 100%;
    height: auto;
    border-radius: var(--r-md);
    display: block;
    box-shadow: var(--sh-md);
}
.news-article-image-caption {
    text-align: center;
    font-size: 13px;
    color: var(--c-faint);
    font-style: italic;
    margin-top: 10px;
}

/* --- 正文 --- */
.news-article-body h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--c-title);
    margin-top: 40px;
    margin-bottom: 18px;
    line-height: 1.35;
}
.news-article-body h2:first-child {
    margin-top: 0;
}
.news-article-body p {
    font-size: 16.5px;
    color: var(--c-text);
    line-height: 1.85;
    margin-bottom: 20px;
}
.news-article-body ul,
.news-article-body ol {
    margin-bottom: 24px;
    padding-left: 26px;
}
.news-article-body li {
    font-size: 16.5px;
    color: var(--c-text);
    line-height: 1.85;
    margin-bottom: 10px;
}
.news-article-body ul li::marker {
    color: var(--c-primary);
}

/* --- 高亮卡片 --- */
.news-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 32px 0;
}
.news-highlight-card {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 26px 22px;
    text-align: center;
    transition: all .25s ease;
}
.news-highlight-card:hover {
    border-color: var(--c-primary-l);
    transform: translateY(-2px);
    box-shadow: var(--sh-sm);
}
.news-highlight-icon {
    font-size: 36px;
    margin-bottom: 12px;
}
.news-highlight-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-title);
    margin-bottom: 8px;
}
.news-highlight-card p {
    font-size: 14px;
    color: var(--c-muted);
    line-height: 1.6;
    margin: 0;
}

/* --- 引用块 --- */
.news-quote {
    margin: 36px 0;
    padding: 28px 32px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 4px solid var(--c-primary);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-size: 18px;
    color: #1e3a5f;
    font-style: italic;
    line-height: 1.75;
    font-weight: 500;
}
.news-quote cite {
    display: block;
    margin-top: 14px;
    font-size: 15px;
    color: var(--c-muted);
    font-style: normal;
    font-weight: 600;
}

/* --- 分享 --- */
.news-article-share {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--c-line);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-title);
}
.share-buttons {
    display: flex;
    gap: 10px;
}
.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--c-line);
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    color: var(--c-muted);
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.share-btn img {
    display: block;
    width: 16px;
    height: 16px;
    opacity: .65;
    transition: opacity .2s ease;
}
.share-btn:hover img {
    opacity: 1;
    filter: brightness(0) invert(1);
}
.share-btn:hover {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* 复制链接按钮反馈 */
.share-btn-copy {
    position: relative;
}
.share-btn-copy.copied::after {
    content: 'Link copied';
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-title);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
}

/* --- 侧边栏 --- */
.news-article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-widget {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 22px 20px;
}
.widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-title);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--c-primary-l);
    display: inline-block;
}

/* 搜索 */
.widget-search {
    display: flex;
    gap: 8px;
}
.widget-search input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--c-line);
    border-radius: var(--r-lg);
    font-size: 13px;
    outline: none;
    transition: border-color .2s;
}
.widget-search input:focus {
    border-color: var(--c-primary);
}
.widget-search button {
    width: 42px;
    border: none;
    background: var(--c-primary);
    color: #fff;
    border-radius: var(--r-lg);
    cursor: pointer;
    font-size: 14px;
    transition: background .2s;
}
.widget-search button:hover {
    background: var(--c-primary-d);
}

/* 分类列表 */
.widget-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget-categories li {
    border-bottom: 1px solid var(--c-line);
}
.widget-categories li:last-child {
    border-bottom: none;
}
.widget-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 2px;
    color: var(--c-text);
    font-size: 14px;
    font-weight: 500;
    transition: color .2s;
}
.widget-categories a:hover {
    color: var(--c-primary);
}
.widget-categories .count {
    background: var(--c-bg-soft);
    color: var(--c-muted);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

/* 热门文章 */
.widget-popular {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.popular-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: opacity .2s;
}
.popular-item:hover {
    opacity: .8;
}
.popular-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--c-primary-l);
    line-height: 1;
    min-width: 32px;
    font-family: Georgia, serif;
}
.popular-info h4 {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--c-title);
    line-height: 1.45;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.popular-info span {
    font-size: 11.5px;
    color: var(--c-faint);
    font-weight: 500;
}

/* 订阅 */
.widget-subscribe {
    background: linear-gradient(135deg, var(--c-primary-l), #bfdbfe);
    border: none;
}
.widget-subscribe .widget-title {
    color: #1e3a5f;
    border-bottom-color: rgba(255,255,255,.5);
}
.widget-subscribe p {
    font-size: 13px;
    color: #3a5a7a;
    line-height: 1.6;
    margin-bottom: 14px;
}
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.subscribe-form input {
    padding: 10px 14px;
    border: 1.5px solid rgba(255,255,255,.6);
    border-radius: var(--r-lg);
    font-size: 13px;
    outline: none;
    background: rgba(255,255,255,.9);
}
.subscribe-form input:focus {
    border-color: var(--c-primary);
}
.btn-sm {
    padding: 9px 18px !important;
    font-size: 13px !important;
}

/* --- 相关文章 --- */
.related-news-section {
    padding-top: 60px;
    padding-bottom: 60px;
}
.related-grid {
    max-width: 1100px;
    margin: 0 auto;
}

/* --- 响应式 --- */
@media (max-width: 960px) {
    .news-article-title { font-size: 28px; }
    .news-article-excerpt { font-size: 16px; }
    .news-article-body h2 { font-size: 20px; }
    .news-article-body p { font-size: 14.5px; }
    .news-highlight-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .news-article-title { font-size: 24px; }
    .news-article-excerpt { font-size: 15px; }
    .news-highlight-grid { grid-template-columns: 1fr; }
    .news-quote { padding: 20px; font-size: 15px; }
    .news-article-share { flex-direction: column; align-items: flex-start; }
    .news-article-body h2 { font-size: 18px; }
}


