/* Glide 基础容器 */
.glide {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
}

/* 轮播轨道 */
.glide_track {
  overflow: hidden;
}

/* 轮播项列表 */
.glide_slides {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.5s ease-in-out;
}

/* 轮播项 */
.glide_slide {
  flex: 0 0 calc(33.333% - 13.333px); /* 每行显示 3 个，间距 20px */
  box-sizing: border-box;
  padding: 20px;
  margin-right: 20px;
}

/* 响应式：移动端单张卡片全宽 */
@media (max-width: 768px) {
  .glide_slide {
    flex: 0 0 100%;
    margin-right: 0;
  }
}

/* 最后一个卡片无右边距 */
.glide_slide:last-child {
  margin-right: 0;
}

/* 服务卡片样式 */
.service-box {
  background: #fff;
  border: 1px solid gray;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* 图片样式 */
.service-image {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 20px;
}

/* 标题样式 */
.service-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* 箭头样式 */
.glide_arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.glide_arrow {
  width: 40px;
  height: 40px;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}

.glide_arrow:hover {
  background: #000;
  opacity: 1;
}

/* 分页器样式 */
.glide_bullets {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.glide_bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.glide_bullet--active {
  background: #000;
}