/* About-page styles, scoped to avoid changing other pages. */
.about-content {
  max-width: 1120px;
  margin: 0 auto;
}
.about-content .about-intro {
  max-width: 820px;
  font-size: 1.1em;
  line-height: 1.7;
}
.about-content > h2 {
  margin-top: 2.5em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #e6e8e8;
}
.about-research {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.about-research-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.about-research-item img {
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: contain;
  background: #fff;
}
.about-content .about-research-item h3 {
  margin: 1rem 0 0.6rem;
  font-size: 1.1em;
  line-height: 1.4;
  min-height: 2.8em;
}
.about-research-item p {
  flex: 1;
}
.about-research-item .btn {
  align-self: flex-start;
  margin: 0;
}
.about-publication {
  padding: 1.2rem 0;
  border-bottom: 1px solid #e6e8e8;
}
.about-publication:first-child {
  padding-top: 0;
}
.about-content .about-publication h3 {
  margin: 0 0 0.35em;
  font-size: 1.05em;
  line-height: 1.5;
}
.about-content .card-meta {
  color: #596164;
  font-size: 0.85em;
  margin: 0 0 0.6em;
}
.about-content .about-publication p {
  margin-bottom: 0.6em;
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em 1.25em;
  font-size: 0.9em;
}
.about-pi {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.about-portrait {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}
.about-content .about-pi h3 {
  margin-top: 0;
}
.about-recruitment {
  padding: 1.5rem;
  background: #f4f6f6;
  border-left: 3px solid #7a8288;
}
.about-content p {
  overflow-wrap: break-word;
}
@media (max-width: 640px) {
  .about-research {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-research-item img {
    max-height: 240px;
  }
  .about-pi {
    grid-template-columns: 1fr;
  }
  .about-content > h2 {
    margin-top: 2em;
  }
}

.about-content a {
  color: #285b68;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.about-content a:hover {
  color: #173f49;
}
.about-content a:focus-visible {
  outline: 3px solid #a51417;
  outline-offset: 4px;
  border-radius: 2px;
}
.about-content .btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: #3c5963;
  color: #fff;
  text-decoration: none;
  white-space: normal;
  line-height: 1.4;
}
.about-content .btn:hover {
  background: #263f48;
  color: #fff;
}
.about-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 640px) {
  .about-content .about-research-item h3 {
    min-height: 0;
  }
}

/* Keep banner text below the faces; reveal more of the original photo. */
.page__hero--overlay {
  --about-photo-width: max(100vw, 1000px);
  position: relative;
  padding: calc(var(--about-photo-width) * 0.235) 0 24px;
  background-color: #231618;
  background-repeat: no-repeat;
  background-size: 100% 100%, var(--about-photo-width) auto;
  background-position: center, center calc(var(--about-photo-width) * -0.135);
}
.page__hero--overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0,
    transparent calc(var(--about-photo-width) * 0.29),
    #231618 calc(var(--about-photo-width) * 0.355));
  pointer-events: none;
}
.page__hero--overlay .wrapper {
  position: relative;
}
.page__hero--overlay .page__title {
  margin: 0 0 12px;
}
.page__hero--overlay .page__lead {
  margin: 0;
}
