.workers-page {

}

.workers-page__title {
    font-weight: 500;
    font-size: 40px;
    line-height: 120%;
    color: #000;
    margin-bottom: 40px;
    text-align: left;
}

.workers-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 колонки одинаковой ширины */
    gap: 48px 32px;
    margin-bottom: 64px;
}

.workers-card {
    border: 1px solid #e4e4e4;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.workers-card__pic {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    border-radius: 16px 16px 0 0;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.workers-card__wrapper {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.workers-card__name {
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    color: #000;
}

.workers-card__post {
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #535862;
    margin-bottom: 4px;
}

.workers-card__responsibilities {
    font-weight: 300;
    font-size: 14px;
    line-height: 143%;
    color: #535862;
}

.workers-card__field-title {
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #535862;
    display: inline-block;
}

.workers-card__phone {
    margin-top: auto;
}

.workers-card__phone,
.workers-card__email {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.workers-card__phone a,
.workers-card__email a {
    font-weight: 500;
    font-size: 14px;
    line-height: 143%;
    color: #3259e8;
}

@media (max-width: 1200px) {
    .workers-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 16px;
        margin-bottom: 48px;
    }

    .workers-page__title {
        font-size: 24px;
    }

    .workers-card__name {
        font-size: 20px;
    }

}

@media (max-width: 750px) {
    .workers-wrapper {
        grid-template-columns: repeat(1, 1fr);
        gap: 32px 16px;
    }

}
