.team--container {
    padding: 0 16px;
}

@media screen and (min-width: 1280px) {
    .team--container {
        padding: 0;
    }
}

.team--header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
    max-width: 800px;
}

@media screen and (min-width: 1024px) {
    .team--header {
        gap: 40px;
        margin-bottom: 80px;
    }
}

.team--content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
    .team--content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 38px;
        margin-bottom: 80px;
    }
}

.team--item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media screen and (min-width: 768px) {
    .team--item {
        width: calc(50% - 32px);
    }
}

@media screen and (min-width: 1024px) {
    .team--item {
        flex: 0 1 280px;
    }
}

.team--item .picto {
    width: 64px;
    height: 64px;
    display: flex;
    position: relative;
  }
  
.team--item .picto::after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    object-fit: contain;
    background-color: var(--yellow);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

.team--item h3 {
    font-family: var(--bebas);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    text-transform: uppercase;
  }
  
  @media screen and (min-width: 1281px) {
    .team--item h3 {
      font-size: 2rem;
    }
  }

.team--footer {
    padding-top: 56px;
    border-top: 1px solid var(--grey);
    font-size: 1.25rem;
}

@media screen and (min-width: 1024px) {
    .team--footer {
        display: flex;
        justify-content: space-between;
    }
}

.team--footer p {
    max-width: 640px;
}

.team--footer .btn {
    margin-top: 24px;
}

@media screen and (min-width: 1024px) {
    .team--footer .btn {
        margin-top: 0;
    }
}