/* Extracted from styles/main.css. */
.people-page {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 280px, #f3f4f6 100%);
}

.people-page .page-hero {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.people-page .section-lead {
  max-width: 62ch;
  color: var(--muted);
}

.people-page .section {
  padding: 2rem 0 3rem;
}

.people-block + .people-block {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.people-page .people-block:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.people-page .people-block h2 {
  margin-bottom: 1.15rem;
  padding-bottom: 0;
  border-bottom: none;
  font-size: clamp(1.35rem, 2.4vw, 1.62rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.people-page .people-block h2::before {
  content: "";
  width: 4px;
  height: 1.25em;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.people-page .people-subtitle {
  margin: 1.85rem 0 1.05rem;
  padding-left: 0.8rem;
  border-left: 2px solid rgba(158, 36, 53, 0.4);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.people-page .people-block > .people-subtitle:first-of-type {
  margin-top: 0.35rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 1rem;
}

.people-page .profile-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2.625rem 2.175rem;
}

.people-page .profile-grid .profile-card {
  width: 100%;
}

.people-page .faculty-list {
  gap: 0;
}

.people-page .faculty-profile {
  gap: 1.75rem;
  padding: 2rem 0;
  border-bottom: none;
}

.people-page .faculty-profile:first-child {
  padding-top: 0;
}

.people-page .faculty-profile:last-child {
  padding-bottom: 0;
}

.people-page .faculty-profile + .faculty-profile {
  border-top: 1px solid var(--line);
}

.people-page .faculty-summary {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(20, 20, 20, 0.07);
}

.people-page .faculty-summary .profile-content {
  padding: 0.85rem 0.9rem 0.95rem;
}

.people-page .faculty-summary .profile-name {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.people-page .faculty-summary .profile-role {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 500;
}

.people-page .faculty-summary .profile-meta {
  font-size: 0.84rem;
  line-height: 1.45;
}

.people-page .faculty-detail {
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 1px 8px rgba(20, 20, 20, 0.04);
}

.people-page .faculty-detail-placeholder {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

.people-page .faculty-bio {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.65;
}

.people-page .faculty-bio p {
  margin: 0 0 0.85rem;
}

.people-page .faculty-bio p:last-child {
  margin-bottom: 0;
}

.people-page .faculty-bio strong {
  font-weight: 600;
  color: var(--text);
}

.people-page .faculty-bio em {
  font-style: italic;
  color: var(--accent-2);
}

.people-page .faculty-bio-accent {
  color: var(--accent);
  font-weight: 600;
}

.people-page .profile-card {
  border: none;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 2px 12px rgba(20, 20, 20, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.people-page .profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(20, 20, 20, 0.1);
}

.people-page .profile-image {
  position: relative;
  background: linear-gradient(180deg, #eef0f3 0%, #e4e7eb 100%);
}

.people-page .profile-image::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
}

.faculty-list {
  display: flex;
  flex-direction: column;
}

.faculty-profile {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  align-items: start;
}

.faculty-summary {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.faculty-summary .profile-image {
  aspect-ratio: 3 / 4;
}

.faculty-detail {
  min-width: 0;
}

.profile-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.profile-image {
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #f2f2f2 0%, #e8eaed 100%);
}

.profile-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 24%;
}

.profile-content {
  padding: 0.48rem 0.55rem 0.52rem;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  max-width: 100%;
}

.profile-name {
  margin: 0;
  min-width: 0;
  font-size: 0.94rem;
  line-height: 1.2;
}

.profile-content .profile-head + .profile-role {
  margin-top: 0.1rem;
}

.profile-role {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.28;
}

.profile-meta {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.28;
}

.people-page .profile-grid .profile-content {
  padding: 0.38rem 0.42rem 0.42rem;
}

.people-page .profile-grid .profile-name {
  font-size: 0.86rem;
  line-height: 1.18;
  font-weight: 600;
  color: var(--text);
}

.people-page .profile-grid .profile-content .profile-head + .profile-role {
  margin-top: 0.06rem;
}

.people-page .profile-grid .profile-role,
.people-page .profile-grid .profile-meta {
  font-size: 0.76rem;
  line-height: 1.24;
}

.people-page .profile-grid .profile-meta {
  margin-top: 0.06rem;
}

.people-page .profile-grid .profile-content a.profile-email,
.people-page .profile-grid .profile-content a[href^="mailto:"] {
  width: 1.35rem;
  height: 1.35rem;
}

.people-page .profile-grid .profile-email-icon {
  width: 0.88rem;
  height: 0.88rem;
}

.alumni-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.25rem;
}

.alumni-item {
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 1px 6px rgba(20, 20, 20, 0.04);
}

.alumni-head {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  max-width: 100%;
}

.alumni-name {
  margin: 0;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
}

.alumni-role {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.people-page .alumni-item .profile-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  margin: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.people-page .alumni-item .profile-email:hover {
  background: rgba(158, 36, 53, 0.08);
  color: var(--accent);
}

.people-page .alumni-item .profile-email-icon {
  width: 0.85rem;
  height: 0.85rem;
}

.people-page .profile-content a.profile-email,
.people-page .profile-content a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.profile-email-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.profile-email-icon path {
  fill: currentColor;
}

.people-page .profile-content a.profile-email:hover,
.people-page .profile-content a.profile-email:focus-visible,
.people-page .profile-content a[href^="mailto:"]:hover,
.people-page .profile-content a[href^="mailto:"]:focus-visible {
  color: var(--accent);
  background: rgba(158, 36, 53, 0.08);
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
