/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 03 2025 | 11:36:49 */
.latest-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.article-image,
.article-card {  
background: #f8f8f8;
  display: flex;
  flex-direction: column;
  overflow: hidden;
	
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
}

.latest-articles-grid a {
  border: 2px solid #a5a5a5;
}


.latest-articles-grid a:hover .article-image {
	opacity:0.8;
}

.article-card:hover {
	background: #fff;
}

.article-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* Makes it a square */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
}

.article-content {
  padding: 20px;
}

.article-content h3 {
  font-size: 1.1rem;
  margin: 0 0 10px 0;
}

.article-date {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 10px;
}

.article-excerpt {
  font-size: 1rem;
  color: #333;
}

.latest-articles-grid a:hover {
  opacity: 1 !important;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .latest-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
	.recentPosts .latest-articles-grid a:last-child {
	  display: none;
	}
}

/* Mobile: 1 column */
@media (max-width: 767px) {
  .latest-articles-grid {
    grid-template-columns: 1fr;
  }
  .article-image img {
    height: 180px;
  }
	
	.recentPosts .latest-articles-grid a:nth-child(2) {
	  display: none;
	}
}