



.product-nav-item {
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

.search-box {
  display: flex;
}

.search-box input {
  padding: 8px;
  border: 1px solid #ddd;
  border-right: none;
}

.search-box button {
  background: #333;
  color: #fff;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
}

/* New Banner Carousel */
.banner {
  width: 100%;
  height: auto;
  min-height: 250px;
  max-height: 500px;
  position: relative;
  padding-top: 42.86%; /* 21:9 aspect ratio */
}

.banner-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner-slide.active {
  opacity: 1;
}

.banner-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.banner-control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.banner-control.active {
  background: #fff;
}

.company-info-2 {
  background-image: url('../images/index_bg_zb.jpg');
  background-size: cover;
  padding:50px 20px 100px;
  color: #fff;
  display: flex;
  justify-content: center;
  width: 100%;
}

.company-info-2 .container {
  width: 80%;
  background-color: rgba(255, 136, 0, 0.801);
  padding-top: 100px;
  padding-bottom: 50px;
  margin-top: -100px;
  z-index: 2;
}

.company-info-2 h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 32px;
}

@media (min-width: 1600px) {
  .company-info-2 h2 {
    font-size: 40px; /* 增大标题字体 */
  }
}

.company-info-2 .info-cards {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
}

.company-info-2 .card {
  width: auto;
  flex: 1;
  text-align: center;
  padding: 15px;
  margin: 10px;
  border-right: 1px solid #fff;
}

.company-info-2 .card:last-child {
  border-right: none;
}

.company-info-2 .card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

@media (min-width: 1600px) {
  .company-info-2 .card h3 {
    font-size: 24px; /* 增大卡片标题字体 */
  }
}

/* ============== */
.products {
  background-image: url('../images/index_bg_product.jpg');
  background-size: cover;
  background-position: center;
  min-height: 400px;
  padding: 150px 0;
}

.products .container {
  max-width: 80%;
  margin: 0 auto;
}

@media (min-width: 1600px) {
  .products .container {
    max-width: 1600px; /* 增大容器宽度 */
    padding: 0 40px; /* 增加内边距 */
  }
}

/* 产品标题样式 */
.products .section-header {
  text-align: left;
  margin-bottom: 30px;
}

.products .section-title {
  font-size: 28px;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

@media (min-width: 1600px) {
  .products .section-title {
    font-size: 36px; /* 增大标题字体 */
  }
}

.products .section-desc {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}

@media (min-width: 1600px) {
  .products .section-desc {
    font-size: 18px; /* 增大描述字体 */
  }
}

/* 产品导航布局 */
.product-nav {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  margin: 30px 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0 10px;
}

@media (min-width: 1600px) {
  .product-nav {
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
  }
}

/* 导航项目样式 */
.product-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 60px 15px;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  transition: all 0.3s ease;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.product-nav-item::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #999;
  margin-bottom: 10px;
}

.product-nav-item:last-child {
  border-right: none;
}

/* 导航图标样式 */
.nav-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1600px) {
  .nav-icon {
    width: 60px; /* 增大图标 */
    height: 60px;
    margin-top: 50px;
  }
}

.nav-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* 导航文字样式 */
.product-nav-item span {
  color: #333;
  font-size: 24px;
  text-align: center;
  transition: color 0.3s ease;
}

@media (min-width: 1600px) {
  .product-nav-item span {
    font-size: 28px; /* 增大导航文字 */
  }
}

/* 子菜单样式 */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200%;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.product-nav-item:hover {
  z-index: 100;
}

.product-nav-item:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  left: 100%;
  width: 100%;
}

