* {
    box-sizing: border-box;
}

/* =========================================================
   A7 CONTACTS
   Common internal-page rhythm
   ========================================================= */

.a7-contacts {
    width: 100%;
    max-width: 1410px;
    margin: 0 auto;
    padding: 48px 0 64px;
    font-family: Arial, sans-serif;
    color: #1d2430;
}

.a7-contacts__title {
    margin: 0 0 32px;
    padding: 0;
    color: #1d2430;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
    text-align: left;
}

#contactPage .contactPage {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

#contactPage .contactPage .left,
.a7-contact-panel {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

#contactPage .contactPage .right {
    display: none;
}

/* =========================================================
   Cards
   ========================================================= */

.a7-contact-cards {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.a7-contact-card,
.a7-contact-card--wide {
    display: block;
    width: 100%;
    margin: 0;
    padding: 22px 24px;

    background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 18px;

    box-shadow: 0 7px 24px rgba(15,35,65,.04);
}

.a7-contact-card__label {
    margin: 0 0 7px;

    color: #8b96ac;

    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
}

.a7-contact-card__value,
.a7-contact-card__value a {
    margin: 0;

    color: #0b1730;

    font-size: 19px;
    line-height: 1.35;
    font-weight: 600;

    text-decoration: none;
}

.a7-contact-card__value a:hover {
    color: #078bf8;
}

.a7-contact-card__title {
    margin: 0 0 17px;

    color: #0b1730;

    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
}

/* =========================================================
   Branches
   One row after another on ALL screens
   ========================================================= */

.a7-contact-branches {
    display: block;
    width: 100%;
}

.a7-contact-branch {
    position: relative;
    display: block;
    width: 100%;

    padding: 5px 0 5px 20px;

    color: #38465d;

    font-size: 16px;
    line-height: 1.45;
    font-weight: 400;
}

.a7-contact-branch::before {
    content: "";

    position: absolute;
    left: 0;
    top: 13px;

    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: #078bf8;
}

/* =========================================================
   Requisites
   One row after another.
   Only card title is bold.
   ========================================================= */

.a7-contact-requisites {
    display: block;
    width: 100%;
}

.a7-contact-requisite {
    display: grid;
    grid-template-columns: 130px minmax(0,1fr);
    column-gap: 16px;
    align-items: baseline;

    width: 100%;

    padding: 10px 0;

    border-bottom: 1px solid #edf0f4;

    font-weight: 400;
}

.a7-contact-requisite:last-child {
    border-bottom: 0;
}

.a7-contact-requisite__name {
    color: #8b96ac;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
}

.a7-contact-requisite__value {
    min-width: 0;

    color: #243248;

    font-size: 15px;
    line-height: 1.45;
    font-weight: 400;

    overflow-wrap: anywhere;
}

.a7-contact-requisite strong,
.a7-contact-requisite__name strong,
.a7-contact-requisite__value strong {
    font-weight: 400;
}

/* =========================================================
   Desktop safety margins
   ========================================================= */

@media (max-width: 1450px) {
    .a7-contacts {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 650px) {

    .a7-contacts {
        width: 100%;
        max-width: none;

        margin: 0 auto;

        padding:
            32px
            16px
            48px;
    }

    .a7-contacts__title {
        margin: 0 0 20px;

        font-size: 30px;
        line-height: 1.15;
        font-weight: 700;
    }

    #contactPage .contactPage,
    #contactPage .contactPage .left,
    .a7-contact-panel,
    .a7-contact-cards {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .a7-contact-cards {
        gap: 12px;
    }

    .a7-contact-card,
    .a7-contact-card--wide {
        width: 100%;

        padding: 18px;

        border-radius: 16px;

        box-shadow: none;
    }

    .a7-contact-card__label {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .a7-contact-card__value,
    .a7-contact-card__value a {
        font-size: 17px;
    }

    .a7-contact-card__title {
        margin-bottom: 14px;
        font-size: 20px;
    }

    .a7-contact-branch {
        padding-left: 18px;

        font-size: 15px;
        line-height: 1.4;
    }

    .a7-contact-requisite {
        grid-template-columns: 78px minmax(0,1fr);
        column-gap: 8px;

        padding: 9px 0;
    }

    .a7-contact-requisite__name {
        font-size: 13px;
        font-weight: 400;
    }

    .a7-contact-requisite__value {
        font-size: 14px;
        font-weight: 400;
    }
}

/* A7 internal desktop rhythm v12 */
@media (min-width:761px){
  .a7-contacts{padding-top:94px!important;}
  .a7-contacts__title{margin-bottom:12px!important;}
}
