@use '../utils' as *;

/*----------------------------------------*/
/* FAQ style
/*----------------------------------------*/
.rock-faq-section {
  padding-top: 200px;
  padding-bottom: 150px;
    @media #{$lg} {
      padding-top: 115px;
      padding-bottom: 100px;
    }
    @media #{$md} {
      padding-top: 100px;
      padding-bottom: 100px;
    }
    @media #{$xs,$sm} {
      padding-top: 85px;
      padding-bottom: 85px;
    }
}
.accordion-wrapper {
  &.site-faq{
  .accordion {
    .accordion-button {
      padding: 20px 65px 20px 0px;
      font-size: 18px;
      font-weight: 600;
      background: transparent;
      box-shadow: none;
      color: var(--td-white);
      border-top: 0;
      @media #{$xs} {
        font-size: 18px;
      }
      @media #{$xxs} {
        font-size: 16px;
        padding: 21px 30px 20px 20px;
      }
      &:not(.collapsed) {
        border: 0;
        border-radius: 0;
        span {
          color: var(--td-primary);
        }
        &:after {
          content: "\f00d" !important;
          color: var(--td-white);
          background-image: none;
        }
        .accordion-body {
          background: var(--td-white);
        }
      }
      &::after {
        position: absolute;
        right: 20px;
        content: "+";
        font-family: var(--td-ff-fontawesome);
        font-size: 16px;
        font-weight: 400;
        text-align: center;
        top: 50%;
        border-radius: 50%;
        transform: translateY(-50%);
        @include inline-flex();
        align-items: center;
        justify-content: center;
        @media #{$xs} {
          right: 0;
        }
      }
      span {
        padding-right: 15px;
        display: inline-block;
        transition: none;
      }
    }
    .accordion-body {
      padding-left: 20px;
      padding-right: 20px;
      background: transparent;
      padding-bottom: 20px;
      border-radius: 0px;
      padding-top: 10px;  
      @media #{$xxs} {
        padding-left: 20px;
        padding-right: 20px;
      }
      p {
        font-size: 14px;
        color: rgba($white, $alpha: 0.7);
      }
      .accordion-body-list {
        margin-top: 14px;
        ul {
          li {
            &:not(:last-child) {
              margin-bottom: 7px;
            }
          }
        }
      }
    }
    .accordion-item {
      background: transparent;
      border-radius: 0px;
      box-shadow: none;
      border: 0;
      border-bottom: 1px solid rgba($color: $white, $alpha: .4);
      border-bottom-right-radius: 10px;
      border-bottom-left-radius: 10px;
      &:last-of-type {
        & > .accordion-collapse {
          border-bottom-right-radius: 0;
          border-bottom-left-radius: 0;
        }
      }
      &:first-of-type  {
        .accordion-button {
          border-top-left-radius: 0;
          border-top-right-radius: 0;
        }
      }
    }
  }
  }
}
.rock-fun-fact-shapes {
  .shape-one {
    position: absolute;
    top: -130%;
    z-index: 0;
    left: -15%;
    @media #{$xs,$sm,$md} {
      max-width: 80px;
    }
  }
  .shape-two {
    position: absolute;
    right: -12%;
    bottom: -150%;
    z-index: -1;
  }
}