.mentor-slider-section {
  position: relative;
  padding: 8rem 0 7rem 0;
  background: #290945;
}

.mentor-slider__inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0;
}

.mentor-slider__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.mentor-slider__title {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.2;
}

.mentor-slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.mentor-slider::-webkit-scrollbar {
  display: none;
}

.mentor-slider.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
  -webkit-user-select: none;
}

.mentor-slider__track {
  display: flex;
  gap: 1.5rem;
}

.mentor-slider__item {
  flex: 0 0 85%;
  scroll-snap-align: start;
}

/* Slider: von links/rechts horizontal */

.mentor-slider__item {
	opacity: 0;
	transform: translateX(32px);
	transition:
		opacity 0.7s ease,
		transform 0.7s ease;
}

.mentor-slider__item.is-visible {
	opacity: 1;
	transform: translateX(0);
}

/* Grid: von unten nach oben */

.mentor-grid .mentor-card,
.mentor-archive .mentor-card,
.mentor-list .mentor-card {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.7s ease,
		transform 0.7s ease;
}

.mentor-grid .mentor-card.is-visible,
.mentor-archive .mentor-card.is-visible,
.mentor-list .mentor-card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.motion-disabled .mentor-slider__item,
.motion-disabled .mentor-grid .mentor-card,
.motion-disabled .mentor-archive .mentor-card,
.motion-disabled .mentor-list .mentor-card {
	opacity: 1;
	transform: none;
	transition: none;
}

@media (min-width: 640px) {
  .mentor-slider__item {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (min-width: 900px) {
  .mentor-slider__item {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media (min-width: 1200px) {
  .mentor-slider__item {
    flex: 0 0 calc(25% - 1.125rem);
  }
}

.mentor-slider__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  line-height: 0;
  color: #000;
}

.mentor-slider__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex: 0 0 2rem;
  line-height: 0;
  transition: transform 0.2s ease;
}

.mentor-slider__button:hover .mentor-slider__icon,
.mentor-slider__button:focus-visible .mentor-slider__icon {
  transform: scale(1.35);
}

.mentor-slider__icon svg {
  display: block;
  width: 2rem;
  height: 2rem;
}

.mentor-slider__icon svg,
.mentor-slider__icon svg * {
  fill: #fff;
}

.mentor-slider__button--prev {
  left: calc(50% - 670px - 5.5rem);
}

.mentor-slider__button--next {
  right: calc(50% - 670px - 5.5rem);
}

@media (max-width: 1390px) {
  .mentor-slider__button--prev {
    left: 0.5rem;
  }

  .mentor-slider__button--next {
    right: 0.5rem;
  }
}

@media (max-width: 1440px) {
  .mentor-slider__button {
    display: none;
  }

  .mentor-slider-section {
  padding: 8rem 0 7rem 1.5rem;
  }
}

.mentor-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  color: #000;
  border-radius: 5px;
}

.mentor-card__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f3f3;
}

.mentor-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.mentor-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  flex: 1 1 auto;
  min-height: 0;
}

.mentor-card__title {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.2;
}

.mentor-card__excerpt p {
  margin: 0;
  font-size: 1rem;
  padding-bottom: 0.5rem;
}

.mentor-card__points {
  margin: 0;
  padding-left: 0rem;
  font-size: 1rem;
}

.mentor-card__points li {
  list-style: none;
  background: #824efb;
  border-radius: 5px;
  padding: 0.5rem;
  text-transform: uppercase;
  color: #fff;
}

.mentor-card__point + .mentor-card__point {
  margin-top: 0.5rem;
}

.mentor-card__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  justify-content: center;
  padding-top: 1.5rem;
}

.mentor-card__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.mentor-card__social-link:hover,
.mentor-card__social-link:focus {
  background: #eea8e9;
  border-color: #eea8e9;
  transform: translateY(-1px);
}

.mentor-card__social-icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
}

.mentor-card__social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mentor-slider__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.mentor-slider__dot {
  width: 1rem;
  height: 1rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background-color 0.2s ease;
  opacity: 1;
}

.mentor-slider__dot:hover,
.mentor-slider__dot:focus {
  background: #eea8e9;
  transform: scale(1.1);
  outline: none;
}

.mentor-slider__dot.is-active {
  background: #eea8e9;
  transform: scale(1.15);
}

@media (max-width: 1440px) {
  .mentor-slider-section {
  padding: 8rem 1.5rem 7rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .mentor-slider-section {
  padding: 4rem 0 3rem 1.5rem;
  }
}