.faq-accordion {
  background-color: #fff !important;

  .collapsible {
    padding-left: 0px !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-left: none;
    border-right: none;
    border-top: 2px $ensa_darkgrey solid;

    li {
      list-style: none !important;
    }

    .collapsible-body {
      padding-top: 0px;
    }

    .collapsible-header,
    .collapsible-body {
      border-bottom: 2px $ensa_darkgrey solid;
      padding-left: 10%;
      padding-right: 10%;
      position: relative;

      span {
        font-size: 29px;
        line-height: 1.25;
        font-weight: bold;
        font-family: "Ratio", sans-serif;
        margin-right: 40px;
        margin-bottom: 0px;
        margin-top: 0px;

        @media only screen and (max-width: $breakpoint_notebook) {
          font-size: 1.4rem;
        }

        @media only screen and (max-width: $breakpoint_medium) {
          font-size: 1.1rem;
        }
  }
    }

    .active {
      .collapsible-header {
        border-bottom: none;
      }
    }

    .collapsible-header .collapsible-indicator {
      position: absolute;
      height: 100%;
      top: 0;
      right: 10%;

      i {
        margin-right: 0;
        font-size: 2rem;
        line-height: 1.5;
        transition: 0.5s;

        &.rotate {
          transform: rotate(180deg);
        }
      }
    }

    .collapsible-body {
      background-color: #fff;
      border-bottom: 2px $ensa_darkgrey solid;

      ul {
        li {
          list-style-type: disc !important;
        }
      }
    }
  }

  .faq-more {
    margin-bottom: 1rem;

    a {
      padding: 0 10%;

      strong {
        line-height: 2rem;
      }
    }
  }

  // Color variations based on the faq type
  &.green {
    .faq-more a {
      color: $zim_green;
    }

    .collapsible-header span,
    i {
      color: $zim_green;
    }
  }

  &.yellow {
    .faq-more a {
      color: $zim_yellow;
    }

    .collapsible-header span,
    i {
      color: $zim_yellow;
    }
  }

  &.lime {
    .faq-more a {
      color: $zim_lime;
    }

    .collapsible-header span,
    i {
      color: $zim_lime;
    }
  }

  &.orange {
    .faq-more a {
      color: $zim_orange;
    }

    .collapsible-header span,
    i {
      color: $zim_orange;
    }
  }

  &.navy {
    .faq-more a {
      color: $ensa_navy;
    }

    .collapsible-header span,
    i {
      color: $ensa_navy;
    }
  }

  .link-wrapper {
    text-align: center;
    padding-top: 25px;

    i {
      color: #000000;
      position: relative;
      top: 1px;

      @media only screen and (max-width: $breakpoint_notebook) {
          font-size: 1.5rem;
      }
    }

    a {
      span {
        font-size: 1.1rem;
        font-weight: bold;

        @media only screen and (max-width: $breakpoint_notebook) {
          font-size: 1rem;
        }

        @media only screen and (max-width: $breakpoint_medium) {
          font-size: 0.9rem;
        }
      }
    }
  }
}

@media only screen and (max-width: $breakpoint_medium) {
  .collapsible .collapsible-header .collapsible-indicator i {
    font-size: 1.1rem;
    line-height: 1.36;
  }
}

@media only screen and (max-width: $breakpoint_large) {
  .faq-accordion .collapsible .collapsible-header, .faq-accordion .collapsible .collapsible-body {
    span {
      font-size: 1.55rem;
      line-height: 1.305;
    }
  }
}

@media only screen and (max-width: $breakpoint_medium) {
  .faq-accordion .collapsible .collapsible-header, .faq-accordion .collapsible .collapsible-body {
    span {
      font-size: 1.1rem;
      line-height: 1.36;
    }
  }
}

