.join-the-team {
  overflow: hidden;
  background: linear-gradient(0deg, #F0F8F8 0%, #F0F8F8 100%);
}

.join-the-team .container {
  display: flex;
}

.join-the-team__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 495px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin: 67px 0;
}

.join-the-team__title {
  margin: 0 0 12px;
  font-family: HarlowDuoSerifPlain, serif;
  font-size: 42px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 58.8px */
  color: var(--Primary-teal);
  letter-spacing: 1.26px;
}

.join-the-team__subtitle {
  margin: 0 0 36px;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 162%; /* 25.92px */
  color: var(--Neutral-50, #363636);
}


.join-the-team__image-wrapper {
  position: relative;
  flex: 1 1 auto;
}

.join-the-team__image-wrapper:after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -2px;
  z-index: 1;
  width: 46%;
  height: 100%;
  pointer-events: none;
  content: '';
  background: linear-gradient(90deg, #F0F8F8 6%, rgba(240, 248, 248, 0.63) 64%, rgba(240, 248, 248, 0.00) 100%);
}

.join-the-team__image {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + (100vw - 100%) / 2);
  min-width: calc(50vw + 135px);
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media screen and (max-width:1280px) {
  .join-the-team__image {
    width: calc(100% + 20px);
    min-width: calc(100% + 20px);
  }
}

@media (max-width: 1024px) {
  .join-the-team__content {
    flex: 0 0 45%;
  }

  .join-the-team__title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .join-the-team {
    position: relative;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    min-height: 440px;
    aspect-ratio: 9 / 11;
  }

  .join-the-team .container {
    align-items: center;
  }

  .join-the-team__content {
    flex: 0 0 auto;
  }

  .join-the-team__title {
    max-width: 213px;
    margin: 0 0 4px;
    font-size: 24px;
  }

  .join-the-team__subtitle {
    max-width: 175px;
    margin: 0 0 24px;
    font-size: 12px;
    line-height: 1.5;
  }

  .join-the-team__image-wrapper {
    position: absolute;
    top: 50%;
    right: 0;
    width: 77%;
    height: calc(100% - 2px);
    transform: translateY(-50%);
  }

  .join-the-team__image-wrapper:after {
    background: linear-gradient(90deg, #F0F8F8 6%, rgba(240, 248, 248, 0.63) 64%, rgba(240, 248, 248, 0.00) 100%);
  }

  .join-the-team__image {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .join-the-team .btn {
    min-width: initial;
    padding: 12px 20px;
  }
}
