html {
  font-size: 16px;
}

body {
  margin: 0;
  color: #222;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: #980000;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  background: #8b1e1e;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-title {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.site-nav a.is-active {
  font-weight: 700;
}

.page {
  max-width: 1600px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.home-bio {
  box-sizing: border-box;
  max-width: 1520px;
  margin: 0 auto;
  padding: 56px 80px 0;
  display: grid;
  grid-template-columns: 545px minmax(0, 1fr);
  column-gap: 90px;
  align-items: center;
}

.hero-image {
  padding: 0 5px;
}

.hero-image img {
  width: 100%;
  height: auto;
}

.intro-card,
.content-section,
.two-column,
.page-banner {
  box-sizing: border-box;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-card {
  padding: 24px 48px 8px;
  text-align: center;
}

.intro-card h1 {
  margin: 0 0 8px;
  font-size: 42px;
  font-weight: 400;
  color: #000;
}

.home-copy h1 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 700;
  color: #000;
  text-align: center;
}

.position {
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}

.school {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 25px;
  line-height: 1.3;
  color: #980000;
  text-align: center;
}

.address,
.email {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
}

.content-section {
  padding: 20px 48px 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.55;
}

.content-section p {
  margin: 0 0 18px;
  text-align: justify;
}

.page-banner {
  width: 100vw;
  max-width: none;
  margin-top: 0;
  margin-right: calc(50% - 50vw);
  margin-bottom: 28px;
  margin-left: calc(50% - 50vw);
  padding: 34px 24px 38px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background: #8b1e1e;
  box-shadow: none;
  text-align: center;
}

.page-banner::before {
  content: none;
}

.page-banner h1 {
  margin: 0;
  position: relative;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.two-column {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 0 48px;
}

.portrait-frame {
  margin: 0;
}

.portrait-frame img {
  width: 100%;
  border: 1px solid #ddd;
}

.home-portrait {
  width: 100%;
  max-width: 545px;
}

.home-portrait img {
  border: none;
}

.content-section-tight {
  padding: 0;
}

.home-copy {
  max-width: 720px;
  justify-self: center;
  align-self: center;
}

.home-text {
  max-width: 1520px;
  padding: 72px 80px 0;
  font-size: 20px;
}

.home-text p {
  margin-bottom: 26px;
  text-align: left;
}

.email {
  margin-top: 18px;
}

.email a {
  color: #980000;
}

.redirect-note {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 48px 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
}

.cv-panel {
  text-align: center;
  padding-top: 12px;
}

.cv-panel p {
  text-align: center;
}

.pdf-preview {
  margin: 24px auto 0;
  max-width: 1180px;
  border: 1px solid #d7d7d7;
}

.pdf-preview iframe {
  display: block;
  width: 100%;
  height: 960px;
  border: 0;
  background: #fff;
}

.paper-list {
  margin: 0;
  padding-left: 24px;
}

.paper-list li {
  margin: 0 0 14px;
}

.publication-archive h2 {
  margin: 28px 0 12px;
  font-size: 25px;
  font-weight: 400;
  color: #980000;
}

.publication-archive h2:first-child {
  margin-top: 0;
}

.text-link {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .site-header-inner {
    padding-top: 14px;
    padding-bottom: 14px;
    align-items: flex-start;
    flex-direction: column;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .home-bio {
    grid-template-columns: 1fr;
    row-gap: 36px;
    padding-left: 48px;
    padding-right: 48px;
  }

  .portrait-frame {
    max-width: 260px;
  }

  .home-portrait {
    max-width: 420px;
    justify-self: center;
  }

  .home-copy {
    max-width: none;
  }

  .home-text {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (max-width: 640px) {
  .home-bio,
  .intro-card,
  .content-section,
  .two-column {
    padding-left: 20px;
    padding-right: 20px;
  }

  .intro-card h1,
  .page-banner h1 {
    font-size: 36px;
  }

  .page-banner {
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .home-copy h1 {
    font-size: 42px;
  }

  .position,
  .school,
  .address,
  .email,
  .content-section,
  .redirect-note {
    font-size: 17px;
  }

  .school {
    font-size: 20px;
  }

  .home-text {
    padding-top: 40px;
  }

  .site-nav {
    gap: 16px;
  }

  .pdf-preview iframe {
    height: 720px;
  }
}
