/*
  Hides the header gradient and white
  gradient when the nav is collapsed
*/
@media screen and (max-width: 768px) {
  nav.nav-hidden ul {
    transform: translateY(-100%);
  }

  nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: linear-gradient(to bottom, white 0%, transparent 100%);
    z-index: -1;
    pointer-events: none;
  }
}

main {
  display: grid;
  grid-template-columns: repeat(var(--column-count), 1fr);
}
main > * {
  justify-content: center;
}

.member-wrap {
  grid-row: 2;
  grid-column: 3 / 7;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .member-wrap {
    grid-column: 1 / -1;
  }
}

#headshot {
  width: 50%;
}

#headshot-figure {
  margin: 0;
  line-height: 0;
}

#headshot img {
  display: block;
  width: 100%;
  height: auto;
}

#initials {
  font-family: Altocumulus;
  font-size: var(--title-font-size);
  line-height: unset;
  padding-bottom: var(--small-padding);
}
#name {
  font-size: var(--body-font-size);
  line-height: var(--body-line-height);
  padding-bottom: var(--small-padding);
}
#bio {
  text-align: center;
}
#bio p {
  font-size: var(--body-font-size);
  line-height: var(--body-line-height);
  padding-bottom: var(--small-padding);
}
#bio p:last-of-type {
  padding-bottom: 0;
}
