/*----------------------------------aside---------------------------------*/
.web_main {
    margin-top: 35px;

}

.web_main {
    margin: 5% 0;
}

.web_main .news-body {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.web_main .news-item {
    width: 31%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-right: 30px;
}
@media (max-width:1200px) {
    .web_main .news-item{
        width: 48%;
        margin-right: 2%;
    }
    .web_main .news-item:nth-child(2n){
        margin-right: 0;
    }
}

.web_main .news-item .item-image {
    width: 100%;
    position: relative;
    height: 0;
    overflow: hidden;
    padding-bottom: 65%;
    border-radius: 22px;
    -webkit-transition: all 150ms ease-out 0ms;
    -moz-transition: all 150ms ease-out 0ms;
    -o-transition: all 150ms ease-out 0ms;
    transition: all 150ms ease-out 0ms;
}

.web_main .news-item .item-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
}

.web_main .news-item .item-image:hover img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
}

.web_main .news-item .item-body {
    position: relative;
    top: -20px;
    width: 80%;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.05);
    background: rgb(255, 255, 255);
}

.web_main .news-item .item-body .item-title {
    text-align: center;
}

.web_main .news-item .item-body .item-title a {
    display: block;
    height: 63px;
    color: rgb(17, 61, 60);
    font-family: 'Poppins-Bold';
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 0px;
    text-align: center;
    text-transform: capitalize;
    overflow: hidden;
}

.web_main .news-item .item-body .item-title:hover a {
    text-decoration: underline;
}

.web_main .news-item .item-body .item-date {
    text-align: center;
    margin: 10px 0;
}

.web_main .news-item .item-body .item-date a {
    color: rgb(136, 136, 136);
    font-family: 'Poppins';
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: center;
    text-transform: capitalize;
}

.web_main .news-item .item-body .item-content a {
    height: 72px;
    color: rgb(51, 51, 51);
    font-family: 'Poppins';
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: center;
    text-transform: capitalize;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.web_main .news-item .item-body .item-btn {
    text-align: center;
    width: 45%;
    margin: 0 auto;
    margin-top: 20px;

}

.web_main .news-item .item-body .item-btn a {
    color: rgb(58, 216, 46);
    padding: 0 10px;
    font-family: 'Poppins';
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: center;
}

.web_main .news-item .item-body .item-btn b {
    width: 18px;
    height: 18px;
    display: inline-block;
    background-image: url(../img/categories.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 5px;
}

.web_main .news-item .item-body .item-btn:hover a {
    background-color: #3AD82E;
    color: #FFFFFF;
}

.web_main .news-item .item-body .item-btn:hover b {
    width: 18px;
    height: 18px;
    display: inline-block;
    background-image: url(../img/hover-news-btn.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 5px;
}

.web-body {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}


/*---------------mobile start-------------*/
@media (max-width:950px) {
    .web_main .news-body {
        flex-direction: column;
    }

    .web_main .news-item {
        width: 100%;
    }

    .web_main .news-item .item-body .item-content {
        display: none;
    }

    .web_main .news-item .item-body .item-btn {
        width: 60%;
    }

}

/*---------------mobile end---------------*/