/*
 * AASRF — Our People page
 * Loaded after site.css so these page-specific rules take precedence.
 */

.content-layout-full {
  grid-template-columns: minmax(0, 1fr);
}

.content-layout-full > .prose {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  margin-top: 38px;
}

.founder-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.founder-photo {
  display: block;
  width: 100%;
  height: 280px;
  flex: 0 0 280px;
  padding: 10px;
  object-fit: contain;
  object-position: center;
  background: var(--cream);
}

.founder-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 25px 26px 27px;
}

.founder-body .eyebrow {
  font-size: 9px;
  letter-spacing: .16em;
}

.founder-body h2 {
  margin: 10px 0 5px;
  color: var(--forest);
  font-family: Manrope, sans-serif;
  font-size: 21px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.founder-body p {
  margin: 10px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.founder-body .role {
  margin-top: 3px;
  color: #8b7136;
  font-weight: 700;
}

.expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0;
}

.expertise b {
  width: 100%;
  color: var(--forest);
  font-size: 10px;
}

.expertise span {
  padding: 5px 8px;
  background: var(--cream);
  color: #56634f;
  font-size: 10px;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 15px 0 8px;
}

.profile-links a,
.email-link {
  color: #8b7136;
  font-size: 10px;
  font-weight: 700;
}

.profile-links a:hover,
.email-link:hover {
  color: var(--forest);
  text-decoration: underline;
}

.email-link {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .founders-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .founder-photo {
    height: 300px;
    flex-basis: 300px;
  }

  .founder-body {
    padding: 22px;
  }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .founders-grid {
    gap: 20px;
  }

  .founder-photo {
    height: 250px;
    flex-basis: 250px;
  }

  .founder-body {
    padding: 20px;
  }
}
