/* Academic homepage layout, matched to https://continualgoing.github.io/.
   Kept separate from the legacy theme so other pages retain their layout. */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 15px; scroll-padding-top: 5rem; }
body {
  margin: 0;
  color: #494e52;
  background: #fff;
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  line-height: 1.5;
}
a { color: #224b8d; }
a:hover { color: #102b56; }
a:focus-visible { outline: 2px solid #224b8d; outline-offset: 4px; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 20; padding: .6rem 1rem; background: #fff; }
.skip-link:focus { top: .5rem; }
.masthead { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #f2f3f3; background: #fff; }
.masthead__inner-wrap {
  display: flex;
  align-items: center;
  max-width: 925px;
  min-height: 54px;
  margin: 0 auto;
  padding: 0 .5rem;
}
.masthead a { display: block; padding: 1rem 0; color: #7a8288; text-decoration: none; white-space: nowrap; }
.masthead a:hover { color: #494e52; }
.masthead__home { margin-right: 4rem; font-weight: bold; }
.masthead__links { display: flex; flex-wrap: wrap; gap: 0 2rem; list-style: none; margin: 0; padding: 0; }
.homepage { max-width: 925px; margin: 0 auto; padding: 0 1rem 3rem; }
.profile { margin: 2rem 0; min-width: 0; }
.profile__identity { text-align: center; }
.profile__avatar { display: block; width: 175px; max-width: 100%; height: auto; margin: 0 auto; padding: 5px; border: 1px solid #f2f3f3; border-radius: 50%; }
.profile__name { margin: .5rem 0; font-size: 1.4rem; line-height: 1.2; }
.profile__bio { margin: .75rem 0 1.5rem; }
.profile__links { margin: 0; padding: 0; list-style: none; }
.profile__links li { margin-bottom: .5rem; }
.profile__links a { overflow-wrap: anywhere; }
.profile__links li:nth-child(2) a { color: inherit; text-decoration: none; }
.profile__links li:nth-child(2) a:hover { text-decoration: underline; }
.page__content { min-width: 0; }
.page__content h1, .page__content h2 { font-weight: bold; line-height: 1.2; }
.page__content h1 { margin: 1em 0 .5em; padding-bottom: .5em; border-bottom: 1px solid #f2f3f3; font-size: 1.4rem; }
.page__content h1:first-child { margin-top: 1rem; }
.page__content h2 { margin: 1em 0 .5em; font-size: 1.2rem; }
.page__content p { margin: 0 0 .5rem; }
.page__content ul { margin: .5rem 0 1rem; padding-left: 2rem; }
.page__content li { margin-bottom: .5rem; }
.publication-title { color: #224b8d; }
.publications strong { color: #383c40; }
.publications li { margin-bottom: .5rem; }
@media (min-width: 925px) {
  .homepage { display: grid; grid-template-columns: 15.2542372881% 78.8135593221%; column-gap: 5.9322033898%; align-items: start; }
  .profile { position: sticky; top: 6rem; margin-top: 2.5rem; }
  .profile__links { width: 250px; max-width: calc(100% + 4rem); }
}
@media (min-width: 80em) {
  .masthead__inner-wrap, .homepage { max-width: 1280px; }
}
@media (max-width: 924px) {
  html { scroll-padding-top: 8rem; }
  .profile { display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); align-items: center; gap: 2rem; }
  .profile__avatar { width: 150px; }
  .profile__bio { margin-bottom: 0; }
}
@media (max-width: 540px) {
  html { scroll-padding-top: 11rem; }
  .masthead__inner-wrap { flex-wrap: wrap; padding: .25rem 1rem; }
  .masthead__home { margin-right: 1.5rem; }
  .masthead__links { gap: 0 1.25rem; }
  .masthead a { padding: .6rem 0; }
  .profile { grid-template-columns: 1fr; gap: 1rem; }
  .profile__links { max-width: 300px; margin: 0 auto; }
  .page__content { overflow-wrap: break-word; }
}
@media print {
  .masthead, .skip-link { display: none; }
  .profile { position: static; }
}
