/* ─── Hero ────────────────────────────────────────────── */
.mentor-header {
  height: 26rem;
  width: 100%;
  background-position: center;
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.72);
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
}

.mentor-header .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-end;
  padding-bottom: 3.5rem;
}

.mentor-header .content {
  max-width: 860px;
}

.mentor-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
}

.mentor-header h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  font-weight: 700;
}

/* ─── Section header ──────────────────────────────────── */
.mentors-header {
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  max-width: 760px;
  border-bottom: 1px solid #d8d8d8;
  margin-bottom: 2.5rem;
}

.mentors-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary-color);
  margin-bottom: 0.7rem;
}

.mentors-header h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.3;
  color: #121212;
}

/* ─── Grid ────────────────────────────────────────────── */
.mentors .list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #d3d3d3;
  border: 1px solid #d3d3d3;
  margin-bottom: 4rem;
}

/* ─── Card ────────────────────────────────────────────── */
.mentors .list .mentor {
  background: #fff;
  display: flex;
  flex-direction: column;
}

.mentor-img-wrap {
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.mentors .list .mentor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.mentors .list .mentor:hover img {
  transform: scale(1.04);
}

.mentors .list .mentor .info {
  padding: 0.75rem 0.9rem;
  border-top: 2px solid var(--primary-color);
  background: #ffffff;
  flex: 1;
}

.mentors .list .mentor .info h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.mentors .list .mentor .info p {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.4;
}

/* ─── CTA ─────────────────────────────────────────────── */
.mentor-cta {
  border-top: 1px solid #d8d8d8;
  background: linear-gradient(180deg, #f5fbff 0%, #ffffff 100%);
  padding: 4rem 0;
}

.mentor-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
  border: 1px solid #d3d3d3;
  padding: 2rem;
  background: #fff;
}

.mentor-cta__text .mentors-tagline {
  margin-bottom: 0.5rem;
}

.mentor-cta__text h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #111;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.mentor-cta__text p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  max-width: 680px;
}

.mentor-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  padding: 0.85rem 1.3rem;
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--primary-color);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.mentor-cta__btn:hover {
  background: #2b8cca;
  border-color: #2b8cca;
}

/* ─── Responsive ──────────────────────────────────────── */
@media only screen and (max-width: 1200px) {
  .mentors .list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media only screen and (max-width: 900px) {
  .mentors .list {
    grid-template-columns: repeat(3, 1fr);
  }

  .mentor-cta__inner {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 640px) {
  .mentors .list {
    grid-template-columns: repeat(2, 1fr);
  }

  .mentor-header {
    height: 22rem;
  }

  .mentor-cta__inner {
    padding: 1.2rem;
  }
}

@media only screen and (max-width: 400px) {
  .mentors .list {
    grid-template-columns: 1fr;
  }
}
