.team .container {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.team-member {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing);
}

.team-member.reverse {
    flex-direction: row-reverse;
}

.team-member-text {
    width: 100%;
    max-width: 550px;
}

.team-member-text-heading {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: calc(var(--spacing) / 1.5);
}

.team-member-name {
    color: var(--color-sky-blue);
}

.team-member-text-category-title {
    font-size: 20px;
    font-weight: 600;
}

.team-member-text p {
    margin-bottom: calc(var(--spacing) / 2);
}

.team-member-text ul {
    list-style-type: disc;
    padding-left: 20px;
}

.team-member-text ul li {
    margin-top: calc(var(--spacing) / 2);
}

.team-member-img.skeleton {
    width: 400px;
    min-width: 400px;
    height: 400px;
}

.team-member-img img {
    width: 300px;
    max-width: 100%;
}

@media screen and (max-width: 1050px) {
    .team .container {
        gap: 75px;
    }
}

@media only screen and (max-width: 900px) {
    .team-member, .team-member.reverse {
        flex-direction: column-reverse;
    }
    .team-member-img.skeleton {
        width: 100%;
        min-width: auto;
        max-width: 550px;
        height: 250px;
    }
}

@media only screen and (max-width: 800px) {
    .team .container {
        gap: 50px;
    }
}

@media only screen and (max-width: 600px) {
    .team-member-text-heading {
        font-size: 22px;
    }
    .team-member-text-category-title {
        font-size: 18px;
    }
    .team-member-img img {
        width: 200px;
        max-width: 100%;
    }
}

@media only screen and (max-width: 420px) {
    .team-member-text-heading {
        font-size: 20px;
    }
}

