.case-header-wrapper{
    display: flex;
    column-gap: 20px;
    row-gap: 35px;
    justify-content: space-between;
    padding-top: 80px;
    padding-bottom: 80px;
}
.case-header .case-title{
    font-weight: 700;
    font-size: 48px;
    line-height: 55px;
    color: #191919;
}
.case-header-content{
    max-width: 610px;
    width: 100%;
}
.case-header .case-desc{
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #191919;
    opacity: 0.85;
    margin-top: 30px;
}
.case-header .case-labels{
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.case-header .case-label{
    padding: 10px 15px;
    background: #F5F5F5;
    border: 1px solid #8E8E8E;
    border-radius: 50px;
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    color: #191919;
}
.case-header-image picture{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.case-header-image picture img{
    height: auto;
    width: auto;
}
.case-block{
    margin-top: 80px;
    position: relative;
}
.case-block.case-block-back-gray{
    padding-top: 80px;
    padding-bottom: 80px;
}
.case-block .max-width-2{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.case-block.case-block-back-gray:before {
    position: absolute;
    content: '';
    background-color: #FAFAFA;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
}
.case-block-title{
    font-style: normal;
    font-weight: bold;
    font-size: 48px;
    line-height: 55px;
    color: #1A1A1A;
    margin: 0 0 15px;
    z-index: 1;
}
.case-block-title::before{
    background: #5C5C5C;
    display: block;
    content: '';
    width: 68px;
    height: 3px;
    margin-bottom: 25px;
}
.case-block-text{
    font-weight: 500;
    font-size: 16px;
    line-height: 27px;
    color: #5C5C5C;
    opacity: 0.75;
    width: 100%;
    max-width: 650px;
}
.case-what-done ol {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    width: 100%;
}
.case-what-done ol li{
    counter-increment: section;
    font-weight: 500;
    font-size: 16px;
    line-height: 27px;
    color: #5C5C5C;
    opacity: 0.75;
}
.case-what-done ol li::before {
    content: counter(section) ".";
    display: inline-block;
    margin-right: 4px;
    min-width: 15px;
    color: #1FC3B0;
}
.case-what-done{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.case-what-done picture{
    display: flex;
    justify-content: center;
    align-items: center;
}
.case-what-done picture, .case-what-done img{
    max-width: 100%;
    height: auto;
}
.case-what-done img{
    margin-top: 55px;
}
.case-block-left{
    max-width: 538px;
    z-index: 1;
}
.case-block-right{
    max-width: 650px;
    z-index: 1;
}

.case-block-right--mod {
    max-width: initial;
    width: calc(100% - 490px);
}
.case-what-done-right{
    display: flex;
    justify-content: center;
}
.case-review-item-head{
    display: flex;
    align-items: center;
    column-gap: 20px;
}
.case-review-item-head-face{
    min-width: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.case-review-item-head-face img{
    border-radius: 50%;
}
.case-review-item-client-name{
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    color: #191919;
}
.case-review-item-client-pos{
    margin-top: 5px;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #5C5C5C;
}
.case-review-item-content{
    margin-top: 25px;
    font-size: 16px;
    line-height: 27px;
    color: #5C5C5C;
}
.c-footer{
    margin-top: 0;
}
@media(min-width: 1351px){
    .case-block.case-block-back-gray:before {
        background-position: 150px 0;
        border-radius: 10px;
        left: 150px;
    }
}
@media(max-width: 1350px){
    .case-header-wrapper{
        flex-wrap:wrap;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .case-header-content{
        max-width: unset;
    }
    .case-header .case-desc, .case-header .case-labels{
        margin-top: 25px;
    }
    .case-header-image{
        width: 100%;
    }
    .case-header-image picture{
        justify-content: center;
    }
    .case-block .max-width-2{
        flex-wrap: wrap;
    }
    .case-block-title{
        width: 100%;
    }
    .case-block .case-block-text{
        max-width: unset;
    }
    .case-block.case-block-back-gray{
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .case-block-left, .case-block-right{
        width: 100%;
        max-width: unset;
    }
}
@media(max-width: 767px){
    .case-header .case-title{
        font-size: 30px;
        line-height: 32px;   
    }
    .case-header .case-desc{
        font-size: 14px;
        line-height: 22px;
    }
    .case-header .case-desc, .case-header .case-labels{
        margin-top: 20px;
    }
    .case-header .case-label{
        font-size: 10px;
        line-height: 12px;
    }
    .case-block.case-block-back-gray{
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .case-block-title{
        font-size: 30px;
        line-height: 40px;
    }
    .case-block-text{
        font-weight: 400;
        font-size: 14px;
        line-height: 22px;
    }
}

/* 2023 */

.single-case__header .block-header{
    background-color: transparent;
}

/* .single-case__header .header-title{
    color: #191919;
} */

/* .single-case__header .block-header__content {
    color: #191919;
    opacity: 0.85;
} */

.single-case__header .block-header__btn button{
    background: #F5F5F5;
    color: #191919;
}