/* 新闻资讯板块样式 */
.news {
  background-color: #f9fafe;
  padding: 60px 0;
}

.news .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.news .title-box {
  text-align: center;
  margin-bottom: 50px;
}

.news .title-box p:first-child {
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #bddb00;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.news .title-box h2 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 15px;
}

.news .title-box p:last-child {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* 新闻导航样式 */
.news .nav-box {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.news .nav-box ul {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.news .nav-box ul li a {
  display: inline-block;
  color: #000;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.news .nav-box ul li a:hover {
  color: #bddb00;
  background-color: rgba(189, 219, 0, 0.1);
  transform: translateY(-2px);
}

/* 导航项激活状态 */
.news .nav-box ul li a.active {
  color: #fff;
  background-color: #000;
  border-bottom: 2px solid #bddb00;
}

/* 新闻推荐头条样式 */
.news-top {
  background-color: white;
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.news-top .container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 新闻头条图片样式 */
.news-top .news-top-img {
  border-radius: 20px 0 0 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.news-top .news-top-img:hover {
  transform: translateY(-5px);
}

.news-top .news-top-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.news-top .news-top-img:hover img {
  transform: scale(1.05);
}

/* 新闻头条文本样式 */
.news-top .news-top-text {
  color: #333;
  padding: 30px;
}

.news-top .news-top-text p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-top .news-top-text p span {
  color: #bddb00;
  font-weight: bold;
}

.news-top .news-top-text h3 {
  font-size: 2.4rem;
  line-height: 1.3;
  margin-bottom: 30px;
  color: #bddb00;
}

.news-top .news-top-text .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.news-top .news-top-text  i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  width:2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.news-top .news-top-text .read-more:hover {
  color: #a8c616;
}

.news-top .news-top-text .read-more:hover i {
  transform: translateX(5px);
}

/* 新闻推荐头条移动端适配 */
@media (max-width: 1024px) {
  .news-top .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .news-top .news-top-text h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 767px) {
  /* 新闻资讯板块移动端适配 */
  .news {
    padding: 40px 0;
  }
  
  .news .container {
    padding: 0 20px;
  }
  
  .news .title-box h2 {
    font-size: 2rem;
  }
  
  .news .title-box p {
    font-size: 0.9rem;
  }
  
  .news .nav-box ul {
    gap: 5px;
  }
  
  .news .nav-box ul li a {
    font-size: 1rem;
    padding: 8px 12px;
  }
  
  /* 新闻推荐头条移动端适配 */
  .news-top {
    padding: 40px 0;
  }
  
  .news-top .container {
    padding: 0 20px;
  }
  
  .news-top .news-top-text h3 {
    font-size: 1.5rem;
  }
  
  .news-top .news-top-text p {
    font-size: 0.9rem;
  }
}

/* 新闻列表样式 */
.news-content {
  background-color: white;
  padding: 60px 0;
}

.news-content .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.news-content h2 {
  font-size: 2rem;
  color: #3c312b;
  margin-bottom: 40px;
}

/* 新闻内容项样式 */
.news-content .news-content-box {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-content .news-content-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-content .news-content-box:last-child {
  border-bottom: none;
}

/* 新闻内容项图片样式 */
.news-content .news-content-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 180px;
  width: 100%;
}

.news-content .news-content-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-content .news-content-box:hover .news-content-img img {
  transform: scale(1.05);
}

/* 新闻内容项文本样式 */
.news-content .news-content-text {
  color: #333;
}

.news-content .news-content-text p:first-child {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.news-content .news-content-text p:first-child span {
  color: #000;
  font-weight: bold;
  background-color: #bddb00;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.news-content .news-content-text p:first-child i {
  color: #999;
  margin-right: 5px;
}

.news-content .news-content-text h3 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 15px;
  color: #3c312b;
}


.news-content .news-content-text h3 a:hover {
  color: #000;
}

.news-content .news-content-text p:last-of-type {
  font-size: 1rem;
  line-height: 1.6;
  color: #777d8b;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-content .news-content-text .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #777d8b;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.news-content .news-content-text .read-more i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.news-content .news-content-text .read-more:hover {
  color: #a8c616;
}

.news-content .news-content-text .read-more:hover i {
  transform: translateX(5px);
}


/* 新闻列表移动端适配 */
@media (max-width: 1024px) {
  /* 新闻内容项移动端适配 */
  .news-content .news-content-box {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px 0;
  }
  
  .news-content .news-content-img {
    height: 200px;
  }
  
  /* 移动端图片边框半径统一为20px */
  .news-top .news-top-img,
  .news-content .news-content-img {
    border-radius: 20px;
  }
}

@media (max-width: 767px) {
  /* 新闻内容移动端适配 */
  .news-content {
    padding: 40px 0;
  }
  
  .news-content .container {
    padding: 0 20px;
  }
  
  .news-content h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .news-content .news-content-box {
    padding: 25px 0;
  }
  
  .news-content .news-content-img {
    height: 200px;
  }
  
  .news-content .news-content-text h3 {
    font-size: 1.3rem;
  }
  
  .news-content .news-content-text p:last-of-type {
    font-size: 0.9rem;
  }
  

  
  /* 移动端图片边框半径统一为20px */
  .news-top .news-top-img,
  .news-content .news-content-img {
    border-radius: 20px;
  }
}

/* 新闻详情页样式 */
.news-detail {
  background-color: white;
  padding: 30px 0;
}

/* 容器内容居中对齐 */
.news-detail .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.news-detail p:first-child {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
  cursor: pointer;
  gap: 8px;
  transition: color 0.3s ease;
}


/* 企业动态标签样式 - 主题色背景，黑色文字，圆角 */
.news-detail .news-title {
  text-align: center;
}
.news-detail .news-title .news-category {
  display: inline-block;
  background-color: var(--primary-color, #bddb00);
  color: black;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 25px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* 新闻标题样式 - 增大字体，主题色 */
.news-detail .news-title h2 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 25px;
  color: var(--primary-color, #bddb00);
}

/* 时间、作者、阅读量样式 - 颜色改为 #777d8b */
.news-detail .news-title p {
  font-size: 1rem;
  color: #777d8b;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.news-detail p:nth-of-type(3) i {
  /* margin-right: 8px; */
}

.news-detail .news-detail-content {
  /* margin: 40px auto; */
  text-align: left;
}

.news-detail .news-detail-content img {
  max-width: 100%;
}

.news-detail .news-detail-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 25px;
}

.news-detail hr {
  margin: 40px auto;
  border: none;
  border-top: 1px solid #d3d3d3;
  width: 100%;
}

/* 全局链接样式 */
a {
  color: #777d8b;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

/* 文本链接悬停效果 */
.news-detail a:not(.read-more):hover,
.related-news a:hover {
  color: #a8c616;
  /* text-decoration: underline; */
}

/* 阅读更多链接样式 */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover {
  color: #a8c616;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* 导航链接样式 */
.nav a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav a:hover {
  color: var(--primary-color, #bddb00);
}

/* 相关新闻样式 */
.related-news {
  background-color: #f9f9f9;
  padding: 60px 0;
}
.related-news .container {
  max-width: 1400px;
  margin: 0 auto;
}
.related-news .container h3{
  font-size: 1.8rem;
  margin-bottom: 30px;
}
.related-news .container .news-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.related-news .news-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 30%;
  opacity: 1;
  transform: none;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.related-news .news-item .news-item-content h4 {
  margin-bottom: 20px;
}
.related-news .news-item img {
  width:100%;
  border-radius: 15px;
}

.related-news .news-item a {
  color: #777d8b;
  font-size: 1.2rem;
}

@media screen and (max-width: 767px) {
  .related-news {
    padding: 20px;
  }
  .related-news .container .news-grid {
    flex-direction: column;
    align-items: center;
  }
  .related-news .news-item {
    max-width: 100%;
  }
}
