
#hero-18 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 68vh;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  text-align: right;
}
#hero-18 .hero-overlay-18 {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
#hero-18 .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
#hero-18 .hero-content-wrapper-18 {
  max-width: 680px;
  margin-right: 0;
  margin-left: auto;
}
#hero-18 .hero-title-18 {
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
#hero-18 .hero-subtitle-18 {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}
#hero-18 .hero-cta-button-18 {
  display: inline-block;
  padding: 0.8rem 2.1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}
#hero-18 .hero-cta-button-18:hover {
  transform: translateY(-2px);
  filter: brightness(110%);
}
@media (max-width: 767.98px) {
  #hero-18 {
    min-height: 60vh;
    padding: 4rem 0;
    text-align: center;
    justify-content: center;
  }
  #hero-18 .container {
    justify-content: center;
  }
  #hero-18 .hero-content-wrapper-18 {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
  }
  #hero-18 .hero-title-18 {
    font-size: 2.4rem;
  }
  #hero-18 .hero-subtitle-18 {
    font-size: 1.1rem;
  }
}



/* Section & gradient background */
#category-posts-22 {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
  color: #fff;
  overflow: hidden;
}

/* Floating accent circles */
#category-posts-22::before,
#category-posts-22::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation: float 15s infinite ease-in-out;
}
#category-posts-22::before {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #ff6a88, #ff99ac);
  top: -100px; left: -100px;
}
#category-posts-22::after {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #24c6dc, #514a9d);
  bottom: -80px; right: -80px;
  animation-duration: 20s;
}

@keyframes float {
  0%,100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(20px) translateX(20px); }
}

/* Container */
#category-posts-22 .container {
  position: relative;
  z-index: 1;
}

/* Header */
#category-posts-22 .section-header {
  text-align: center;
  margin-bottom: 50px;
}
#category-posts-22 .section-title {
  font-size: 2.5rem;
  font-weight: 700;
}
#category-posts-22 .section-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
}

/* Grid layout */
#category-posts-22 .post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Clickable wrapper */
.post-card-wrapper {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Glass card */
#category-posts-22 .post-card {
  position: relative;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: .75rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform .5s ease, opacity .5s ease, box-shadow .3s ease;
}
#category-posts-22 .post-card.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}
#category-posts-22 .post-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.4);
}

/* Thumbnail */
#category-posts-22 .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%);
}

/* Card body */
#category-posts-22 .card-body {
  padding: 60px 1rem 1rem;
  text-align: center;
}
#category-posts-22 .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
#category-posts-22 .card-meta {
  font-size: .875rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: .75rem;
}
#category-posts-22 .card-meta i {
  margin-right: .25rem;
}

/* Excerpt */
#category-posts-22 .card-excerpt {
  font-size: .95rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}

/* Read More */
#category-posts-22 .btn-readmore {
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255,255,255,0.2);
  padding: .5rem 1rem;
  border-radius: .5rem;
  display: inline-flex;
  align-items: center;
  transition: background .3s ease, transform .3s ease;
}
#category-posts-22 .btn-readmore i {
  margin-left: .5rem;
  transition: transform .3s ease;
}
#category-posts-22 .btn-readmore:hover {
  background: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}
#category-posts-22 .btn-readmore:hover i {
  transform: translateX(4px);
}

/* Pagination & Load More */
#category-posts-22 .pagination-wrapper,
#category-posts-22 .load-more-wrapper {
  text-align: center;
  margin-top: 3rem;
}




#call-to-action-8 {
  background-color: #17a2b8;
  color: #fff;
  padding: 70px 20px;
  text-align: center;
}
#call-to-action-8 h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: bold;
}
#call-to-action-8 p {
  font-size: 18px;
  margin-bottom: 30px;
}
#call-to-action-8 .cta-btn {
  padding: 12px 30px;
  background-color: #fff;
  color: #17a2b8;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
#call-to-action-8 .cta-btn:hover {
  background-color: #e2e6ea;
  color: #17a2b8;
}
@media (max-width: 767.98px) {
  #call-to-action-8 h2 {
    font-size: 28px;
  }
  #call-to-action-8 p {
    font-size: 16px;
  }
}


