/* ==========================================================================
   Latest News (WPBakery masonry grid, 4 columns, "zoomIn" load animation)
   ========================================================================== */

.latest-news {
  padding: 25px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 30px;
  margin-bottom: 20px;
}

.news-card {
  animation: news-zoom-in .7s both;
}
.news-card:nth-child(2) { animation-delay: .1s; }
.news-card:nth-child(3) { animation-delay: .2s; }
.news-card:nth-child(4) { animation-delay: .3s; }

@keyframes news-zoom-in {
  from { opacity: 0; transform: scale3d(.3, .3, .3); }
  50%  { opacity: 1; }
}

.news-card__media {
  display: block;
  overflow: hidden;
}
.news-card__media img {
  display: block;
  width: 100%;
  height: auto;
}

.news-card__body {
  padding-top: 15px;
}

.news-card__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.3;
}
.news-card__title a {
  color: #201547;
  transition: color .3s;
}
.news-card__title a:hover {
  color: #475577;
}

.news-card__date {
  margin: 0 0 8px;
  color: #a9a9a9;
  font-size: 11px;
}

.news-card__excerpt {
  margin: 0 0 15px;
  color: #939393;
  font-size: 14px;
  line-height: 1.5;
}

/* "Read more" uses the grid's configured button: flat, rounded, #ededed/#666 */
.news-card__more {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 5px;
  background-color: #ededed;
  color: #666;
  font-size: 14px;
  line-height: 1.2;
  transition: background-color .3s, color .3s;
}
.news-card__more:hover {
  background-color: #666;
  color: #fff;
}

@media (max-width: 767px) {
  .news-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card {
    animation: none;
  }
}
