/* ======================================================
   新闻中心 — 智脑引擎科技
   ====================================================== */

/* ---- 基础覆盖 ---- */
.news-body { background: #0a0e1a; }

/* 深色页面 scrollbar */
.news-body::-webkit-scrollbar { width: 5px; }
.news-body::-webkit-scrollbar-track { background: transparent; }
.news-body::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #2b4dff, #00d4ff); border-radius: 99px; }

/* 新闻页眉题深色版 */
.news-body .sec-eyebrow {
  background: linear-gradient(135deg, rgba(43,111,255,.14), rgba(0,212,255,.08));
  border-color: rgba(0,212,255,.25);
  color: #00d4ff;
}

/* ======================================================
   Hero
   ====================================================== */
.news-hero {
  padding: 100px 0 72px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 110%, rgba(43,111,255,.18) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 20% 20%,  rgba(43,111,255,.1)  0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 80% 15%,  rgba(0,212,255,.08)  0%, transparent 60%),
    #0a0e1a;
  border-bottom: 1px solid rgba(43,111,255,.15);
  position: relative;
  overflow: hidden;
}
.news-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(43,111,255,.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.news-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,.4) 30%, rgba(43,111,255,.5) 70%, transparent);
}
.news-hero__eyebrow {
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #00d4ff;
  margin-bottom: 14px;
  position: relative;
}
.news-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #f0f6ff;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 14px;
  position: relative;
}
.news-hero__sub {
  font-size: .9rem;
  color: rgba(240,246,255,.5);
  position: relative;
  letter-spacing: .02em;
}

/* ======================================================
   Tab 导航
   ====================================================== */
.news-tabs-bar {
  position: sticky;
  top: 60px;
  z-index: 80;
  background: rgba(10,14,26,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(43,111,255,.14);
}
.news-tabs {
  display: flex;
  gap: 0;
}
.news-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(240,246,255,.5);
  font-family: inherit;
  transition: color .2s, border-color .2s;
  position: relative;
}
.news-tab:hover { color: rgba(240,246,255,.8); }
.news-tab.is-active {
  color: #00d4ff;
  border-bottom-color: #00d4ff;
  font-weight: 600;
  text-shadow: 0 0 20px rgba(0,212,255,.4);
}
.news-tab__badge {
  font-size: .68rem;
  background: linear-gradient(135deg, rgba(43,111,255,.3), rgba(0,212,255,.25));
  border: 1px solid rgba(0,212,255,.35);
  color: #00d4ff;
  padding: .15em .55em;
  border-radius: 10px;
  letter-spacing: .04em;
}
.news-tab svg {
  width: 15px;
  height: 15px;
  opacity: .7;
}
.news-tab.is-active svg { opacity: 1; }

/* ======================================================
   内容区
   ====================================================== */
.news-content {
  min-height: 60vh;
  padding: 40px 0 80px;
}
.news-panel { animation: fadeInUp .35s ease; }

/* ======================================================
   新闻网格
   ====================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ======================================================
   新闻卡片
   ====================================================== */
