.s-branches__title {
    font-family: "Baskerville Display PT";
    font-size: 64px;
    font-style: italic;
    font-weight: 400;
    line-height: 1em;
    letter-spacing: -3.84px;
    text-align: center;
    margin-bottom: 34px;
    text-transform: none
}

.s-branches__items {
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.s-branches__items.is-column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.s-branches__items.is-column .s-branches__item:nth-child(2), .s-branches__items.is-column .s-branches__item:nth-child(3) {
    border-top: none
}

.s-branches__item {
    width: calc(33.333% - 10px);
    text-align: center;
    margin-right: 15px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2em;
    letter-spacing: 1.12px;
    text-transform: uppercase;
    display: inline-block;
    padding: 16px 20px;
    color: var(--secondary-color-500);
    border-bottom: 1px solid var(--gray-200)
}

.s-branches__item:nth-child(3n) {
    margin-right: 0
}

.s-branches__item:first-child, .s-branches__item:nth-child(2), .s-branches__item:nth-child(3) {
    border-top: 1px solid var(--gray-200)
}

.s-branches__content {
    max-width: 1344px;
    margin-left: auto;
    margin-right: auto;
    text-align: center
}

.s-branches__content a {
    color: var(--primary-color);
    font-weight: 500
}

.s-branches__content .h4, .s-branches__content h4, .s-branches__content p:not(:last-child) {
    margin-bottom: 40px
}

@media (max-width: 1839.98px) {
    .s-branches__title {
        margin-bottom: 24px;
        font-size: 48px;
        letter-spacing: -.96px
    }

    .s-branches__item {
        padding: 16px 40px
    }

    .s-branches__content {
        max-width: 1000px
    }

    .s-branches__content .h4, .s-branches__content h4 {
        font-size: 33px
    }
}

@media (max-width: 1199.98px) {

    .s-branches__title {
        margin-bottom: 32px;
        font-size: 32px;
        letter-spacing: -.64px
    }

    .s-branches__items {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .s-branches__items:nth-child(2), .s-branches__items:nth-child(3) {
        border-top: none
    }

    .s-branches__item {
        width: 100%;
        margin-right: 0
    }

    .s-branches__content {
        background-image: url('../img/assets/decor-4.png');
        background-position: center top;
        background-repeat: no-repeat;
        background-size: cover;
        width: calc(100% + 60px);
        max-width: initial;
        margin-left: -30px;
        margin-right: -30px;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 60px
    }

    .s-branches__content > * {
        max-width: 648px;
        margin-left: auto;
        margin-right: auto
    }

    .s-branches__content .h4, .s-branches__content h4 {
        font-size: 25px;
        line-height: 1.1em;
        letter-spacing: -.5px
    }

}

@media (max-width: 767.98px) {
    .s-branches__title {
        margin-bottom: 20px;
        font-size: 22px;
        letter-spacing: -.44px
    }

    .s-branches__item {
        padding-left: 20px;
        padding-right: 20px;
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        font-size: 12px
    }

    .s-branches__content .h4, .s-branches__content h4 {
        margin-bottom: 20px;
        font-size: 18px;
        letter-spacing: -.36px
    }

    .s-branches__content p:not(:last-child) {
        margin-bottom: 20px
    }
}

@media (any-hover: hover) {
    .s-branches__item:hover {
        color: var(--white);
        background-color: var(--secondary-color-500);
        border-color: var(--secondary-color-500)
    }
}