/* Photos belong to challenges; the site's reading pages keep their typography. */
.people-page { padding-bottom: 1rem; }
.people-intro { margin-top: 1.75rem; }
.people-list { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.people-list > li { border-top: 1px solid var(--rule); }
.people-list > li:last-child { border-bottom: 1px solid var(--rule); }
.person-link {
  display: grid; grid-template-columns: minmax(0, 1fr) 7rem;
  align-items: center; gap: 1.25rem; padding-block: 1.2rem;
}
.person-copy { min-width: 0; }
.person-copy h2 { margin: 0 0 0.3rem; font-size: 1.4rem; line-height: 1.7; font-weight: 700; }
.person-copy p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden; margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.85;
  overflow-wrap: anywhere; white-space: pre-line;
}
.person-link img { width: 7rem; height: 7rem; object-fit: cover; display: block; }
.person-link:hover h2 { color: var(--accent); }
.person-link:focus-visible { outline-offset: 5px; }
.people-empty { margin-top: 2.5rem; color: var(--muted); font-size: 1.1rem; }
.challenge-photo { margin: 0 0 1.75rem; }
.challenge-photo img { display: block; width: 100%; height: auto; max-height: 38rem; object-fit: contain; }
.challenge-fields { margin: 0 0 1.5rem; padding: 1rem; border: 1px solid var(--rule); }
.challenge-fields[hidden], #category-field[hidden], #untitled-field[hidden] { display: none; }
.challenge-fields .field:last-child { margin-bottom: 0; }
.challenge-fields input[type="file"] { max-width: 100%; font: inherit; font-size: 1rem; }
.challenge-fields textarea { min-height: 6rem; }
.challenge-current-image { display: block; max-width: min(100%, 18rem); max-height: 14rem; object-fit: contain; margin: 0 0 0.75rem; }
@media (max-width: 34rem) {
  .person-link { grid-template-columns: minmax(0, 1fr) 5rem; gap: 0.8rem; padding-block: 1rem; }
  .person-link img { width: 5rem; height: 5rem; }
  .person-copy h2 { font-size: 1.2rem; line-height: 1.65; }
  .person-copy p { font-size: 1rem; line-height: 1.8; }
  .challenge-fields { padding: 0.75rem; }
}
