/* Board & Staff — editorial single-column layout on the /board-and-staff/ page.
   Each member is a row: photo left (circular), name/role/bio stacked right.
   Bios vary a lot in length, so a vertical stack copes better than a grid. */

.gh-board-section {
  max-width: 900px;
  margin: 0 auto 2rem;
}

.gh-board-section + .gh-board-section {
  margin-top: 3rem;
}

.ast-container .gh-board-section-title,
.gh-board-section-title {
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gh-text, #1a1a1a);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gh-border, #d8cdc5);
}

.gh-board-list {
  padding: 0;
}

.gh-board-member {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gh-border, #d8cdc5);
  align-items: start;
}

.gh-board-member:first-child {
  padding-top: 0;
}

.gh-board-member:last-child {
  border-bottom: none;
}

.gh-board-photo {
  width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gh-border, #d8cdc5);
  position: relative;
}

.gh-board-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Anchor tall portrait headshots at the top so heads don't get cropped
     out when the image is cover-fit into the circular frame. */
  object-position: center top;
  display: block;
}

.gh-board-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d8cdc5 0%, #c9baaf 100%);
  color: #7a6f65;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  font-weight: 300;
}

.gh-board-body {
  min-width: 0;
}

.ast-container .gh-board-name,
.gh-board-name {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--gh-text, #1a1a1a);
  margin: 0 0 0.35rem;
}

.gh-board-role {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gh-text-light, #666);
  margin: 0 0 1rem;
}

.gh-board-bio {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gh-text, #1a1a1a);
  position: relative;
}

.gh-board-bio p {
  margin: 0 0 1rem;
}

.gh-board-bio p:last-child {
  margin-bottom: 0;
}

/* Collapsed state: clamp to ~4 lines and fade the last line so it's clear
   the text continues. Applied server-side on bios over the threshold. */
.gh-board-bio.is-collapsed {
  max-height: calc(1.7em * 4);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}

.gh-board-bio-toggle,
.gh-board-bio-toggle:hover,
.gh-board-bio-toggle:focus,
.gh-board-bio-toggle:active {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0 0 2px;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--gh-border, #d8cdc5) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--gh-text-light, #666) !important;
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  outline: none;
}

.gh-board-bio-toggle:hover,
.gh-board-bio-toggle:focus-visible {
  color: var(--gh-text, #1a1a1a) !important;
  border-bottom-color: var(--gh-text, #1a1a1a) !important;
}

.gh-board-empty {
  text-align: center;
  color: var(--gh-text-light, #666);
  font-style: italic;
  padding: 3rem 0;
}

@media (max-width: 720px) {
  .gh-board-member {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }
  .gh-board-photo {
    width: 140px;
  }
  .gh-board-name {
    font-size: 1.35rem;
  }
}
