﻿.news_list {
  display: flex;
  flex-wrap: wrap;
}
.news_item {
  width: calc(25% - 22.5px);
  margin: 0 30px 0 0;
}
.news_item:nth-child(4n) {
  margin-right: 0;
}
.news_item a {
  display: block;
  height: 100%;
  background: #f6f6f6;
  text-decoration: none;
  color: #666;
  transition: all 0.3s;
}
.news_itm_img {
  margin: 0;
  position: relative;
}
.news_itm_main {
  padding: 30px;
}
.news_itm_img .date {
  position: absolute;
  width: 110px;
  left: 0;
  background: #486fb6;
  font-size: 14px;
  color: #fff;
  text-align: center;
  bottom: 10px;
  padding: 4px;
}
.news_itm_ttl {
  color: #000;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.3em;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 16px;
}
.news_itm_txt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 15px;
  text-align: justify;
}
.news_itm_more {
  margin: 0;
  font-size: 14px;
  color: #486fb6;
  text-decoration: underline;
}
.news_itm_img img {
  width: 100%;
}
.news_item a:hover {
  transform: translateY(-10px);
}

@media screen and (max-width:768px) {
    .news_list {
        justify-content: space-between;
    }
    .news_item {
        width: 100%;
        margin: 0 0 20px;
    }
    .news_item a {
        display: flex;
    }
    .news_itm_img {
        flex-shrink: 0;
        width: 40%;
    }
    .news_itm_main {
        width: 100%;
        padding: 30px 15px;
    }
}

@media screen and (max-width:480px) {
    .news_itm_img {
        width: 45%;
    }
    .news_itm_main {
        padding: 10px;
    }
    .news_itm_img img {
       
        height: 100%;
        object-fit: cover;
    }
    .news_itm_ttl {
        line-height: 1.4em;
        font-size: 14px;
    }
}
