@font-face {
    font-family: 'BarlowCondensed-Medium'; /* 自定义字体名称 */
    src: 
      url('/fonts/BarlowCondensed-Medium.eot') format('embedded-opentype'), /* IE兼容 */
      url('/fonts/BarlowCondensed-Medium.woff2') format('woff2'), /* 高性能格式 */
      url('/fonts/BarlowCondensed-Medium.woff') format('woff'),
      url('/fonts/BarlowCondensed-Medium.ttf') format('truetype'),
      url('/fonts/BarlowCondensed-Medium.svg#BarlowCondensed-Medium') format('svg'); /* 旧版移动端 */
    font-weight: normal;
    font-style: normal;
  }
.navbar-brand img{width:15.5rem; height:3.125rem;}
.footft{font-size: 1.625rem; font-weight:400;line-height: 50px;}
.footfst{line-height: 2.5rem;color:#9CA3AF; text-decoration:none;font-size:0.95rem;}
.greentitle{font-size:2.5rem; color:#00660F; line-height:1; font-family: 'BarlowCondensed-Medium'; position: relative; }
.zsty{color:#fff; font-size:1.25rem; font-family:'Source Han Sans CN-Medium','PingFang SC','Microsoft YaHei',sans-serif; font-weight:500; padding-bottom: 1rem; line-height:1.25rem; letter-spacing:-2px;}
@media (min-width: 768px) {
    .ctlink li{display:inline-block;margin-right:1rem;}
    .banner-content {text-align: right;}
    .topbtitle{display:inline-block;}
    .banner-en{padding-right:31rem;}
    }
.ptitle{font-size:1.375rem; color:#666; padding:0 3.375rem;}
@media (max-width: 768px){
    .greentitle{font-size:1.8rem;}
    .ptitle{font-size:1rem;padding:0;}
    .sjnav li{padding:1rem;border-top:1px solid #aaa;font-size:1.5rem;font-weight: bold;}
    .sjnav li:hover{background-color: #eee;}
    .banner-content {text-align: center;}

    /* Add margin-top to child page hero sections to prevent overlap with fixed navbar */
    .about-hero,
    .product-hero,
    .news-hero,
    .certificates-hero,
    .partners-hero {
        margin-top: 6rem; /* Adjust based on navbar height */
    }
}
.ctnum p{font-size:1.75rem;font-family: 'BarlowCondensed-Medium'; }
.ctnum span{font-size:1.375rem;}

/* Add margin-top to child page hero sections to prevent overlap with fixed navbar on all screen sizes */
.about-hero,
.product-hero,
.news-hero,
.certificates-hero,
.partners-hero {
    margin-top: 5rem; /* Equal to navbar height */
}

/* 自定义宽容器样式 */
.main-container-wide {
  max-width: 87.5rem; /* 1400px */
  margin-right: auto;
  margin-left: auto;
}
/* 新闻内容默认白色，hover时变色 */
.news-title {
  color: #fff !important;
  transition: color 0.2s;
}
.news-card:hover .news-title {
  color: #333 !important;
}
.news-date-small {
  color: #fff;
  transition: color 0.2s;
}
.news-card:hover .news-date-small {
  color: #999;
}
.news-card {
  transition: background 0.2s;
}
.news-card:hover {
  background: #E3F1FA;
}
.news-card:hover .news-bottom-mask {
  background: #E3F1FA !important;
  opacity: 1 !important;
}
.news-card:hover .news-day {
  color: #333 !important;
}
.news-card:hover .news-main-mask {
  background: #E3F1FA !important;
  opacity: 1 !important;
}
/* 第三条新闻遮罩和文字默认hover态 */
.news-card-third .news-bottom-mask {
  background: #E3F1FA !important;
  opacity: 1 !important;
}
.news-card-third .news-title {
  color: #333 !important;
}
.news-card-third .news-date-small {
  color: #999 !important;
}
.news-card-third .news-day {
  color: #333 !important;
}
/* 产品卡片遮罩样式 */
.product-mask {
  background: linear-gradient(180deg,rgba(51,51,51,0) 0,rgba(51,51,51,1) 100%) !important;
  opacity: 0.8;
  transition: background 0.2s, opacity 0.2s;
  position:absolute; left:0; right:0; bottom:0; height:60px; display:flex; align-items:flex-end;
}
.product-mask-active {
  background: linear-gradient(180deg, rgba(77, 207, 130, 0) 0, rgba(26, 153, 186, 1) 100%) !important;
  height: 200px;
  opacity: 0.8;
  position:absolute; left:0; right:0; bottom:0; display:flex; align-items:flex-end;
}
.product-card:hover .product-mask,
.product-card:hover .product-mask-active {
  background: linear-gradient(180deg, rgba(77, 207, 130, 0) 0, rgba(26, 153, 186, 1) 100%) !important;
}
.co-logo-row {
  gap: 1.25rem;
  height: 100%;
}
.co-logo-item {
  flex: 0 0 calc((100% - 3 * 1.25rem) / 4);
  max-width: calc((100% - 3 * 1.25rem) / 4);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.co-logo {
  width: 100%;
  max-width: 100%;
 
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .co-logo-row {
      gap: 1.25rem;
  }
  .co-logo-item {
      flex: 0 0 calc((100% - 1.25rem) / 2);
      max-width: calc((100% - 1.25rem) / 2);
      height: 50vw;
  }
  .co-logo {
      max-height: 8rem;
  }
}
/* 公司简介数据横向排列样式 */
.dateb {
  overflow-x: auto;
  gap: 0;
}
.data-item {
  min-width: 0;
}
.data-sep {
  padding: 0 0.5rem;
}
@media (min-width: 768px) {
  .data-item {
      min-width: 160px;
  }
  .data-sep img {
      height: 60px;
      margin:0 2rem 0 1rem;
  }
  .gsmc{font-size:2.25rem; color:#333;}
}
@media (max-width: 768px) {
  .data-item {
      min-width: 66px;
      padding-left: 0.2rem !important;
      padding-right: 0.2rem !important;
  }
  .data-item div[style*='font-size:4rem'] {
      font-size: 2rem !important;
  }
  .data-item div[style*='font-size:1rem'] {
      font-size: 0.7rem !important;
      padding-top: 0.5rem;
  }
  .data-sep {
      padding:0.15rem;
  }
  .data-sep img {
      height: 24px;
      width: 0.7rem;
  }
  .dateb {
      padding-right: 0;
  }
  .gsmc{
      font-size: 1.7rem;
  }
  .hzlogo{padding:0 1rem;}
  /* Add mobile styles for product center card container */
  .d-flex.flex-row.flex-nowrap.justify-content-center.align-items-stretch[style*="overflow-x:auto;"] {
      justify-content: flex-start !important; /* Align items to the start on mobile */
      padding-left: 1rem; /* Add some left padding for the first item */
      padding-right: 1rem; /* Add some right padding for consistency */
  }
}
.isotitle{
  font-size: 1.25rem;
  color: #333;
  display: inline-block;
  font-family: 'BarlowCondensed-Medium', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  gap:4rem;
}
.isotitle p{
  display:inline-block;
  position: relative;
  top: 19rem;
  left: -4.5rem;
}
.isotitle p:nth-of-type(1){
  left: -5.5rem;
}
.isotitle p:nth-of-type(2){
  margin-left:4rem;
  top:20.5rem;
}
.isotitle p:nth-of-type(3){
  margin-left:5.5rem;
  top:22rem;
}
.isotitle p:nth-of-type(4){
  margin-left:4rem;
  top:24rem;
}
.isotitle p:nth-of-type(5){
  margin-left:1.5rem;
  top:25.5rem;
}
.isotitle p:nth-of-type(6){
  margin-left:8.5rem;
  top:26.5rem;
}
.isotitle p:nth-of-type(7){
  margin-left:10rem;
  top:28.5rem;
  left:0rem;
}
@media (max-width: 1400px) {
  .isotitle {
      display: none !important;
  }
}
.hzlogo > div {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 8rem; */
}
.hzlogo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@media (max-width: 768px) {
  .hzlogo > div {
      flex: 0 0 50%;
      max-width: 50%;
      height: 8rem;
      padding: 0.2rem 0;
  }
  .hzlogo img {
      max-height: 8rem;
  }
  .fttp{padding:0 1.5rem; text-align: left;}
  .fttp1{padding-left:2rem;}
  .fttp2{padding-right:2rem;}
  .dpn{display: none;}
}
@media (min-width: 768px) {
  .hzlogo > div {
      flex: 0 0 25%;
      max-width: 25%;
      /* height: 8rem; */
  }
  .ntbig{color: #333 !important;}
  .ntgreen{color: #00660f !important;}
}
@media (max-width: 768px) {
  .navbar-collapse {
      background: #fff !important;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      width: 100vw !important;
      left: 0 !important;
      right: 0 !important;
      position: fixed !important;
      top: 5rem !important;
      z-index: 1050;
      border-radius: 0 !important;
      min-width: 100vw !important;
      max-width: 100vw !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
  }
  .gsmct{font-size:1.7rem!important;}
  .about-data-num{font-size:2.5rem!important;}
  .about-data-label {font-size:0.8rem!important;margin-top:0.2rem!important;}
  .news-content{padding:0 2rem;}
}
.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 4.5rem 0 3.5rem 0;
}
.banner-title {
  font-family: 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.25em;
  margin-bottom: 0.5rem;
}
.banner-en {
  font-family: 'DIN Condensed', 'BarlowCondensed-Medium', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin-bottom: 0;
}
.newst-title{font-size: 1.5rem; font-weight: bold; color: #333; margin-bottom: 0.5rem;}
.newst-date{color:#999 !important;}
.list-unstyled li{font-size: 1.125rem;}
.nav-link {
  font-size: 1.125rem;
  color: #333;
  cursor: pointer;
  padding: 0.75rem 0 0.5rem 0;
  border: none;
  transition: color 0.3s ease;
  margin: 0 2rem;
}
.nav-link:hover, .nav-link:focus {
  color: #00660f;
}
.nav-link.active {
  color: #00660f;
}
.underline-bar {
  width: 100%;
  height: 2px;
  background-color: #00660f;
  margin: 0 auto;
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.product-item {
  flex: 0 0 calc(33.33% - 20px);
  /* max-width: calc(33.33% - 20px); */
  margin: 10px;
}
.product-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.product-item-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
  margin-top: 10px;
}
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.pagination .page-link {
  color: #333;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 8px 15px;
  margin: 0 4px;
  cursor: pointer;
}
.pagination .page-item.active .page-link {
  background-color: #00660f;
  border-color: #00660f;
}
.main-container-1400 {
  max-width: 1400px;
  margin-right: auto;
  margin-left: auto;
}
/* Mobile responsiveness for tabs and news items */
@media (max-width: 768px) {
  .ctlink li{display:block;margin-right:0;margin-bottom:1rem;}
  .banner-content {text-align: center;}
  .topbtitle{display:block;}
  .banner-en{padding-right:0;}
  .greentitle{font-size:1.8rem;}
  .ptitle{font-size:1rem;padding:0;}
  .sjnav li{padding:1rem;border-top:1px solid #aaa;font-size:1.5rem;font-weight: bold;}
  .sjnav li:hover{background-color: #eee;}
  .banner-content {text-align: center;}
  .about-hero,
  .product-hero,
  .news-hero,
  .certificates-hero,
  .partners-hero {
      margin-top: 5rem; /* Adjust based on navbar height */
  }
  .co-logo-item {
      flex: 0 0 calc((100% - 1.25rem) / 2);
      max-width: calc((100% - 1.25rem) / 2);
      height: 50vw;
  }
  .co-logo {
      max-height: 8rem;
  }
  .data-item {
      min-width: 66px;
      padding-left: 0.2rem !important;
      padding-right: 0.2rem !important;
  }
  .data-item div[style*='font-size:4rem'] {
      font-size: 2rem !important;
  }
  .data-item div[style*='font-size:1rem'] {
      font-size: 0.7rem !important;
      padding-top: 0.5rem;
  }
  .data-sep {
      padding:0.15rem;
  }
  .data-sep img {
      height: 24px;
      width: 0.7rem;
  }
  .dateb {
      padding-right: 0;
  }
  .gsmc{
      font-size: 1.7rem;
  }
  .hzlogo{padding:0 1rem;}
  .navbar-collapse {
      background: #fff !important;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      width: 100vw !important;
      left: 0 !important;
      right: 0 !important;
      position: fixed !important;
      top: 5rem !important;
      z-index: 1050;
      border-radius: 0 !important;
      min-width: 100vw !important;
      max-width: 100vw !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
  }
  .gsmct{font-size:1.7rem!important;}
  .about-data-num{font-size:2.5rem!important;}
  .about-data-label {font-size:0.8rem!important;margin-top:0.2rem!important;}
  .news-content{padding:0 2rem;}
  .product-categories {
    gap: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px;
  }
  .nav-link {
    margin: 0 0.5rem;
    font-size: 1.2rem;
    padding: 0.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .product-hero {
    min-height: 200px;
  }
  /* Add specific styles for the product card container on the homepage mobile view */
  /* Targeting the flex container with overflow-x: auto inside the product center section */
  section.py-5[style*="background:#fff"] .product-list {
       justify-content: flex-start !important; /* Align items to the start */
       padding: 0 1rem; /* Add left and right padding for spacing */
   }
}
/* Styles for the new product list ul */
.product-list {
    display: flex; /* Make it a flex container */
    flex-direction: row; /* Arrange items in a row */
    flex-wrap: nowrap; /* Prevent wrapping, enable horizontal scroll */
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    list-style: none; /* Remove default list bullets */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    gap: 0; /* Remove gap between items if any default exists for ul/li */
}

/* Styles for the product list items (li) */
.product-list .product-card {
    flex: 0 0 12.5%; /* Each item takes 12.5% width */
    min-width: 120px; /* Minimum width for smaller screens */
    height: 25rem; /* Fixed height */
    position: relative; /* Needed for absolute positioning of mask */
    overflow: hidden; /* Hide anything outside the li */
}

/* Style for the product card image div */
.product-list .product-card-image {
    width: 100%;
    height: 100%; /* Fill the li */
    background-size: cover; /* Cover the area */
    background-position: center; /* Center the background image */
}

/* Style for the product link (a) inside li */
.product-list .product-link {
    display: block; /* Make the link fill the li */
    width: 100%;
    height: 100%;
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color */
}