#contactsPhonesModal .firmPage__modalWrap {
    padding: 50px 0;
    min-width: 500px;
}

#contactsPhonesModal .firmPage__modalContent {
    padding: 0 50px;
}

.contactMessagesList__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contactMessagesList__logo svg {
    height: 30px;
    width: fit-content;
}

.contactMessagesList__logo img {
    height: 47px;
    width: fit-content;
}

.firmPage__headerButton--phoneModal * {
    pointer-events: none;
}

.firmPage__headerButton--phoneModal {
    color: #1D1D1B;
    background-color: #fff;
    justify-content: space-between!important;
}

.firmPage__headerButton--phoneModal .firmPage__buttonPhone {
    font-weight: 600;
    -webkit-mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 1) 50%,
            rgba(0, 0, 0, 0.3) 60%,
            rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 1) 50%,
            rgba(0, 0, 0, 0.3) 60%,
            rgba(0, 0, 0, 0) 100%);
}

.contactList__modalContent {
    font-family: var(--ui-second-font);

    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 35px;
    align-items: start;
    align-content: start;
    /* max-width: 320px; */
}

.contactList__description {
    text-align: center;
    font-size: 16px;
}

.contactList__list {
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 28px;
    align-items: start;
    align-content: start;
    text-align: center;
}

.contactList__line {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 2px;
    align-items: start;
    align-content: start;
}

.contactList__line a {
    font-family: var(--ui-main-font);
    font-size: 24px;
    font-weight: 600;
    color: #1D1D1B;
    text-decoration: none;
}

.contactList__line a:hover {
    text-decoration: underline;
}

.contactList__linkDescription {
    color: #5728FF;
    font-size: 16px;
}

@media all and (max-width: 768px) {
    #contactsPhonesModal .firmPage__modalWrap {
        min-width: auto;
    }
}