@font-face {
    font-family: 'YouSheTiHeiRegular';
    src: url('./1636716444642429.woff2') format('woff2'),
     url('./1636716444642429.woff') format('woff'),
     url('./1636716444642429.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'cyjxk';
    src: url('./cyjxk.woff2') format('woff2'),
     url('./cyjxk.woff') format('woff'),
     url('./cyjxk.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/* 全局样式重置与自定义 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", "SimHei", sans-serif;
}
body {
    color: #333;
    background-color: #fff;
}
.layui-nav-div{
    background-color: #006633 !important;
    height: 60px;
    line-height: 60px;
}
/* 覆盖Layui默认样式，匹配设计图 */
.layui-container {
    max-width: 1200px !important;
    padding: 0 15px;
}
.layui-nav {
    background-color: #006633 !important;
    height: 60px;
    line-height: 60px;
    
    display: flex;
      justify-content: space-between;
      list-style-type: none; /* 如果需要去掉默认的列表样式 */
      padding: 0 6px;
}
.layui-nav-item{
    width: calc(100% / 8);
  text-align: center;
}
.layui-nav-item a {
    color: #fff !important;
    font-size: 16px !important;
    padding: 0 !important;
}
.layui-nav-item a:hover {
    background-color: #004d26 !important;
}
.banner{
    height: 600px;
}
.layui-nav-child{
    background-color: #006633 !important;
}
.layui-nav .layui-nav-more{
    display: none;
}
.tabNav {
    height: 54px;
    margin: 0 auto;
    width: 1270px;
    max-width: 1300px !important;
}

.navTab {
    display: flex;
    height: 54px;
}

.navTab li {
    flex: 1;
    text-align: center;
    font-size: 18px;
    line-height: 34px;
    font-weight: 400;
    color: #fff;
    padding: 0 6px;
    margin: 10px 0;
    cursor: pointer;
    position: relative;
    border-right: 1px solid #008442;
}

.navTab li:last-child {
    border-right: none;
}

.navTab li a {
    color: #fff;
    width: 100%;
}

.navTab li:hover dl {
    display: block;
}

.navTab li dl {
    display: none;
    position: absolute;
    top: 34px;
    left: 0;
    z-index: 3;
    background: #008442;
    width: 100%;
}
.navTab li dl a{
    font-size: 16px;
}
.navTab li a {
    display: inline-block;
}

.navTab li a:hover,
.navTab li.cur a {
    /*! background: #008442; */
}
.header{
    display: none;
}
.h5Logo {
    display: flex;
}
.logoImg1 {
    width: 80%;
    height: 60px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    line-height: 60px;
}
.logoImg1 img {
    max-width: 100%;
    height: 100%;
}

.catalogueBox {
    text-align: right;
    width: 20%;
}

.catalogueBox img {
    width: 30px;
    cursor: pointer;
    margin-top: 10px;
}

.catalogueList {
    width: 100%;
    position: absolute;
    top: 64px;
    left: 0;
    z-index: 9999;
}
.hide{
    display: none;
}
.catalogueList .layui-nav-tree {
    width: 100%;
    background-color: #008442;
}

.catalogueList .layui-nav .layui-nav-item a {
    color: #fff;
}

.catalogueList .layui-nav-itemed > .layui-nav-child {
    background-color: #008442;
}

.catalogueList .layui-nav-tree .layui-nav-bar {
    display: none;
}

.catalogueList .layui-nav-tree .layui-nav-item a:hover {
    background-color: #008442;
}

.catalogueList .layui-nav-tree .layui-nav-child dd.layui-this,
.catalogueList .layui-nav-tree .layui-nav-child dd.layui-this a,
.catalogueList .layui-nav-tree .layui-this,
.catalogueList .layui-nav-tree .layui-this > a,
.catalogueList .layui-nav-tree .layui-this > a:hover {
    background-color: #008442 !important;
    color: #fff;
}
/* 顶部通栏 */
.top-bar {
    font-size: 12px;
    color: #666;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}
.top-bar .lang-switch a {
    margin-left: 10px;
    color: #666;
    text-decoration: none;
}
.top-bar .lang-switch a.active {
    color: #006633;
    font-weight: 600;
}

/* Logo与搜索区 */
.header-main {
    padding: 10px 0;
    border-bottom: 2px solid #006633;
}
.logo-box {
    display: flex;
    align-items: center;
}
.logo {
    width: 100px;
    /*height: 80px;*/
    margin-right: 15px;
}
.logo-text h1 {
    font-size: 18px;
    /*color: #006633;*/
   
    line-height: 1.2;
    font-family: 'cyjxk';
    letter-spacing: -2px;
}
.logo-text p {
    font-size: 18px;
   
   /* color: #006633;*/
    margin: 3px 0;
     font-family: 'cyjxk';
     letter-spacing: -2px;
}
.logo-text .en-text {
    font-size: 14px;
    
    color: #666;
    letter-spacing: 0;
}
.search-box {
    display: flex;
    align-items: center;
}
.search-input {
    height: 32px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 16px;
    font-size: 14px;
    width: 200px;
}
.search-btn {
    height: 32px;
    padding: 0 15px;
    background-color: #006633;
    color: #fff;
    border-radius: 16px;
    font-size: 14px;
    border: none;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* Banner区域 */
.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.banner-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #d80000;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 8px 0;
    z-index: 10;
}
.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 功能模块区 */
.module-section {
    padding: 30px 0;
    margin-bottom: 10px;
}
.module-item {
    height: 360px;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 5px;
}
@media screen and (min-width: 1200px) {
    .layui-col-lg1 {
        width: calc(100% / 7);
    }
    .banner{
        height: 600px;
    }
}
/* 模块背景色匹配设计图 */
.module-item-1, .module-item-3,  .module-item-5, .module-item-7 {
    background-color:#8bc453;
    color: #fff;
}
.module-item-2,.module-item-4, .module-item-6 {
    background-color: #0e843a;
    color: #fff;
}
.module-item .en-title {
    font-size: 12px;
    margin: 50px 0;
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.5); /* 半透明白色背景 */
    width: 100%;
    color: #fff;
}
.module-item .cn-title {
    font-size: 36px;
    
    margin-bottom: 15px;
    font-family: 'YouSheTiHeiRegular'
}
.module-btn {
    padding: 6px 20px;
    border-radius: 16px;
    font-size: 14px;
    background-color: #009944;
    color: #fff;
    border: none;
    cursor: pointer;
    margin: auto;
}
.module-item-2 .module-btn, .module-item-4 .module-btn, .module-item-6 .module-btn {
    background-color: #004d26;
}
.module-btn:hover {
    background-color: #006633;
    color: #fff;
}

/* 协会动态区 */
.news-section {
    background-color: #f5f5f5;
    padding: 50px 0;
}
.section-title .icon{
    text-align: center;
    margin-bottom: 20px;
}
.section-title .icon img{
    width: 40px;
}
.section-title .cn {
    font-size: 36px;
    color: #11824c;
   
    margin-bottom: -10px;
    text-align: center;
    
    font-family: 'YouSheTiHeiRegular'
}
.section-title .en {
    font-size: 28px;
    color: #11824c;
    
    text-align: center;
    margin-bottom: 30px;
    font-family: 'YouSheTiHeiRegular'
}
.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}
.news-item span{
    display: inline-block;
    width: 74%;
    overflow: hidden;
    height: 21px;
}
.news-item .date {
    font-size: 14px;
    color: #999;
    display: inline-block;
    width: 24%;
    text-align: right;
}

/* ===== 协会领导区 ===== */
.leaders-section {
    background-color: #fff;
    padding: 50px 0;
}

.leaders-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.leaders-scroll {
    display: flex;
    gap: 10px;
    overflow-x: hidden;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

}

.leaders-scroll::-webkit-scrollbar {
    display: none;
}

.leader-card {
    flex-shrink: 0;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
}

.leader-card:hover {
    transform: translateY(-5px);
}

.leader-card img {
    width: 200px;
    height: 266px;
    object-fit: cover;
    display: block;
    background-color: #f5f5f5;
}

.leader-info {
   /* background-color: #008838;*/
    color: #fff;
    padding: 10px;
    width: 200px;
   height: 60px;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  background-color: rgba(37, 131, 69, 0.88);
}

.leader-info h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.leader-info p {
    font-size: 12px;
    opacity: 0.9;
    height: 18px;
  line-height: 18px;
  overflow: hidden;
}

.leader-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;

    color: #008838;
    border: none;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    border-radius: 50%;
}
.leader-nav-btn i{
    font-size: 20px;
    font-weight: 1000;
    background: #ccc;
  border-radius: 20px;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 27px;
}
.leader-nav-btn:hover {
    color: #86C440;
}

