.category-detail {
  padding-bottom: $baseline-unit*3;
  border-bottom: 1px solid $color-category-border;
}

// cannot use nth-of-type in IE8 so appending an nth-of-type class to stack the sections
.category-detail--3,
.category-detail--5,
.category-detail--7,
.category-detail--9,
.category-detail--11 {

  @include respond-to($mq-m) {
    clear: both;
  }

  @include respond-to($mq-l) {
    clear: none;
  }
}

.category-detail--4,
.category-detail--7,
.category-detail--10 {

  @include respond-to($mq-l) {
    clear: both;
  }
}

.category-detail__heading {
  a {
    color: $color-heading;
  }
}

.category-detail__list {
  @extend .list--unstyled;

  .icon {
    margin-left: -32px;
    margin-right: 12px;
  }
}

.category-detail__list--icons {
  padding-left: $baseline-unit*6;
}



.category-detail {
  padding-bottom: $baseline-unit*3;
  border-bottom: 1px solid $color-category-border;
}

@if $responsive == true {
  .category-detail {
    &:nth-of-type(2n+1) {

      @include respond-to($mq-m) {
        clear: both;
      }

      @include respond-to($mq-l) {
        clear: none;
      }
    }

    &:nth-of-type(3n+1) {
      @include respond-to($mq-l) {
        clear: both;
      }
    }
  }

} else {
  // cannot use nth-of-type in IE8 so appending an nth-of-type class to stack the sections
  .category-detail--3,
  .category-detail--5,
  .category-detail--7,
  .category-detail--9,
  .category-detail--11 {

    @include respond-to($mq-m) {
      clear: both;
    }

    @include respond-to($mq-l) {
      clear: none;
    }
  }

  .category-detail--4,
  .category-detail--7,
  .category-detail--10 {

    @include respond-to($mq-l) {
      clear: both;
    }
  }
}

.category-detail__heading {
  a {
    color: $color-heading;
  }
}

.category-detail__list {
  @extend .list--unstyled;

  .icon {
    margin-left: -32px;
    margin-right: 12px;
  }
}

.category-detail__list--icons {
  padding-left: $baseline-unit*6;
}



Add responsive switch and nth-of-type to l-grid layout
Add responsive switch and nth-of-type to l-grid layout
