/* 新闻资讯 页面样式（由原型导出） */
/* ============================================================
   新闻资讯列表页
   ============================================================ */
.news-page { padding: 72px 0 100px; }

.news-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.news-tab {
  padding: 9px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--steel);
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.news-tab:hover { border-color: var(--brand-red); color: var(--brand-red); }
.news-tab.active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(200,16,46,0.25);
}

/* 头条 */
.news-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 32px;
  background: #fff;
  transition: all 0.3s;
  cursor: pointer;
}
.news-featured:hover { box-shadow: 0 16px 44px rgba(0,0,0,0.1); }
.news-featured-img { height: 100%; min-height: 300px; overflow: hidden; background: var(--ink-soft); }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-featured:hover .news-featured-img img { transform: scale(1.05); }
.news-featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.news-featured-body .nf-tag { margin-bottom: 16px; }
.news-featured-body h2 { font-size: 24px; font-weight: 900; line-height: 1.5; margin-bottom: 14px; transition: color 0.2s; }
.news-featured:hover .news-featured-body h2 { color: var(--brand-red); }
.news-featured-body p { font-size: 14px; color: var(--gray); line-height: 1.8; margin-bottom: 20px; }
.news-featured-body .nf-date { font-size: 12px; color: var(--gray); }

/* 列表 */
.news-list { display: flex; flex-direction: column; gap: 16px; }

.news-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.news-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand-red);
  transform: scaleY(0);
  transition: transform 0.25s;
}
.news-item:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.07); border-color: rgba(200,16,46,0.2); }
.news-item:hover::before { transform: scaleY(1); }

.news-date {
  text-align: center;
  border-right: 1px dashed var(--line);
  padding-right: 24px;
}
.news-date .d { font-size: 30px; font-weight: 900; color: var(--ink); line-height: 1; }
.news-date .ym { font-size: 12px; color: var(--gray); margin-top: 6px; }
.news-item:hover .news-date .d { color: var(--brand-red); }

.news-item-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.2s;
  line-height: 1.5;
}
.news-item:hover .news-item-body h3 { color: var(--brand-red); }
.news-item-body p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item-arrow {
  width: 40px; height: 40px;
  border: 1px solid var(--gray-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  transition: all 0.25s;
  flex-shrink: 0;
}
.news-item:hover .news-item-arrow {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-img { min-height: 220px; }
}
@media (max-width: 640px) {
  .news-item { grid-template-columns: 1fr; gap: 12px; }
  .news-date { display: flex; gap: 8px; align-items: baseline; border-right: none; padding-right: 0; }
  .news-item-arrow { display: none; }
}
