
#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;
  }
}



/* category-posts-2 Styles */
#category-posts-2 {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #f8f9fa; /* Light background for the section */
}

#category-posts-2 .section-header {
    margin-bottom: 3rem;
    text-align: center;
}

#category-posts-2 .section-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40; /* Darker title */
    margin-bottom: 0.5rem;
}

#category-posts-2 .section-header .section-subtitle {
    font-size: 1.1rem;
    color: #6c757d; /* Muted subtitle */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Post Styles */
#category-posts-2 .featured-post-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#category-posts-2 .featured-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
}

#category-posts-2 .featured-post-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%; /* Ensure wrapper takes height for object-fit */
}

#category-posts-2 .featured-post-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area, might crop */
    transition: transform 0.3s ease;
}

#category-posts-2 .featured-post-card:hover .featured-post-image-wrapper img {
    transform: scale(1.05);
}

#category-posts-2 .featured-post-content {
    padding: 2rem;
}

#category-posts-2 .featured-post-content .featured-post-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

#category-posts-2 .featured-post-content .featured-post-title a {
    color: inherit;
    text-decoration: none;
}

#category-posts-2 .featured-post-content .featured-post-title a:hover {
    color: #007bff; /* Bootstrap primary color */
}

#category-posts-2 .featured-post-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

#category-posts-2 .featured-post-meta .meta-item {
    margin-right: 1rem;
}

#category-posts-2 .featured-post-meta .meta-item i {
    margin-right: 0.3rem;
}

#category-posts-2 .featured-post-excerpt {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

#category-posts-2 .readmore-btn {
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

#category-posts-2 .readmore-btn i {
    margin-left: 0.3rem;
    transition: transform 0.2s ease;
}

#category-posts-2 .readmore-btn:hover i {
    transform: translateX(3px);
}

/* Secondary Post Card Styles */
#category-posts-2 .post-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.075);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Make cards in a row same height */
}

#category-posts-2 .post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

#category-posts-2 .post-card .card-img-top-wrapper {
    width: 100%;
    height: 200px; /* Fixed height for images */
    overflow: hidden;
}

#category-posts-2 .post-card .card-img-top-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#category-posts-2 .post-card:hover .card-img-top-wrapper img {
    transform: scale(1.05);
}

#category-posts-2 .post-card .card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows card body to grow and push footer down */
}

#category-posts-2 .post-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

#category-posts-2 .post-card .card-title a {
    color: inherit;
    text-decoration: none;
}

#category-posts-2 .post-card .card-title a:hover {
    color: #007bff;
}

#category-posts-2 .post-card .card-text {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1; /* Allows text to take available space */
}

#category-posts-2 .post-card .card-footer {
    background-color: transparent;
    border-top: none;
    padding: 0 1.25rem 1.25rem; /* Adjust padding if needed */
}

#category-posts-2 .post-card .readmore-btn {
    font-size: 0.9rem;
}

/* Pagination Wrapper */
#category-posts-2 .pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    #category-posts-2 .featured-post-image-wrapper {
        height: 300px; /* Adjust height for tablet */
    }
    #category-posts-2 .featured-post-content {
        padding: 1.5rem;
    }
    #category-posts-2 .featured-post-content .featured-post-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    #category-posts-2 {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    #category-posts-2 .section-header .section-title {
        font-size: 2rem;
    }
    #category-posts-2 .section-header .section-subtitle {
        font-size: 1rem;
    }
    #category-posts-2 .featured-post-card .row > div[class^="col-"] {
        width: 100%; /* Stack image and content */
    }
    #category-posts-2 .featured-post-image-wrapper {
        height: 250px; /* Adjust height for mobile */
        border-bottom-left-radius: 0; /* Remove radius if stacked */
        border-top-right-radius: 0.5rem;
    }
    #category-posts-2 .featured-post-image-wrapper img {
        border-bottom-left-radius: 0;
        border-top-right-radius: 0.5rem;
    }
     #category-posts-2 .featured-post-content {
        border-top-left-radius: 0;
        border-bottom-right-radius: 0.5rem;
        border-bottom-left-radius: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    #category-posts-2 .post-card .card-img-top-wrapper {
        height: 180px; /* Adjust image height for smaller mobile */
    }
     #category-posts-2 .post-card .card-title {
        font-size: 1.1rem;
    }
     #category-posts-2 .post-card .card-text {
        font-size: 0.9rem;
    }
}




#content-block-18 {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: #fff;
}
#content-block-18 .section-header {
  margin-bottom: 3rem;
  text-align: center;
}
#content-block-18 .section-header h2 {
  font-weight: 700;
  color: #343a40;
  margin-bottom: 0.5rem;
}
#content-block-18 .section-header p {
  color: #6c757d;
  font-size: 1.1rem;
}
#content-block-18 .content-column {
  margin-bottom: 1.5rem;
}
#content-block-18 .content-column h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--bs-primary, #0d6efd);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
  display: inline-block;
}
#content-block-18 .content-column h5 {
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #495057;
}
#content-block-18 .content-column p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1rem;
}
#content-block-18 .content-column p:last-child {
  margin-bottom: 0;
}
#content-block-18 .content-column ul,
#content-block-18 .content-column ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #555;
}
#content-block-18 .content-column ul li,
#content-block-18 .content-column ol li {
  margin-bottom: 0.3rem;
}
@media (min-width: 768px) {
  /* #content-block-18 .content-column:not(:last-child) {
    border-right: 1px solid #e9ecef;
    padding-right: 1.5rem;
  }
  #content-block-18 .content-column:not(:first-child) {
     padding-left: 1.5rem;
  } */
  #content-block-18 .content-column {
    margin-bottom: 0;
  }
}


