.team {
    background: var(--background-color);
}

.team__container {}
.team__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.team__title {
    color: var(--accent-color);
}
.team__subtitle {
    margin-bottom: 24px;
}

.team__description {
    margin-bottom: 64px;
    max-width: 780px;
    color: var(--secondary-color-mute);
    font-size: 18px;
    line-height: 28px;
    text-align: center;
}
.team__list {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.team__list-item {
    flex: 1;
    padding: 24px 24px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border-color);
        transition:
        transform var(--transition-time),
        box-shadow var(--transition-time);
}
.team__list-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgb(0 0 0 / 0.12);
}
@media (width <= 1250px) {
    .team__list-item {
     flex: auto;   
    }
}
.team__list-item-photo {
    width: 121px;
    height: 121px;
    border-radius: 50%;
}
.team__list-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}
.team__list-item-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
}
.team__list-item-position {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.3;
    text-transform: uppercase;
    text-wrap: balance;
}
.team__photo-wrapper {
    margin-top: 48px;
    max-height: 600px;
    overflow: hidden;
    border-radius: 30px;
}
.team__photo {}