
#hero-23 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 5rem 0;
  text-align: center;
}
#hero-23 .container {
  position: relative;
  z-index: 2;
}
#hero-23 .hero-content-wrapper-23 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
#hero-23 .hero-title-23 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
#hero-23 .hero-subtitle-23 {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 1.75rem;
  opacity: 0.95;
}
#hero-23 .hero-cta-button-23 {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  transition: background-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
}
#hero-23 .hero-cta-button-23:hover {
  filter: brightness(115%);
}
@media (max-width: 767.98px) {
  #hero-23 {
    min-height: 50vh;
    padding: 4rem 0;
  }
  #hero-23 .hero-title-23 {
    font-size: 2.4rem;
  }
  #hero-23 .hero-subtitle-23 {
    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;
}




/* === Masonry Grid === */
.post-section .post-grid {
  column-count: 1;
  column-gap: 1rem;
}
@media (min-width: 576px) {
  .post-section .post-grid { column-count: 2; }
}
@media (min-width: 992px) {
  .post-section .post-grid { column-count: 3; }
}
.post-section .post-card {
  break-inside: avoid;
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.post-section .post-card:hover {
  transform: translateY(-5px);
}
.post-section .post-card img {
  width: 100%;
  display: block;
}
.post-section .post-card .card-body {
  padding: 1rem;
}
.post-section .post-card .card-body h5 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.post-section .post-card .card-body p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

/* === Fancy Button === */
.btn-fancy {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--btn-grad-start), var(--btn-grad-end));
  border: none;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}
.btn-fancy i {
  margin-left: 0.5rem;
  transition: transform 0.3s;
}
.btn-fancy:hover {
  transform: translateY(-2px);
}
.btn-fancy:hover i {
  transform: translateX(4px);
}

/* === Section Header & Pagination === */
.post-section {
  padding: 60px 0;
  background: #f9f9f9;
}
.post-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}
.post-section .section-header h2 {
  font-size: 2rem;
  font-weight: 700;
}
.post-section .section-header p {
  color: #666;
  margin-top: 8px;
}
.pagination-wrapper {
  text-align: center;
  margin-top: 40px;
}



