#meet-our-new-members { padding: 30px 0; scroll-margin-top: 100px; }
#meet-our-new-members h3 { font-size: clamp(32px, 5vw, 54px); margin: 10px 0; }
#meet-our-new-members p { max-width: 68ch; }
.member-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 20px; }
.member-grid figure { margin: 0; background: white; color: #071d49; border-top: 3px solid var(--gold); }
.member-grid button { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.member-grid img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: contain; background: #102749; }
.member-grid figcaption { padding: 8px 10px; font-weight: 700; }
#member-bio-dialog { width: min(94vw,760px); max-height: 94dvh; padding: 12px; border: 0; color: #071d49; background: white; }
#member-bio-dialog::backdrop { background: #020919de; }
#member-bio-dialog header { position: sticky; top: -12px; display: flex; justify-content: space-between; align-items: center; background: white; padding: 8px 0; }
#member-bio-dialog button { padding: 8px 14px; cursor: pointer; }
#member-bio-dialog img { display: block; width: 100%; height: auto; }

@media (max-width: 800px) {
  .member-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .member-grid figure:nth-child(4) { grid-area: 3 / 1; }
  .member-grid figure:nth-child(5) { grid-area: 3 / 2; }
  .member-grid figure:nth-child(9) { grid-area: 4 / 1; }
  .member-grid figure:nth-child(10) { grid-area: 4 / 2; }
}
