/* 清除默认样式的代码 */
/* 去除常见标签默认的 margin 和 padding */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd,
figure,
input {
  margin: 0;
  padding: 0;
}
 
/* 內减模式 */
* {
  box-sizing: border-box;
}
 
/* 设置网页统一的字体大小、行高、字体系列相关属性 */
body {
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
}

body, html {
    /*font-size: calc(100vw / 120);*/
}

/* 去除列表默认样式 */
ul,
ol {
  list-style: none;
}
 
/* 去除默认的倾斜效果 */
em,
i {
  font-style: normal;
}
 
/* 去除a标签默认下划线，并设置默认文字颜色 */
a {
  text-decoration: none;
  color: #333;
}
 
/* 设置img的垂直对齐方式为居中对齐，去除img默认下间隙 */
img {
  vertical-align: middle;
}
 
/* 去除input默认样式 */
input {
  border: none;
  outline: none;
  color: #333;
}
 
/* 左浮动 */
.fl {
  float: left;
}
 
/* 右浮动 */
.fr {
  float: right;
}
 
/* 双伪元素清除法 */
.clearfix::before,
.clearfix::after {
  content: '';
  display: table;
}
.clearfix::after {
  clear: both;
}
 
/*版心居中*/
.wrapper {
  /*width: 1240px;*/
  margin: 0 auto;
}

.banner .mySwiper{position: relative;}
.swiper {
    width: 100%;
    height: 100%;
  }

.swiper-slide {
    text-align: center;
    font-size: 18px;
    /* background: #fff; */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .swiper {
    margin-left: auto;
    margin-right: auto;
  }

.blog-single-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #3DA46C;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 48px;
    min-width: 160px;
}

.blog-single-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #3DA46C;
    transition: left 0.5s ease;
}

.blog-single-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.blog-single-button:hover::before {
    left: 100%;
}

.blog-single-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.blog-single-button .iconfont {
    margin-right: 8px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.blog-single-button:hover .iconfont {
    transform: scale(1.1);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .blog-single-button {
        padding: 10px 20px;
        font-size: 14px;
        min-height: 44px;
        min-width: 140px;
    }
    
    .blog-single-button .iconfont {
        font-size: 16px;
        margin-right: 6px;
    }
}

@media (max-width: 480px) {
    .blog-single-button {
        padding: 8px 16px;
        font-size: 13px;
        min-height: 40px;
        min-width: 120px;
    }
    
    .blog-single-button .iconfont {
        font-size: 14px;
        margin-right: 4px;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .blog-single-button {
        background: #0056b3;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    }
    
    .blog-single-button:hover {
        background: #004494;
        box-shadow: 0 6px 12px rgba(0,0,0,0.4);
    }
}

/* 减少动画模式支持 */
@media (prefers-reduced-motion: reduce) {
    .blog-single-button {
        transition: none;
    }
    
    .blog-single-button::before {
        display: none;
    }
    
    .blog-single-button:hover .iconfont {
        transform: none;
    }
}

/* 打印样式 */
@media print {
    .blog-single-button {
        background: #f0f0f0 !important;
        color: #000 !important;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

