
#hero-24 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 8rem 0;
  text-align: center;
}
#hero-24 .container {
  width: 100%;
}
#hero-24 .hero-content-wrapper-24 {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}
#hero-24 .hero-title-24 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
#hero-24 .hero-subtitle-24 {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 0;
  opacity: 0.85;
}
@media (max-width: 991.98px) {
  #hero-24 {
    padding: 7rem 0;
  }
  #hero-24 .hero-title-24 {
    font-size: 3.2rem;
  }
  #hero-24 .hero-subtitle-24 {
    font-size: 1.2rem;
  }
}
@media (max-width: 767.98px) {
  #hero-24 {
    padding: 5rem 0;
    min-height: 40vh;
  }
  #hero-24 .hero-title-24 {
    font-size: 2.6rem;
  }
  #hero-24 .hero-subtitle-24 {
    font-size: 1.1rem;
  }
}



#tag-section-18 {
  padding-bottom: 60px;
  background-color: #f8f9fa;
  overflow: hidden;
}
#tag-section-18 .section-hero-banner {
  position: relative;
  padding: 80px 20px;
  margin-bottom: 50px;
  background-size: cover;
  background-position: center center;
  color: #fff;
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}
#tag-section-18 .section-hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  border-radius: inherit;
}
#tag-section-18 .hero-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
#tag-section-18 .hero-banner-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  text-transform: capitalize;
}
#tag-section-18 .hero-banner-subtitle {
  font-size: 1.1rem;
  margin-bottom: 0;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
#tag-section-18 .post-grid-container {
}
#tag-section-18 .post-image-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
#tag-section-18 .post-image-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
#tag-section-18 .post-image-link {
  display: block;
  overflow: hidden;
  background-color: #eee;
  aspect-ratio: 4 / 3;
}
#tag-section-18 .post-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
#tag-section-18 .post-image-item:hover .post-image {
  transform: scale(1.08);
}
#tag-section-18 .post-caption {
  padding: 12px 15px;
  text-align: center;
  margin-top: auto;
}
#tag-section-18 .post-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 3px;
  line-height: 1.3;
}
#tag-section-18 .post-title a {
  color: #343a40;
  text-decoration: none;
}
#tag-section-18 .post-title a:hover {
  color: #c8a45d;
}
#tag-section-18 .post-meta {
  font-size: 0.8rem;
  color: #999;
}
#tag-section-18 .post-meta i {
  margin-right: 4px;
}
#tag-section-18 .pagination-container {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
#tag-section-18 .pagination {
  margin-bottom: 0;
}
#tag-section-18 .page-item .page-link {
  color: #c8a45d;
  border: 1px solid #dee2e6;
  margin: 0 2px;
  border-radius: 4px;
}
#tag-section-18 .page-item.active .page-link {
  background-color: #c8a45d;
  border-color: #c8a45d;
  color: #fff;
  z-index: 3;
}
#tag-section-18 .page-item.disabled .page-link {
  color: #999;
  background-color: #e9ecef;
  border-color: #dee2e6;
}
#tag-section-18 .page-item .page-link:hover {
  color: #ab8a4a;
  background-color: #e9ecef;
  border-color: #dee2e6;
  z-index: 2;
}
#tag-section-18 .page-item.active .page-link:hover {
  background-color: #c8a45d;
  border-color: #c8a45d;
  color: #fff;
}
@media (max-width: 767.98px) {
  #tag-section-18 {
    padding-bottom: 40px;
  }
  #tag-section-18 .section-hero-banner {
    padding: 60px 15px;
    min-height: 250px;
    margin-bottom: 30px;
  }
  #tag-section-18 .hero-banner-title {
    font-size: 2.2rem;
  }
  #tag-section-18 .hero-banner-subtitle {
    font-size: 1rem;
  }
  #tag-section-18 .post-image-link {
    aspect-ratio: 3 / 2;
  }
  #tag-section-18 .post-title {
    font-size: 0.95rem;
  }
}



