.home-title-wrapper.wrapper {
    display: block;
}

.home-title-wrapper h1 {
    max-width: 77%;
    font: 600 30px/130% var(--title-font);
    color: var(--title-color);
    letter-spacing: 0;
    margin: 29px 0 0 0;
}

@media(min-width:1000px) {
    .container {
        margin-left: -40px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .container.l-col-2>.item {
        width: calc(50% - 40px);
        margin-left: 40px;
    }
}

@media screen and (max-width: 640px) {
    .home-title-wrapper h1 {
        max-width: 100%;
    }
}

/* review.list.text */
section.block-otzyvy {
    max-width: 1320px;
    margin-top: 69px;
    padding-bottom: 0;
    z-index: 0;
}

.otzyvy>.item {
    margin-bottom: 40px;
    padding: 39px;
}

.text-item .otzyvy-item-info.info {
    margin-bottom: 30px;
}

.otzyvy>.otzyvy-item:nth-child(2n+1) {
    clear: both;
}

.otzyvy-item {
    background-color: var(--background);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    position: relative;
}

.otzyvy-item .tx {
    position: relative;
    top: 0;
    color: var(--text-color);
}

.otzyvy-item-info.info {
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    font-weight: 600;
}

.text-item .info span:first-child {
    padding-right: 0;
    margin-right: 0;
}

.text-item .info span:first-child::after {
    display: none;
}

.otzyvy-item-bottom-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 15px;
}

.otzyvy-item-info-date {
    float: left;
    min-height: 26px;
    font: 400 16px/150% var(--text-font);
    color: var(--grey-color);
}

.otzyvy-item-info-date.mobile {
    display: none;
}

.otzyvy-item-info.info>span:last-child {
    font-family: Montserrat;
    overflow: hidden;
    display: block;
    padding: 0 10px 0 0;
}

.otzyvy-item-photo {
    max-width: 100%;
    margin-bottom: 28px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: none;
}

.otzyvy-item-photo img {
    max-height: 124px;
    height: 100%;
    margin-right: 5px;
    margin-bottom: 10px;
}

.otzyvy-item-text {
    font: 400 16px/24px var(--text-font);
    color: var(--text-color);
    height: 13.5em;
    overflow: hidden;
    position: relative;
    margin: 0;
}

.otzyvy-item-text.opened {
    height: unset;
    overflow: auto;
    -webkit-transition: 0.9s ease-in-out;
    -o-transition: 0.9s ease-in-out;
    transition: 0.9s ease-in-out;
}

.otzyvy-item.uncut .otzyvy-item-text{
    height: unset;
    overflow: auto;
}

.otzyvy-item.uncut .otzyvy-item-text-btn{
    display: none;
}

.otzyvy-item.cut .otzyvy-item-text::after{
    content:"";
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, var(--background) 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(var(--background)));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--background) 100%);
}

.otzyvy-item-text-btn {
    cursor: pointer;
    font: 400 16px/24px var(--text-font);
    color: var(--text-color);
    opacity: 0;
}

.otzyvy-item-text-btn:hover, .otzyvy-item-text-btn:focus {
    color: var(--main-color);
}

.otzyvy-item.cut .otzyvy-item-text-btn{
    opacity: 1;
}

.otzyvy-item-text .review-txt {
    display: inline;
}

.otzyvy-item-worker {
    font: 600 16px/24px var(--title-font);
    color: var(--text-color);
    margin-bottom: 3px;
    padding: 1px 10px 0 0;
}

.otzyvy-item-position {
    font: 400 16px/150% var(--text-font);
    color: var(--dark-grey-color);
}

a.otzyvy-item-link {
    display: block;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    font-family: var(--text-font);
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: var(--dark-grey-color);
    border-bottom: 1px solid var(--main-color);
    max-height: 24px;
}

a.otzyvy-item-link:hover{
    border-bottom: 1px solid transparent;
}

.otzyvy-pagination {
    text-align: center;
}

.pagination-otzyvy .pagination-otzyvy__item {
    padding: 0 10px;
    margin: 0;
    color: #A32728;
    border-right: 1px solid #B2B2B2;
}

.pagination-otzyvy .pagination-otzyvy__item._move:last-child {
    border: none;
}

.block-otzyvy__pagination {
    text-align: center;
    font: 400 16px/24px var(--text-font);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 79px;
}

.block-otzyvy__pagination__item {
    font: 400 12px/18px var(--text-font);
    text-transform: uppercase;
    padding: 5px 8px 1px;
    margin: 0 5px;
    color: var(--dark-grey-color);
    background: var(--block-background);
    border-radius: 2px;
    letter-spacing: 0.1em;
}

.block-otzyvy__pagination__item._active {
    color: var(--background);
    background: var(--grey-color);
}

.block-otzyvy__pagination__item._move {
    background: transparent;
    padding: 0;
    margin: 0 15px;
    cursor: pointer;
}

.block-otzyvy__arrow {
    position: relative;
}

