.page {
  background-color: #ffffff;
  transition: all 0.3s;
}

.page .cus-custom-detail .rich-text .rich-content p,
.page .cus-custom-detail .rich-text .rich-content div,
.page .cus-custom-detail .rich-text .rich-content hr {
  margin: 0;
}

.page .banner {
  width: 100%;
}

.page .banner .bg {
  width: 100%;
}

@media screen and (min-width: 521px) {
  .page .cus-custom-detail {
    width: 13.66rem;
    padding-bottom: 0.384rem;
    padding-left: 0.49rem;
    padding-right: 0.49rem;
    margin: 0 auto;
    border-radius: 0.1rem 0.1rem 0 0;
    margin-top: -0.8rem;
    position: relative;
    z-index: 100;
  }

  .page .cus-custom-detail .tabs-wrapper {
    position: relative;
    margin-top: 0.28rem;
  }

  .page .cus-custom-detail .tabs-wrapper .tabs {
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-radius: 0.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0rem 0.2rem;
    height: 1rem;
    width: 12rem;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    z-index: 100;
    box-shadow: 0 0.02rem 0.1rem #00000044;
  }

  .page .cus-custom-detail .tabs-wrapper .tabs .tab {
    width: 1.63rem;
    height: 0.52rem;
    font-size: 0.2rem;
    color: #1B1B1B;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.12rem;
    transition: 0.2s all;
    border-radius: 0.26rem;
    list-style: none;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page .cus-custom-detail .tabs-wrapper .tabs .tab:hover,
  .page .cus-custom-detail .tabs-wrapper .tabs .tab.active {
    background: #2589FF;
    color: white;
  }

  .page .cus-custom-detail .tabs-wrapper .tabs-bg {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 10;
    height: 0.5rem;
    display: block;
    max-width: none;
    width: 13.15rem;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .page .cus-custom-detail .rich-text {
    max-width: 10.22rem;
    padding-top: 0.4rem;
    margin-left: auto;
    margin-right: auto;
  }

  .page .cus-custom-detail .rich-text .title-wrapper {
    display: flex;
    justify-content: center;
    width: fit-content;
    position: relative;
    margin: 0 auto;
  }

  .page .cus-custom-detail .rich-text .title-wrapper .title {
    font-weight: bold;
    font-size: 0.28rem;
    color: #2589FF;
    position: relative;
    z-index: 100;
  }

  .page .cus-custom-detail .rich-text .title-wrapper .title-bg {
    background-color: #D3E3FD;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 0.16rem;
    opacity: 0.5;
  }

  .page .cus-custom-detail .rich-text .rich-content {
    margin-top: 0.4rem;
    color: #000000;
    font-size: 0.14rem;
    line-height: 1.5;
  }
}

@media screen and (max-width: 520px) {
  .page .banner .bg {
    width: 100%;
    height: 2.4rem;
    object-fit: cover;
  }

  .page .cus-custom-detail {
    padding-bottom: 0.384rem;
    padding-left: 0.24rem;
    padding-right: 0.24rem;
    margin: 0 0.24rem;
    border-radius: 0.1rem 0.1rem 0 0;
    margin-top: -0.4rem;
    position: relative;
    z-index: 100;
  }

  .page .cus-custom-detail .tabs-wrapper {
    position: relative;
  }

  .page .cus-custom-detail .tabs-wrapper .tabs {
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-radius: 0.1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.16rem 0.2rem;
    overflow: hidden;
    position: relative;
    z-index: 100;
    box-shadow: 0 0.02rem 0.1rem #00000044;
  }

  .page .cus-custom-detail .tabs-wrapper .tabs .tab {
    height: 0.32rem;
    font-size: 0.14rem;
    color: #1B1B1B;
    padding: 0 0.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0rem;
    transition: 0.2s all;
    border-radius: 0.1rem;
    list-style: none;
  }

  .page .cus-custom-detail .tabs-wrapper .tabs .tab:hover,
  .page .cus-custom-detail .tabs-wrapper .tabs .tab.active {
    background: #2589FF;
    color: white;
  }

  .page .cus-custom-detail .tabs-wrapper .tabs-bg {
    display: none;
  }

  .page .cus-custom-detail .rich-text {
    max-width: 10.22rem;
    padding-top: 0.4rem;
    margin-left: auto;
    margin-right: auto;
  }

  .page .cus-custom-detail .rich-text .title-wrapper {
    display: flex;
    justify-content: center;
    width: fit-content;
    position: relative;
    margin: 0 auto;
  }

  .page .cus-custom-detail .rich-text .title-wrapper .title {
    font-weight: bold;
    font-size: 0.2rem;
    color: #2589FF;
    position: relative;
    z-index: 100;
  }

  .page .cus-custom-detail .rich-text .title-wrapper .title-bg {
    background-color: #D3E3FD;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 0.16rem;
    opacity: 0.5;
  }

  .page .cus-custom-detail .rich-text .rich-content {
    margin-top: 0.24rem;
    color: #000000;
    font-size: 0.16rem;
    text-align: justify;
    line-height: 1.5;
  }
}
