/* news.css - 公司动态页面列表样式 (100% 还原设计稿) */

.section-news-list {
  padding: 80px 0;
  background: #ffffff;
}

.news-list-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  width: 100%;
  padding-bottom: 40px;
  border-bottom: 2px solid #f0f0f0;
  background: #ffffff;
}

.news-card-image {
  flex: 0 0 454px;
  height: 270px;
  background: #f5f5f5;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 270px; /* 与图片等高 */
  padding-top: 10px;
}

.news-card-title {
  margin: 0;
  font-family: "SourceHanSansCN-Medium", "Microsoft YaHei", sans-serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 55px;
  color: #000000;
  margin-bottom: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card-desc {
  margin: 0;
  font-family: "SourceHanSansCN-Regular", "Microsoft YaHei", sans-serif;
  font-size: 23px;
  line-height: 34px;
  color: #030303;
  margin-bottom: auto;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 20px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 43px;
  color: #737373;
  font-size: 18px;
  font-family: "SourceHanSansCN-Regular", sans-serif;
}

.news-card-date {
  white-space: nowrap;
}

.news-card-author {
  white-space: nowrap;
}

.news-card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 98px;
  height: 30px;
  padding: 0 13px;
  border: 1px solid rgba(187, 0, 21, 1);
  color: rgba(187, 0, 21, 1);
  font-size: 12px;
  font-family: "SourceHanSansCN-Medium", sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.news-card-link:hover {
  background: rgba(187, 0, 21, 0.05);
}

.news-card-link::after {
  content: "→";
  font-size: 14px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.news-card-link:hover::after {
  transform: translateX(3px);
}

.news-list-placeholder {
  padding: 100px 0;
  text-align: center;
  border: 2px dashed #eee;
  color: #999;
  border-radius: 8px;
}

/* 响应式适配 (保持大尺寸为主，但在小屏下缩放) */
@media (max-width: 1400px) {
  .news-card-title {
    font-size: 32px;
    line-height: 44px;
  }
  .news-card-desc {
    font-size: 20px;
    line-height: 30px;
  }
}

@media (max-width: 1199px) {
  .news-card-image {
    flex: 0 0 380px;
    height: 230px;
  }
  .news-card-content {
    height: 230px;
  }
  .news-card-title {
    font-size: 28px;
  }
}

@media (max-width: 991px) {
  .news-card {
    flex-direction: column;
    height: auto;
    gap: 24px;
  }
  .news-card-image {
    flex: none;
    width: 100%;
    height: 300px;
  }
  .news-card-content {
    height: auto;
    width: 100%;
  }
}

@media (max-width: 639px) {
  .news-card-title {
    font-size: 24px;
    line-height: 34px;
    white-space: normal;
  }
  .news-card-desc {
    font-size: 16px;
    line-height: 24px;
  }
  .news-card-meta {
    gap: 20px;
    font-size: 14px;
  }
}

/* news-detail.css - 新闻详情样式 (100% 还原设计稿) */

.section-news-detail {
  padding: 60px 0 100px;
  background: #ffffff;
}

.news-detail-article {
  max-width: 1200px;
  margin: 0 auto;
}

.news-detail-header {
  text-align: center;
  margin-bottom: 50px;
}

.news-detail-title {
  margin: 0 0 50px;
  font-family: "SourceHanSansCN-Bold", "Microsoft YaHei", sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
}

.news-detail-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  padding-top: 25px;
  border-top: 1px solid #eeeeee;
  color: #8b8b8b;
  font-size: 16px;
  font-family: "SourceHanSansCN-Regular", sans-serif;
  letter-spacing: 0.05em;
}

.news-detail-body {
  margin-top: 40px;
}

.news-detail-body p {
  font-family: "SourceHanSansCN-Regular", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  line-height: 2;
  color: #000000;
  margin-bottom: 30px;
  text-align: justify;
}

.news-detail-image {
  margin: 50px 0;
  width: 100%;
}

.news-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 响应式适配 */
@media (max-width: 1400px) {
  .news-detail-title {
    font-size: 48px;
  }
}

@media (max-width: 1199px) {
  .news-detail-article {
    padding: 0 20px;
  }
  .news-detail-title {
    font-size: 40px;
  }
}

@media (max-width: 991px) {
  .news-detail-title {
    font-size: 32px;
    margin-bottom: 30px;
  }
  .news-detail-meta {
    gap: 30px;
    font-size: 14px;
  }
}

@media (max-width: 639px) {
  .news-detail-title {
    font-size: 26px;
  }
  .news-detail-meta {
    flex-direction: column;
    gap: 10px;
    padding-top: 15px;
  }
  .news-detail-body p {
    font-size: 16px;
    line-height: 1.8;
  }
}
