*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:"PingFang SC","Microsoft YaHei",sans-serif;color:#333;background:#fff;line-height:1.7;}
a{text-decoration:none;color:#333;}
img{max-width:100%;}
.banner img,
.news-img img,
.list-item img,
.about-img img{
    display:block;
}

@media (max-width:768px) {
    .banner {
        display: none !important;
    }
}

.container{width:92%;max-width:1200px;margin:0 auto;}
.section{padding:60px 0;}
.bg-light{background:#f9f7f2;}
.title{text-align:center;margin-bottom:40px;}
.title h2{font-size:28px;color:#2c5c42;margin-bottom:6px;}
.title span{color:#e67828;font-size:15px;letter-spacing:2px;}
.btn{display:inline-block;padding:10px 26px;background:#e67828;color:#fff;border-radius:4px;transition:0.3s;}
.btn:hover{background:#c8661e;}
.more-box{text-align:center;margin-top:40px;}
.sub-nav:empty {
    display: none !important;
}

.header{background:#fff;box-shadow:0 2px 8px rgba(0,0,0,0.06);position:sticky;top:0;z-index:999;}
.header .container{display:flex;justify-content:space-between;align-items:center;height:70px;}
.logo img{height:50px;}
.nav{display:flex;align-items:center;gap:24px;}
.nav-list{display:flex;gap:32px;list-style:none;position:relative;}
.nav-item{position:relative;}
.nav-list a{font-size:15px;transition:0.2s;color:#333;}
.nav-list a:hover,.nav-list a.active{color:#e67828;}

/* 二级下拉菜单样式 */
.sub-nav {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    background:#fff;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
    min-width:140px;
    padding:8px 0;
    border-radius:4px;
    z-index:999;
    list-style: none; /* 去掉圆点 */
}
.sub-nav li {
    padding:0 16px;
    list-style: none; /* 兜底清除 */
}

.sub-nav li a{
    display:block;
    padding:8px 0;
    font-size:14px;
    white-space:nowrap;
}
.nav-item:hover .sub-nav{
    display:block;
}

.search-icon{
    cursor:pointer;
	margin-top:6px;
}
.search-icon svg{
    transition: stroke 0.2s;
}
.search-icon:hover svg{
    stroke:#e67828;
}


/* 搜索弹出框 */
.search-popup{
    position:absolute;
    left:0;
    top:70px;
    width:100%;
    background:#fff;
    padding:16px 0;
    box-shadow:0 4px 10px rgba(0,0,0,0.08);
    display:none;
    z-index:999;
}
.search-popup form{
    width:92%;
    max-width:1100px;
    margin:0 auto;
    display:flex;
    gap:10px;
    align-items:center;
    position:relative;
}
.search-popup input{
    flex:1;
    height:42px;
    border:1px solid #ddd;
    padding:0 14px;
    border-radius:4px;
    outline:none;
    font-size:14px;
}
.search-popup button{
    height:42px;
    padding:0 20px;
    background:#e67828;
    color:#fff;
    border:none;
    border-radius:4px;
    cursor:pointer;
}
.search-close{
    position:absolute;
    right:-50px;
    top:50%;
    transform:translateY(-50%);
    font-size:24px;
    color:#999;
    cursor:pointer;
    padding:0 10px;
}


.nav-item-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-item-wrap a {
  flex: 1;
}
.arrow-down {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 4px 6px;
  transition: transform 0.25s ease;
}
.arrow-down.active {
  transform: rotate(180deg);
}

/* PC端：hover展开子菜单，箭头样式微调 */
@media (min-width:769px) {
  .arrow-down {
    pointer-events: none; /* PC端箭头不单独点击，hover导航展开 */
  }
  .nav-item:hover .sub-nav {
    display:block;
  }
}

/* 手机端：箭头可点击，子菜单默认隐藏 */
@media (max-width:768px) {
  .sub-nav {
    display: none;
  }
  .sub-nav.show {
    display:block;
  }
  .arrow-down {
    pointer-events: auto;
  }
}




.menu-btn{display:none;font-size:24px;cursor:pointer;}

.banner{width:100%;}
.banner img{width:100%;object-fit:cover;}
.swiper-pagination-bullet-active{background:#e67828;}

.about-row{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;}
.about-img img{border-radius:6px;}
.about-text p{margin-bottom:24px;color:#555;}

.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.product-item{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,0.05);transition:0.3s;}
.product-item:hover{transform:translateY(-6px);box-shadow:0 6px 16px rgba(0,0,0,0.08);}
.product-img{height:300px;overflow:hidden;}
.product-img img{width:100%;height:100%;object-fit:cover;}
.product-item h3{text-align:center;padding:14px;font-size:14px;}


.news-row{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;}
.news-item{
    display:grid;
    grid-template-columns:130px 1fr; /* 固定图片列宽度130px，不会被图片撑大 */
    gap:16px;
    background:#fff;
    padding:14px;
    border-radius:6px;
    box-shadow:0 2px 8px rgba(0,0,0,0.04);
    align-items: start;
}
.news-img{
    width:130px;
    height:100px;
    overflow:hidden; /* 超出直接裁切，核心防撑开 */
}
.news-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:4px;
    display:block;
}

.date{
    color:#999;
    font-size:13px;
    margin-bottom:8px;
}
.news-info p{
    font-size:14px;
    color:#666;
    line-height:1.45;
    /* 简介：自动换行，最多2行，超出省略 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}





.page-banner{background:#2c5c42;color:#fff;padding:40px 0;}
.breadcrumb{font-size:14px;margin-bottom:10px;opacity:0.8;}
.content-info{text-align:center;color:#999;font-size:14px;margin-bottom:20px;}
.content-body{font-size:16px;color:#444;line-height:1.8;}
.content-body img{margin:12px auto;border-radius:6px;}
.prev-next{margin-top:40px;padding-top:20px;border-top:1px solid #eee;font-size:14px;color:#666;}
.grid-list{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.list-item{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,0.05);transition:0.3s;}
.list-item:hover{transform:translateY(-4px);box-shadow:0 6px 16px rgba(0,0,0,0.08);}
.list-item img{width:100%;height:220px;object-fit:cover;}
.list-item h3{padding:14px 14px 6px;font-size:16px;}
.list-item p{padding:0 14px 14px;font-size:14px;color:#666;}
.page{margin-top:30px;text-align:center;}


.footer {
  padding: 30px 0;
  background: #222;
  color: #aaa;
  font-size: 14px;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
.footer-left {
  text-align: left;
}
.footer-link a {
  margin-right: 15px;
  color: #aaa;
  text-decoration: none;
}
.footer-link a:hover {
  color: #e67828;
}
.footer p {
  margin: 8px 0;
}
.footer-qrcode img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
/* 移动端自适应：二维码换到下方 */
@media (max-width:768px) {
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-qrcode{
    margin-top:10px;
  }
}


@media(max-width:768px){
  .nav-list{
    display:none;
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    background:#fff;
    flex-direction:column;
    gap:0;
    padding:20px;
    box-shadow:0 4px 8px #00000012;
  }
  .nav-list.show{display:flex;}
  .nav-list li{padding:12px 0;border-bottom:1px solid #f0f0f0;}
  .nav-item{padding:12px 0;border-bottom:1px solid #f0f0f0;}
  .sub-nav{
      position:static;
      box-shadow:none;
      padding-left:16px;
      background:#f9f9f9;
      margin-top:8px;
      border-radius:4px;
      list-style: none;
  }
  .menu-btn{display:block;font-size:24px;cursor:pointer;}
  .search-popup{top:70px;}

  .banner img{height:240px;}
  .about-row{grid-template-columns:1fr;}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .product-img{height:200px;overflow:hidden;}
  .product-img img{width:100%;height:100%;object-fit:cover;}

  .news-row{grid-template-columns:1fr;}
.news-item{grid-template-columns:1fr;}
.news-img{
    width:100%;
    height:160px;
    overflow:hidden;
}
.news-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}


  .grid-list{grid-template-columns:repeat(2,1fr);}
  .section{padding:40px 0;}
  .title h2{font-size:24px;}
}

@media(max-width:480px){

}


.about-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:40px;
    align-items: center;
}
.video-wrap {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}
.video-wrap video {
    width: 100%;
    height: auto;
    display: block;
}

/* 移动端自动变成上下排列 */
@media(max-width:768px){
    .about-row{
        grid-template-columns:1fr;
    }
}

.plyr {
    --plyr-color-main: #e67828;
}

/* PC */
.bannerSwiper .swiper-wrapper,
.bannerSwiper .swiper-slide {
    aspect-ratio: 16 / 5; /* PC横幅比例，你可以改成 16/4.5 更矮 */
    width:100%;
    height:auto;
}
.bannerSwiper img {
    width:100%;
    height:100%;
    object-fit: cover;
    object-position: center center;
    display:block;
}

/* 手机端，改成更适合手机的比例，比如 10 / 4 */
@media (max-width:768px) {
    .bannerSwiper .swiper-wrapper,
    .bannerSwiper .swiper-slide {
        aspect-ratio: 10 / 4; /* 手机比例，数值调大=更高，裁得更多；调小=更矮 */
    }
    .bannerSwiper img {
        object-fit: cover;
        object-position: center center;
    }
}

