
#hero-22 {
  overflow: hidden;
  background-color: #e9ecef;
}
#hero-22 .row {
  min-height: 70vh;
}
#hero-22 .hero-image-col-22 {
  background-size: cover;
  background-position: center;
  min-height: 350px;
}
#hero-22 .hero-text-col-22 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem;
}
#hero-22 .hero-title-22 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
#hero-22 .hero-subtitle-22 {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 2rem;
}
#hero-22 .hero-cta-button-22 {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.25rem;
  text-decoration: none;
  border: none;
  align-self: flex-start;
  transition: opacity 0.2s ease;
}
#hero-22 .hero-cta-button-22:hover {
  opacity: 0.85;
}
@media (min-width: 768px) {
  #hero-22 .hero-image-col-22 {
    min-height: 100%;
  }
}
@media (max-width: 991.98px) {
  #hero-22 .hero-text-col-22 {
    padding: 3rem 4rem;
  }
  #hero-22 .hero-title-22 {
    font-size: 2.4rem;
  }
}
@media (max-width: 767.98px) {
  #hero-22 .hero-text-col-22 {
    padding: 3rem 2rem;
    text-align: center;
  }
  #hero-22 .hero-cta-button-22 {
    align-self: center;
  }
  #hero-22 .hero-title-22 {
    font-size: 2.1rem;
  }
}



/* Scoped variables for section */
#category-posts-24 {
  --cp-gradient-bg: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
  padding: 80px 20px;
  background: var(--cp-gradient-bg);
  overflow: hidden;
  position: relative;
}

/* Header */
#category-posts-24 .section-header {
  text-align: center;
  margin-bottom: 50px;
  color: #fff;
}
#category-posts-24 .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
#category-posts-24 .section-subtitle {
  font-size: 1.125rem;
  opacity: .9;
}

/* Grid */
#category-posts-24 .flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 2rem;
}

/* Fade-in on scroll */
#category-posts-24 .flip-card-wrapper {
  perspective: 1000px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
#category-posts-24 .flip-card-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card */
#category-posts-24 .flip-card {
  width: 100%;
  height: 360px;
  position: relative;
}
#category-posts-24 .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s ease;
}
#category-posts-24 .flip-card-wrapper:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back */
#category-posts-24 .flip-card-front,
#category-posts-24 .flip-card-back {
  position: absolute;
  width: 100%; height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Front side */
#category-posts-24 .flip-card-front {
  background: #fff;
  display: flex;
  flex-direction: column;
}
#category-posts-24 .flip-card-front img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
#category-posts-24 .flip-card-front .front-body {
  padding: 1rem;
  flex: 1;
}
#category-posts-24 .flip-card-front h3 {
  font-size: 1.125rem;
  margin: 0;
  color: #333;
}

/* Back side */
#category-posts-24 .flip-card-back {
  background: rgba(255,255,255,0.95);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}
#category-posts-24 .flip-card-back p {
  font-size: .95rem;
  color: #444;
  flex: 1;
  margin-bottom: 1rem;
}
#category-posts-24 .flip-card-back .btn-readmore {
  align-self: flex-end;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
  background: #66a6ff;
  border-radius: .5rem;
  text-decoration: none;
  transition: background .3s ease, transform .3s ease;
}
#category-posts-24 .flip-card-back .btn-readmore:hover {
  background: #89f7fe;
  transform: translateY(-2px);
}

/* Pagination & Load More */
#category-posts-24 .pagination-wrapper,
#category-posts-24 .load-more-wrapper {
  text-align: center;
  margin-top: 3rem;
}




#call-to-action-2 {
  padding: 60px 15px;
  background-color: #007bff;
  color: #fff;
  text-align: center;
}
#call-to-action-2 h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}
#call-to-action-2 p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
#call-to-action-2 .btn {
  display: inline-block;
  margin: 5px;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
#call-to-action-2 .btn-primary {
  background-color: #0056b3;
  color: #fff;
}
#call-to-action-2 .btn-primary:hover {
  background-color: #003f7f;
}
#call-to-action-2 .btn-outline {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}
#call-to-action-2 .btn-outline:hover {
  background-color: #fff;
  color: #007bff;
}


