﻿/* 公司新闻专题页样式 · NCRSIT Neo v1.4
   使用页面：/news/
   依赖：style.css（.neo-page-hero、.neo-section、.neo-subnav、.neo-heading 等） */

/* ---------------------------------------------------------------------------
   1. 首屏
   --------------------------------------------------------------------------- */
.neo-page-hero--news {
  background-image:
    linear-gradient(110deg, rgba(4, 27, 62, .96), rgba(10, 79, 137, .68)),
    url('/assets/images/banner/banner-about.jpg');
}

/* ---------------------------------------------------------------------------
   2. 区块基础
   --------------------------------------------------------------------------- */
.nw-sec { padding: 80px 0; }
.nw-sec--white { background: #fff; }
.nw-sec--tint { background: #f3f7fc; }

.nw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  /* max-width: 1080px; */
  margin-bottom: 40px;
}
.nw-head .neo-heading {
  margin: 0;
  text-align: left;
}
.nw-head .neo-lead { margin: 0; max-width: 420px; font-size: 15px; color: var(--neo-muted); }

/* ---------------------------------------------------------------------------
   3. 最新新闻 feature 大卡
   --------------------------------------------------------------------------- */
.nw-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.nw-feature {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--neo-line);
  border-radius: 14px;
  transition: .2s;
}
.nw-feature:hover {
  border-color: #bcd6ef;
  box-shadow: 0 14px 32px rgba(16, 48, 86, .09);
  transform: translateY(-3px);
}
.nw-feature__media {
  height: 210px;
  background-color: #e9f3ff;
  background-position: center;
  background-size: cover;
}
.nw-feature__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 26px 26px;
}
.nw-feature__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.nw-feature__badge {
  padding: 3px 10px;
  color: var(--neo-blue-700);
  font-size: 12px;
  font-weight: 600;
  background: #eaf2fb;
  border-radius: 999px;
}
.nw-feature__meta time {
  color: #9cb3cc;
  font-size: 12.5px;
}
.nw-feature h3 {
  margin: 10px 0 10px;
  color: var(--neo-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}
.nw-feature p {
  flex: 1;
  margin: 0 0 18px;
  color: var(--neo-muted);
  font-size: 15px;
  line-height: 1.75;
}
.nw-feature__more {
  margin-top: auto;
  color: var(--neo-blue-700);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.nw-feature__more:hover { color: var(--neo-blue-800); }

/* ---------------------------------------------------------------------------
   4. 行业观点 / 行业资讯 列表卡
   --------------------------------------------------------------------------- */
.nw-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.nw-article {
  display: flex;
  flex-direction: column;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--neo-line);
  border-radius: 14px;
  transition: .2s;
  text-decoration: none;
  color: inherit;
}
.nw-article:hover {
  border-color: #bcd6ef;
  box-shadow: 0 10px 26px rgba(16, 48, 86, .06);
  transform: translateY(-2px);
}
.nw-article__cat {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  color: var(--neo-blue-700);
  font-size: 12px;
  font-weight: 600;
  background: #eaf2fb;
  border-radius: 999px;
  width:60px;
  text-align: center;
}
.nw-article time {
  margin-top: auto;
  color: #9cb3cc;
  font-size: 13px;
}
.nw-article h3 {
  margin: 0 0 10px;
  color: var(--neo-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nw-article p {
  margin: 0 0 14px;
  color: var(--neo-muted);
  font-size: 14.5px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* tint 背景下的文章卡白底显式保留 */
.nw-sec--tint .nw-article { background: #fff; }

/* ---------------------------------------------------------------------------
   5. 产品动态 图标卡
   --------------------------------------------------------------------------- */
.nw-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.nw-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--neo-line);
  border-radius: 14px;
  transition: .2s;
  text-decoration: none;
  color: inherit;
}
.nw-card:hover {
  border-color: #bcd6ef;
  box-shadow: 0 10px 26px rgba(16, 48, 86, .06);
  transform: translateY(-2px);
}
.nw-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.nw-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  color: var(--neo-blue-700);
  font-size: 20px;
  background: #eaf2fb;
  border-radius: 10px;
}
.nw-card__ver {
  color: var(--neo-blue-700);
  font-size: 12px;
  font-weight: 600;
}
.nw-card h3 {
  margin: 0 0 8px;
  color: var(--neo-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}
.nw-card p {
  margin: 0 0 12px;
  color: var(--neo-muted);
  font-size: 14.5px;
  line-height: 1.7;
  flex: 1;
}
.nw-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.nw-card__tag {
  padding: 2px 8px;
  color: var(--neo-muted);
  font-size: 11.5px;
  background: #f3f7fc;
  border-radius: 4px;
}
.nw-card__more {
  color: var(--neo-blue-700);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}
.nw-card__more:hover { color: var(--neo-blue-800); }

/* ---------------------------------------------------------------------------
   6. 政策文件 文档列表（红色 PDF 图标）
   --------------------------------------------------------------------------- */
.nw-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.nw-doc {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-areas:
    "icon body"
    "icon download";
  align-items: start;
  gap: 4px 16px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--neo-line);
  border-radius: 14px;
  text-decoration: none;
  transition: .2s;
}
.nw-doc:hover {
  border-color: #bcd6ef;
  box-shadow: 0 10px 26px rgba(16, 48, 86, .06);
  transform: translateY(-2px);
}
.nw-doc__icon {
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #e74c3c;
  font-size: 11px;
  font-weight: 800;
  background: #fdecea;
  border-radius: 6px;
  letter-spacing: .5px;
  box-shadow: inset 0 -3px 0 rgba(231, 76, 60, .25);
}
.nw-doc__body {
  grid-area: body;
  min-width: 0;
}
.nw-doc h3 {
  margin: 0 0 6px;
  color: var(--neo-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.nw-doc p {
  margin: 0;
  color: var(--neo-muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.nw-doc__download {
  grid-area: download;
  justify-self: start;
  margin-top: 8px;
  color: var(--neo-blue-700);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   7. CTA
   --------------------------------------------------------------------------- */
.nw-cta {
  padding: 72px 0;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(115deg, rgba(5, 27, 63, .96), rgba(10, 79, 137, .82)),
    url('/assets/images/banner/banner-about.jpg') center/cover;
}
.nw-cta h2 { margin: 0 0 10px; color: #fff; font-size: 32px; font-weight: 800; }
.nw-cta p { margin: 0 0 22px; color: rgba(255,255,255,.82); font-size: 15px; }

/* ---------------------------------------------------------------------------
   8. 响应式
   --------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .nw-sec { padding: 64px 0; }
  .nw-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .nw-head .neo-lead { max-width: 100%; }
  .nw-feature-grid,
  .nw-article-grid,
  .nw-card-grid,
  .nw-doc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nw-sec { padding: 52px 0; }
  .nw-feature-grid,
  .nw-article-grid,
  .nw-card-grid,
  .nw-doc-grid {
    grid-template-columns: 1fr;
  }
  .nw-feature__media { height: 180px; }
  .nw-doc { padding: 20px 18px; gap: 4px 14px; }
  .nw-cta h2 { font-size: 26px; }
}

/* ---------------------------------------------------------------------------
   9. 列表"显示更多"
   --------------------------------------------------------------------------- */
.nw-article-grid > .is-more-hidden,
.nw-card-grid > .is-more-hidden,
.nw-doc-grid > .is-more-hidden { display: none !important; }

.nw-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.nw-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 26px;
  color: var(--neo-blue-700);
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--neo-line);
  border-radius: 999px;
  cursor: pointer;
  transition: .2s;
}
.nw-more-btn span {
  font-size: 12px;
  letter-spacing: 1px;
}
.nw-more-btn:hover {
  color: #fff;
  background: var(--neo-blue-700);
  border-color: var(--neo-blue-700);
}
