
#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;
  }
}



/* Section gradient & spacing */
#category-posts-9 {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 0 120px;
  color: #fff;
  overflow: hidden;
}

/* Header */
#category-posts-9 .section-header {
  text-align: center;
  margin-bottom: 50px;
}
#category-posts-9 .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
#category-posts-9 .section-subtitle {
  font-size: 1.1rem;
  opacity: .85;
}

/* Grid cards */
#category-posts-9 .post-card {
  background: rgba(255,255,255,0.1);
  border-radius: .5rem;
  overflow: hidden;
  transition: transform .3s ease;
}
#category-posts-9 .post-card:hover {
  transform: translateY(-5px);
}
#category-posts-9 .post-card img {
  width: 100%;
  display: block;
}

/* Card body */
#category-posts-9 .card-body {
  padding: 1rem;
}
#category-posts-9 .card-body h5 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}
#category-posts-9 .card-body .btn {
  font-size: .9rem;
}

/* Wave SVG separator */
#category-posts-9 .wave-separator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}
#category-posts-9 .wave-separator svg {
  display: block;
  width: 100%;
  height: auto;
}




/* style.css for post-section-1 */
#post-section-1 {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #f9f9f9; /* A slightly different light background */
}

#post-section-1 .section-header {
    margin-bottom: 45px;
}

#post-section-1 .section-header .section-title {
    font-size: 2.2rem; /* Adjusted font size */
    font-weight: 700;
    color: #2c3e50; /* A deep blue/grey color */
    margin-bottom: 8px;
}

#post-section-1 .section-header .section-subtitle {
    font-size: 1rem;
    color: #7f8c8d; /* A softer grey for subtitle */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#post-section-1 .article-card {
    background-color: #ffffff;
    border: none; /* Removed border, relying on shadow */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* To ensure child elements like image respect border-radius */
}

#post-section-1 .article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

#post-section-1 .article-card-image-wrapper {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    overflow: hidden;
}

#post-section-1 .article-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

#post-section-1 .article-card:hover .article-card-image {
    transform: scale(1.07);
}

#post-section-1 .article-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#post-section-1 .article-categories {
    margin-bottom: 12px;
}

#post-section-1 .article-category-link {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 4px 10px;
    margin-right: 6px;
    margin-bottom: 6px; /* For wrapping badges */
    display: inline-block;
    background-color: #e74c3c; /* A distinct primary color */
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

#post-section-1 .article-category-link:hover {
    background-color: #c0392b; /* Darker shade on hover */
}

#post-section-1 .article-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #34495e; /* Darker text color */
    margin-bottom: 10px;
    line-height: 1.4;
}

#post-section-1 .article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

#post-section-1 .article-title a:hover {
    color: #e74c3c; /* Primary color on hover */
}

#post-section-1 .article-meta {
    font-size: 0.85rem;
    color: #95a5a6; /* Lighter grey for meta */
    margin-bottom: 15px;
}

#post-section-1 .article-meta .meta-icon {
    margin-right: 6px;
    color: #bdc3c7; /* Icon color */
}

#post-section-1 .article-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes button to the bottom */
}

#post-section-1 .article-readmore-btn {
    background-color: #3498db; /* A different accent color for button */
    border-color: #3498db;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    margin-top: auto; /* Stick to bottom */
    align-self: flex-start; /* Align button to the left */
}

#post-section-1 .article-readmore-btn .btn-icon {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

#post-section-1 .article-readmore-btn:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

#post-section-1 .article-readmore-btn:hover .btn-icon {
    transform: translateX(3px);
}

#post-section-1 .pagination-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    #post-section-1 .article-card-image-wrapper {
        height: 200px;
    }
    #post-section-1 .article-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 767.98px) {
    #post-section-1 {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    #post-section-1 .section-header .section-title {
        font-size: 1.9rem;
    }
    #post-section-1 .article-card {
        margin-bottom: 30px; /* Add margin for stacked cards */
    }
    #post-section-1 .article-card-image-wrapper {
        height: 180px;
    }
}



