/* =========================================================
   首页专属样式
   仅在首页引入，其他页面不加载
   ========================================================= */

/* Hero 区域在首页的特殊高度（可选） */
.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
}

/* 首页两栏区块（如生态圈） */
@media (min-width: 901px) {
  .eco {
    align-items: center;
  }
}

/* 首页方向卡片 */
#cert .dir-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
#cert .dir-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11,37,69,.10);
}

/* 首页 Why 区域卡片序号强调 */
#why .card .idx {
  font-size: 15px;
  font-weight: 800;
}

/* 首页统计数字 */
#members .stat .num {
  font-family: "Inter", "PingFang SC", sans-serif;
  letter-spacing: -.02em;
}
/* ========== 首页最新动态区 ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(11,37,69,.05);
  transition: .18s;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(11,37,69,.12);
}
.news-card .cover {
  position: relative;
  margin: 0;
  height: 186px;
  background: var(--bg-soft);
  overflow: hidden;
}
.news-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.news-card:hover .cover img {
  transform: scale(1.04);
}
.news-card .cover .cat {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.93);
  color: var(--navy);
}
.news-card .cover.cover-fallback {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card .cover.cover-fallback .cover-mark {
  font-size: 40px;
  font-weight: 800;
  color: rgba(255,255,255,.15);
  letter-spacing: .14em;
  font-family: "Inter", sans-serif;
}
.news-card .cbody {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card .meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  color: #9aa3ad;
  letter-spacing: .03em;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.news-card .meta .kind {
  color: var(--gold-deep, #8f6626);
  font-weight: 700;
}
.news-card .meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c8d0d9;
}
.news-card h3 {
  font-size: 16.5px;
  line-height: 1.45;
  font-weight: 700;
  margin-bottom: 10px;
}
.news-card h3 a {
  color: var(--navy);
  border-bottom: none;
  transition: color .15s;
}
.news-card h3 a:hover {
  color: var(--gold);
}
.news-card .sum {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.news-card .read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: none;
  margin-top: auto;
}
.news-card .read-more:hover {
  color: var(--gold);
}
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .news-grid { grid-template-columns: 1fr; gap: 20px; }
}