/* LECTURERS LAYOUT */
.homepage-lecturers {
  overflow: hidden;

  .view-persons-public-blocks-db {
    width: calc(100% - 30px);
  }

  /* The view now renders a Splide carousel (carousel-style-2); let Splide
     size the track/slides instead of forcing a flat horizontal flex grid. */
  .splide__slide {
    height: auto;
  }
  .card.card-person {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .homepage-lecturers__footer {
    margin-top: 3rem;
  }
}

/* CAROUSEL LAYOUT */
.homepage-lecturers {
  .splide__track {
    overflow: visible;
  }
}

/* LECTURERS BLOCK */
.homepage-lecturers {
  background-color: #e7ebfa;
  background-image: url(../../images/decoration/bg-light-blue.png);
  background-repeat: repeat;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.homepage-lecturers .homepage-lecturers__title {
  font-size: 2.5rem;
  font-weight: 500;
}

@media (min-width: 992px) {
  .homepage-lecturers .homepage-lecturers__title {
    font-size: 3rem;
  }
}

.homepage-lecturers__head {
  margin-bottom: 2rem;
}

/* Title + CTA link share the same style as the news section header. */

.homepage-lecturers__text {
  max-width: 48rem;
  margin-bottom: 0;
}

.homepage-lecturers__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #fff;
  color: #1f66da;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 1.25rem;
  border-radius: 0;
  margin-top: 1.5rem;
  background-color: transparent;
  span {
    font-weight: 700;
  }
}

.homepage-lecturers__cta-icon {
  width: 26px;
  height: 26px;
  fill: currentColor;
  position: relative;
  top: -3px;
}

.homepage-lecturers .homepage-lecturers__cta {
  margin-top: 0;
  padding-left: 0;
  padding-top: 0;
  margin-bottom: 1rem;
}

@media (min-width: 1200px) {
  .homepage-lecturers {
    overflow: hidden;

    .splide__track {
      width: 100%;
    }
  }
}
