/* marquee container */
.marquee-outer {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
}
.marquee-track:focus {
  outline: none;
}

/* chip/card */
.founder-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.6rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  flex: 0 0 auto;
  min-width: 150px;
  max-width: 260px;
}
/* image */
.founder-photo {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
}
.founder-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  flex-shrink: 0;
  font-size: 1.05rem;
}

/* text: allow wrapping, but limit lines to 2 to avoid huge chips */
.founder-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  overflow: hidden;
}
.founder-name {
  font-weight: 600;
  color: #111827;
  font-size: 0.95rem;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.founder-pos {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* visual niceties */
.marquee-outer::-webkit-scrollbar {
  height: 8px;
} /* optional scrollbar styling for horizontal */
@media (max-width: 767px) {
  .founder-chip {
    min-width: 140px;
    max-width: 220px;
    gap: 0.5rem;
    padding: 0.45rem 0.6rem;
  }
  .founder-photo,
  .founder-placeholder {
    width: 56px;
    height: 56px;
  }
}
