.cases-description-wrap{
    background: #eee;
}

.cases-description{
    max-width: 1140px;
    margin: 0 auto;
    padding: 50px 0;
}

.cases-h4{
    width: 90%;
    margin: 0 auto;
    font-size: 36px;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.4px;
    color: #4a4a4a;
}

.cases-wrap{
    max-width: 1140px;
    margin: 40px auto;
}

.cases-list{
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 15px;
    row-gap: 40px;
}

.case-img{
    width: 100%;
    /* width: 332px; */
    height: 310px;
    display: inherit;
}

.case-content{
    height: 410px;
    background: #f6f6f6;
    padding: 35px 20px 0;
    border-bottom: 6px solid #fbce00;
}

.cases-title{
    margin-bottom: 15px;
    color: #4a4a4a;
    font-size: 24px;
    text-align: center;
    letter-spacing: -.2px;
    line-height: 1.2;
    font-weight: 800;
}

.cases-text{
    padding: 14px 21px;
    color: #4A4A4A;
    font-size: 14px;
    line-height: 1.8;
    text-align: start;
    white-space: normal;
}


@media(max-width: 1160px) {
    .cases-wrap{
        margin-left: 10px;
        margin-right: 10px;
    }
    .cases-list{
        width: 100%;
    }

}

@media(max-width: 990px) {
    .cases-list{
        grid-template-columns: 1fr 1fr;
    }

}

@media(max-width: 685px) {
    .cases-list{
        width: 90%;
        grid-template-columns: 1fr;
    }
    .cases-h4{
        margin: 0 10px;
        font-size: 22px;
    }

}

@media(max-width: 395px) {
    .cases-list{
        width: 100%;
        grid-template-columns: 1fr;
    }

    .case-content{
        padding-top: 20px;
    }

    .cases-text{
        padding-left: 0;
        padding-right: 0;
    }

}