#team {

    align-items: center;

    background-color: var(--color-secondary);

}

.team-container {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);

}

.team-heading {

    color: var(--color-text);

}

.swiper-team {

    width: 80%;

    padding-bottom: var(--space-lg);

}

.swiper-team-wrapper {

    align-items: stretch;

}

.team-slide {

    height: auto;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 0;

    border: solid var(--color-bg) var(--border-md);
    border-radius: var(--radius-md);
    background-color: var(--color-bg);
    
}

.team-slide-image {

    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;

}

.team-slide-content-wrapper {

    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);

    padding: var(--space-md);

}

.team-slide-name {

    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;

    font-family: var(--font-family);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-lg);
    color: var(--color-text);

}

.team-slide-description {

    text-align: center;

    line-height: 1.5;
    
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-md);
    color: var(--color-text-2);

}

.swiper-team-pagination {

    bottom: 0;

}

.swiper-team .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}


/*=====[MEDIA QUERY]=====*/
@media (min-width: 1024px) {

    .team-slide {

        flex-direction: row-reverse;

    }

    .team-slide-image {

        width: 40%;

    }
    .team-slide-content-wrapper {

        width: 60%;

    }
}