/* NEWS */
.news-list-box .center-box {
  width: 1400px;
  padding: 50px;
}
.news-list-box .center-box .news-list > ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}
.news-list-box .center-box .news-list > ul .news-item {
  width: auto;
  height: auto;
}
.news-list-box .center-box .news-list > ul .news-item .news {
  transition: 300ms;
  display: block;
}
.news-list-box .center-box .news-list > ul .news-item .news:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.news-list-box .center-box .news-list > ul .news-item .news:hover .news-image img {
  transform: scale(1.2);
}
.news-list-box .center-box .news-list > ul .news-item .news:hover .news-details .button {
  color: #ffffff;
}
.news-list-box .center-box .news-list > ul .news-item .news:hover .news-details .button::after {
  transform: translateY(0%);
}
.news-list-box .center-box .news-list > ul .news-item .news .news-image {
  width: 100%;
  height: auto;
  overflow: hidden;
}
.news-list-box .center-box .news-list > ul .news-item .news .news-image img {
  transition: 500ms;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.news-list-box .center-box .news-list > ul .news-item .news .news-details {
  background-color: #f2f6fa;
  padding: 20px 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.news-list-box .center-box .news-list > ul .news-item .news .news-details .news-heading {
  width: 100%;
  padding: 0 30px;
  color: #333333;
  text-align: center;
  font-size: 18px;
  margin-bottom: 8px;
}
.news-list-box .center-box .news-list > ul .news-item .news .news-details .news-description {
  width: 100%;
  padding: 0 20px;
  font-size: 16px;
  color: #777979;
}
.news-list-box .center-box .news-list > ul .news-item .news .news-details .button {
  text-align: center;
  border-radius: 8px;
  color: #0274be;
  border: 1px solid #0274be;
  padding: 8px 20px;
  margin-top: 20px;
  overflow: hidden;
  position: relative;
  z-index: 10;
  transition: 300ms;
}
.news-list-box .center-box .news-list > ul .news-item .news .news-details .button::after {
  transition: 300ms;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
  position: absolute;
  z-index: -1;
  background-color: #0274be;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1200px) {
  .news-list-box .center-box .news-list > ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media screen and (max-width: 750px) {
  .news-list-box .center-box .news-list > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 670px) {
  .news-list-box .center-box .news-list > ul {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}