/* =========================================================
   聚淼成型科技 - 首页新闻资讯样式（v1.1-final）
   ========================================================= */
.home-news {
  width: 100%;
  background: linear-gradient(180deg, #f5f7ff 0%, #edf1f8 100%);
  padding: 60px 0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  overflow-x: hidden;
  box-sizing: border-box;
}

.home-news .section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #0b6cff;
  margin-top: 20px;
  margin-bottom: 30px;
}

/* ===== 布局 ===== */
.home-news .news-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.home-news .news-card {
  width: 300px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
  flex-shrink: 0;
}
.home-news .news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ===== 图片 ===== */
.home-news .news-card img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ===== 内容 ===== */
.home-news .news-info {
  padding: 20px;
}

.home-news .news-tag {
  display: inline-block;
  font-size: 13px;
  background: #eef4ff;
  color: #0b6cff;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.home-news h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
  color: #222;
}
.home-news h3 a { color: inherit; }

.home-news p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ===== 查看更多 ===== */
.home-news .news-more {
  text-align: center;
  margin-top: 40px;
}
.home-news .btn {
  background: #0b6cff;
  color: #fff;
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: all .3s ease;
}
.home-news .btn:hover {
  background: #005ce6;
  transform: translateY(-2px);
}

/* ===== 响应式 ===== */
@media (max-width: 1300px) {
  .home-news .news-card { width: 280px; }
  .home-news .news-container { gap: 24px; }
}
@media (max-width: 1024px) {
  .home-news .news-card { width: 45%; }
}
@media (max-width: 768px) {
  .home-news { padding: 40px 0; }
  .home-news .section-title { margin: 20px 0; }
  .home-news .news-container { padding: 0 16px; }
  .home-news .news-card { width: 100%; max-width: 500px; }
}

/* ===== 动画效果 ===== */
.home-news .news-card.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.home-news .news-card.show {
  opacity: 1;
  transform: translateY(0);
}
