.team-view {
  position: relative;
  isolation: isolate;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 638px);
  gap: 46px;

  padding: 48px 24px;
}

.team-view::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--color-light-blue);
  z-index: -1;
}

.team-view::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 100%;
  opacity: 0.3;
  background: repeating-linear-gradient( to bottom, var(--color-indigo) 0 12px, transparent 12px 24px );
}

/* Left column */

.team-view__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.team-view__title {
  margin: 0 0 24px;

  font-size: 40px;
  font-weight: 600;
  line-height: 130%;
  color: var(--color-black);

  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  text-decoration-color: var(--color-information);
}

.team-view__description {
  max-width: 612px;

  font-size: 18px;
  line-height: 140%;
  font-weight: 500;
  color: var(--color-neutral-700);
}

.team-view__footer {
  margin-top: 48px;
}

.team-view__footer-description {
  max-width: 612px;
  margin-bottom: 24px;

  font-size: 18px;
  line-height: 140%;
  font-weight: 500;
  color: var(--color-neutral-700);
}

.team-view__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Right column */

.team-view__cards {
  min-width: 0;
}

.team-view__cards > .field__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-view__cards > .field__items > .field__item {
  min-width: 0;
}

/* Card */
.team-view {
  .path-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 308px);
    align-items: center;
    gap: 20px;

    min-height: 123px;
    padding: 16px 20px;

    background: var(--color-white-main);
    border-radius: 4px;
  }

  .path-card__ttl {
    margin: 0;

    font-size: 24px;
    font-weight: 600;
    line-height: 120%;
    color: var(--color-black);
  }

  .path-card__img {
    min-width: 0;
    max-height: 91px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--color-white-secondary);
    width: 100%;

    img {
      max-height: 91px;
      width: auto;
    }
  }
}

@media (max-width: 1399.98px) {
  .team-view .path-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* max-width: 348px; */
    align-items: flex-start;
  }
}


/* Tablet */

@media (max-width: 1199.98px) {
  .team-view {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: 32px;

    .path-card {
      grid-template-columns: minmax(0, 1fr) minmax(0, 220px);
      gap: 16px;
    }

    .path-card__title {
      font-size: 20px;
    }
  }
}

@media (max-width: 991.98px) {
  .team-view {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
}

/* Mobile */

@media (max-width: 767.98px) {
  .team-view {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 1rem;
  }

  .team-view__title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .team-view__description,
  .team-view__footer-description {
    font-size: 16px;
  }

  .team-view__footer {
    margin-top: 32px;
  }

  .team-view__footer-description {
    margin-bottom: 20px;
  }

  .team-view__actions {
    gap: 12px;
  }

  .team-view__cards > .field__items {
    gap: 12px;
  }

  /* .team-view-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 140px);
    min-height: 100px;
    padding: 12px 16px;
    gap: 12px;
  }

  .team-view-card__title {
    font-size: 18px;
  }

  .team-view-card__image img {
    height: 76px;
  } */
}

@media (max-width: 479.98px) {
  .team-view {
    /* .path-card {
      grid-template-columns: minmax(0, 1fr) minmax(0, 110px);
    } */

    .path-card__title {
      font-size: 16px;
    }

    .path-card__image img {
      height: 68px;
    }
  }
  
}