.mentorias-professores {
  width: 100%;
  padding: 72px 0 72px 87px;

  background-image: url('../img/hero-bg.webp');
  background-position: 40% 10%;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  gap: 48px;
}

.mentorias-professores-wrapper,
.mentorias-professores-actions {
  padding-right: 87px;
}

.mentorias-professores-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mentorias-professores-wrapper h2 {
  text-align: center;
  font-size: 44px;
  font-weight: 400;
  line-height: 100%;
  color: white;
}

.mentorias-professores-data {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mentorias-professores-list {
  list-style: none;
  display: flex;
  gap: 32px;
  overflow-x: hidden;
  height: 520px;
}

.mentorias-professores-list .slick-track {
  display: flex;
  gap: 32px;
  padding: 0;
}

.mentorias-professores-item {
  width: 340px;
  min-width: 340px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.mentorias-professores-item-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 43, 0) 32.27%, #070926 83.07%);
}

.mentorias-professores-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentorias-professores-dados-professor {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 0 24px 24px;
  color: white;

  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mentorias-professores-dados-professor h3 {
  font-family: 'Margem-bold';
  font-weight: 700;
  font-size: 24px;
  line-height: 125%;
}

.mentorias-professores-dados-professor p {
  font-family: 'Montserrat';
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
}

.mentorias-professores-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.mentorias-professores-buttons {
  flex: 1;
  display: flex;
  gap: 16px;
}

.mentorias-professores-buttons button,
.mentorias-professores-buttons a {
  max-width: 261px;
}

.mentorias-professores-carousel-buttons {
  display: flex;
  gap: 16px;
}

.mentorias-professores-carousel-buttons button {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: solid 1px #EBECF0;

  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  transition: .3s border-color;
  color: white;
}

.mentorias-professores-carousel-buttons button:hover {
  cursor: pointer;
  border-color: #0067FF;
  color: #0067FF;
}

.mentorias-professores-carousel-buttons button.slick-disabled {
  cursor: not-allowed;
  border-color: #42526E;
  color: #42526E;
}

@media (max-width: 1280px) {
  .mentorias-professores-wrapper h2 br {
    display: none;
  }
}

@media (max-width: 992px) {
  .mentorias-professores-wrapper h2 {
    text-align: left;
  }

  .mentorias-professores-wrapper,
  .mentorias-professores-actions {
    padding-right: 0;
  }

  .mentorias-professores-actions {
    justify-content: center;
    flex-direction: column-reverse;
  }

  .mentorias-professores-buttons {
    flex-wrap: wrap;
  }

  .mentorias-professores-buttons button,
  .mentorias-professores-buttons a {
    max-width: initial;
  }
}

@media (max-width: 768px) {
  .mentorias-professores {
    padding: 72px 16px;
    gap: 40px;
  }

  .mentorias-professores-wrapper h2 {
    font-size: 36px;
  }

  .mentorias-professores-item {
    width: 328px;
    min-width: 328px;
  }
}