
#hero-14 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68vh;
  padding: 6rem 0;
  text-align: center;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  --hero-overlay-color: transparent;
}
#hero-14::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--hero-overlay-color);
  z-index: 1;
  pointer-events: none;
}
#hero-14 .container {
  position: relative;
  z-index: 2;
}
#hero-14 .hero-content-wrapper-14 {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
#hero-14 .hero-title-14 {
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
#hero-14 .hero-subtitle-14 {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}
#hero-14 .hero-form-wrapper-14 {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
#hero-14 .input-group .form-control {
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  border-radius: 0.3rem 0 0 0.3rem;
  border: none;
}
#hero-14 .input-group .btn-form-submit-14 {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 0 0.3rem 0.3rem 0;
  border: none;
  background-color: #0d6efd;
  color: #ffffff;
  transition: filter 0.2s ease;
}
#hero-14 .input-group .btn-form-submit-14:hover {
  filter: brightness(110%);
}
@media (max-width: 767.98px) {
  #hero-14 {
    min-height: 60vh;
    padding: 4rem 0;
  }
  #hero-14 .hero-title-14 {
    font-size: 2.2rem;
  }
  #hero-14 .hero-subtitle-14 {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  #hero-14 .input-group {
    flex-direction: column;
    gap: 0.5rem;
  }
  #hero-14 .input-group .form-control,
  #hero-14 .input-group .btn-form-submit-14 {
    border-radius: 0.3rem;
    width: 100%;
  }
}



/* Section spacing */
#category-posts-17 {
  padding: 80px 0;
  background: #f9f9f9;
}

/* Header */
#category-posts-17 .section-header {
  text-align: center;
  margin-bottom: 50px;
}
#category-posts-17 .section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #212529;
}
#category-posts-17 .section-subtitle {
  font-size: 1rem;
  color: #6c757d;
}

/* Zigzag item */
#category-posts-17 .zigzag-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  transition: transform .3s ease;
}
#category-posts-17 .zigzag-item.reverse {
  flex-direction: row-reverse;
}
#category-posts-17 .zigzag-item:nth-child(even) {
  background: #ffffff;
}
#category-posts-17 .zigzag-item:nth-child(odd) {
  background: #f1f5f9;
}
#category-posts-17 .zigzag-item:hover {
  transform: translateY(-5px);
}

/* Media queries */
@media (max-width: 992px) {
  #category-posts-17 .zigzag-item {
    flex-direction: column !important;
  }
}

/* Image column */
#category-posts-17 .zigzag-img {
  flex: 0 0 40%;
  max-width: 40%;
  padding: 1rem;
}
#category-posts-17 .zigzag-img img {
  width: 100%;
  border-radius: .75rem;
  display: block;
}

/* Content column */
#category-posts-17 .zigzag-content {
  flex: 1;
  padding: 1rem;
}
#category-posts-17 .zigzag-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: .75rem;
  color: #212529;
}
#category-posts-17 .zigzag-content p {
  font-size: 1rem;
  color: #495057;
  margin-bottom: 1rem;
}

/* Read More button */
#category-posts-17 .btn-readmore {
  font-size: .875rem;
  font-weight: 500;
  color: #4f46e5;
  border: 1px solid #4f46e5;
  border-radius: .5rem;
  padding: .5rem 1rem;
  display: inline-flex;
  align-items: center;
  transition: background .3s ease, color .3s ease;
}
#category-posts-17 .btn-readmore i {
  margin-left: .5rem;
  transition: transform .3s ease;
}
#category-posts-17 .btn-readmore:hover {
  background: #4f46e5;
  color: #fff;
}
#category-posts-17 .btn-readmore:hover i {
  transform: translateX(4px);
}

/* Pagination & Load More */
#category-posts-17 .pagination-wrapper,
#category-posts-17 .load-more-wrapper {
  text-align: center;
  margin-top: 2.5rem;
}



