
/* Section spacing */
#category-posts-17 {
  padding: 80px 0;
  background: #f9f9f9;
}

/* Header */
#category-posts-17 .section-header {
  text-align: center;
  margin-bottom: 50px;
}
#category-posts-17 .section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #212529;
}
#category-posts-17 .section-subtitle {
  font-size: 1rem;
  color: #6c757d;
}

/* Zigzag item */
#category-posts-17 .zigzag-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  transition: transform .3s ease;
}
#category-posts-17 .zigzag-item.reverse {
  flex-direction: row-reverse;
}
#category-posts-17 .zigzag-item:nth-child(even) {
  background: #ffffff;
}
#category-posts-17 .zigzag-item:nth-child(odd) {
  background: #f1f5f9;
}
#category-posts-17 .zigzag-item:hover {
  transform: translateY(-5px);
}

/* Media queries */
@media (max-width: 992px) {
  #category-posts-17 .zigzag-item {
    flex-direction: column !important;
  }
}

/* Image column */
#category-posts-17 .zigzag-img {
  flex: 0 0 40%;
  max-width: 40%;
  padding: 1rem;
}
#category-posts-17 .zigzag-img img {
  width: 100%;
  border-radius: .75rem;
  display: block;
}

/* Content column */
#category-posts-17 .zigzag-content {
  flex: 1;
  padding: 1rem;
}
#category-posts-17 .zigzag-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: .75rem;
  color: #212529;
}
#category-posts-17 .zigzag-content p {
  font-size: 1rem;
  color: #495057;
  margin-bottom: 1rem;
}

/* Read More button */
#category-posts-17 .btn-readmore {
  font-size: .875rem;
  font-weight: 500;
  color: #4f46e5;
  border: 1px solid #4f46e5;
  border-radius: .5rem;
  padding: .5rem 1rem;
  display: inline-flex;
  align-items: center;
  transition: background .3s ease, color .3s ease;
}
#category-posts-17 .btn-readmore i {
  margin-left: .5rem;
  transition: transform .3s ease;
}
#category-posts-17 .btn-readmore:hover {
  background: #4f46e5;
  color: #fff;
}
#category-posts-17 .btn-readmore:hover i {
  transform: translateX(4px);
}

/* Pagination & Load More */
#category-posts-17 .pagination-wrapper,
#category-posts-17 .load-more-wrapper {
  text-align: center;
  margin-top: 2.5rem;
}



