.hotspot-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 0 71px 30px;
  z-index: var(--z-index-popper);

  h3 {
    text-align: center;
    padding: 22px 10px 10px;
    font-family: 'Source Han Sans CN-Bold';
    font-size: 48px;
    color: #b21e26;
  }
  .audioIcon {
    position: absolute;
    right: 20px;
    bottom: 5px;

    img {
      width: 57px;
      height: 57px;
      cursor: pointer;
    }
  }
  &-info {
    color: #b21e26;
    max-width: 810px;
    width: calc(100vw - 30vw);
    text-align: justify;
    text-indent: 2em;
    font-size: 18px;
    font-family: 'Source Han Sans CN-Medium';
  }

  &-container {
    position: relative;
    flex: 1;
    flex-shrink: 1;
    height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    max-width: 1320px;
    min-width: 400px;
    width: auto;
    box-sizing: border-box;
  }

  &-swiper {
    &__left,
    &__right {
      position: absolute;
      top: 50%;
      width: 25px;
      height: 24px;
      cursor: pointer;
      transform: translateY(-50%);
      z-index: 1;
    }
    &__left {
      left: -70px;
      background: url('@hotspot/assets/images/icon-previous@2x-min.png') no-repeat center / contain;
    }
    &__right {
      right: -70px;
      background: url('@hotspot/assets/images/icon-next@2x-min.png') no-repeat center / contain;
    }
  }
  &-model {
    width: 100%;
    height: 100%;

    iframe {
      width: 100%;
      height: 100%;
    }
  }
  .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  &-video {
    height: 100%;
    max-height: 100%;
  }
  &-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: inherit;

    &-swiper {
      flex: 1;
      width: 100%;
      height: 0;
    }
  }

  &-nav {
    position: absolute;
    left: 50%;
    bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
    z-index: 1;

    &__item {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      width: 57px;
      height: 57px;
      box-sizing: border-box;
      cursor: pointer;

      &.active {
      }
      img {
        width: 100%;
        height: 100%;
      }
    }
  }
}

.hotspot-page-QA {
  height: 95%;
  background: url('@hotspot/assets/images/hot-bg-QA.png') no-repeat center / cover;
  display: flex;
 
  padding: 30px;
  padding-top: 50px;
  &-scroll {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  &-list {
    width: 48%;
    height: 23%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    &-question {
      color: #b21e26;
      font-size: 20px;
    }
    &-answer {
      width: 100%;
      height: 100%;
      font-size: 16px;
      color: rgba(178, 30, 38, 0.8);
      text-align: justify;
    }
    &-button {
      width: 65px;
      height: 30px;
      font-size: 16px;
      border-radius: 5px;
      background: #b21e26;
      color: rgba(255, 255, 255, 0.8);
      text-align: center;
      line-height: 30px;
      cursor: pointer;
    }
  }
}

@media only screen and (max-width: 600px) {
  .hotspot-page {
    padding-left: 0;

    h3 {
      padding: 30px 10px 10px;
      font-size: 24px;
    }
    .el-scrollbar {
      width: calc(100% - 60px);
    }
    &-info {
      margin: 0 auto;
      width: 100%;
      font-size: 12px;
    }
    &-container {
      max-width: 100%;
      width: 100%;
      min-width: 100%;
      background: none;
    }
    &-swiper {
      &__left,
      &__right {
        top: unset;
        bottom: 12px;
        transform: none;
      }
      &__left {
        left: 14px;
      }
      &__right {
        right: 14px;
      }
    }
    &-nav {
      bottom: 0;

      &__item {
        width: 48px;
        height: 48px;
      }
    }
    .audioIcon {
      right: 35px;
      bottom: 1px;

      img {
        width: 48px;
        height: 48px;
      }
    }
  }

  .hotspot-page-QA {
    padding: 10px 5px;
    height: 100%;
    &-scroll {
      height: 100%;
      padding: 10px 15px;
      overflow: auto;
      &::-webkit-scrollbar {
        width: 2px;
        background-color: rgba(178, 30, 38, 0.2);
      }
      &::-webkit-scrollbar-thumb {
        background: #b21e26;
        border-radius: 2px;
      }
    }
    &-list {
      width: 100%;
      height: 38%;
    }
  }
}
