html {
  font-size: 16px;
}

body {
  margin: 0;
  color: #494e52;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  background: #fff;
}

a {
  color: #52adc8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.masthead {
  border-bottom: 1px solid #f2f3f3;
}

.masthead__inner-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1em;
}

.greedy-nav .visible-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.masthead__menu-item a {
  color: #7a8288;
  font-size: 1.25em;
  font-weight: 600;
}

.masthead__menu-item--lg a {
  font-size: 1.75em;
}

#main {
  max-width: 1280px;
  margin: 2em auto 0;
  padding: 0 1em 2em;
  display: flex;
  gap: 2.6em;
  align-items: flex-start;
}

.sidebar {
  width: 260px;
  flex: 0 0 260px;
}

.sticky {
  position: sticky;
  top: 2em;
}

.author__avatar {
  width: 200px;
  margin-bottom: 1em;
}

.author__avatar-placeholder {
  aspect-ratio: 1 / 1;
  width: 100%;
  border: 1px solid #f2f3f3;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f6f7f7;
  color: #7a8288;
  font-size: 1rem;
}

.author__avatar-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #f2f3f3;
  border-radius: 50%;
  object-fit: cover;
}

.author__name {
  margin: 0 0 0.25em;
  color: #494e52;
  font-size: 1.75em;
}

.author__bio {
  margin: 0 0 1.2em;
  font-size: 1.2em;
}

.author__urls {
  margin: 0;
  padding: 0;
  list-style: none;
}

.author__urls li {
  margin-bottom: 0.65em;
  font-size: 1.15em;
}

.author__urls a {
  color: #52adc8;
}

.author__urls a:hover {
  color: #52adc8;
}

.author__urls a .icon {
  color: #52adc8;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.45em;
  color: #494e52;
  vertical-align: -0.12em;
}

.icon-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.page {
  flex: 1;
  min-width: 0;
}

.page__inner-wrap {
  max-width: 900px;
}

.page__title {
  margin: 0;
}

.page__content h1 {
  margin: 0 0 0.6em;
  color: #494e52;
  font-size: 3.25em;
  line-height: 1.2;
}

.page__content h2 {
  margin: 1.2em 0 0.5em;
  color: #494e52;
  font-size: 2em;
  line-height: 1.25;
}

.page__content ul {
  margin: 0 0 2em;
  padding-left: 1.5em;
}

.page__content li,
.page__content p {
  font-size: 1.2em;
  line-height: 1.5;
}

.page__content li {
  margin-bottom: 0.6em;
}

.publication-item {
  margin-bottom: 1.6em;
}

.publication-item p {
  margin: 0.2em 0;
}

@media (max-width: 1060px) {
  #main {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-basis: auto;
  }

  .sticky {
    position: static;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 14px;
  }

  .greedy-nav .visible-links {
    gap: 1.2rem;
    flex-wrap: wrap;
  }

  .masthead__menu-item a {
    font-size: 1.05rem;
  }

  .masthead__menu-item--lg a {
    font-size: 1.35rem;
  }

  .page__content h1 {
    font-size: 2.3em;
  }
}
