/* Overall page style */
body {
  background-color: #ffffff;
  color: #2f3437;
  font-size: 17px;
  line-height: 1.65;
}

/* Main content width */
.quarto-title-block {
  display: none;
}

main {
  max-width: 980px;
  margin: 0 auto;
}

/* Navigation bar */
.navbar {
  font-size: 16px;
}

.navbar-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* About page layout */
.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 60px;
  align-items: start;
  margin-top: 55px;
}

.about-text h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 28px;
  color: #2f3437;
}

.about-text h2 {
  font-size: 24px;
  font-weight: 650;
  margin-top: 36px;
  margin-bottom: 14px;
  color: #2f3437;
}

.about-text p {
  margin-bottom: 20px;
}

.about-text a {
  color: #1f65d6;
  text-decoration: none;
}

.about-text a:hover {
  text-decoration: underline;
}

/* Profile photo */
.about-photo {
  text-align: center;
  padding-top: 20px;
}

.profile-img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
}

/* Lists */
ul {
  padding-left: 22px;
}

/* Right-side table of contents */
.sidebar nav[role="doc-toc"] {
  font-size: 15px;
}

/* Mobile layout */
@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    order: -1;
  }

  .profile-img {
    width: 210px;
    height: 210px;
  }
}