
.services-page {
    max-width: 900px;
    margin: 0 auto;
}

.services-page .text-separator {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid var(--body_bg_2);
    margin: 1px 0;
    padding: 0;
}

.container .services-page .services__items-list {
    justify-content: center;
    flex-direction: column;
}

.services-page .brand-card,
.services-page .service-center-card {
    border-style: solid;
    border-width: 1px;
    border-color: var(--body_bg_2);
    border-radius: 10px;
    width: 100%;
    background: var(--color_white);
    display: flex;
    min-height: 200px;
    margin-bottom: 10px;
    order: 3;
}

.services-page .brand-card.hidden,
.services-page .service-center-card.hidden,
.services-page .article__page-content.google-map-container.hidden{
    display: none;
}

.services-page .article__page-content.google-map-container {
    order: 4;
}

.services-page .common-card {
    border-style: solid;
    border-width: 1px;
    border-color: var(--body_bg_2);
    border-radius: 10px;
    background: var(--color_white);
    display: flex;
    min-height: 200px;
    padding: 10px;
    margin-bottom: 30px;
    z-index: 1;
    flex-direction: column;
    justify-content: space-between;
    order: 1;
}

.brand-card .main-brand-block,
.service-center-card .service-info {
    border-right: 1px solid var(--body_bg_2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 230px;
    padding: 10px;
}

.service-center-card .service-info {
    align-items: flex-start;
    justify-content: flex-start;
}

.services-page .service-description,
.services-page .brand-description {
    padding: 10px;
}

.services-page .title__large.title__block {
    margin-bottom: 10px;
    position: relative;
}

.brand-card a:link {
    text-decoration: underline;
}

.brand-card a {
    color: var(--color_red);
}

.main-brand-block .header-text,
.brand-card .brand-note {
    color: #232D51;
}

.brand-description .brand-note {
    padding-bottom: 10px;
}

.brand-text > p:nth-child(1) {
    padding-bottom: 20px;
}

.service-center-card .title-text {
    padding: 10px 0;
    color: #232D51;
}

.service-center-card .title-text.text-first {
    padding: 0 0 10px;
}

.service-center-card .header-text {
    color: #232D51
}

.service-info .service-map {
    padding-top: 5px;
    cursor: pointer;
    color: var(--color_red);
}

.services-page .service-search {
    width: 550px;
    order: 2;
    padding-bottom: 30px;
}

.services-page .service-search .form__input-suggestions-block {
    z-index: 2;
}

.service-search .search-title {
    font-weight: bold;
    font-size: 19px;
    margin-bottom: 10px;
    color: #232D51;
}

.services-page .form__label-input .form__input:focus + .form__label,
.services-page .form__label-input .form__input-fill + .form__label {
    display: none;
}

@media (max-width: 640px) {
    .brand-card, .service-center-card {
        flex-direction: column;
    }
    .brand-card .brand-note {
        padding-top: 20px;
    }
    .brand-text > p {
        padding-top: 0;
    }
    .brand-text > p:nth-child(2) {
        text-align: center;
        padding-top: 20px;
    }
    .brand-text > p:nth-child(3),
    .brand-text > p:nth-child(4),
    .brand-text > p:nth-child(5),
    .brand-text > p:nth-child(6){
        text-align: center;
    }

    .brand-card .main-brand-block,
    .service-center-card .service-info {
        border-right: 0;
    }

    .brand-card .header-text {
        text-align: center;
    }
    .brand-description .brand-note {
        padding-bottom: 0;
    }

    .service-center-card .service-info {
        align-items: flex-start;
        flex: 0;
    }

    .services-page .common-card {
        width: 100%;
        margin: 0 0 10px;
        order: 2;
        z-index: 0;
    }

    .services-page .text-separator {
        margin: 15px 0;
    }

    .services-page .service-search {
        width: 100%;
        margin: 0 0 10px;
        border-style: solid;
        border-width: 1px;
        border-color: var(--body_bg_2);
        border-radius: 10px;
        background: var(--color_white);
        display: flex;
        padding: 10px;
        z-index: 1;
        flex-direction: column;
        justify-content: space-evenly;
        order: 1;
    }

    .service-search .form__field {
        margin-bottom: 5px;
    }
}