.sub-menu a {
  display: block;
  padding: 12px 20px;
  color: #666;
  font-size: 14px;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.sub-menu a:last-child {
  border-bottom: none;
}

.sub-menu a:hover {
  color: #ff6633;
  background: #f9f9f9;
  padding-left: 25px;
}

/* 激活状态 */
.product-nav-item.active,
.product-nav-item:hover {
  background: #ff6633;
}

.product-nav-item.active span,
.product-nav-item:hover span {
  color: #fff;
}

.product-nav-item.active .nav-icon img,
.product-nav-item:hover .nav-icon img {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}


/* Company Info Section */
.company-info-2 {
  width: 100%;
  /* max-width: 1200px; 设置最大宽度 */
  margin: 0 auto; /* 居中 */
  padding: 20px; /* 内边距 */
  box-sizing: border-box;
  background-color: #f9f9f9;
}

/* Product Grid Section */
.product-grid {
  width: 100%;

  margin: 40px auto; /* 居中 */
  
  box-sizing: border-box;
}
.product-grid  .container{
  width: 80%;

  margin: 0 auto; /* 居中 */
 
}
@media (min-width: 1600px) {
  .product-grid .container{
    max-width: 1600px; /* 增大容器宽度 */
    
  }
}
.product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 每行显示4个产品 */
  gap: 20px; /* 产品之间的间距 */
}

