.header {
  height: auto;
}

.header__nav {
  padding-bottom: 12px;
}

.header__nav__nav-links {
  border-bottom: none;
}

.team-section {
  background-color: var(--text-color);
  color: var(--background-color);
}

.team-section__content {
  width: 50%;
}

.team-section__text p {
  margin-bottom: 20px;
}

/* Extra large: xl	 */
@media (max-width: 1399px) {
  .team-section__content {
    padding-right: 16px;
  }

  .team-section__content h2:nth-child(2) {
    padding-left: 40px;
  }

  .team-section__text {
    padding-left: 60px;
  }

  .approach-section__content {
    padding-bottom: 100px;
  }
}

/* Extra Large: lg	 */
@media (max-width: 1199px) {
  .team-section__content {
    padding-right: 24px;
  }

  .team-section__title {
    display: flex;
    flex-direction: row;
  }

  .team-section__content h2:nth-child(2) {
    padding-left: 10px;
  }

  .team-section__text {
    padding-left: 0;
  }

  .team-section__image {
    aspect-ratio: 2.5/3;
    border-radius: 0;
  }

  .team-section::after {
    display: none;
  }

  .approach-section:after {
    position: absolute;
    content: "";
    background: var(--background-color);
    height: 100px;
    left: 0;
    right: 0;
    top: calc(100% - 100px);
  }
}

/* Extra Medium: md	 */
@media (max-width: 991px) {
  .team-section {
    display: flex;
    flex-direction: column-reverse;
  }

  .team-section__image {
    aspect-ratio: 16/9;
    border-radius: 0;
    width: 100%;
    background-position: center -36px;
  }

  .team-section__content {
    width: 100%;
    padding: var(--body-margin) 0;
  }

  .team-section__title,
  .team-section__text {
    padding-left: var(--body-margin);
    padding-right: var(--body-margin);
  }

  .approach-section__content h2 span {
    display: block;
  }

  .approach-section:after {
    position: absolute;
    content: "";
    background: var(--background-color);
    height: 140px;
    left: 0;
    right: 0;
    top: calc(100% - 140px);
  }
}

/* Extra Small: sm	 */
@media (max-width: 767px) {
  .approach-section__content {
    border-top-left-radius: 25%;
    border-top-right-radius: 25%;
  }
}

/* Extra small */
@media (max-width: 576px) {
}

@media (max-width: 480px) {
  .approach-section__content {
    border-top-left-radius: 20%;
    border-top-right-radius: 20%;
  }
}
