/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 09 2025 | 20:43:14 */
/* Grid Container */
.wp-block-latest-posts.custom-blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  list-style: none;
}

/* Individual Card */
.wp-block-latest-posts.custom-blog-cards li {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.wp-block-latest-posts.custom-blog-cards li:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Featured Image */
.wp-block-latest-posts.custom-blog-cards .wp-block-latest-posts__featured-image {
  width: 100%;
  margin: 0 0 1.5rem 0;
}

.wp-block-latest-posts.custom-blog-cards .wp-block-latest-posts__featured-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Content Area */
.wp-block-latest-posts.custom-blog-cards li > *:not(.wp-block-latest-posts__featured-image) {
  padding: 0 1.5rem;
}

.wp-block-latest-posts.custom-blog-cards li > *:first-child:not(.wp-block-latest-posts__featured-image) {
  padding-top: 1.5rem;
}

.wp-block-latest-posts.custom-blog-cards li > *:last-child {
  padding-bottom: 1.5rem;
}

/* Title */
.wp-block-latest-posts.custom-blog-cards .wp-block-latest-posts__post-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.75rem 0;
  color: #1a1a1a;
  text-decoration: none;
}

.wp-block-latest-posts.custom-blog-cards .wp-block-latest-posts__post-title:hover {
  color: var(--wp--preset--color--primary);
}

/* Date */
.wp-block-latest-posts.custom-blog-cards .wp-block-latest-posts__post-date {
  font-size: 0.875rem;
  color: #666;
  display: block;
  margin-bottom: 0.75rem;
}

/* Excerpt */
.wp-block-latest-posts.custom-blog-cards .wp-block-latest-posts__post-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

/* Read More Link */
.wp-block-latest-posts.custom-blog-cards .wp-block-latest-posts__read-more {
  color: var(--wp--preset--color--primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-top: 0.5rem;
}

.wp-block-latest-posts.custom-blog-cards .wp-block-latest-posts__read-more:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .wp-block-latest-posts.custom-blog-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}