h1,
h2,
h3,
h4,
p,
ul,
ol,
figcaption,
dl,
dt,
dd,
blockquote,
pre,
table {
  max-width: var(--content-width);
}

/* ─── Links ─────────────────────────────────────────────────────────────── */

a,
a span {
  color: inherit;
  text-decoration: none;
  position: relative;
}

a:link,
a:visited {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover,
a:active {
  text-decoration: none;
  color: var(--color-accent-dark);
  border-bottom: solid 1px var(--color-accent-dark);
}

.site-logo-link:hover,
.site-logo-link:active,
.profile-toggle:hover,
.profile-toggle:active,
.profile-menu a:hover,
.profile-menu a:active,
.site-nav-context-title a:hover,
.site-nav-context-title a:active,
.site-nav-list a:hover,
.site-nav-list a:active {
  border-bottom: none;
}

/* p a:hover,
p a:active {
  border-bottom: none;
  background-image: linear-gradient(to bottom, var(--color-accent) 0, var(--color-accent) 100%);
  background-repeat: repeat-x;
  background-size: 0.1rem 0.1rem;
  background-position: 0 0.905rem;
}

h3 a:hover,
h3 a:active {
  border-bottom: none;
  background-image: linear-gradient(to bottom, var(--dark-gold) 0, var(--dark-gold) 100%);
  background-repeat: repeat-x;
  background-size: 0.09rem 0.09rem;
  background-position: 0 1.1rem;
} */

/* ─── Headings ───────────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin: var(--space-4) 0 var(--space-3);
  scroll-margin-top: var(--scroll-offset);
  font-weight: bold;
  text-transform: capitalize;
}

:target {
  scroll-margin-top: var(--scroll-offset);
}

strong {
  font-weight: bold;
}

h1 { font-size: 2rem; }
h1.site-title {
  font-size: 1.3rem;
  margin-bottom: .25rem;
}
@media only screen and (min-width: 22em) {
  h1.site-title {
    font-size: 1.5rem;
  }
}
@media only screen and (min-width: 38.4em) {
  h1.site-title {
    font-size: 2rem;
  }
}
@media only screen and (min-width: 64em) {
  h1.site-title {
    font-size: 2.4rem;
  }
}
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

h5 {
  font-size: 1rem;
  font-weight: 500;
}

h6 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.02rem;
  text-transform: uppercase;
  font-weight: 500;
}

/* ─── Body text ──────────────────────────────────────────────────────────── */

p, ul, ol, dl, blockquote, pre {
  margin: 0 0 var(--space-3);
}

/* Subhead paragraph under headings */
.page-subhead {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-top: var(--space-2);
  margin-bottom: var(--space-4);
  font-weight: 400;
}

p, li {
  font-weight: 300;
}

.text-label li {
  font-weight: inherit;
}

dl dt {
  font-weight: 600;
  margin-top: var(--space-2);
}

dl dd {
  margin: 0 0 var(--space-2) var(--space-3);
}

.muted {
  color: var(--color-muted);
}

h2 i.material-icons,
h3 i.material-icons,
h4 i.material-icons,
h5 i.material-icons,
h6 i.material-icons,
li i.material-icons,
.note i.material-icons {
  font-size: .9em !important;
  vertical-align: -2px;
  line-height: 0.5em !important;
}
