/* Member directory — photo + details layout.
   Written as plain CSS (not Tailwind utility classes) because this project's
   compiled stylesheet is a purged build that only contains the utility
   classes used elsewhere on the site; sizes like h-20/h-24/w-20 etc. don't
   exist in it, so they render with no effect. These rules are self-contained
   and theme-aware via the site's existing CSS custom properties. */

.wtap-member {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem 0;
}

.wtap-member__avatar {
  position: relative;
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 0.875rem;
  overflow: hidden;
  background: var(--secondary);
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 0 var(--border);
}

.wtap-member__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wtap-member__avatar-fallback {
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}

.wtap-member__avatar-fallback svg {
  width: 2.125rem;
  height: 2.125rem;
  opacity: 0.55;
}

.wtap-member__body {
  flex: 1 1 auto;
  min-width: 0;
}

.wtap-member__index {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display, inherit);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.wtap-member__grid {
  display: grid;
  gap: 0.75rem 2rem;
}

@media (min-width: 48rem) {
  .wtap-member__grid {
    grid-template-columns: 1fr 18rem;
  }
}

@media (max-width: 639px) {
  .wtap-member {
    gap: 1.125rem;
  }
  .wtap-member__avatar {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
    border-radius: 0.75rem;
  }
  .wtap-member__avatar-fallback svg {
    width: 1.625rem;
    height: 1.625rem;
  }
}
