/* Mentor lineup below the review banner; all portrait surfaces are monochrome. */
.main-mentors {
  padding: 140px 0;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 70% 50% at 50% 0%,
      rgb(255 56 53 / 10%),
      transparent 70%
    ),
    #050507;
  color: #fff;
  font-family: techupSans, Arial, sans-serif;
}
.main-mentors-heading {
  margin: 0;
  padding: 0 24px;
  text-align: center;
  font-size: 40px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.main-mentors-heading strong {
  display: block;
  font-weight: 700;
}
.main-mentor-rows {
  display: grid;
  gap: 40px;
  margin-top: 60px;
}
.main-mentor-row {
  width: 100%;
  overflow: hidden;
}
.main-mentor-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: main-mentors-left 60s linear infinite;
}
.main-mentor-row[data-direction="right"] .main-mentor-track {
  animation-name: main-mentors-right;
}
.main-mentor-group {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 16px;
  padding-right: 16px;
}
.main-mentor-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 0 360px;
  width: 360px;
  min-height: 282px;
  padding: 24px;
  border-radius: 24px;
  background: #292930;
}
.main-mentor-quote {
  margin: 0;
  color: #ff0000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.03em;
}
.main-mentor-body {
  flex: 1;
  margin: 0;
  color: #9c9eaa;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.04em;
}
.main-mentor-divider {
  display: block;
  flex: 0 0 1px;
  height: 1px;
  background: rgb(255 255 255 / 8%);
}
.main-mentor-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
}
.main-mentor-avatar {
  display: block;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(150deg, #c9c9c9 3%, #666 91%);
  filter: grayscale(1);
}
.main-mentor-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.main-mentor-person {
  min-width: 0;
}
.main-mentor-name {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.main-mentor-role {
  margin: 2px 0 0;
  color: #9c9eaa;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.04em;
  white-space: normal;
  overflow-wrap: anywhere;
}
.main-mentor-role i {
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 5px;
  background: #656565;
  vertical-align: -1px;
}
@keyframes main-mentors-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% / 3));
  }
}
@keyframes main-mentors-right {
  from {
    transform: translateX(calc(-100% / 3));
  }
  to {
    transform: translateX(0);
  }
}
@media (hover: hover) {
  .main-mentor-row:hover .main-mentor-track {
    animation-play-state: paused;
  }
}
.main-mentor-row:focus-within .main-mentor-track {
  animation-play-state: paused;
}
.main-mentor-row:focus-visible {
  outline: 2px solid #b3b3be;
  outline-offset: -2px;
}
@media (max-width: 700px) {
  .main-mentors {
    padding: 76px 0;
  }
  .main-mentors-heading {
    font-size: 28px;
    line-height: 1.4;
  }
  .main-mentor-rows {
    margin-top: 36px;
    gap: 20px;
  }
  .main-mentor-group {
    gap: 12px;
    padding-right: 12px;
  }
  .main-mentor-card {
    flex-basis: 280px;
    width: 280px;
    min-height: 300px;
    padding: 20px;
    gap: 14px;
    border-radius: 18px;
  }
  .main-mentor-quote {
    font-size: 14px;
  }
  .main-mentor-body {
    font-size: 12px;
    line-height: 1.6;
  }
  .main-mentor-avatar {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
  .main-mentor-profile {
    min-height: 48px;
  }
  .main-mentor-name {
    font-size: 13px;
  }
  .main-mentor-role {
    font-size: 11.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .main-mentor-row {
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
  .main-mentor-track {
    animation: none;
    transform: none;
  }
  .main-mentor-group[aria-hidden="true"] {
    display: none;
  }
  .main-mentor-card {
    scroll-snap-align: start;
  }
}
