/* Posts/Blog Section Styling */
.blog {
  padding: 60px 0;
}

.blog.section-title h2 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 2rem;
}

.blog.section-title p {
  color: var(--default-color);
}

.post-item {
  background: #fff;
  padding: 15px 20px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
}

.post-item:hover {
  text-decoration: none;
}

.post-image {
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #f0f0f0;
}

.post-image img {
  transition: transform 0.3s ease;
  width: 100%;
}

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

.post-item h3 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.post-item:hover h3 {
  color: var(--accent-color);
}

.post-date {
  font-size: 0.85rem;
}

.post-excerpt {
  color: var(--default-color);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .blog {
    padding: 40px 0;
  }

  .post-item h3 {
    font-size: 1rem;
  }

  .post-excerpt {
    font-size: 0.85rem;
  }
}