/**
 * CardCarousel - 前后排卡片轮播组件样式
 */
.role-card-section {
  max-width: 100%;
  background: #FFF;
  padding-top: 15px;
  /* 标题区域 */
  /* 遮罩层 */
  /* ===== 6个位置 ===== */
  /* 位置0: 隐藏左 */
  /* 位置1: 后排左 - 缩小，有遮罩 */
  /* 位置2: 前排左 - 正常大小 */
  /* 位置3: 前排右 - 正常大小 */
  /* 位置4: 后排右 - 缩小，有遮罩 */
  /* 位置5: 隐藏右 */
  /* 卡片内容 */
  /* 导航按钮 */
}
.role-card-section .classic-header {
  width: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
}
.role-card-section .classic-header p {
  width: auto;
}
.role-card-section .classic-header p::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  content: "";
}
.role-card-section .carousel-row {
  width: 100%;
  height: 500px;
  padding-top: 25px;
  box-sizing: border-box;
  background: #F6F6F6;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.role-card-section .section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  margin-top: 16px;
}
.role-card-section .section-title {
  width: 194px;
  height: 43px;
  background: url('https://pic.cgyouxi.com/orange/upload/202601/25322333_17475f1ea29dfb0eeb236e6dc5a6b667.png') no-repeat center center;
  background-size: 100% 100%;
  position: relative;
}
.role-card-section .carousel-item {
  width: 662px;
  height: 475px;
  background: url('https://pic.cgyouxi.com/orange/upload/202601/25322333_3724bd12d5fc6a8f73567425f532f040.png') no-repeat center center;
  background-size: 100% 100%;
  padding-left: 83px;
  padding-right: 73px;
  box-sizing: border-box;
}
.role-card-section .carousel-item.role-swiper-box {
  background: url('https://pic.cgyouxi.com/orange/upload/202601/25322333_3724bd12d5fc6a8f73567425f532f040.png') no-repeat center center;
  background-size: 100% 100%;
  margin-right: -26px;
}
.role-card-section .carousel-item.card-swiper-box {
  background: url('https://pic.cgyouxi.com/orange/upload/202601/25322333_67b86195ba99140b50cfb9a16782592c.png') no-repeat center center;
  background-size: 100% 100%;
  margin-left: -26px;
}
.role-card-section .carousel-item.card-swiper-box .section-title {
  width: 194px;
  height: 43px;
  background: url('https://pic.cgyouxi.com/orange/upload/202601/25322333_28809e424aec18030c4175c90f518b0e.png') no-repeat center center;
  background-size: 100% 100%;
  position: relative;
}
.role-card-section .carousel-box {
  width: 506px;
  height: 353px;
  position: relative;
}
.role-card-section .cc-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.role-card-section .cc-card {
  width: 216px;
  height: 333px;
  position: absolute;
  left: 50%;
  top: 50%;
  background: url('https://pic.cgyouxi.com/orange/upload/202601/25322333_3b9618e25fb43ec262a8f56c33321400.png') no-repeat center center;
  background-size: 100% 100%;
  padding: 12px 16px 0 16px;
  box-sizing: border-box;
  cursor: pointer;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.role-card-section .cc-card.role-card {
  background: url('https://pic.cgyouxi.com/orange/upload/202602/94700550_e622dab3b3644a8af45c8c9e56e771d2.png') no-repeat center center;
  background-size: 100% 100%;
}
.role-card-section .cc-card.role-card.placeholder-card {
  background: url('https://pic.cgyouxi.com/orange/upload/202602/94700550_4c78e7f63420518671b0b73b27580a7d.png') no-repeat center center;
  background-size: 100% 100%;
  cursor: default;
}
.role-card-section .cc-card.card-card {
  background: url('https://pic.cgyouxi.com/orange/upload/202602/94700550_f4ac5ea8045a4bd6c92a25d94273155d.png') no-repeat center center;
  background-size: 100% 100%;
}
.role-card-section .cc-card.card-card.placeholder-card {
  background: url('https://pic.cgyouxi.com/orange/upload/202602/94700550_82d1ad0aabcb150528558adcf3b90c4e.png') no-repeat center center;
  background-size: 100% 100%;
  cursor: default;
}
.role-card-section .cc-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.role-card-section .cc-card[data-pos="0"] {
  transform: translate(-50%, -50%) translateX(-300px) scale(0.7);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}
.role-card-section .cc-card[data-pos="1"] {
  transform: translate(-50%, -50%) translateX(-153px) scale(0.87);
  z-index: 1;
  opacity: 0.85;
}
.role-card-section .cc-card[data-pos="1"]::after {
  opacity: 1;
}
.role-card-section .cc-card[data-pos="2"] {
  transform: translate(-50%, -50%) translateX(-110px) scale(1);
  z-index: 10;
  opacity: 1;
}
.role-card-section .cc-card[data-pos="3"] {
  transform: translate(-50%, -50%) translateX(114px) scale(1);
  z-index: 10;
  opacity: 1;
}
.role-card-section .cc-card[data-pos="4"] {
  transform: translate(-50%, -50%) translateX(154px) scale(0.87);
  z-index: 1;
  opacity: 0.85;
}
.role-card-section .cc-card[data-pos="4"]::after {
  opacity: 1;
}
.role-card-section .cc-card[data-pos="5"] {
  transform: translate(-50%, -50%) translateX(300px) scale(0.7);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}
.role-card-section .cc-img-wrap {
  width: 100%;
  height: 246px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.role-card-section .cc-img-wrap .card-logo-img {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  display: block;
}
.role-card-section .cc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.role-card-section .cc-info {
  padding: 9px 4px 0 4px;
  text-align: center;
}
.role-card-section .cc-name {
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 8px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.role-card-section .cc-work {
  font-weight: 400;
  font-size: 16px;
  color: #666;
  line-height: 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.role-card-section .cc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-size: 100% 100%;
  border: none;
  cursor: pointer;
  z-index: 20;
  outline: none;
}
.role-card-section .cc-btn.is-disabled {
  pointer-events: none;
}
.role-card-section .cc-prev {
  background: url('https://pic.cgyouxi.com/orange/upload/202601/25322333_9531c615ebd85a233c1cd55f93a0be5a.png') no-repeat center center;
  background-size: 100% 100%;
  left: -10px;
}
.role-card-section .cc-next {
  background: url('https://pic.cgyouxi.com/orange/upload/202601/25322333_7dc23924b83bc028f8bd12b5187a1acc.png') no-repeat center center;
  background-size: 100% 100%;
  right: -10px;
}
