.tms-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.tms-wrap.tms-dragging {
  cursor: grabbing;
}
.tms-wrap.tms-has-arrows {
  padding: 0 40px;
}

.tms-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  padding: 4px 0 24px 4px;
  will-change: transform;
}

.tms-card {
  flex: 0 0 380px;
  width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
  background-color: #ffffff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.tms-avatar-wrap {
  margin-bottom: 16px;
}

.tms-thumb {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: auto;
  flex-shrink: 0;
}
.tms-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
}

.tms-name {
  font-family: Georgia, 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: #1c1c1c;
  margin-bottom: 6px;
}

.tms-role {
  font-size: 13px;
  line-height: 1.3;
  color: #8a8a8a;
  margin-bottom: 8px;
}

.tms-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 16px;
  line-height: 1;
  margin-bottom: 14px;
}
.tms-star {
  display: inline-block;
}
.tms-star.is-filled {
  color: #f5a623;
}
.tms-star.is-empty {
  color: #e2e2e2;
}

.tms-quote {
  margin-top: 4px;
  text-align: center;
}
.tms-quote p {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: #555555;
}

/* ---- Nav arrows ---- */
.tms-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  background: transparent;
  color: #1c1c1c;
  cursor: pointer;
  z-index: 5;
  transition: color 0.15s ease, transform 0.15s ease;
}
.tms-arrow svg {
  width: 100%;
  height: 100%;
}
.tms-arrow-prev {
  left: 0;
}
.tms-arrow-next {
  right: 0;
}
.tms-arrow:hover {
  color: #f5a623;
}
.tms-arrow:active {
  transform: translateY(-50%) scale(0.9);
}

@media (max-width: 768px) {
  .tms-wrap.tms-has-arrows {
    padding: 0 30px;
  }
}

@media (max-width: 600px) {
  .tms-card {
    flex-basis: 82vw !important;
    width: 82vw !important;
  }
}
