
.slider {
  max-width: 1100px;
  width: 100%;
  position: relative;
}
.slider i {
  top: 50%;
  height: 50px;
  width: 50px;
  cursor: pointer;
  font-size: 1.25rem;
  position: absolute;
  text-align: center;
  line-height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.23);
  transform: translateY(-50%);
  transition: transform 0.1s linear;
}
.slider i:active{
  transform: translateY(-50%) scale(0.85);
}
.slider i:first-child{
  z-index: 99;
  left: -22px;
}
.slider i:last-child{
  right: -22px;
}
.slider .carousel{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 4) - 12px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  /* border-radius: 8px; */
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.carousel.no-transition {
  scroll-behavior: auto;
}
.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.carousel.dragging .card {
  cursor: grab;
  user-select: none;
}
.carousel :where(.card, .img) {
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel .card {
  width: 264px;
  scroll-snap-align: start;
  height: 472px;
  scroll-snap-align: start;
  list-style: none;
  background: #fff;
  cursor: pointer;
  /* padding-bottom: 15px; */
  flex-direction: column;
  /* border-radius: 8px; */
  position: relative;
}
.carousel .card .img {
  background: #8B53FF;
  height: 148px;
  width: 148px;
  border-radius: 50%;
}
.card .img img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
}
.carousel .card h2 {
  font-weight: 500;
  font-size: 1.56rem;
  margin: 30px 0 5px;
}
.carousel .card span {
  color: #fff;
  font-size: 1.31rem;
}
.item-text[data-v-67fc050a] {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(30%, rgba(0, 0, 0, .1)), to(rgba(0, 0, 0, .6)));
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .6));
  padding: 88px 24px 24px
}
.content-slider {
  max-width: 75%;
}
@media screen and (max-width: 1428px) {
  .slider .carousel {
    grid-auto-columns: calc((100% / 3.5) - 20px);
  }
}
@media screen and (max-width: 1300px) {
  .slider .carousel {
    grid-auto-columns: calc((100% / 3.5) - 0px);
  }
  .slider i:last-child {
    right: 10px;
  }
  .slider i:first-child {
    left: 5px;
  }
}
@media screen and (max-width: 1217px) {
  .slider .carousel {
    grid-auto-columns: calc((100% / 2.5) - 40px);
  }
  .content-slider {
    max-width: 65%;
  }
}
@media screen and (max-width: 1111px) {
  .slider .carousel {
    grid-auto-columns: calc((100% / 2.5) - 25px);
  }
}
@media screen and (max-width: 1056px) {
  .slider .carousel {
    grid-auto-columns: calc((100% / 2.5) - 0px);
  }
}
@media screen and (max-width: 965px) {
  .slider .carousel {
    grid-auto-columns: calc((100% / 2) - 40px);
  }
}
@media screen and (max-width: 895px) {
  .slider .carousel {
    grid-auto-columns: calc((100% / 2) - 15px);
  }
}
@media screen and (max-width: 820px) {
  .slider .carousel {
    grid-auto-columns: calc((100% / 2) - 0px);
  }
}

@media screen and (max-width: 768px) {
  .content-slider {
    max-width: 100%;
  }
  #left,#right {
    display: none;
  }
  .slider .carousel {
    grid-auto-columns: calc((100% / 2.5) - 0px);
  }
}
@media screen and (max-width: 643px) {
  .slider .carousel {
    grid-auto-columns: calc((100% / 2) - 50px);
  }
}
@media screen and (max-width: 602px) {
  .slider .carousel {
    grid-auto-columns: calc((100% / 2) - 20px);
  }
}
@media screen and (max-width: 545px) {
  .slider .carousel {
    grid-auto-columns: calc((100% / 2) - 0px);
  }
}
@media screen and (max-width: 500px) {
  .slider .carousel {
    grid-auto-columns: calc((100% / 2) - -25px);
  }
}
@media screen and (max-width: 456px) {
  .slider .carousel {
    grid-auto-columns: calc((100% / 1.5) - 5px);
  }
}
@media screen and (max-width: 456px) {
  .slider .carousel {
    grid-auto-columns: calc((100% / 1.5) - 0px);
  }
}