/* H5 FAQ-Cards */
@media screen and (max-width: 799px) {
  .faq-cards-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0.25rem 0.25rem 2rem 0.25rem;
    position: relative;
  }
  .hide_cards {
    display: none;
  }
  .left-section, .right-section {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  .faq-card {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .faq-card:nth-child(1) {
    margin-top: -0.6rem;

    .card-header {
      background: linear-gradient(to right, #6f3cb2, #156ec2);
      border-bottom: solid 0.03rem #87edff7a;
    }
  }
  .faq-card:nth-child(2) {
    .card-header {
      background: linear-gradient(to right, #c55353, #cb6c6b);
      border-bottom: solid 0.03rem #feffa87a;
    }
  }
  .faq-card:nth-child(3) {
    .card-header {
      background: linear-gradient(to right, #a16f49, #c5852c);
      border-bottom: solid 0.03rem #87edff7a;
    }
  }
  .faq-card:nth-child(4) {
    .card-header {
      background: linear-gradient(to right, #a78778, #735e51);
      border-bottom: solid 0.03rem #ffdcad7a;
    }
  }
  .faq-card:nth-child(5) {
    .card-header {
      background: linear-gradient(to right, #587a62, #1862c6);
      border-bottom: solid 0.03rem #8dd0ff7a;
    }
  }
  .faq-card:nth-child(6) {
    .card-header {
      background: linear-gradient(to right, #796453, #5339a7);
      border-bottom: solid 0.03rem #8dd0ff7a;
    }
  }
  .card-header {
    width: 100%;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.4rem 0 0.2rem;
    border-top-left-radius: 0.2rem;
    border-top-right-radius: 0.2rem;
  }
  .card-title {
    font-size: 0.35rem;
    text-align: right;
    color: #fff;
  }
  .header-icon {
    width: 1.4rem;
    margin-top: -0.35rem;
  }
  .card-content {
    width: 100%;
    height: fit-content;
    /* min-height: 3.9rem; */
    border-bottom-left-radius: 0.2rem;
    border-bottom-right-radius: 0.2rem;
    background-color: #ffffff1a;
  }
  ul {
    list-style: none;
    padding: unset;
  }
  li {
    width: 100%;
    padding: unset;
  }
  .faq-link {
    text-decoration: none;
  }
  ul > li:last-of-type > a > .list-content-wrapper {
    border-bottom: none;
  }
  .list-content-wrapper {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0.2rem 0.3rem 0.3rem;
    border-bottom: 0.01rem solid #c8c8c820;
    cursor: pointer;
  }
  .faq-title {
    max-width: 90%;
    font-size: 0.24rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
    color: #fff;
  }
  .arrow-icon {
    width: 0.35rem;
  }
  ul > li:last-of-type > .list-content-wrapper {
    border-bottom: none;
  }
  .view-more-link {
    text-decoration: none;
  }
  .view-more-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.1rem;
    padding: 0.15rem 0.05rem 0.05rem 0.05rem;
    cursor: pointer;
  }
  .view-more-text {
    font-size: 0.25rem;
    color: #ffffff99;
  }
  .arrow-down-icon {
    width: 0.3rem;
    margin-bottom: -0.05rem;
  }
  .cp-faq-container {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    margin-top: -0.5rem;
  }
  .cp-faq-title {
    font-size: 0.32rem;
    font-weight: bold;
    color: #8bfbff;
  }
  .cp-faq-details {
    font-size: 0.25rem;
    color: #fff;
  }
}

/* PC FAQ-Cards */
@media only screen and (min-width: 800px) {
  .faq-cards-container{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    gap: 3%;
    position: relative;
    padding-top: 3%;
  }
  .left-section, .right-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .left-section {
    width: 62%;
    gap: 35px;
  }
  .right-section {
    width: 35%;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 35px;
  }
  .faq-card {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .faq-card:nth-child(1) {
    .card-header {
      background: linear-gradient(to right, #6f3cb2, #156ec2);
      border-bottom: solid 1px #87edff7a;
    }
  }
  .faq-card:nth-child(2) {
    .card-header {
      background: linear-gradient(to right, #c55353, #cb6c6b);
      border-bottom: solid 1px #feffa87a;
    }
  }
  .faq-card:nth-child(3) {
    .card-header {
      background: linear-gradient(to right, #a16f49, #c5852c);
      border-bottom: solid 1px #87edff7a;
    }
  }
  .faq-card:nth-child(4) {
    .card-header {
      background: linear-gradient(to right, #a78778, #735e51);
      border-bottom: solid 1px #ffdcad7a;
    }
  }
  .faq-card:nth-child(5) {
    .card-header {
      background: linear-gradient(to right, #587a62, #1862c6);
      border-bottom: solid 1px #8dd0ff7a;
    }
  }
  .faq-card:nth-child(6) {
    .card-header {
      background: linear-gradient(to right, #796453, #5339a7);
      border-bottom: solid 1px #8dd0ff7a;
    }
  }
  .card-header {
    width: 100%;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    position: relative;
  }
  .card-title {
    width: 65%;
    font-size: 16px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #fff;
  }
  .header-icon {
    width: 65px;
    position: absolute;
    top: -20px;
    left: 0;
  }
  .card-content {
    width: 100%;
    height: fit-content;
    /* min-height: 190px; */
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: #ffffff1a;
  }
  ul {
    list-style: none;
    padding: unset;
  }
  li {
    width: 100%;
    padding: unset;
  }
  .faq-link {
    text-decoration: none;
  }
  .list-content-wrapper {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #c8c8c80f;
    cursor: pointer;
  }
  ul > li:last-of-type > a > .list-content-wrapper {
    border-bottom: none;
  }
  .faq-title {
    max-width: 90%;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
    color: #fff;
  }
  .arrow-icon {
    width: 16px;
  }
  .view-more-link {
    text-decoration: none;
  }
  .view-more-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 5px 5px 5px;
    cursor: pointer;
  }
  .view-more-text {
    font-size: 14px;
    color: #ffffff99;
  }
  .arrow-down-icon {
    width: 16px;
  }
  .cp-faq-container {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .cp-faq-title {
    font-size: 16px;
    font-weight: bold;
    color: #8bfbff;
  }
  .cp-faq-container {
    font-size: 14px;
    color: #fff;
  }
}