.ad-slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-top: 12px;
  background: #070b18;
  min-height: 198px;
  touch-action: pan-y;
}
.ad-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8%);
  transition: opacity .45s ease, transform .45s ease, visibility .45s;
  pointer-events: none;
}
.ad-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.ad-slider .ad-slide img {
  height: 160px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
  margin: 0;
}
.ad-slider .ad-slide b {
  display: block;
  color: #c4b5fd;
  padding: 10px 46px;
  background: #0b1220;
}
.ad-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 46px;
  border: 0;
  border-radius: 9px;
  background: #020617bd;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  display: grid;
  place-items: center;
  opacity: .85;
}
.ad-arrow:hover { background: var(--primary); opacity: 1; }
.ad-prev { left: 9px; }
.ad-next { right: 9px; }
.ad-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.ad-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #475569; transition: .25s; }
.ad-dot.active { width: 26px; border-radius: 8px; background: var(--secondary); }
@media (max-width: 800px) {
  .ad-slider { min-height: 178px; }
  .ad-slider .ad-slide img { height: 140px; }
  .ad-arrow { width: 34px; height: 42px; }
  .ad-slider .ad-slide b { padding: 10px 40px; font-size: 13px; }
}
