/* 1. 轮播外层容器：相对定位，限制宽高 */
.slide_wr.sld {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  cursor: pointer;
}

/* 2. 幻灯片父容器：绝对定位，宽度为幻灯片总数*100% */
.slide_cells {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out; /* 将过渡效果移到这里 */
}

/* 3. 单个幻灯片：宽度100% */
.slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-shrink: 0; /* 防止压缩 */
}

/* 4. 导航圆点容器 */
.slide_navi_dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 10;
}

/* 5. 导航圆点默认样式 */
.slide_navi_dots li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 6. 导航圆点激活状态 */
.slide_navi_dots li.active {
  background-color: #ffffff;
  transform: scale(1.2);
}

/* 7. 上一张/下一张按钮 */
.slide_navi_previous,
.slide_navi_next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.slide_navi_previous:hover,
.slide_navi_next:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.slide_navi_previous {
  left: 20px;
}
.slide_navi_next {
  right: 20px;
}

/* 8. 幻灯片内容区 */
.slide_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: auto;
  border-radius: 4px;
  max-width: 80%;
}

/* 9. 链接样式 */
.sld_bg_link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

.slide_btn a {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid;
  text-decoration: none;
  transition: all 0.3s ease;
}

.slide_btn a:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

@media (max-width: 768px) {

.slide_wr.sld {
  position: relative;
  width: 100%;
  height: 300px; /* 手机端缩短轮播高度 */
  overflow: hidden;
  cursor: pointer;
}

.slide_cells {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out; /* 将过渡效果移到这里 */
}
.slide_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: auto;
  border-radius: 4px;
  max-width: 30%;
}
.slide_content span { font-size:12px;
}

div.slide_content span.slide_title {
		font-weight: 600;
		font-size: 1rem;
		line-height: 1rem;
		padding:0.2rem;
	}
  .slide_content h1{
    font-size: 12px; /* 手机端缩小标题文字 */
	display:none;
  }
  .t_code { display:block; width:100%;}
  .slide_navi_previous, .slide_navi_next {
    width: 30px;
    height: 30px;
    font-size: 16px; /* 缩小按钮尺寸 */
  }
}