.news-wrapper{
    padding-top:124px;
}
.news-main-wrapper{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 10px 0;
}
.news-item-wrapper{
    background:#fff;
    border-radius:12px;
    box-shadow: 0 0 5px #c9c9c97a;
    transition:transform .2s ease,
               box-shadow .1s ease;
}
.news-item-wrapper:hover{
    transform:scale(1.02);
    transition:transform .2s ease,
               box-shadow .1s ease;;
    box-shadow:#5b5b5b7a;
}
.news-item-wrapper:hover .news-title{
    color:#7F3476;
}
.news-item-image-wrapper{
    aspect-ratio: 1.5 / 1;
}
.news-item-image{
    width:100%;
    height:100%;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}
.news-item-content{
    display:flex;
    flex-direction:column;
    gap:8px;
    padding: 7px 13px 35px;
}
.news-date{
    color: #8c8c8c;
    font-size:13px;
}
.news-title {
     display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 36px;
    line-height: 1.2;

}
.news-item-description{
    color: #4f4f4f;
}
@media (max-width:768px){
    .news-wrapper{
        padding-top:65px;
        
    }
    .news-main-wrapper{
        
    }
    .news-item-wrapper {
        width: 96%;
        
    }
}