<commit_before>.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;
}

<commit_msg>Add responsive switch and nth-of-type to l-grid layout<commit_after>.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;
}


{'fraction_non_alphanumeric': 0.16642120765832105, 'fraction_numerical': 0.019636720667648502, 'mean_word_length': 2.3797678275290215, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1083119', 'n_tokens_mistral': 808, 'n_tokens_neox': 776, 'n_words': 140}