%heading1,
h1 {
  font-size: 3.5rem;
  line-height: 1.08;
  color: $darkblue;
  font-weight: normal;

  @include breakpoint($tablet) {
    font-size: 4.8rem;
    margin-top: 4rem;
  }

  .region-banner & {
    font-size: 3.4rem;
    max-width: 68rem;

    @include at-media('tablet') {
      font-size: 4.8rem;
    }
  }
}

%heading2,
h2 {
  font-family: $serif;
  font-size: 3.2rem;
  line-height: 1.235;
  color: $darkblue;
  font-weight: normal;

  &.underlined {
    border-bottom: $border;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    font-size: 3.2rem;
    letter-spacing: 0;
  }

  &.bold-sans {
    font-family: $sans;
    font-size: 1.8rem;
    font-weight: bold;
  }

  &.heading-small-underlined,
  .layout-sidebar-first &,
  .layout-sidebar-second & {
    font-family: $sans;
    font-size: 1.6rem;
    padding-bottom: 1.2rem;
    border-bottom: $border;
    margin-bottom: 1.8rem;
    letter-spacing: 0;
    font-weight: 500;

    .region-content & {
      margin-bottom: 3rem;
    }

    &.usa-accordion__heading {
      border-bottom: 0;
      margin-bottom: 0;
      padding-bottom: 0;
    }
  }

  .layout-sidebar-second .ftc-bblue-box & {
    border-bottom: 0;
    padding-bottom: 0;
  }

  a {
    color: $darkblue;

    &:active,
    &:visited {
      color: $darkblue;
    }

    @include hover {
      color: $blue;
    }
  }
}

// sidebar specific
.layout-sidebar-second .view:not(.view-ftc-advanced-page__block_3):not(.view-ftc-legal-docs__block_3) h2 {
  font-family: $sans;
  font-size: 1.6rem;
  padding-bottom: 1.2rem;
  border-bottom: $border;
  margin-bottom: 1.8rem;
  letter-spacing: 0;
  font-weight: 500;
}

%heading3,
h3 {
  font-family: $serif;
  font-size: 2.8rem;
  line-height: 1.15;
  color: $darkblue;
  font-weight: normal;

  &.small {
    font-size: 2.4rem;
  }

  @include breakpoint($desktop) {
    .node--view-mode-search-result & {
      font-size: 3rem;
    }
  }

  a {
    color: $darkblue;

    &:active,
    &:visited {
      color: $darkblue;
    }

    @include hover {
      color: $blue;
    }
  }
}

%heading4,
h4 {
  font-size: 2.2rem;
  line-height: 1.15;
  color: $darkblue;
  font-weight: normal;
}

%heading5,
h5 {
  font-size: 2rem;
  line-height: 1.15;
  color: $darkblue;
  font-weight: normal;
}

h6 {
  font-size: 1.4rem;
}

%heading-small,
.heading-small,
h2.style-as-h4 {
  font-family: $sans;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 1.8rem;
}
