
#hero-24 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 8rem 0;
  text-align: center;
}
#hero-24 .container {
  width: 100%;
}
#hero-24 .hero-content-wrapper-24 {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}
#hero-24 .hero-title-24 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
#hero-24 .hero-subtitle-24 {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 0;
  opacity: 0.85;
}
@media (max-width: 991.98px) {
  #hero-24 {
    padding: 7rem 0;
  }
  #hero-24 .hero-title-24 {
    font-size: 3.2rem;
  }
  #hero-24 .hero-subtitle-24 {
    font-size: 1.2rem;
  }
}
@media (max-width: 767.98px) {
  #hero-24 {
    padding: 5rem 0;
    min-height: 40vh;
  }
  #hero-24 .hero-title-24 {
    font-size: 2.6rem;
  }
  #hero-24 .hero-subtitle-24 {
    font-size: 1.1rem;
  }
}



/* Section background & animated gradient */
#category-posts-28 {
  position: relative;
  padding: 100px 20px;
  background: linear-gradient(45deg, #ff9a9e, #fad0c4, #fbc2eb);
  background-size: 600% 600%;
  animation: gradientShift 15s ease infinite;
  overflow: hidden;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Pattern overlay */
#category-posts-28 .pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle 4px, rgba(255,255,255,0.2) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 1;
}

/* Container above pattern */
#category-posts-28 .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
#category-posts-28 .section-header {
  text-align: center;
  margin-bottom: 60px;
  color: #fff;
}
#category-posts-28 .section-title {
  font-size: 2.75rem;
  font-weight: 700;
}
#category-posts-28 .section-subtitle {
  font-size: 1rem;
  opacity: .9;
  margin-top: .5rem;
}

/* Grid */
#category-posts-28 .post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 2rem;
}

/* Clickable wrapper */
#category-posts-28 .post-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Card base */
#category-posts-28 .post-card {
  position: relative;
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform .6s ease, opacity .6s ease;
}
#category-posts-28 .post-card.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Media */
#category-posts-28 .post-card .card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Overlay */
#category-posts-28 .post-card .card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity .3s ease;
}
#category-posts-28 .post-card:hover .card-overlay {
  opacity: 1;
}

/* Overlay content slides up */
#category-posts-28 .overlay-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform .3s ease;
  color: #fff;
}
#category-posts-28 .post-card:hover .overlay-content {
  transform: translateY(0);
}

/* Overlay text */
#category-posts-28 .overlay-content h3 {
  font-size: 1.125rem;
  margin: 0 0 .5rem;
}
#category-posts-28 .overlay-content p {
  font-size: .9rem;
  margin-bottom: 1rem;
}

/* Read More button */
#category-posts-28 .btn-readmore {
  display: inline-flex;
  align-items: center;
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255,255,255,0.2);
  padding: .5rem 1rem;
  border-radius: .5rem;
  transition: background .3s ease, transform .3s ease;
}
#category-posts-28 .btn-readmore i {
  margin-left: .5rem;
  transition: transform .3s ease;
}
#category-posts-28 .btn-readmore:hover {
  background: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}
#category-posts-28 .btn-readmore:hover i {
  transform: translateX(4px);
}

/* Pagination & Load More */
#category-posts-28 .pagination-wrapper,
#category-posts-28 .load-more-wrapper {
  text-align: center;
  margin-top: 3rem;
}




/* === Section Base === */
.post-section {
  position: relative;
  padding: 60px 0;
  background: #f8f9fa;
}
.post-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}
.post-section .section-header h2 {
  font-size: 2rem;
  font-weight: 700;
}
.post-section .section-header p {
  color: #555;
  margin-top: 8px;
}

/* === Timeline Line & Container === */
.timeline {
  position: relative;
  margin: 0 auto;
  padding: 1rem 0;
  width: 90%;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--timeline-color);
  transform: translateX(-50%);
}

/* === Timeline Items === */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

/* === Marker Dot === */
.timeline-item::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  width: 16px;
  height: 16px;
  background: var(--timeline-color);
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--timeline-color);
}
.timeline-item:nth-child(odd)::before {
  right: -8px;
}
.timeline-item:nth-child(even)::before {
  left: -8px;
}

/* === Content === */
.timeline-item .date {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.5rem;
}
.timeline-item h5 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.timeline-item p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}
.timeline-item .btn-readmore {
  font-size: 0.85rem;
  color: var(--timeline-color);
  text-decoration: none;
  border-bottom: 1px solid var(--timeline-color);
  transition: color 0.3s, border-color 0.3s;
}
.timeline-item .btn-readmore:hover {
  color: #000;
  border-color: #000;
}

/* === Responsive === */
@media (max-width: 767.98px) {
  .timeline::before {
    left: 8px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 2.5rem;
    padding-right: 1rem;
    text-align: left !important;
  }
  .timeline-item::before {
    left: 0;
  }
}

/* === Pagination === */
.pagination-wrapper {
  text-align: center;
  margin-top: 40px;
}



