/* ===== 广告轮播 ===== */
.ad-carousel-wrap {
  width: 100%;
  height: 185px;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
}
.ad-slide-outer {
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease;
}
.ad-slide-outer img {
  width: 100%;
  height: 185px;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}
.ad-slide-outer a {
  display: block;
  width: 100%;
  height: 185px;
  flex-shrink: 0;
}
.ad-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: rgba(0,0,0,0.3);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 5;
  transition: background 0.3s;
  user-select: none;
}
.ad-arrow:hover {
  background: rgba(0,0,0,0.6);
}
.ad-arr-left { left: 6px; }
.ad-arr-right { right: 6px; }
.ad-dot-group {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.ad-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.4s;
}
.ad-dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* ===== 广告轮播移动端适配 ===== */
@media (max-width: 768px) {
  .ad-carousel-wrap {
    height: 170px;
  }
  .ad-slide-outer img {
    height: 170px;
  }
  .ad-slide-outer a {
    height: 170px;
  }
  .ad-arrow {
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 16px;
  }
}
