section.team {
    padding-bottom: 70px;
}

section.team h2 {
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    color: var(--dark-blue-100);
    margin-bottom: 15px;
}

section.team h3 {
    font-size: 18px; 
    line-height: 1.2;
    text-align: center;
    color: var(--dark-blue-100);
    margin-bottom: 90px;
}

section.team .team__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

section.team .team__member {
    background: var(--dark-blue-100);
    color: #fff;
    padding: 30px;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    gap: 30px;
    flex-direction: column;
}

section.team .team__member img {
    display: block;
    width: calc(100% + 60px);
    margin-top: -30px;
    margin-left: -30px;
    max-width: initial;
    height: 350px;
    object-fit: cover;
    border-radius: 30px 30px 0 0;
}

section.team .team__member h4,
section.team .team__member h5 {
    text-align: center;
    font-weight: bold;
}

section.team .team__member .team__cta {
    display: table;
    width: 100%;
    text-align: center;
    padding: 15px;
    color: #fff;
    font: bold;
    border-radius: 40px;
    background: var(--light-blue-100);
    text-decoration: none;
}

section.team .team__member ul {
    list-style: initial;
    list-style-position: inside;
}


@media all and (max-width: 768px) {
    section.team .container {
        max-width: 90%;
    }
    
    section.team .team__list {
        grid-template-columns: repeat(1, 1fr);
    }
}