<commit_before>.tabs-nav {
  margin: 2em 0 1em 0;
  overflow: hidden;
  position: relative;

  .tabs-nav__tab {
    margin-bottom: 0;
    display: block;
    padding: 0.5em;
    white-space: nowrap;
    outline: none;
    z-index: 0;
    box-sizing: border-box;
    position: relative;
    border-top: 1px solid $border-colour;
    transition: background .25s ease-in-out;

    &:focus,
    &:hover,
    &:active {
      background-color: $govuk-grey-3;
    }

    &:visited {
      color: $govuk-blue-colour;
    }

    .count {
      background-color: $red;
      color: $white;
      padding: 0 em(5);
    }

    @include media(tablet) {
      height: em(53);
      display: inline-block;
      margin: 0 em(3) 0 0;
      padding: 0.7em 0.8em;
      border-top: none;
      border-bottom: 6px solid white;
    }

  }

  li.tabs-nav__tab {
    margin-bottom: 0;
  }

  a.tabs-nav__tab {

    &:focus,
    &:hover,
    &:active {
      background-color: $govuk-grey-3;
    }

  }

  .tabs-nav__tab--active {
    z-index: 2;
    color: black; // there is a variable for $black but it's in govuk_elements, which will be removed
    background-color: $white;
    transition: none;

    &:focus,
    &:hover,
    &:active {
      background-color: $white;
    }

    @include media(tablet) {
      height: em(54);
      padding: 0.7em;
      border: 1px solid $border-colour;
      border-bottom: none;
    }

  }

  &:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom: 1px solid #ccc;
    z-index: 1;
    width: 100%;
  }

  [data-tab-link] {
    display: block;
    margin-bottom: 0 !important;

    @include media(tablet) {
      display: inline-block;
    }

  }

  .tab-content {

    .tab-content__first {
      margin-top: em(30);
    }

  }

}

.tabs-nav__tab {
  color: $govuk-blue-colour;
  text-decoration: underline;
  cursor: pointer;
}

.tabs-nav__tab--active {
  color: black;
  text-decoration: none;
  cursor: default;
}
<commit_msg>API-916 - Moved tab-content__first class out of tabs-nav so it is applied<commit_after>.tabs-nav {
  margin: 2em 0 1em 0;
  overflow: hidden;
  position: relative;

  .tabs-nav__tab {
    margin-bottom: 0;
    display: block;
    padding: 0.5em;
    white-space: nowrap;
    outline: none;
    z-index: 0;
    box-sizing: border-box;
    position: relative;
    border-top: 1px solid $border-colour;
    transition: background .25s ease-in-out;

    &:focus,
    &:hover,
    &:active {
      background-color: $govuk-grey-3;
    }

    &:visited {
      color: $govuk-blue-colour;
    }

    .count {
      background-color: $red;
      color: $white;
      padding: 0 em(5);
    }

    @include media(tablet) {
      height: em(53);
      display: inline-block;
      margin: 0 em(3) 0 0;
      padding: 0.7em 0.8em;
      border-top: none;
      border-bottom: 6px solid white;
    }

  }

  li.tabs-nav__tab {
    margin-bottom: 0;
  }

  a.tabs-nav__tab {

    &:focus,
    &:hover,
    &:active {
      background-color: $govuk-grey-3;
    }

  }

  .tabs-nav__tab--active {
    z-index: 2;
    color: black; // there is a variable for $black but it's in govuk_elements, which will be removed
    background-color: $white;
    transition: none;

    &:focus,
    &:hover,
    &:active {
      background-color: $white;
    }

    @include media(tablet) {
      height: em(54);
      padding: 0.7em;
      border: 1px solid $border-colour;
      border-bottom: none;
    }

  }

  &:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom: 1px solid #ccc;
    z-index: 1;
    width: 100%;
  }

  [data-tab-link] {
    display: block;
    margin-bottom: 0 !important;

    @include media(tablet) {
      display: inline-block;
    }

  }

}

.tabs-nav__tab {
  color: $govuk-blue-colour;
  text-decoration: underline;
  cursor: pointer;
}

.tabs-nav__tab--active {
  color: black;
  text-decoration: none;
  cursor: default;
}

.tab-content {

  .tab-content__first {
    margin-top: em(30);
  }

}

{'fraction_non_alphanumeric': 0.13974231912784935, 'fraction_numerical': 0.02205153617443013, 'mean_word_length': 2.100614439324117, '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': '99326', 'n_tokens_mistral': 1606, 'n_tokens_neox': 1483, 'n_words': 338}