.news-card {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(43,111,255,.18);
  border-radius: 14px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .26s, transform .22s, box-shadow .26s;
  position: relative;
  overflow: hidden;
}
.news-card::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,.5), transparent);
  opacity: 0;
  transition: opacity .26s, left .26s, right .26s;
}
.news-card:hover {
  border-color: rgba(43,111,255,.4);
  transform: translateY(-5px);
  box-shadow:
    0 12px 40px rgba(0,0,0,.35),
    0 4px 12px rgba(43,111,255,.15),
    0 0 0 1px rgba(43,111,255,.12);
}
.news-card:hover::before { opacity: 1; left: 8%; right: 8%; }

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.news-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .18em .65em;
  border-radius: 4px;
  background: rgba(43,111,255,.2);
  color: #7aa6ff;
  border: 1px solid rgba(43,111,255,.3);
}
.news-tag--company {
  background: rgba(0,229,187,.12);
  color: #00e5bb;
  border-color: rgba(0,229,187,.3);
}
.news-tag--source {
  background: rgba(0,212,255,.1);
  color: #00d4ff;
  border-color: rgba(0,212,255,.25);
}
.news-date {
  font-size: .76rem;
  color: rgba(240,246,255,.38);
  margin-left: auto;
  white-space: nowrap;
}
.news-card__title {
  font-size: .97rem;
  font-weight: 700;
  color: #e8f0fe;
  line-height: 1.45;
}
.news-card__ext {
  color: inherit;
  text-decoration: none;
}
.news-card__ext:hover { color: #00d4ff; }

.news-card__excerpt {
  font-size: .83rem;
  color: rgba(240,246,255,.5);
  line-height: 1.72;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .78rem;
  color: #2b6fff;
  text-decoration: none;
  font-weight: 500;
  margin-top: 4px;
  transition: color .15s, gap .15s;
}
.news-card__link:hover { color: #00d4ff; gap: 7px; }

/* 公司动态置顶卡片 */
.news-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  border-color: rgba(0,212,255,.3);
  background: linear-gradient(135deg, rgba(0,212,255,.06), rgba(43,111,255,.05));
  box-shadow: 0 0 0 1px rgba(0,212,255,.1), 0 8px 32px rgba(0,212,255,.08);
}
.news-card--featured::before {
  background: linear-gradient(90deg, transparent, rgba(0,212,255,.7), transparent);
  opacity: 1;
  left: 5%; right: 5%;
}
.news-card--featured .news-card__body {
  flex: 1;
}
.news-card--featured .news-card__title {
  font-size: 1.12rem;
  color: #e8f4ff;
}

/* ======================================================
   Meta 信息条（行业资讯源说明）
   ====================================================== */
.news-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  font-size: .78rem;
  color: rgba(240,246,255,.38);
}
.news-meta-bar__txt { line-height: 1.5; }
.news-meta-bar a { color: #2b6fff; text-decoration: none; }
.news-meta-bar a:hover { color: #00d4ff; }

/* ======================================================
   空状态 / 错误状态
   ====================================================== */
.news-empty {
  text-align: center;
  padding: 60px 20px;
  color: rgba(240,246,255,.4);
  font-size: .9rem;
  line-height: 1.8;
}
.news-empty a { color: #2b6fff; }

/* ======================================================
   骨架屏 Loading
   ====================================================== */
@keyframes skel-pulse {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
.skel {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.04) 25%,
    rgba(255,255,255,.09) 50%,
    rgba(255,255,255,.04) 75%
  );
  background-size: 200% 100%;
  animation: skel-pulse 1.6s ease infinite;
  border-radius: 4px;
}
.news-card--skeleton {
  pointer-events: none;
}
.skel--tag   { height: 20px; width: 72px; border-radius: 4px; }
.skel--title { height: 18px; width: 90%; margin-top: 4px; }
.skel--title-sm { height: 16px; width: 70%; }
.skel--text  { height: 13px; width: 100%; }
.skel--text:last-child { width: 75%; }

/* ======================================================
   Animation
   ====================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ======================================================
   Responsive
   ====================================================== */
@media (max-width: 960px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card--featured { flex-direction: column; }
}

/* ---- 平板 768px ---- */
@media (max-width: 768px) {
  .news-hero { padding: 72px 0 52px; }
  .news-content { padding: 28px 0 60px; }
  .news-card { padding: 18px 16px 16px; }
  .news-card--featured .news-card__title { font-size: 1rem; }
  .news-meta-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---- 手机 600px ---- */
@media (max-width: 600px) {
  .news-hero { padding: 56px 0 40px; }
  .news-hero__title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .news-grid { grid-template-columns: 1fr; }
  .news-content { padding: 20px 0 48px; }

  /* Tab：触控目标 ≥ 44px */
  .news-tab { padding: 14px 16px; font-size: .82rem; min-height: 44px; }
  .news-tab__badge { display: none; }

  /* 卡片 */
  .news-card { padding: 16px 14px 14px; border-radius: 10px; }
  .news-card__title { font-size: .9rem; }
  .news-card__excerpt { -webkit-line-clamp: 2; }

  /* Meta 条 */
  .news-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 8px 12px;
    font-size: .72rem;
  }
  .news-date { margin-left: 0; }
}

/* ---- 小屏 480px ---- */
@media (max-width: 480px) {
  .news-tabs-bar { top: 56px; }
  .news-tab { padding: 12px 12px; font-size: .78rem; gap: 4px; }
  .news-tab svg { width: 13px; height: 13px; }
  .news-hero__sub { font-size: .82rem; padding: 0 8px; }
  .news-card__title { font-size: .86rem; }
}
