/* start:::艺人横向滑动组件 */
.section-content.section-models {
  width: 100%;
  padding-top: 16px;
}

.actor-wrap {
  position: relative;
  margin-bottom: 36px;
}

.actor-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.actor-list::-webkit-scrollbar {
  display: none;
}

.actor__item {
  aspect-ratio: 264 / 394;
  border-radius: 8px;
  border: 1px solid transparent;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease;
}

.actor__item:hover {
  /* transform: translateY(-4px); */
  border-color: #EB7332;
}

.actor__item .item-cover {
  width: 100%;
  height: 100%;
  position: relative;
}

.actor__item .item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.actor__item .item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.0) 100%);
  pointer-events: none;
  text-align: center;
  padding-bottom: 16px;
}

.actor__item .item-overlay,
.actor__item .item-hover-detail {
  transition: opacity 0.2s ease;
}

.actor__item .item-hover-detail {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  text-align: center;
  padding: 24px 16px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  color
}

.actor__item .item-hover-detail .item-name {
  margin-bottom: 12px;
  color: #FFF;
}

.actor__item .item-hover-detail .item-meta {
  font-family: 'PingFang SC', 'SF Pro Display', -apple-system, sans-serif;
  font-size: 12px;
  color:#7C7C7C;
  margin: 2px 0;
}

.actor__item:hover .item-overlay {
  opacity: 0;
}

.actor__item:hover .item-hover-detail {
  opacity: 1;
}

.actor__item .item-name {
  color: #FFF;
  text-align: center;
  
  /* 20 */
  font-family: "PingFang SC";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 140% */
}

.actor__item .item-works {
  font-family: 'PingFang SC', 'SF Pro Display', -apple-system, sans-serif;
  font-size: 16px;
  color: #cbcbcb;
  margin: 0;
}

@media screen and (max-width: 824px) {
  .actor-wrap {
    padding: 12px 0px;
  }

  .actor__item .item-cover {
    min-width: 30vw;
  }

  .actor-wrap .toggle{
    display: none !important;
  }
  .actor-wrap .toggle {
    display: none !important;
  }
  

  .actor-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px auto;
  }

  .actor__item .item-overlay {
    padding: 8px;
  }

  .actor__item .item-name {
    font-size: 12px;
  }

  .actor__item .item-works {
    font-size: 10px;
  }

  .actor__item:hover {
    border-color: transparent;
  }

  .actor__item:hover .item-overlay {
    opacity: 1;
  }

  .actor__item:hover .item-hover-detail {
    opacity: 0;
  }
}

/* 切换按钮样式 */
.actor-wrap .toggle {
  position: absolute;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.20) 100%);
  z-index: 2;
  border: none;
  cursor: pointer;
}

.actor-wrap .prev {
  left: 0;
  border-radius: 0 24px 24px 0;
}

.actor-wrap .next {
  right: 0;
  border-radius: 24px 0 0 24px;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.90) 100%);
}

.actor-wrap .prev::after,
.actor-wrap .next::after {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('../../static/svg/arrowIcon.svg');
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: center center;
  padding: 2px;
  border-radius: 99px;
  box-sizing: content-box;
}

.actor-wrap .prev::after {
  transform: rotate(90deg);
}

.actor-wrap .next::after {
  transform: rotate(-90deg);
}
/* end:::艺人横向滑动组件 */

