/*
 * Simple pages built in the manager (components/SimplePage.tsx; "ACM in USA"), redesigned 2026-11-05 to match the
 * About pages (about.css): the program pages' photo hero (programs.css), one 860 px column, Andika text, section
 * titles in the site blue; people as a picture beside their name, role and words in a quote box.
 */

.acm-sp {
  --sp-soft: var(--accent-soft);
  --sp-line: var(--accent-line);
}
.acm-sp-sec + .acm-sp-sec {
  margin-top: 48px;
}
.acm-sp-text p,
.acm-sp-text ul,
.acm-sp-text ol {
  margin: 0 0 1em;
}
.acm-sp-text p:last-child {
  margin-bottom: 0;
}
.acm-sp-text a {
  color: var(--accent);
}

/* people */
.acm-sp-people {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.acm-sp-person {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.acm-sp-person__photo img,
.acm-sp-person__photo span {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r-md);
  background: var(--acm-placeholder);
  box-shadow: var(--sh-card-hover);
}
.acm-sp .acm-sp-person__name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: none;
  color: var(--acm-ink);
}
.acm-sp-person__role {
  margin: 4px 0 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.4;
  color: #5d6280;
}
/* their words: the About pages' quote box */
.acm-sp-person__quote {
  margin: 0;
}
.acm-sp-person__quote p {
  margin: 0 0 0.9em;
}
.acm-sp-person__quote p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .acm-sp-sec + .acm-sp-sec {
    margin-top: 36px;
  }
  .acm-sp-text {
    text-align: start;
  }
  .acm-sp-person {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .acm-sp-person__photo {
    width: 160px;
  }
}
