.blog-posts-grid {
  display: grid;
  gap: 39px;
  margin-bottom: 12px;
}

.blog-posts-grid.columns-1 { grid-template-columns: 1fr; }
.blog-posts-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.blog-posts-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.blog-posts-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }
.blog-posts-grid.columns-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 768px) {
  .blog-posts-grid.columns-3,
  .blog-posts-grid.columns-4,
  .blog-posts-grid.columns-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .blog-posts-grid {
    grid-template-columns: 1fr !important;
  }
}

.blog-post-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 4px;
}

.blog-post-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.post-content {
  padding: 20px;
}

.post-thumbnail {
  position: relative;
  overflow: hidden;
}

.new-and-event .post-thumbnail {
  border-radius: 16px;
  overflow: hidden;
}

.new-and-event .post-thumbnail img {
  min-height: 228px;
}

.post-thumbnail a {
  width: 100%;
  height: 100%;
  display: block;
}

.post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post-item:hover .post-thumbnail img {
  transform: scale(1.05);
}

.post-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #F1A61F;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.date-icon {
  font-size: 14px;
  line-height: 1;
}

.no-thumbnail {
  width: 100%;
  height: 200px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.post-content {
  padding-top: 20px;
  margin-bottom: 0;
}

.post-title {
  margin: 0 0 12px 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

.post-title a {
  text-decoration: none;
  color: #000;
  text-transform: none;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.post-excerpt {
  color: #333333;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
}

.post-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  color: #202939;
}

.post-meta-info {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  color: #697586;
}

.post-meta {
  color: #666;
  font-size: 14px;
}

.load-more-container {
  text-align: center;
  margin-top: 30px;
}

.load-more-btn {
  color: var(--primary-color);
  text-transform: uppercase;
  text-decoration: underline;
}

.load-more-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.single-post #wrapper ul,
.single-post #wrapper li {
  margin-left: 0;
  list-style: none;
}

.single-post #wrapper h2.wp-block-heading {
  font-size: 18px;
  line-height: 1.4;
  margin-top: 10px;
  margin-bottom: 10px;
}

.single-post #wrapper h3.wp-block-heading {
  font-size: 16px;
  line-height: 1.4;
  margin-top: 10px;
  margin-bottom: 10px;
}
.single-post #wrapper blockquote {
  padding-left: 20px;
}

.single-post #wrapper .section-content img {
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100% !important;
}