/* style.css for post-section-2 */
#post-section-2 {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #ffffff; /* Clean white background */
}

#post-section-2 .section-header {
    margin-bottom: 45px;
    text-align: center;
}

#post-section-2 .section-header .section-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

#post-section-2 .section-header .section-subtitle {
    font-size: 1.05rem;
    color: #666;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

#post-section-2 .post-list-item {
    background-color: #f8f9fa; /* Light background for each item */
    border-radius: 8px;
    margin-bottom: 30px;
    padding: 20px; /* Inner padding for the item */
    overflow: hidden; /* To contain floated elements or for box-shadow */
    transition: box-shadow 0.3s ease-in-out;
}

#post-section-2 .post-list-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

#post-section-2 .post-item-image-wrapper {
    border-radius: 6px;
    overflow: hidden;
    max-height: 300px; /* Control image height */
}

#post-section-2 .post-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#post-section-2 .post-list-item:hover .post-item-image {
    transform: scale(1.05);
}

#post-section-2 .post-item-content {
    padding-left: 25px; /* Space between image and content on larger screens */
    padding-right: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content if row height allows */
    height: 100%; /* Ensure content area takes full height of its column */
}

/* For alternating layout, content padding adjustment might be needed if image is on the right */
#post-section-2 .post-list-item .order-md-last + .col-md-7 .post-item-content,
#post-section-2 .post-list-item .order-lg-last + .col-lg-7 .post-item-content {
    padding-left: 25px;
    padding-right: 0;
}
#post-section-2 .post-list-item .order-md-first + .col-md-7 .post-item-content,
#post-section-2 .post-list-item .order-lg-first + .col-lg-7 .post-item-content {
    padding-right: 25px;
    padding-left: 0;
}


#post-section-2 .post-item-categories {
    margin-bottom: 10px;
}

#post-section-2 .post-item-category-badge {
    font-size: 0.75rem;
    padding: 0.35em 0.7em;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
    background-color: #5c6bc0; /* Indigo accent for categories */
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

#post-section-2 .post-item-category-badge:hover {
    background-color: #3f51b5; /* Darker indigo */
}

#post-section-2 .post-item-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

#post-section-2 .post-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

#post-section-2 .post-item-title a:hover {
    color: #5c6bc0; /* Category color on hover */
}

#post-section-2 .post-item-meta {
    font-size: 0.88rem;
    color: #888;
    margin-bottom: 15px;
}

#post-section-2 .post-item-meta .meta-icon {
    margin-right: 5px;
    color: #aaa;
}

#post-section-2 .post-item-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

#post-section-2 .post-item-readmore-btn {
    background-color: #007bff;
    border-color: #007bff;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    align-self: flex-start; /* Align button to the left of its container */
}

#post-section-2 .post-item-readmore-btn .btn-icon {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

#post-section-2 .post-item-readmore-btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

#post-section-2 .post-item-readmore-btn:hover .btn-icon {
    transform: translateX(4px);
}

#post-section-2 .pagination-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Responsive adjustments for alternating layout */
@media (max-width: 767.98px) {
    #post-section-2 .post-item-content {
        padding-left: 15px; /* Standard padding on mobile */
        padding-right: 15px;
        padding-top: 20px; /* Add space above content when image stacks on top */
    }
    #post-section-2 .post-list-item .order-md-last + .col-md-7 .post-item-content,
    #post-section-2 .post-list-item .order-md-first + .col-md-7 .post-item-content,
    #post-section-2 .post-list-item .order-lg-last + .col-lg-7 .post-item-content,
    #post-section-2 .post-list-item .order-lg-first + .col-lg-7 .post-item-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    #post-section-2 .post-item-title {
        font-size: 1.4rem;
    }
    #post-section-2 .post-item-image-wrapper {
        max-height: 250px; /* Adjust image height for stacked layout */
    }
}