.block-otzyvy__arrow::after {
    content: '';
    position: absolute;
    top: 9px;
    height: 6px;
    width: 6px;
    background-color: var(--background);
    border-right: 1px solid var(--title-color);
    border-bottom: 1px solid var(--title-color);
    -webkit-transition: .2s all;
    -o-transition: .2s all;
    transition: .2s all;
}

.block-otzyvy__pagination__item._move._disabled {
    pointer-events: none;
}

.block-otzyvy__pagination__item._move._disabled .block-otzyvy__arrow::after {
    border-color: #C1c1c1;
}

.block-otzyvy__arrow_right::after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    left: -3px;
}

.block-otzyvy__arrow_left::after {
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    right: -3px;
}

@media(min-width:1000px) {
    .otzyvy-item-worker-info{
        width:57%;
    }
}

@media(max-width:999px) {

    .home-title-wrapper.wrapper {
        padding-top: 29px;
    }

    .container.otzyvy {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin-left: 0;
    }

    .otzyvy-item{
        max-width: none;
    }

    .container.otzyvy:after {
        display: none;
    }

    .otzyvy>.item {
        padding: 0;
    }

    .container.l-col-2>.item.otzyvy-item {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .otzyvy>.otzyvy-item{
        margin: 0;
        padding-top: 39px;
        padding-bottom: 53px;
        border-radius: 0px;
        border-top: 1px solid var(--line-color);
    }

    .otzyvy>.otzyvy-item:first-child{
        padding-top: 10px;
        border-top: none;
    }

    .otzyvy-item-bottom-block,
    .otzyvy-item-info.info {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .otzyvy-item-bottom-block{
        margin-top: 0;
    }
    .otzyvy-item-info-date.desktop {
        display: none;
    }

    .otzyvy-item-info-date.mobile {
        display: block;
        font-size: 14px;
        line-height: 21px;
        margin-top: 21px;
    }

    .otzyvy-item-info.info>span:last-child {
        font-weight: 600;
        font-size: 18px;
        line-height: 22px;
        padding-top: 5px;
        color: var(--text-color);
    }

    .text-item .otzyvy-item-info.info {
        margin-bottom: 19px;
    }

    .otzyvy-item-text {
        font-size: 16px;
        height: unset;
    }

    .otzyvy-item-worker-info{
        margin-top: 20px;
    }

    .otzyvy-item-worker {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 10px;
    }

    .otzyvy-item-position {
        font-size: 14px;
    }

    a.otzyvy-item-link {
        font-size: 16px;
        line-height: 24px;
        margin-top: 21px;
    }

    .otzyvy-item-text .otzyvy-item-text-btn,
    .otzyvy-item.cut .otzyvy-item-text::after {
        display: none;
    }

    section.block-otzyvy {
        margin-top: 29px;
    }

    .block-otzyvy__pagination {
        margin-top: 41px;
    }

    .block-otzyvy__pagination__item {
        padding: 4px 8px 2px;
    }
}

@media screen and (min-width: 641px) and (max-width: 999px) {
    .otzyvy-item:nth-child(odd) {
        margin-right: 40px;
    }

    .otzyvy-item {
        border: none;
    }
}

@media(max-width: 640px) {
    .container.otzyvy {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .otzyvy-item-text-btn {
        display: block;
        font-size: 14px;
        line-height: 21px;
        margin-bottom: 10px;
        color: var(--title-color);
    }

    .otzyvy-item-text .otzyvy-item-text-btn,
    .otzyvy-item.cut .otzyvy-item-text::after {
        display: block;
    }

    .container.l-col-2>.item.otzyvy-item {
        width: 100%;
    }

    .container.l-col-2>.item.otzyvy-item:last-child {
        margin-bottom: 0;
    }

    section.block-otzyvy .wrapper {
        width: calc(100% - 30px);
    }

    .otzyvy-item {
        width: 100%;
        border: none;
        padding-bottom: 29px;
    }

    .text-item .otzyvy-item-info.info {
        margin-bottom: 20px;
    }

    .otzyvy-item-info.info>span:last-child {
        font-weight: 600;
        font-size: 16px;
        line-height: 21px;
        padding-top: 5px;
    }

    section.block-otzyvy {
        margin-top: 26px;
    }

    .otzyvy>.otzyvy-item {
        padding-top: 36px;
    }

    .otzyvy-item-text {
        font-size: 14px;
        line-height: 21px;
        height: 13.5em;
    }

    .otzyvy-item-worker {
        font-size: 16px;
        margin-bottom: 9px;
    }

    .otzyvy-item-worker-info {
        margin-top: 22px;
    }

    .otzyvy-item-info-date.mobile {
        margin-top: 20px;
    }

    .block-otzyvy__pagination {
        margin-top: 21px;
    }
}

@media(max-width:350px){
    .block-otzyvy__pagination{
        max-width: 310px;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        row-gap: 10px;
    }
}
/* end review.list.text */