.mod-faq {
  h2,
  .faq-content {
    /* text-align: center; */
    @media (width < 768px) {
      padding: 0 20px;
    }
  }

  h2:first-of-type {
    margin: 0;
    margin-bottom: 20px;
  }
  
  .module-heading {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 15px;

  }

  .faq-content {
    margin-bottom: 50px;
  }

  .faq-questions {
    margin: 0;
    list-style: none;

    &:not(.accordion) {
      h3 {
        &:before {
          content: '';
          position: absolute;
          /* padding-right: 30px; */
          /* border-right: 2px solid var(--light-color); */
          left: 40px;
          top: 45px;
          transform: translateY(-20%);
          background-image: url('/wp-content/themes/rm-basetheme/images/svg/faq-question.svg');
          width: 48px;
          height: 100%;
          background-position: center;
          background-size: auto;
          background-repeat: no-repeat;
        }
      }
    }

    li {
      background-color: var(--primary-color);
      margin-bottom: 20px;
      list-style: none;
    }

    h3 {
      font-size: 22px;
      line-height: 1.2em;
      font-weight: var(--fw-bold);
      font-family: var(--primary-font);
      text-transform: none;
      color: var(--light-color);
      /* border-bottom: 2px solid var(--light-color); */
      position: relative;
      padding: 45px 45px 0px 120px;
      margin-top: 0;
      margin-bottom: 25px;
      text-align: left;
      text-wrap-style: auto;
    }

    .faq-answer {
      padding: 0 45px 30px 40px;
      position: relative;
      color: var(--light-color);
      &:before {
        /* Letter Style */
        /* content: 'A'; 
        font-size: 54px;
        line-height: 1em;
        font-weight: var(--fw-regular);
        font-family: var(--secondary-font);
        display: block;
        margin-bottom: 10px;
        position: absolute;
        left: 14px;
        top: 26px;
        transform: translateY(-25%); */

        /* Full Word Style */
        /* content: 'Answer:'; 
        font-size: 22px;
        line-height: 1.2em;
        font-weight: var(--fw-bold);
        display: block;
        margin-bottom: 10px; */
      }
    }
  }
}

/*----------  Flexible Accordion Menu  ----------*/

.accordion {
  width: 100%;
  li {
    border-top: 1px solid var(--primary-color);
    margin-left: 0px !important;
    padding: 0;
    position: relative;
    width: 100%;
    &:before {
      content: 'Q';
      font-size: 54px;
      line-height: 1em;
      font-weight: var(--fw-regular);
      font-family: var(--secondary-font);
      position: absolute;
      padding-right: 11px;
      /* border-right: 2px solid var(--light-color); */
      left: 14px;
      top: 33px;
      transform: translateY(-25%);
    }

    h3 {
      font-family: var(--secondary-font);
      /* margin-top: 30px; */
      margin-bottom: 0;
      /* padding-bottom: 10px; */
      /* padding-left: 90px; */
      position: unset;
      &:before, &:after {
        background-color: var(--primary-color);
        content: '';
        height: 1px;
        width: 16px;
        position: absolute;
        right: 20px;
        top: 40px;
        transition: all 0.3s;
      }
      &:after {
        transform: rotate(-90deg);
      }
      &.accordion-open {
        &:after {
          transform: rotate(0deg);
        }
      }
    }
    div {
      cursor: pointer;
      /* padding: 0 80px 0 0; */
      margin: 0;
      &.accordion-slider {
        display: none;
        /* padding-bottom: 32px; */
        /* padding-left: 90px; */
      }
    }
  }
}