// TYPOGRAPHY

// HEADNINGS

h1 {
  font-size: 3.375rem;
  font-weight: 200;
  line-height: 1;
  margin: 0 0 .25rem;

  @media (max-width: 800px) { font-size: 2rem; }
}

h2 {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  margin: 2rem 0 .5rem;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .1rem;
  margin: 1.5rem 0 0;
  text-transform: uppercase;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0;
}

h5 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0;
}

// PARAGRAPHS
p {
  font-size: 1rem;
  margin: 0 0 1rem;
}

.footnotes p {
  display: inline-block;
  margin: 0;
}

// LINKS
p > a {
  background: lighten(rgb(49, 107, 158), 53%);
  &:hover,
  &:focus {
    border-bottom: 1px solid rgb(49, 107, 158);
    text-decoration: none;
  }
}

a { text-decoration: none; }

// CODE
code { font-size: 80%; }

// QUOTES
blockquote {
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
  margin: 1rem 0;
  max-width: 80%;
  padding: .5rem 1rem .75rem;
}

blockquote p {
  margin: 0;
  font-size: 1.8rem;
}


// LISTS
ul { padding-left: 1.5rem; }

article ul {
  list-style: none;
  padding: 0 0 0 1rem;
}

article ul li { margin: 0 0 .5rem;

  &:before {
    color: rgb(49, 107, 158);
    content: '\25ca';
    display: inline-block;
    margin: 0 .2rem 0 -1rem;
  }
}

article ol {
  list-style: none;
  padding: 0 0 0 1rem;
  counter-reset: o;
}

article ol li {
  counter-increment: o;
  margin: 0 0 .5rem;

  &:before {
    color: rgb(49, 107, 158);
    content: counter(o) '.';
    display: inline-block;
    margin: 0 .2rem 0 -1rem;
  }
}

.footnotes ol {
  counter-reset: o;
  list-style: none;
  padding: 0 0 0 1rem;
}

.footnotes ol li {
  counter-increment: o;
  margin: 0 0 .5rem;

  &:before {
    color: rgb(49, 107, 158);
    content: counter(o) '.';
    display: inline-block;
    margin: 0 .2rem 0 -1rem;
  }
}
