.contacts{
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 40px;
    padding-bottom: 98px;
}
.contacts__sphere{
    font-size: 24px;
    font-weight: 500;
    height: 48px;
    overflow: hidden;
    line-height: 1;
    /* text-transform: lowercase; */
    display: flex;
    align-items: flex-end;
    letter-spacing: -.6px;
}
.contacts__sphere span:first-letter{
    text-transform: capitalize;
}
.contacts__image{
    margin-top: 20px;
    width: 100%;
    height: 290px;
}
.contacts__image img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(1);
}
.contacts__name{
    margin-top: 20px;
}
.contacts__contacts{
    margin-top: 8px;
}
.contacts__link{
    color: var(--inactive);
    font-style: italic;
    display: block;
}



@media screen and (max-width: 992px) {
    .contacts {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media screen and (max-width: 768px) {
    .contacts {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media screen and (max-width: 576px) {
    .contacts {
        column-gap: 10px;
        row-gap: 20px;
        padding-bottom: 0;
    }
    .contacts__sphere {
        font-size: 15px;
        height: auto;
        min-height: 30px;
    }
    .contacts__image {
        margin-top: 8px;
        height: 210px;
    }
    .contacts__name {
        margin-top: 8px;
        font-size: 13px;
    }
    .contacts__contacts {
        margin-top: 2px;
        font-size: 12px;
    }
}