/* 厂家新闻 · 案例 页面样式（深蓝主题，复用 style.css 的页头/页脚/导航） */

.sub-hero {
  background: linear-gradient(180deg, #0e1b3d 0%, #122454 100%);
  color: #fff;
  padding: 54px 0 46px;
}
.sub-hero .eyebrow {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: #8fb6e8; margin-bottom: 10px;
}
.sub-hero h1 {
  font-size: 34px; font-weight: 700; margin: 0 0 14px; letter-spacing: .02em;
}
.sub-hero .lead {
  max-width: 760px; font-size: 15px; line-height: 1.75; color: #cdd8ea; margin: 0;
}

.nw-note {
  margin: 26px 0 0;
  padding: 12px 16px;
  background: #f3f6fb;
  border-left: 3px solid #1f5fa8;
  border-radius: 0 8px 8px 0;
  font-size: 13px; line-height: 1.7; color: #4a5b71;
}

.nw-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin: 30px 0 22px;
}
.nw-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.nw-filters button {
  border: 1px solid #d4ddea; background: #fff; color: #2b3440;
  padding: 8px 16px; border-radius: 999px; font-size: 13px; cursor: pointer;
  transition: .15s; font-family: inherit;
}
.nw-filters button:hover { border-color: #1f5fa8; color: #1f5fa8; }
.nw-filters button.on {
  background: #0e1b3d; color: #fff; border-color: #0e1b3d;
}
.nw-updated { font-size: 12px; color: #97a3b1; }

.nw-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  margin-bottom: 10px;
}

.nw-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e6ebf2; border-radius: 12px;
  padding: 18px 18px 16px; text-decoration: none; color: inherit;
  transition: .18s; min-height: 150px;
}
.nw-card:hover {
  border-color: #1f5fa8; box-shadow: 0 6px 20px rgba(15,27,61,.10);
  transform: translateY(-2px);
}
.nw-cat {
  align-self: flex-start;
  font-size: 11.5px; padding: 3px 10px; border-radius: 999px;
  background: #eef3fa; color: #1f5fa8; margin-bottom: 10px; font-weight: 600;
}
.nw-cat.ind { background: #eaf5ee; color: #2e7d5b; }
.nw-card h3 {
  font-size: 16px; line-height: 1.5; font-weight: 600; margin: 0 0 8px; color: #15233c;
}
.nw-card .nw-ex {
  font-size: 13px; line-height: 1.7; color: #5d6976; margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.nw-meta {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: #97a3b1; border-top: 1px solid #f0f3f7; padding-top: 10px;
}
.nw-meta .src { color: #41526a; font-weight: 600; }
.nw-go { color: #1f5fa8; font-weight: 600; }
.nw-card:hover .nw-go { text-decoration: underline; }

.nw-loading, .nw-empty {
  grid-column: 1 / -1; text-align: center; color: #97a3b1; padding: 40px 0; font-size: 14px;
}

/* 全文卡片：卡片内显示正文，明确标注来源 */
.nw-card.nw-full { cursor: default; }
.nw-card.nw-full:hover { transform: none; box-shadow: 0 6px 20px rgba(15,27,61,.10); }
.nw-content {
  font-size: 13.5px; line-height: 1.85; color: #45525f; margin: 4px 0 12px;
  max-height: 420px; overflow: auto; padding-right: 6px;
}
.nw-content p { margin: 0 0 10px; }
.nw-cp {
  font-size: 12.5px; line-height: 1.6; color: #7a8493; background: #f6f8fb;
  border-left: 3px solid #2e7d5b; border-radius: 0 6px 6px 0;
  padding: 8px 12px; margin: 0 0 12px;
}
.nw-cp b { color: #2e7d5b; }
.nw-src-link {
  color: #1f5fa8; font-weight: 600; text-decoration: none; white-space: nowrap;
  margin-left: 4px;
}
.nw-src-link:hover { text-decoration: underline; }
