/**
 * Mentors Section - EXACT copy from Flip Plugin GSAP - Horizontal Scroll Lenis/style.css
 */

.section-mentors {
  position: relative;
  background-color: #010101;
  padding-top: 14rem;
}

.section-mentors .mentors-title {
  position: absolute;
  top: 10rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Fira Sans', var(--font-primary), sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 10;
  margin: 0 0 3rem 0;
}

.section-mentors img {
  object-fit: cover;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: inline-block;
  vertical-align: middle;
}

.section-mentors .gallery_image:nth-child(odd) {
  transform: translateY(30%);
}

.section-mentors .gallery_image:nth-child(even) {
  transform: translateY(-30%);
}

.section-mentors .paragraph {
  width: 100%;
  display: block;
  white-space: normal;
}

.section-mentors .line,
.section-mentors .word,
.section-mentors .line-wrap,
.section-mentors .char-wrap {
  overflow: hidden;
}

.section-mentors .line-wrap,
.section-mentors .char-wrap {
  display: inline-block;
}

.section-mentors .content:nth-child(even) .content_title-top {
  justify-content: flex-end;
}

.section-mentors .content:nth-child(even) .content_title-bottom {
  justify-content: flex-start;
}

.section-mentors .content:nth-child(even) .content_text-left {
  justify-content: flex-start;
}

.section-mentors .content:nth-child(even) .content_text-right {
  justify-content: flex-end;
}

.section-mentors .section_content {
  display: none;
}

.section-mentors .section_content:not(.is-hidden) {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  background: #010101;
}

.section-mentors .section_content.is-hidden {
  z-index: 0;
}

.section-mentors .content_wrapper {
  aspect-ratio: 16 / 9;
  cursor: pointer;
  width: 50vw;
  position: relative;
}

.section-mentors .title-small {
  text-transform: uppercase;
  font-family: var(--font-primary), Tahoma, sans-serif;
  font-size: clamp(.9rem, .9vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  overflow: hidden;
}

.section-mentors .content {
  position: absolute;
  top: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  display: flex;
}

.section-mentors .gallery {
  grid-column-gap: 7.5vw;
  grid-row-gap: 7.5vw;
  flex-flow: row;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-items: center;
  height: 100%;
  display: flex;
}

.section-mentors .gallery_image {
  aspect-ratio: auto;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-mentors .gallery_image .image_container {
  aspect-ratio: 1;
  height: 45vh;
}

/* Mentor name and position */
.section-mentors .mentor-info {
  text-align: center;
  padding: 1.5rem 0.5rem;
  opacity: 0.9;
}

.section-mentors .mentor-name {
  font-family: var(--font-primary), Tahoma, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.4rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem 0;
  letter-spacing: 0.02em;
}

.section-mentors .mentor-position {
  font-family: var(--font-primary), Tahoma, sans-serif;
  font-size: clamp(0.75rem, 0.9vw, 1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-mentors .scroll-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  top: 0;
  overflow: hidden; /* Hidden for ScrollTrigger transform animation */
}

.section-mentors .content_text-right {
  grid-column-gap: .5rem;
  grid-row-gap: .5rem;
  flex-flow: column;
  width: 17vw;
  height: 100%;
  padding-top: 2.5em;
  padding-bottom: 2.5em;
  padding-left: 1em;
  display: flex;
  position: absolute;
  left: 100%;
}

.section-mentors .content_text-left {
  grid-column-gap: .25rem;
  grid-row-gap: .25rem;
  text-align: right;
  flex-flow: column;
  justify-content: flex-end;
  align-items: flex-end;
  width: 17vw;
  height: 100%;
  padding-top: 2.5em;
  padding-bottom: 2.5em;
  padding-right: 1em;
  display: flex;
  position: absolute;
  right: 100%;
}

.section-mentors .content_title-top {
  color: #fff;
  justify-content: flex-start;
  align-items: center;
  width: 105%;
  margin-left: 2em;
  display: flex;
  position: absolute;
  bottom: calc(100% - 1.5vw);
}

.section-mentors .content_title-bottom {
  color: #fff;
  justify-content: flex-end;
  align-items: center;
  width: 105%;
  margin-left: 2em;
  display: flex;
  position: absolute;
  top: calc(100% - 1.75vw);
  left: 0%;
}

.section-mentors .title-big {
  color: #fff;
  font-family: var(--font-primary), Tahoma, sans-serif;
  font-size: 6vw;
  line-height: .8em;
}

.section-mentors .scroll-content {
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  height: 100%;
  padding-left: 35vw;
  padding-right: 35vw;
  display: flex;
  will-change: transform;
}

.section-mentors .image_container {
  width: 100%;
  height: 100%;
}

.section-mentors .is-hidden {
  visibility: hidden;
}

.section-mentors .paragraph {
  font-size: clamp(.9rem, .9vw, 2.5rem);
  line-height: 1.1;
  overflow: hidden;
}

@media screen and (max-width: 1024px) {
  .section-mentors .content_text-right,
  .section-mentors .content_text-left {
    width: 18vw;
  }

  .section-mentors .gallery_image .image_container {
    height: 40vh;
  }
}

@media screen and (max-width: 900px) {
  .section-mentors .content_text-right,
  .section-mentors .content_text-left {
    width: 20vw;
  }

  .section-mentors .gallery_image .image_container {
    height: 38vh;
    max-height: 350px;
  }

  .section-mentors .content_wrapper {
    width: 65vw;
  }
}

@media screen and (max-width: 768px) {
  .section-mentors {
    padding-top: 10rem;
  }

  .section-mentors .mentors-title {
    top: 6rem;
    font-size: clamp(1.25rem, 4vw, 1.75rem);
  }

  .section-mentors .content_wrapper {
    width: 85vw;
  }

  .section-mentors .gallery {
    grid-column-gap: 5vw;
  }

  .section-mentors .gallery_image {
    width: 60vw;
    height: auto;
  }

  .section-mentors .gallery_image:nth-child(odd),
  .section-mentors .gallery_image:nth-child(even) {
    transform: translateY(0);
  }

  .section-mentors .gallery_image .image_container {
    height: 40vh;
    max-height: 300px;
  }

  .section-mentors .scroll-content {
    padding-left: 20vw;
    padding-right: 20vw;
  }

  .section-mentors .mentor-info {
    padding: 1rem 0.25rem;
  }

  .section-mentors .mentor-name {
    font-size: 0.9rem;
  }

  .section-mentors .mentor-position {
    font-size: 0.7rem;
  }

  .section-mentors .content_text-right,
  .section-mentors .content_text-left {
    display: none;
  }

  .section-mentors .content_title-top,
  .section-mentors .content_title-bottom {
    width: 100%;
    margin-left: 0;
  }

  .section-mentors .title-big {
    font-size: 10vw;
  }
}

@media screen and (max-width: 480px) {
  .section-mentors .gallery_image {
    width: 70vw;
  }

  .section-mentors .gallery_image .image_container {
    height: 35vh;
    max-height: 250px;
  }

  .section-mentors .scroll-content {
    padding-left: 15vw;
    padding-right: 15vw;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .section-mentors .gallery_image {
    transform: none !important;
  }
}
