/* ============================================
   People Page — Desktop (1920px base)
   ============================================ */

/* Hide the header::after gap strip (same as seminars/archive) */
.header::after {
  height: 0;
}

.content {
  margin-top: 12vw;
}

/* SECTIONS GRID — three independent columns */
.ppl-grid {
  margin-top: 2vw;
  display: flex;
  gap: 3vw;
  align-items: flex-start;
}

.ppl-col {
  flex: 1;
  min-width: 0;
}

.ppl-section {
  margin-bottom: 2.5vw;
}

/* Section heading (Organizer, Instructors, etc.) */
.ppl-section-title {
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.125vw;
  text-transform: uppercase;
  margin-bottom: 0.5vw;
}

/* Person name row */
.ppl-name {
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.29;
  letter-spacing: -0.125vw;
  text-transform: capitalize;
  display: flex;
  align-items: center;
  gap: 0.5vw;
  flex-wrap: wrap;
}

.ppl-name a {
  text-decoration: none;
}

.ppl-name a:hover {
  text-decoration: underline;
}

/* Thumbnail photo in listing */
.ppl-thumb {
  width: 2.2vw;
  height: 2.2vw;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Name text wrapper — allows inline flow of name + tags */
.ppl-name-text {
  display: inline;
}

/* Staff title — below person name */
.ppl-staff-title {
  font-size: var(--text-meta);
  opacity: 0.5;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.05vw;
  margin-top: -0.2vw;
  margin-bottom: 0.3vw;
}

/* Instagram handle — shown under name */
.ppl-instagram {
  display: block;
  font-size: var(--text-meta);
  font-weight: 400;
  opacity: 0.6;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
  text-decoration: none;
}
.ppl-instagram:hover {
  text-decoration: underline;
}

/* EXTERNAL label (admin only) */
.ppl-external {
  font-size: var(--text-sm);
  opacity: 0.4;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05vw;
}

/* Search bar */
.ppl-search-wrap {
  margin-bottom: 2vw;
}

.ppl-search {
  width: 100%;
  font-size: var(--text-body);
  padding: 0.6vw 1vw;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  outline: none;
  opacity: 0.6;
}

.ppl-search:focus {
  opacity: 1;
}

.ppl-search::placeholder {
  opacity: 0.4;
}

/* Search results */
.ppl-search-results {
  margin-bottom: 2vw;
}

.ppl-search-row {
  font-size: var(--text-lg);
  line-height: 1.29;
  letter-spacing: -0.125vw;
  display: flex;
  align-items: center;
  gap: 0.5vw;
  padding: 0.2vw 0;
}

.ppl-search-row a {
  text-decoration: none;
}

.ppl-search-row a:hover {
  text-decoration: underline;
}

.ppl-search-role {
  font-size: var(--text-card);
  opacity: 0.5;
  text-transform: uppercase;
  margin-left: 0.5vw;
}

.ppl-no-results {
  font-size: var(--text-nav);
  opacity: 0.4;
}

/* Load More button */
.ppl-load-more {
  display: block;
  margin-top: 0.8vw;
  padding: 0.4vw 1.2vw;
  font-size: var(--text-card);
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05vw;
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  cursor: pointer;
  opacity: 0.6;
}

.ppl-load-more:hover {
  opacity: 1;
}

/* ============================================
   People Page — Tablet (769px to 1024px)
   ============================================ */

@media (min-width: 769px) and (max-width: 1024px) {
  .ppl-grid {
    gap: 2vw;
  }

  .ppl-section-title {
    font-size: 2vw;
  }

  .ppl-name {
    font-size: 2vw;
  }

  .ppl-staff-title {
    font-size: 1.2vw;
  }

  .ppl-thumb {
    width: 2.5vw;
    height: 2.5vw;
  }

  .ppl-search {
    font-size: 1.8vw;
  }
}

/* ============================================
   People Page — Mobile (max 768px)
   ============================================ */

@media (max-width: 768px) {

  .ppl-grid {
    margin-top: 16px;
    flex-direction: column;
    gap: 0;
  }

  .ppl-section {
    margin-bottom: 24px;
  }

  .ppl-section-title {
    font-size: 26px;
    line-height: 22px;
    letter-spacing: -0.44px;
    margin-bottom: 4px;
  }

  .ppl-name {
    font-size: 26px;
    line-height: 30px;
    letter-spacing: -0.44px;
    gap: 8px;
  }

  .ppl-thumb {
    width: 28px;
    height: 28px;
  }

  .ppl-external {
    font-size: 11px;
  }

  .ppl-staff-title {
    font-size: 11px;
  }

  .ppl-instagram {
    font-size: 14px;
  }

  .ppl-search-wrap {
    margin-bottom: 16px;
  }

  .ppl-search {
    font-size: 18px;
    padding: 10px 14px;
  }

  .ppl-search-row {
    font-size: 22px;
    letter-spacing: -0.3px;
    gap: 8px;
    padding: 4px 0;
  }

  .ppl-search-role {
    font-size: 12px;
    margin-left: 4px;
  }

  .ppl-no-results {
    font-size: 16px;
  }

  .ppl-load-more {
    margin-top: 10px;
    padding: 8px 16px;
    font-size: 13px;
    letter-spacing: 0.5px;
  }
}
