/* ── Sift Team — Front-end Card Styles ── */

.st-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Each card fills its grid cell */
.st-member-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  padding: 32px 24px 28px;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.st-member-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}

/* ── Avatar ── */
.st-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid #f2f2f0;
  transition: border-color 0.2s;
}
.st-member-card:hover .st-avatar {
  border-color: #f59c28;
}
.st-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Initials fallback */
.st-avatar.st-avatar-initials {
  background: #f2f2f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Titillium Web', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #f59c28;
}
.st-member-card:hover .st-avatar.st-avatar-initials {
  border-color: #f59c28;
  background: #fef3e2;
}

/* ── Name ── */
.st-member-name {
  font-family: 'Titillium Web', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

/* ── Role ── */
.st-member-role {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #777777;
  line-height: 1.4;
  margin-bottom: 14px;
}

/* ── LinkedIn button ── */
.st-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #f2f2f0;
  color: #777777;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s, color 0.15s;
}
a.st-linkedin:hover {
  background: #f59c28;
  color: #1a1a1a;
}
.st-linkedin-empty {
  opacity: 0.3;
  cursor: default;
}

/* ── RESPONSIVE ── */

/* Tablet: 2 cards per row */
@media (max-width: 900px) {
  .st-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 card per row */
@media (max-width: 540px) {
  .st-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
