//according to mm style guide, h1 is serif while smaller headers are sans-serif

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  //margin-bottom: $headings-margin-bottom;
  margin-bottom: 0;
  font-family: $headings-font-family;
  font-weight: $headings-font-weight;
  //line-height: $headings-line-height;
  color: $mm-neutral-black;
  & > small {
    font-family: $font-stack-sans-serif;
    font-weight: 400;
    color: $mm-neutral-gray-80;
    font-size: 1.6rem;
    font-style: italic;
    line-height: 1.38;
    margin-left: 2rem;

    & > .sep {
      font-style: initial;
    }
  }
}

// <h3><small><span class="sep"></span></small><div><small><span class="sep"></span></small></div></h3>

//type size variables are changed in modified-font-variables.scss
//bootstrap applies one line-height to all headers, so line heights are added per header type

h1 {
  font-weight: 400;
  line-height: 1;
}

h2 {
  font-weight: 500;
  line-height: 1;
  margin: 0 0 6rem 0;
}

h3 {
  font-weight: 600;
  margin: 0 0 2rem 0;
}

h4 {
  color: $mm-neutral-black;
  font-weight: 600;
}

/// Usage: class="h2 mmui-page-title"
.mmui-page-title {
  // @extend h2;
  margin-bottom: 60px;
}
