/* 设置所有元素的 box-sizing 为 border-box，方便布局管理 */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 在线链接服务仅供平台体验和调试使用，平台不承诺服务的稳定性，企业客户需下载字体包自行发布使用并做好备份。 */
/* 在线链接服务仅供平台体验和调试使用，平台不承诺服务的稳定性，企业客户需下载字体包自行发布使用并做好备份。 */
@font-face {
    font-family: "阿里妈妈数黑体"; /* 自定义一个字体名 */
    src: url("../font/Alibaba_PuHuiTi_2.0_55_Regular_55_Regular.ttf") format("truetype");
    font-display: swap;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.6s ease-out;
  }
  
  .reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  
/* 设置 html 和 body 的基本样式 */
html,
body {
    height: 100%;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    /* line-height: 1.6; */
}
body{padding-top: 72px;}

/* 移除列表、链接、表格等元素的默认样式 */
ul,
ol {
    list-style: none;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

table {
    border-collapse: collapse;
    width: 100%;
}

table, th, td {
  border: 1px solid #000;
}
.max-width{    padding:0 2%; /* 防止超窄屏内容紧贴边缘 */max-width: 1560px;    margin: 0 auto;}
.container {
    width: 100%;
    max-width: 1560px;
    /* max-width: 1280px; */
    margin: 0 auto;
    padding:80px 2%; /* 防止超窄屏内容紧贴边缘 */
    box-sizing: border-box;
  }

/* 表单元素的统一样式 */
input,
button,
select,
textarea {
    font: inherit;
    border: none;
    outline: none;
    background: none;
}

/* 解决图片在某些浏览器上的显示问题 */
img {
    max-width: 100%;
    /* height: auto; */
    /* display: block; */
}

/* 强制所有元素的默认样式 */
html {
    -webkit-text-size-adjust: 100%;
    /* 防止iOS Safari对字体做缩放 */
    -ms-text-size-adjust: 100%;
    /* 防止IE对字体做缩放 */
}

.head-bg {
    position: fixed;
    width: 100%;
    top: 0;
    background: #fff;
    z-index: 11;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
}

.head-bg .logo {
    font-size: 20px;
}
.head-bg .logo img{height:35px;}

/* .head-bg .search{float:right} */
.nav {
    display: flex;
}

.nav li>a {
    padding: 15px 20px;
    display: block;
    font-size: 20px;
    min-width: 120px;
    text-align: center;
}

.nav li>a:hover {
    background: #ededed;
}

.nav-item {
    position: relative;
}

.sub-menu {
    display: none;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    background: white;
    /* border: 1px solid #eee; */
    /* min-width: 120px; */
    z-index: 999;
}

.sub-menu li {
    
    white-space: nowrap;
}

.sub-menu li a {
    /* padding: 8px 12px; */
    color: #333;
    text-decoration: none;
}

.nav-item:hover .sub-menu {
    display: block;
}

.search {
    position: relative;
}
#search-icon{font-size: 18px;border-radius: 50%;padding: 20px;cursor: pointer;}
#search-icon:hover{
    background: #eee;
}
#search-box{
    background: #fff;
    padding:10px 20px;
    display: none;
    position: absolute;
    top: calc(100% + 20px);
    right: 0;
    width: 200px;
    border: 1px solid #ccc;
    z-index: 999;

}
#search-input {
   
width: 100%;
line-height: 1.6em;

}

.m-caidan{margin-left: auto;display: none;}
.m-caidan .iconfont{font-size: 24px;}

.index-tit{
    font-size: 32px;
    font-weight: bold;
    /* margin-bottom: 20px; */
    padding-bottom: 4%;    color: #333;}
.index-tit span{display: block;font-size: 18px;font-weight: normal;}
.img-container {
    position: relative;
    width: 100%; /* 容器宽度自适应 */
    padding-top: 75%; /* 高度占宽度的 75% 来保持 4:3 的比例 */
  }
  
  .img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保证图片填满容器，不失真 */
  }



  /* Footer 样式 */
.footer {
    background-color: #333;
    color: #ccc;
    /* padding: 60px 0; */
    font-size: 16px;
}

.footer .container {
    /* max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; */
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-nav {
    flex:0 0 50%;
}
.footer-contact{
width:30%;
margin-left: auto;
}
.footer-ewm{width: 150px;margin-left: 20px;}

.footer h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ddd;
}

.footer-contact p, .footer-nav ul {
    font-size: 14px;
    line-height: 1.8;
}

.footer-contact a, .footer-nav a {
    /* color: #fff; */
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover, .footer-nav a:hover {
    color: #fff;
}

.footer-nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content:space-between;
}

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

}

.footer-nav ul li a {
    font-size: 18px;
    font-weight: normal;
}
.footer-nav ul li dd a{font-size: 14px;}

/* Footer 底部版权信息 */
.footer-bottom {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body{padding-top: 13%;}
    .container{padding: 2%;}
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-contact, .footer-nav {
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-contact p, .footer-nav ul {
        font-size: 14px;
    }
    .m-caidan{display:block;}
}

/* 友情链接样式 */
.footer-links {
    margin-top: 40px;
}

.footer-links h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    /* text-align: center; */
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    /* justify-content: center; */
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links ul li {
    font-size: 14px;
}

.footer-links ul li a {
    /* color: #fff; */
    text-decoration: none;
    font-weight: normal;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #007bff;
}

/* 面包屑 */
.breadcrumb-section {
    padding: 15px 0;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    /* width: 1280px; */
    /* max-width: 1280px; */
    margin: 0 auto;
    box-sizing: border-box;
}

.breadcrumb {
    font-size: 18px;
    color: #666;
    margin-bottom: 8px;
}

.breadcrumb-label i {
    margin-right: 5px;
    color: #999;
}

.breadcrumb-path {
    color: #333;
}

.page-title {
    font-size: 20px;
    color: #222;
    font-weight: bold;
    margin: 0;
}


/* 分页代码 */
ul.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 10px 0;
    margin: 20px 0;
    gap: 6px;
    font-family: Arial, sans-serif;
}

ul.pagination li {
    display: inline-block;
}

ul.pagination li a,
ul.pagination li span {
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s;
}

ul.pagination li a:hover {
    background-color: #f0f0f0;
    color: #000;
}

ul.pagination li.active span {
    color: #aaa;
    background-color: #f9f9f9;
    border-color: #ddd;
    cursor: default;
}

ul.pagination li.disabled span {
    color: #aaa;
    background-color: #f9f9f9;
    border-color: #ddd;
    cursor: not-allowed;
}
