.works{
    margin: 100px 0;
}
.works_wrapper{
    display: flex;
    justify-content: space-between;
}
.works_card{
    padding: 0 70px 60px;
    width: 872px;
    height: 544px;
    background-size: cover;
    background-position: center;
    z-index: 1;
    display: none;
}
.works_card.active{
    display: block;
}
.works_card .slick-dots{
    display: flex;
}
.works_card .slick-dots button{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #003867;
    width: 64px;
    height: 38px;
    margin-right: 13px;
    font-size: 13px;
    font-weight: 600;
    line-height: 14px;
    border: none;
    cursor: pointer;
    color:  #FFF;
}
.works_card .slick-dots .slick-active button{
    background-color: #005DAC;
}
.works_card .slick-dots button::before{
    position: relative;
    content: "Шаг ";
    margin-right: 4px;
}
.works_card::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(16, 16, 16, 0.0) 0%, rgb(16 16 16 / 59%) 30%);
    opacity: 0.9;
    top: 0;
    right: 0;
    z-index: -1;
}
.works_card-step{
    height: 446px !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
}
.works_card-title{
    font-size: 26px;
    font-weight: 700;
    line-height: 36px; 
    margin-bottom: 16px;
    color:  #FFF;
}
.works_card-text{
    font-size: 16px;
    line-height: 28px; 
    margin-bottom: 40px;
    color:  #FFF;
}

.works_items{
    width: 424px;
    display: flex;
    flex-direction: column;

    justify-content: space-between;
}
.works_item.active{
    display: none;
}
.works_item{
    height: calc(50% - 12px);
    position: relative;
    z-index: 1;
    padding: 40px 40px 30px;
    display: flex;
    background-size: cover;
    background-position: center;
    flex-direction: column;
    justify-content: space-between;
}
.works_item::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(16, 16, 16, 0.30) 0%, rgba(16, 16, 16, 0.30) 100%);
}
.works_item-title{
    font-size: 26px;
    font-weight: 700;
    line-height: 36px; 
    color: #FFF;
}
.works_item-btn{
    width: 101px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #005DAC;
    font-size: 13px;
    font-weight: 600;
    line-height: 14px;
    color:  #FFF;
    margin-left: auto;
    cursor: pointer;
}

@media(max-width:1350px){
    .works_card{
        width: 680px;
    }
}
@media(max-width:1200px){
    .works_items {
        width: 344px;
    
    }
    .works_card {
        width: 600px;
        padding: 30px;
    }    
    .works_card-step {
        height: 370px !important;
    }
}
@media(max-width:991.98px){
    .works_wrapper{
        flex-direction: column-reverse;
    }
    .works_items{
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        width: 100%;
        margin-bottom: 20px;
    }
    .works_item{
        padding: 20px;
        width: 48%;
        height: auto;
        height: 200px;
    }
    .works_card{
        width: 100%;
    }
}
@media (max-width: 767.98px) {
    .works{
        margin: 60px 0;
    }
    .works_item{
        padding: 20px 10px;
        height: 140px;
    }
    .works_item-title {
        font-size: 18px;
        line-height: 30px;
    }
    .works_item-btn{
        width: 100%;
    }
    .works_card{
        padding: 30px 20px;
        height: auto;
    }
    .works_card .slick-track{
        display: flex;
    }
    .works_card-step{
        height: inherit;
    }
    .works_card-title {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 10px;
    }
    .works_card-text {
        font-size: 15px;
        line-height: 24px;
        margin-bottom: 20px;
    }
    .works_card-text  br{
        display: none;
    }
    .works_card .slick-dots button {
        width: 50px;
        height: 30px;
        margin-right: 6px;
        font-size: 10px;
    }
}