
/* Section container & scoped vars */
#category-posts-23 {
  --cp-gradient: linear-gradient(135deg, #ff416c, #ff4b2b);
  --cp-card-bg: #ffffff;
  --cp-card-radius: 1rem;
  --cp-card-shadow: 0 6px 20px rgba(0,0,0,0.1);
  --cp-accent-size: 2rem;

  padding: 80px 20px;
  background: #f5f7fa;
}

/* Header */
#category-posts-23 .section-header {
  text-align: center;
  margin-bottom: 50px;
}
#category-posts-23 .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  display: inline-block;
  position: relative;
}
#category-posts-23 .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 60%;
  height: 4px;
  background: var(--cp-gradient);
  transform: translateX(-50%);
  border-radius: 2px;
}
#category-posts-23 .section-subtitle {
  font-size: 1rem;
  color: #666;
  margin-top: .5rem;
}

/* Grid layout */
#category-posts-23 .post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Clickable wrapper */
#category-posts-23 .post-card-wrapper {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Card */
#category-posts-23 .post-card {
  position: relative;
  background: var(--cp-card-bg);
  border-radius: var(--cp-card-radius);
  box-shadow: var(--cp-card-shadow);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
#category-posts-23 .post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Diagonal accent */
#category-posts-23 .post-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: var(--cp-accent-size);
  height: var(--cp-accent-size);
  background: var(--cp-gradient);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* Thumbnail */
#category-posts-23 .post-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #eee;
}

/* Card content */
#category-posts-23 .card-body {
  padding: 60px 1rem 1rem;
  text-align: center;
}
#category-posts-23 .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: #333;
}
#category-posts-23 .card-meta {
  font-size: .875rem;
  color: #999;
  margin-bottom: .75rem;
}
#category-posts-23 .card-meta i {
  margin-right: .25rem;
}
#category-posts-23 .card-excerpt {
  font-size: .95rem;
  color: #555;
  margin-bottom: 1rem;
}

/* Custom Read More button */
#category-posts-23 .btn-readmore {
  display: inline-block;
  padding: .6rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
  background: var(--cp-gradient);
  border: none;
  border-radius: 50px;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
#category-posts-23 .btn-readmore::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.2);
  opacity: 0;
  transition: opacity .3s ease;
}
#category-posts-23 .btn-readmore:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
#category-posts-23 .btn-readmore:hover::after {
  opacity: 1;
}
#category-posts-23 .btn-readmore i {
  margin-left: .5rem;
  transition: transform .3s ease;
}
#category-posts-23 .btn-readmore:hover i {
  transform: translateX(4px);
}

/* Pagination & Load More */
#category-posts-23 .pagination-wrapper,
#category-posts-23 .load-more-wrapper {
  text-align: center;
  margin-top: 3rem;
}



