
/* Section & animated gradient background */
#category-posts-27 {
  position: relative;
  padding: 100px 20px;
  overflow: hidden;
  background: linear-gradient(120deg, #8e44ad, #3498db, #2ecc71);
  background-size: 300% 300%;
  animation: gradientShift 15s ease infinite;
}

/* Floating abstract shapes */
#category-posts-27::before,
#category-posts-27::after,
#category-posts-27 .shape {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}
#category-posts-27::before {
  width: 400px; height: 400px;
  background: #ffffff;
  top: -100px; left: -100px;
}
#category-posts-27::after {
  width: 300px; height: 300px;
  background: #ffffff;
  bottom: -80px; right: -120px;
  animation-duration: 25s;
}
#category-posts-27 .shape {
  width: 200px; height: 200px;
  background: #ffffff;
  top: 30%; right: 10%;
  animation-duration: 18s;
}
#category-posts-27 .shape.triangle {
  border-radius: 0;
  clip-path: polygon(50% 0, 0% 100%, 100% 100%);
  background: rgba(255,255,255,0.1);
  width: 250px; height: 250px;
  top: 10%; right: 60%;
  animation-duration: 22s;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(30px, -20px) scale(1.1); }
}

/* Container */
#category-posts-27 .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
#category-posts-27 .section-header {
  text-align: center;
  margin-bottom: 60px;
  color: #fff;
}
#category-posts-27 .section-title {
  font-size: 2.75rem;
  font-weight: 700;
}
#category-posts-27 .section-subtitle {
  font-size: 1.125rem;
  opacity: .85;
  margin-top: .5rem;
}

/* Grid */
#category-posts-27 .post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 2rem;
}

/* Clickable wrapper */
#category-posts-27 .card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Glass card */
#category-posts-27 .post-card {
  position: relative;
  background: rgba(255,255,255,0.15);
  border-radius: 1rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform .6s ease, opacity .6s ease, box-shadow .3s ease;
}
#category-posts-27 .post-card.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}
#category-posts-27 .post-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  transform: translateY(-5px) scale(1.02);
}

/* Thumbnail */
#category-posts-27 .post-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Card body */
#category-posts-27 .card-body {
  padding: 1rem;
}
#category-posts-27 .card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
#category-posts-27 .card-meta {
  font-size: .875rem;
  opacity: .75;
  margin-bottom: .75rem;
}
#category-posts-27 .card-excerpt {
  font-size: .95rem;
  margin-bottom: 1rem;
}

/* Read More button */
#category-posts-27 .btn-readmore {
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
  background: rgba(0,0,0,0.25);
  padding: .5rem 1rem;
  border-radius: .5rem;
  display: inline-flex;
  align-items: center;
  transition: background .3s ease, transform .3s ease;
}
#category-posts-27 .btn-readmore i {
  margin-left: .5rem;
  transition: transform .3s ease;
}
#category-posts-27 .btn-readmore:hover {
  background: rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
#category-posts-27 .btn-readmore:hover i {
  transform: translateX(4px);
}

/* Pagination & Load More */
#category-posts-27 .pagination-wrapper,
#category-posts-27 .load-more-wrapper {
  text-align: center;
  margin-top: 3rem;
}



