
.promotion-container{
  
}
.promotion-container__box{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--qd-partition-promotion-nav-bg-color);
}
.promotion-container .button {
  word-break: break-word;
  white-space: normal;
}
.promotion-container .partition-list__carousel {
  position: relative;
  width: inherit;
  max-width: 1680px;
}
.promotion-container .carousel__track {
  overflow-y: hidden;
}

.promotion-container .promotion__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.promotion-container.promotion-container__dot .promotion__item {
 padding-bottom: 28px;
}

.promotion-container.width-over.width-over {
  max-width: 100%;
  width: 100%;
}

.promotion-container .promotion__image {
  display: grid;
  align-items: center;       /* 垂直居中 */
  row-gap: 4px;
  position: relative;
  width: 100%;
  height: 100%;
}
/* .promotion-container .promotion__image .qd-text__content > a {
  text-decoration: underline !important;
} */

.partition-list__pager--arrows {
  position: absolute;
  inset-block-start: 50%;
}
.partition-list__pager--arrow {
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  background-color: transparent;
  filter: drop-shadow(0 4px 10px rgb(0 0 0 / 15%));
  border: 0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partition-list__pager--arrow[name="previous"] {
  transform: rotate(90deg) translate(-50%,0);
  left: 5px;
}
.partition-list__pager--arrow[name="next"] {
  transform: rotate(-90deg) translate(50%,0);
  right: 5px;
}

.promotion-container .partition-list__pager {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 6px;
  align-items: center;
  transform: translate(-50%, 0);
}
.promotion-container .partition-list__pager--dots {
  bottom: 10px;
}
.promotion-container .partition-list__pager--dot {
  display: block;
  width: 6px;
  height: 6px;
  padding: 0;
  cursor: pointer;
  background-color: #fff;
  border: 0;
  border-radius: 50%;
  opacity: 0.4;
  transition: opacity, width, height, 0.3s;
}
.promotion-container .partition-list__pager--dot.is-active {
  width: 10px;
  height: 10px;
  opacity: 1;
}

@media (min-width: 768px) {

  .partition-list__pager--arrow[name="previous"] {
    left: 25px;
  }
  .partition-list__pager--arrow[name="next"] {
    right: 25px;
  }
 .promotion-container.promotion-container__dot .promotion__item {
    padding-bottom: 34px;
  }
  .promotion-container .partition-list__pager--dots {
    bottom: 16px;
  }
}

@media (min-width: 992px) {
  .promotion-container{
    padding: 0;
  }
  .promotion-container .partition-list {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(
      min(var(--card-count)),
      minmax(0,
      calc((100% / (var(--card-count)))))
    );
    grid-auto-flow: row;
  }


  .promotion-container .promotion__item.pc-divider:after {
    content: "";
    position: absolute;
    top: 50%;  /* 先定位到中间 */
    right: 0;
    width: 1px;
    height: 72%;  /* 调整高度 */
    background-color: var(--qd-partition-promotion-divider-color);
    transform: translateY(-50%);  /* 再向上移动自身高度的一半 */
    display: block;
  }


  .promotion-container .partition-list__pager--arrows,
  .promotion-container .partition-list__pager  {
    display: none;
  }
  .promotion-container .promotion__item:last-child:after {
    display: none;
  }

}