.product-item {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 响应式设计：在小屏幕上每行显示2个产品 */
@media (max-width: 768px) {
  .product-list {
    grid-template-columns: repeat(2, 1fr); /* 每行显示2个产品 */
  }
}

/* 响应式设计：在超小屏幕上每行显示1个产品 */
@media (max-width: 480px) {
  .product-list {
    grid-template-columns: repeat(1, 1fr); /* 每行显示1个产品 */
  }
}

/* 产品分类样式 */
.product-section {
  padding: 60px 0;
  background: #f8f8f8;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
  font-weight: bold;
}

@media (min-width: 1600px) {
  .section-title {
    font-size: 40px; /* 增大标题字体 */
  }
}

.product-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

@media (min-width: 1600px) {
  .product-img {
    height: 300px; /* 增大产品图片 */
  }
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-item:hover .product-img img {
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

@media (min-width: 1600px) {
  .product-info h3 {
    font-size: 24px; /* 增大产品标题字体 */
  }
}

.product-info p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

@media (min-width: 1600px) {
  .product-info p {
    font-size: 18px; /* 增大产品描述字体 */
  }
}

.product-link {
  display: inline-block;
  color: #ff6633;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.product-link:hover {
  color: #ff6633;
}

/* 响应式布局 */
@media (max-width: 1200px) {
  .header-main .container,
  .header-top .container {
    padding: 0 20px;
  }
  
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
}

@media (max-width: 992px) {
  .header-main {
    padding: 15px 0;
  }
  
  .main-nav {
    margin: 0 50px;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-nav {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .company-stats {
    gap: 20px;
  }
  
  .footer-content {
    flex-wrap: wrap;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .header-main {
    padding: 10px 0;
  }
  
  .main-nav {
    margin: 0 20px;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .header-icons-right {
    gap: 20px;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .product-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .company-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-nav,
  .footer-contact {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .header-main {
    padding: 5px 0;
  }
  
  .main-nav {
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .header-icons-right {
    gap: 10px;
  }
  
  .header-logo {
    height: 50px;
  }
  
  .header-icon {
    height: 60px;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .product-nav {
    grid-template-columns: 1fr;
  }
  
  .company-nav {
    grid-template-columns: 1fr;
  }
  
  .footer-qr {
    flex-direction: column;
    align-items: center;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* 公司简介部分样式 */
.company {
  background: #fff;
}

.company .container {
  background-image: url('../images/index_bg.jpg');
  background-size: cover;
  background-position: center;
  padding:80px 40px 150px;
  border-radius: 8px;
}

/* 标题样式 */
.company .section-header {
  text-align: left;
  margin-bottom: 50px;
  width: 80%;
  margin: 0 auto;
}

.company .section-title {
  font-size: 28px;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

@media (min-width: 1600px) {
  .company .section-title {
    font-size: 36px; /* 增大标题字体 */
  }
}

.company .section-desc {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (min-width: 1600px) {
  .company .section-desc {
    font-size: 18px; /* 增大描述字体 */
  }
}

.company .section-text {
  color: #666;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* 数据统计样式 */
.company-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 30px;
  width: 80%;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  color: #ff6633;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number span {
  font-size: 24px;
  margin-left: 5px;
}

.stat-label {
  color: #666;
  font-size: 14px;
}

/* 发展历程导航 */
.company-nav {
  width: 80%;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nav-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.nav-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: all 0.3s ease;
}

.nav-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  transition: all 0.3s ease;
}

.nav-overlay h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.nav-overlay p {
  font-size: 12px;
  opacity: 0.8;
}

.nav-item:hover .nav-image {
  transform: scale(1.1);
}

/* 响应式调整 */
@media (max-width: 992px) {
  .company-stats {
      gap: 20px;
  }
  
  .stat-number {
      font-size: 32px;
  }
}

@media (max-width: 768px) {
  .company-nav {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .company-stats {
      justify-content: center;
  }
  
  .stat-item {
      width: calc(50% - 15px);
  }
}

@media (max-width: 480px) {
  .company .section-title {
      font-size: 24px;
  }
  
  .company-nav {
      grid-template-columns: 1fr;
  }
  
  .stat-item {
      width: 100%;
  }
  
  .stat-number {
      font-size: 28px;
  }
}

.company .container  {
  background-image: url('../images/index_bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 40px;
  border-radius: 8px;
}
/* 荣誉资质部分样式 */
.qualification {
  padding: 80px 0; /* 增大内边距 */
  background: url('../images/index_bg_honor04.jpg') center/cover fixed;
  position: relative;
}

/* 背景遮罩 */
.qualification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* 背景遮罩 */
}

.qualification .container {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 1400px; /* 限制最大宽度 */
  margin: 0 auto;
}

/* 标题样式 */
.qualification .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.qualification .section-title {
  font-size: 36px; /* 增大标题字体 */
  color: #fff;
  margin-bottom: 15px;
}

.qualification .section-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px; /* 增大描述字体 */
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* 证书轮播样式优化 */
.cert-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 容器用来裁切超出部分 */
.cert-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 60px; /* 为按钮留出空间 */
}

.cert-list {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px; /* 减小间距，确保三个模块能完整显示 */
}

.cert-item {
    flex: 0 0 calc((100% - 40px) / 3); /* 平均分配空间给3个模块，考虑间距 */
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.cert-item img {
    width: 100%;
    height: 380px;
    object-fit: contain;
    display: block;
    background: #fff;
    padding: 15px 2px;
}

/* 左右箭头样式优化 */
.cert-prev,
.cert-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.cert-prev {
    left: 0;
}

.cert-next {
    right: 0;
}

.cert-prev:hover,
.cert-next:hover {
    background: #ff6633;
    color: #fff;
    border-color: #ff6633;
}

.cert-prev i,
.cert-next i {
    font-size: 20px;
    transition: color 0.3s ease;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .cert-slider {
        width: 90%;
    }
    
    .cert-item {
        flex: 0 0 calc((100% - 20px) / 2); /* 两列显示 */
    }
}

@media (max-width: 768px) {
    .cert-slider {
        width: 85%;
        padding: 0;
    }
    
    .cert-slider-wrapper {
        margin: 0 45px;
    }
    
    .cert-item {
        flex: 0 0 100%; /* 单列显示 */
    }
    
    .cert-item img {
        height: 320px;
    }
}

/* 新闻资讯部分样式 */
.news-section {
  padding: 60px 0;
  background: #fff;
}

.news-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.en-title {
  display: block;
  font-size: 42px;
  color: #f5f5f5;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cn-title {
  display: block;
  font-size: 32px;
  color: #333;
  margin-top: 15px;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.news-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 40px;
}

.news-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-date {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.news-date .day {
  font-size: 48px;
  font-weight: bold;
  color: #ff6633;
  line-height: 1;
}

.news-date .month {
  font-size: 20px;
  color: #666;
  margin: 0;
}

.news-date .year {
  font-size: 18px;
  color: #999;
  margin-left: auto;
}

.news-content {
  flex: 1;
}

.news-content h3 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
  transition: color 0.3s;
}

.news-item:hover .news-content h3 {
  color: #1E90FF;
}

.news-content p {
  font-size: 18px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
}

.news-more {
  display: inline-block;
  color: #ff6633;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.news-more:hover {
  color: #ff6633;
}

.view-all {
  display: block;
  width: 240px;
  margin: 60px auto 0;
  padding: 15px 0;
  text-align: center;
  color: #ff6633;
  font-size: 20px;
  text-decoration: none;
  border: 2px solid #ff6633;
  border-radius: 6px;
  transition: all 0.3s;
}

.view-all:hover {
  background: #ff6633;
  color: #fff;
}

/* 响应式布局 */
@media (max-1200px) {
  .news-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-768px) {
  .news-list {
    grid-template-columns: 1fr;
  }
  
  .news-container {
    padding: 0 20px;
  }
  
  .news-item {
    padding: 30px;
  }
  
  .news-date .day {
    font-size: 40px;
  }
  
  .news-content h3 {
    font-size: 24px;
  }
  
  .news-content p {
    font-size: 16px;
  }
}

@media (max-480px) {
  .news-section {
    padding: 80px 0;
  }
  
  .en-title {
    font-size: 36px;
  }
  
  .cn-title {
    font-size: 28px;
  }
  
  .news-item {
    padding: 20px;
  }
  
  .news-date .day {
    font-size: 36px;
  }
  
  .news-content h3 {
    font-size: 22px;
  }
  
  .news-content p {
    font-size: 15px;
  }
  
  .view-all {
    width: 200px;
    font-size: 18px;
  }
}

/* 响应式布局 */
@media (max-768px) {
  .news-item {
    flex-direction: column;
    padding: 20px;
  }

  .news-date {
    padding-right: 0;
    padding-bottom: 15px;
    border-right: none;
    border-bottom: 1px solid #eee;
    flex-direction: row;
    gap: 10px;
  }

  .news-content {
    padding-left: 0;
    padding-top: 15px;
  }
}

/* 页脚部分样式 */
.footer {
  background: #1f2937;
  color: #fff;
  padding: 60px 0 20px; /* 增大内边距 */
}

.footer .container {
  width: 80%;
  max-width: 1400px; /* 限制最大宽度 */
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px; /* 增大间距 */
  margin-bottom: 30px;
}

.footer-nav {
  min-width: 200px;
}

.footer-nav h3,
.footer-contact h3 {
  font-size: 18px; /* 增大标题字体 */
  color: #fff;
  margin-bottom: 20px;
  font-weight: normal;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px; /* 增大链接字体 */
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-nav ul li a:hover {
  color: #ff6633; /* 悬停效果 */
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px; /* 增大文字字体 */
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-qr {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.qr-item {
  text-align: center;
}

.qr-item img {
  width: 120px; /* 增大二维码图片 */
  height: 120px;
  background: #fff;
  padding: 5px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.qr-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px; /* 增大文字字体 */
  line-height: 1.4;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  text-align: center;
}

.copyright p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px; /* 增大版权文字 */
  display: inline-block;
}

.copyright p:first-child {
  margin-right: 20px;
}

.copyright a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

/* 新闻描述多行省略样式 */
.news-section .news-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;  /* 限制在3行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    line-height: 1.5;
    max-height: 4.5em;  /* 3行的高度 = 1.5 * 3 */
    color: #666;
    font-size: 16px;
}

/* 确保新闻项布局正确 */
.news-section .news-item {
    display: flex;
    margin-bottom: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-section .news-image {
    flex: 0 0 200px;
    margin-right: 20px;
}

.news-section .news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-section .news-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.news-section .news-meta {
    margin-top: auto;
    color: #999;
    font-size: 14px;
}

/* 新闻标题链接样式 */
.news-title a {
    color: inherit; /* 继承父元素的颜色 */
    text-decoration: none; /* 移除下划线 */
}

.news-title a:hover {
    color: #666; /* 保持与 news-title 相同的悬停效果 */
}

/* 新闻项悬停效果 */
.news-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* 修改新闻标题样式 */
.news-title {
    color: #333; /* 改为深灰色，替代蓝色 */
    text-decoration: none; /* 移除下划线 */
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    /* 其他样式保持不变 */
}

/* 如果有鼠标悬停效果，可以保留一个柔和的颜色变化 */
.news-title:hover {
    color: #666;
}