.leader-nav-btn.prev {
    left: 0;
}

.leader-nav-btn.next {
    right: 0;
}

.leader-more-btn {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
    background-color: #fff;
    color: #333;
    border: 1px solid #999;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.leader-more-btn:hover {
    border-color: #008838;
    color: #008838;
}

/* 协会成员区 */
.member-section {
    background-color: #006633;
    padding: 50px 0;
    color: #fff;
}
.member-section .section-title .cn {
    color: #fff;
}
.member-section .section-title .en {
    color: #e6f4ea;
}
.member-item {
    background-color: #fff;
   
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    margin-bottom: 15px;
}
.member-item img {
    max-width: 100%;
    width: 100%;
 
    display: block;
}
.scroll-container {
    height: 360px;
  overflow: hidden; /* 隐藏溢出的内容 */
  position: relative; /* 定位父容器 */
}

.scroll-content {
  position: absolute;
  width: 100%;
  animation: scroll 10s linear infinite; /* 动画名称、持续时间、速度曲线、重复 */
}

@keyframes scroll {
  0% { top: 100%; } /* 初始位置 */
  100% { top: -100%; } /* 结束位置，这里需要确保内容超出容器的高度 */
}
/* 底部区域 */
.footer {
    padding-top: 50px;
    background-color: #fff;
}
.footer-col h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}
.footer-link li, .footer-contact li {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
    list-style: none;
    display: flex;
    align-items: center;
}
.footer-contact img{
    width: 15px;
    margin-right: 5px;
}
.footer-qrcode {
    text-align: center;
}
.footer-qrcode img {
    width: 150px;
    height: 150px;
    border: 5px solid #82c2a0;
    padding: 5px;
}
.fbei{
   width: 100%;
  max-width: 100% !important;
  background-image: url("../image/fbeibj.jpg");
  height: 80px;
  background-size: cover;
  line-height: 40px;

}
.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #fff;
}
.copyright a{
     color: #fff;
}
@media (min-width: 768px) and @media (max-width: 1200px) {
    .banner{
        height: 400px;
    }
}
/* Layui栅格响应式适配补充 */
@media (max-width: 768px) {
    .logo {
        width: 60px;
        height: 60px;
    }
    .logo-text h1 {
        font-size: 16px;
    }
    .search-input {
        width: 100px;
    }
    .layui-nav-item a {
        padding: 0 10px !important;
        font-size: 14px !important;
    }
    .banner-text {
        font-size: 16px;
    }
    .module-item {
        height: 150px;
    }
    .module-item .cn-title {
        font-size: 20px;
    }
    .module-item .en-title{
        margin: 10px 0;
    }
    .banner{
        height: 300px;
    }

}
@media (max-width: 576px) {
    .header-main .layui-row {
        flex-direction: column;
        gap: 15px;
    }
    .search-box {
        width: 100%;
    }
    .search-input {
        width: 68%;
    }
    .layui-nav {
        height: auto;
        line-height: normal;
        display: block;
        text-align: center;
    }
    .layui-nav .layui-nav-item {
        text-align: center;
    }
    .layui-nav-div{
        height: auto;
    }
    .tabNav{
        display: none;
    }
    .header{
        display: block;
    }
    .banner{
        height: 200px;
    }
}