.contacts-layout {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

.contacts-section + .contacts-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.contacts-section h2 {
    margin-bottom: 12px;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.contacts-section p,
.contacts-field {
    margin: 0 0 12px;
}

.contacts-section > :last-child,
.contacts-address > :last-child {
    margin-bottom: 0;
}

.contacts-address {
    font-style: normal;
}

.contacts-label,
.contacts-phone {
    display: block;
}

.contacts-label {
    font-weight: 600;
}

.contacts-phone-link {
    display: none;
}

.contacts-layout a,
.contacts-layout a:visited {
    color: var(--color-text);
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.contacts-layout a:hover {
    color: var(--color-text);
}

.contacts-layout a:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 2px;
}

@media (min-width: 920px) {
    .contacts-layout {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .contacts-section + .contacts-section {
        margin-top: 0;
        padding-top: 0;
        padding-left: 32px;
        border-top: 0;
        border-left: 1px solid var(--color-border);
    }
}

@media (hover: none) and (pointer: coarse) {
    .contacts-phone-text {
        display: none;
    }

    .contacts-phone-link {
        display: inline;
    }
}
