.team{
    width: 90%;
    max-width: var(--max-xl-width);
    margin: var(--gutter-section) auto;
}
.team__headline{
    font-size: var(--fs-large);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}
.team__subheadline{
    color: var(--blue);
    font-size: var(--fs-large);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 3rem;
    text-align: center;
}
.team__wrapper{
    display: grid;
    gap:1rem;
}
.team__image{
    width: 100%;
    border-radius: 10px;
}
.team-card__title{
    font-size: var(--fs-medium);
    font-weight: 600;
    text-align: center;
}
.team-card__description{
    color: rgba(0, 0, 0, 0.80);
    font-size: var(--fs-small);
    font-weight: 400;
    opacity: 0.5;
    text-align:center;
}
.team-card__cta{
    width: 270px;
    height: 40px;
    border-radius: 10px;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color:var(--white);
    margin: 1rem auto;
    text-decoration: none;
}
.team-card__cta:hover{
    background: var(--blue);
    color:var(--white);
}
@media (min-width: 768px){
    .team__wrapper > *{
        grid-column: 1 / -1;
        grid-row: 1 / -1;
    }
    .team__image{
        width: 55%;
        margin-bottom: 10rem;
    }
    .team__card{
        border-radius: 20px 0px 0px 20px;
        background: var(--white);
        width: 50%;
        align-self: flex-end;
        justify-self: flex-end;
        padding: 5rem;
        margin-top: 2rem;
    }
    .team-card__title{
        text-align: left;
    }
    .team-card__description{
        text-align: left;
        margin-bottom: 3rem;
    }
}