/* 轮播 */
#home-carousel {
  aspect-ratio: 1920/800;
}

.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100%;
}
.carousel-item img {
  width: 100%;
  height: 100%;
}
.markBox {
  width: 100%;
  aspect-ratio: 1920/250;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.90) 100%);
  position: absolute;
  bottom: 0;
}

/* .carousel-inner *:first-child .carousel-item {
  display: block;
} */

@media screen and (max-width: 824px) {
  .carousel-item__texts {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 8px 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.80) 100%);
  }

  .carousel-item__texts h2 {
    font-size: 16px;
    color: #fff;
    line-height: 22px;
  }

  .carousel-item__texts p {
    margin-top: 2px;
    font-size: 12px;
    color: #BDBDBD;
    line-height: 18px;
  }

  .carousel-indicators {
    bottom: 10px;
    left: unset;
    right: 16px;
    margin: 0;
  }

  .carousel-indicators [data-bs-target] {
    margin: 0 2px;
    border: none;
    width: 6px;
    height: 6px;
    border-radius: 3px;
  }

  .carousel-indicators .active {
    width: 12px;
  }
}

@media screen and (min-width: 825px) {
  .start-btn {
    cursor: pointer;
    position: absolute;
    right: 100px;
    bottom: 183px;
    width: 220px;
    height: 60px;
    background: url('../../static/images/home-play.png') center / contain no-repeat;
  }

  .carousel-indicators {
    position: absolute;
    margin: 0;
    left: unset;
    right: 100px;
    bottom: 18px;
    /* width: 640px; */
    height: 137px;
    background: url('../../static/images/home-indbg.png') center / contain repeat;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .carousel-indicators button[data-bs-target] {
    width: 160px;
    height: 90px;
    background-color: transparent;
    opacity: 1;
  }

  .carousel-indicators button[data-bs-target] .carousel-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #0008;
  }

  .carousel-indicators button[data-bs-target].active .carousel-indicator::after {
    background-color: transparent;
  }

  .carousel-indicator {
    border-radius: 6px;
    overflow: hidden;
  }

  .carousel-indicator img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .carousel-indicators button div {
    width: 100%;
    height: 100%;
  }

  .carousel-indicators button[data-bs-target].prev,
  .carousel-indicators button[data-bs-target].next {
    flex: unset;
    width: 40px;
    height: 90px;
    background: url('../../static/images/home-left.png') center / contain no-repeat;
    opacity: 1;
  }

  .carousel-indicators button[data-bs-target].next {
    transform: rotate(180deg);
  }
}