.side-news__item{
  min-height: 250px;
  margin: 10px 30px;
  
}
.side-news__list{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 10px;
}
.news-card {
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: hidden;
    max-width: 350px;
    min-height: 558px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    /* width: calc(33.333% - 20px); */
    background: #fff;
    margin: 10px 15px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}
.news-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.news-card__img img {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
    /* display: block; */
    border-bottom: 1px solid #eee;
}
.news-card__body {
    padding: 16px;
    flex-grow: 1;
    cursor: default;
    display: flex;
    flex-direction: column;
}
.news-card__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
    padding-bottom: 9px;
}
.news-card__title a {
    color: #000;
    text-decoration: none;
}

.news-card__text {
    
    color: #444;
    flex-grow: 1;
    font-size: 16px;
    line-height: 1.4;
}
.news-card__date {
    font-size:14px;
    color: #777;
    font-weight: 500;
     margin-top: auto;
}
.news-more {
    text-align: center;
    margin-top: 20px;
}

.news-more__btn {
  margin: 80px 0;
    display: inline-block;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}



@media (max-width:1025px) {
  .side-news__list{
    justify-content: center;
  }
  .news-card{
    width: 100%;
    max-width: max-content;
  }
  .news-card__img img{
    height: 500px;
  }
}

