/* ==========================================================================
   WHO'S WHO — assets/css/pages/people.css
   Loaded on templates/page-people.php.

   No photographs exist for anyone on this page, so every pattern here has to
   hold up on names alone. Nothing reserves space for an image that isn't
   there — the portrait frame only renders once a file exists.
   ========================================================================== */

/* --- The three principals ----------------------------------------------- */

.principals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
}

.principal {
  border-top: 2px solid var(--navy);
  padding-top: 20px;
}

.principal__media {
  aspect-ratio: 5 / 6;
  background: var(--cream);
  border: 1px solid var(--rule);
  margin-bottom: 18px;
}

.principal__role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}

/* Serif, because these are the names the page exists to carry. */
.principal__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 0;
}

/* --- Roster ------------------------------------------------------------- */
/* Role on the left, name on the right, a hairline between each. Reads as a
   list of appointments rather than a table of data. */

.people-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-soft);
}

/* .roster moved to components.css — the designed-page template uses it for
   committee and officer lists. */

/* --- Additional members ------------------------------------------------- */
/* Fourteen names of equal standing — a plain multi-column list is the honest
   presentation, rather than fourteen identical cards. */

.members {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 24px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.members__item {
  font-size: 15px;
  color: var(--ink);
  padding-left: 14px;
  border-left: 1px solid var(--rule-cream);
}

/* --- The Clerk's office ------------------------------------------------- */

.people-contact {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

.people-contact h2 { margin-bottom: var(--sp-3); }

.people-contact__title { font-size: 17px; margin: 0 0 18px; }

.people-contact__line { font-size: 15px; margin: 0 0 8px; }
.people-contact__line a { color: var(--navy-link); text-decoration: underline; text-underline-offset: 3px; }
.people-contact__line a:hover { color: var(--navy); }

.people-contact__addr {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 18px 0 22px;
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 900px) {
  .principals { grid-template-columns: 1fr; gap: 0; margin-bottom: 44px; }
  /* Stacked, they read better as rows than as three tall cards. */
  .principal { border-top: 1px solid var(--rule-cream); padding: 18px 0; }
  .principal:first-child { border-top: 2px solid var(--navy); }
  .principal__media { max-width: 180px; margin-bottom: 14px; }
  .principal__name { font-size: 23px; }


  .members { grid-template-columns: 1fr 1fr; }

  .people-contact { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .members { grid-template-columns: 1fr; }
}
