%base-header {
  color: $text-heading-color;
  padding: 0;
  margin: 0;
  font-family: $font-family-headings;
  font-weight: 500;

  &.subtle {
    color: $text-heading-color-subtle;
  }
}

h1 {
  @extend %base-header;
  font-size: $font-size-h1;
  line-height: $line-height-h1;
}

h2 {
  @extend %base-header;
  font-size: $font-size-h2;
  line-height: $line-height-h2;
}

%h3, h3 {
  @extend %base-header;
  font-size: $font-size-h3;
  line-height: $line-height-h3;
}

%h4, h4 {
  @extend %base-header;
  font-size: $font-size-h4;
  line-height: $line-height-h4;
}

h5 {
  @extend %base-header;
  font-size: $font-size-h5;
  line-height: $line-height-h5;
}

h6 {
  @extend %base-header;
  font-size: $font-size-h6;
  line-height: $line-height-h6;
}