.about {
    background-color: #D3D5D1;
    padding: 88px 0 66px;
}
.about__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.about__text {
    max-width: 480px;
}
.about__item {
    text-decoration: none !important;
}
.about__title {
    font-weight: 800;
    font-size: 40px;
    line-height: 51px;
    display: flex;
    align-items: center;
    color: #2C2C2C;
}
.about__subtitle {
    font-weight: 600;
    font-size: 24px;
    line-height: 31px;
    display: flex;
    align-items: center;
    color: #2C2C2C;
    margin-top: 13px;
    margin-bottom: 8px;
}
.about__descr {
    font-weight: 300;
    font-size: 18px;
    line-height: 130%;
    display: flex;
    align-items: center;
    color: #444444;
}
.page-container-wrapper .about__btn {
    margin-top: 35px;
    padding: 0 60px;
}




.about__img {
    display: flex;
    align-items: center;
}

.about__img__right .about__item:nth-child(2){
    height: 258px;
}

.about__item-content {
    padding: 19px 29px;
}

.about__item-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 31px;
    display: flex;
    align-items: center;
    color: #2C2C2C;
}


.about__item {
    background: #FFFFFF;
    box-shadow: 0px 15px 40px rgb(118 118 118 / 25%);
    border-radius: 10px;
    width: 300px;
    height: 362px;
    overflow: hidden;
    transition: .5s;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    text-decoration: none;
}
.about__item:hover {
    transition: .5s;
}



.about__item-img img {
    display: block;
    height: 101%;
    width: 100%;
    object-fit: cover;
}
.about__item:hover .about__item-img img {
    transition: .5s;
}



.about__item-text {
    font-weight: 300;
    font-size: 18px;
    line-height: 130%;
    color: #444444;

    max-height: 0px;
    overflow: hidden;
    transition: .5s;
}
.about__item:hover .about__item-text {
    max-height: 100px;
    transition: .5s;
}




.about__item-img {
    transition: .5s;
}
.about__item-img{
    overflow: hidden;
    transition: .5s;
}

.about__img__left {
    margin-right: 20px;
}
.page-wrapper .about__btn-mob {
    display: none !important;
}


@media(max-width:1310px) {
    .about {
        background-color: #D3D5D1;
        padding: 61px 0 39px;
    }
    .about__title {
        font-size: 28px;
        line-height: 36px;
    }
    .about__subtitle {
        font-size: 18px;
        line-height: 23px;
    }
    .about__descr {
        font-size: 15px;
        line-height: 130%;
    }

    .about__item {
        width: 241px;
        height: 270px;
    }
    .about__img__right .about__item:nth-child(2) {
        height: 192px;
    }
    .about__item-title {
        font-size: 18px;
        line-height: 23px;
    }
    .about__item-text {
        font-size: 15px;
        line-height: 130%;
    }
    .about__item-content {
        padding: 13px 20px;
    }
    .about__img__left {
        margin-right: 17px;
    }
    .about__text {
        max-width: 356px;
    }
    .page-wrapper .about__btn {
		padding: 0 40px;
	}
}
@media(max-width:910px) {
    .about__descr {
        text-align: center;
        max-width: 540px;
    }
    .page-wrapper .about__btn {
		margin: 0 auto;
		margin-top: 30px;
	}
    .about {
        padding-top: 71px;
        padding-bottom: 59px;
    }
    .about__wrap {
        flex-direction: column;
    }
    .about__text {
        max-width: 100%;
    }
    .about__title {
        justify-content: center;
    }
    .about__subtitle {
        justify-content: center;
    }
    .about__descr {
        max-width: 500px;
        font-size: 14px;
        line-height: 130%;
    }
    .page-wrapper .about__btn {
		margin: 0 auto;
		margin-top: 26px;
	}
    .about__img {
        margin-top: 40px;
    }
}
@media(max-width: 530px) {
    .about__img {
        display: flex;
        flex-direction: column;
    }
    .about__img__left {
        margin-right: 0;
    }
    .about__title {
        font-size: 24px;
        font-weight: 700;
        line-height: 28px;
    }
    .about {
        padding-top: 42px;
        padding-bottom: 42px;
    }
    .about__subtitle {
        font-size: 16px;
        line-height: 18px;
        margin-top: 7px;
        margin-bottom: 11px;
    }
    .about__descr {
        font-size: 13px;
    }

    .page-wrapper .about__btn {
		display: none !important;
	}
    .page-wrapper .about__btn-mob {
        display: flex !important;
        margin-top: 13px !important;
        height: 39px !important;
    }
    .about__img__right .about__item:nth-child(2) {
        height: 270px;
    }

    .about__item-img img {
        height: 181px;
        object-fit: cover;
    }
    .about__item:hover .about__item-text {
        max-height: 40px;
        transition: .5s;
    }

    .about__item-text  {
        position: relative;
    }
    .about__item-text::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 20px;
        left: 0;
        bottom: 0;
        background: linear-gradient(rgba(225, 225, 225, .0), #ffffff);
    }
}

