@charset "utf-8";
.custom-div {
  text-align: center;
  font-size: 18px;
  margin-bottom: 30px;
  width: 100%;
  display: block;
}
.xclb_list{
    /* 移除无效的 text-align: center; */
    padding: 80px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 替换为 center，让子元素整体水平居中 */
    width: 100%; 
    margin: 0 auto; 
    box-sizing: border-box;
    gap: 1%; 
    row-gap: 15px;
}
.xclb_list>a{
    /* 移除margin，改用父容器gap控制间距 */
    /* margin: 0 1%; */
    margin: 0; 
    width: calc(25% - 1%) !important; /* 25%（4列） - gap的1%，精准适配 */
    flex: none; 
    height: 88px;
    border-radius: 10px;
    background-color:#f2f2f2;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size:18px ;
    color: var(--p_color);
    transition: all .2s;
    box-sizing: border-box;
}
.xclb_list>a:hover{
    background-color: var(--btn_bg_color1);
    color: #fff;
    font-weight: 700;
}
.xclb_list>a.on{
    background-color: var(--btn_bg_color1);
    color: #fff;
    font-weight: 700;
}
/* .xclb_ct{
    height: 1000px;
} */
.xclb_swiper{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.xclb_slide{
    height: auto;
    /* padding-right: 65px; */
    /* padding-bottom: 50px; */
  
}
.fenye{
    display: flex;
    justify-content: center;
}
.xclb{
    padding-bottom: 40px;
}
.swiper-container-vertical>.swiper-scrollbar.xclb_scrollbar{
    width: 8px;
    background-color: #e5e5e5;
}
.swiper-scrollbar-drag{
    background-color: var(--btn_bg_color1);
}
 
/*  */
.grid-item {
    width: 50%;
    opacity: 1;
    transition: opacity 0.5s;
    
}
.grid-item.fade-in {
    opacity: 1;
}
.grid-itembox{
    position: relative;
    padding:0 15px 20px 0px;
    background-color: #fff;
    z-index: 5;
    
}
.grid-itembox .xclb_slidea{
    position: relative;
    /* padding: 10px; */
    display: block;
    overflow: hidden;

}
.xclb_slidea_i{
    position: absolute;
    left: 0;
    top: 0;
    padding-bottom: 50px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .4s;
    opacity: 0;
}
.xclb_slidea_i i{
    width: 45px;
    height: 45px;
    background-color: var(--btn_bg_color1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    border-radius: 100%;
    line-height: 1;
}
.xclb_slidea:hover .xclb_slidea_i{
    opacity: 1;
    transform: scale(1.2);
}
.xclb_slidea_txt{
    position: absolute;
    padding: 0 15px;
    left: 0;
    bottom: 0;
    height: 60px;
    width: 100%;
   line-height: 60px;
   text-align: center;
   font-size: 16px;
   color: #ffff;
   transform: translateY(100%);
   transition: all .4s;
}
.xclb_slidea:hover .xclb_slidea_txt{
    transform: translateY(0%);
}
.xclb_slidea img {
    width: 100%;
}
.xclb_slidear.xclb_slidea{
    background-size: 100% 100%;
    background-image: url(../images/imgs/bk.jpg); 
}
.xclb_scrollbar{
    display: none;
}

.xclb_ctzs {
    display: flex;
    flex-wrap: wrap;
    /* 可选：让最后一行靠左对齐（最常用） */
    justify-content: flex-start;
}

.xclb_ctzs > a {
    position: relative;
    /* 核心：一行3个，宽度均分 */
    width: 31.333%;
    /* 左右间距 = (100% - 31.333%×3) / 2 间隔均匀 */
    margin-right: 2%;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    display: block; /* 修复a标签布局问题 */
    box-sizing: border-box; /* 边框/内边距不撑大盒子 */
}

/* 关键：清除第3个的右边距，避免换行 */
.xclb_ctzs > a:nth-child(3n) {
    margin-right: 0;
}
.xclb_ctzsa_img{
    position: relative;
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    /* 👇 修复阴影：柔和自然 + 不会被裁切 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    /* 👇 加这个让阴影完整显示（关键） */
    margin: 4px;
}
.xclb_ctzsa_img img{
    width: 100%;
    display: block; /* 消除图片底部空白间隙 */
    border-radius: 15px;
}
.xclb_ctzsa_txt{
    text-align: center;
    font-size: 16px;
    line-height: 200%;
    padding: 15px 15px;
    text-align: center;
	font-weight: 600;
}


.xclb_ctzsa:hover .xclb_slidea_i{
    opacity: 1;
    transform: scale(1.2);
}
@media screen and (max-width: 2000px) {
    .xclb_list{
        padding: 70px 0;
    }
}
@media screen and (max-width: 1800px) {
    .xclb_list{
        padding: 60px 0;
    }
    .xclb_list>a{
        height: 65px;
    }
    .xclb{
        padding-bottom: 30px;
    }
    /* .xclb_ct{
        height: 800px;
    } */
}
@media screen and (max-width: 1600px) {
    .xclb_list{
        padding: 50px 0;
    }
    .xclb_list>a{
        height: 60px;
    }
    .xclb{
        padding-bottom: 20px;
    }
    /* .xclb_ct{
        height: 700px;
    } */
}

@media screen and (max-width: 1200px) {
    .grid-item{
        width: 50%;
    }
}
@media screen and (max-width: 992px) {
    .xclb_slidea_i {
        display: none;
    }
    /* .xclb_slide{
        padding-right: 40px;
    } */
    /* .xclb_ct{
        height: 500px;
    } */
}
@media screen and (max-width: 768px) {
    .xclb_slide{
        /* padding-right: 25px; */
        /* padding-bottom: 20px; */
    }
    /* .xclb_ct{
        height: 400px;
    } */
    .grid-itembox{
        padding: 0 6px 10px;
    }
    .xclb_ctzsa_txt{
        font-size: 16px;
        line-height: 200%;
    }
    .xclb_ctzs>a{
        margin-bottom: 20px;
    }

.xclb_ctzsa_img {
  position: relative;
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  margin: 2px;
}

.xclb_ctzsa_img img {
  width: 100%;
  display: block;
  border-radius: 15px;
  object-fit: cover; /* 图片不变形，更美观 */
}
	

         .xclb_ctzs>a{
width:  98%;
margin-right: 2%;
} 
     .xclb_ctzs>a:nth-child(3n){
margin-right: 2%;
} 
     .xclb_ctzs>a:nth-child(2n){
margin-right: 0;
}
}

/* 全局盒模型重置（必须放在最前面） */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 先给父元素设置明确的宽度和布局上下文 */
.xclb_list {
  width: 100%;          /* 父元素占满容器宽度 */
  overflow: hidden;     /* 清除浮动影响 */
  font-size: 0;         /* 消除inline-block元素间的空白间隙 */
}

@media screen and (max-width: 768px) {
  /* 先重置父容器布局，避免flex干扰 */
  .xclb_list {
    display: block; /* 取消flex，改为块级 */
    overflow: hidden; /* 清除浮动 */
  }
  /* 再重置子元素，强制生效百分比宽度 */
  .xclb_list>a {
	  font-weight: 400;  !important;
    font-size: 16px !important; /* 加!important覆盖原有高优先级样式 */
    height: 38px !important;
    width: 48% !important; /* 强制生效 */
    margin-right: 2% !important;
    margin-bottom: 10px !important; /* 增加上下间距，避免拥挤 */
    display: block !important; /* 改为block/inline-block，脱离flex约束 */
    float: left !important; /* 让元素并排显示 */
    box-sizing: border-box !important; /* 确保宽高包含内边距/边框 */
    text-align: center; /* 替代flex的居中 */
    line-height: 38px; /* 文字垂直居中，替代flex的align-items */
  }
  /* 清除最后一个元素的右间距，避免换行 */
  .xclb_list>a:nth-child(2n) {
    margin-right: 0 !important;
  }
}