
#tag-section-8 {
  padding-bottom: 60px;
  background-color: #f0f4f8;
  overflow: hidden;
}
#tag-section-8 .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-8 .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-8 .hero-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
#tag-section-8 .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-8 .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-8 .post-grid-container {
}
#tag-section-8 .post-card-large {
  background-color: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
#tag-section-8 .post-card-large:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
#tag-section-8 .post-card-img-link {
  display: block;
  overflow: hidden;
}
#tag-section-8 .post-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
#tag-section-8 .post-card-large:hover .post-card-img {
  transform: scale(1.05);
}
#tag-section-8 .card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
#tag-section-8 .post-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
#tag-section-8 .post-title a {
  color: #343a40;
  text-decoration: none;
}
#tag-section-8 .post-title a:hover {
  color: #c8a45d;
}
#tag-section-8 .post-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 15px;
}
#tag-section-8 .post-meta i {
  margin-right: 5px;
}
#tag-section-8 .post-meta span {
  margin-right: 10px;
}
#tag-section-8 .post-excerpt {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
#tag-section-8 .read-more-btn {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #c8a45d;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-top: auto;
  align-self: flex-start;
}
#tag-section-8 .read-more-btn:hover {
  color: #ab8a4a;
  text-decoration: underline;
}
#tag-section-8 .read-more-btn i {
  margin-left: 5px;
}
#tag-section-8 .pagination-container {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
#tag-section-8 .pagination {
  margin-bottom: 0;
}
#tag-section-8 .page-item .page-link {
  color: #c8a45d;
  border: 1px solid #dee2e6;
  margin: 0 2px;
  border-radius: 4px;
}
#tag-section-8 .page-item.active .page-link {
  background-color: #c8a45d;
  border-color: #c8a45d;
  color: #fff;
  z-index: 3;
}
#tag-section-8 .page-item.disabled .page-link {
  color: #999;
  background-color: #e9ecef;
  border-color: #dee2e6;
}
#tag-section-8 .page-item .page-link:hover {
  color: #ab8a4a;
  background-color: #e9ecef;
  border-color: #dee2e6;
  z-index: 2;
}
#tag-section-8 .page-item.active .page-link:hover {
  background-color: #c8a45d;
  border-color: #c8a45d;
  color: #fff;
}
@media (max-width: 767.98px) {
  #tag-section-8 {
    padding-bottom: 40px;
  }
  #tag-section-8 .section-hero-banner {
    padding: 60px 15px;
    min-height: 250px;
    margin-bottom: 30px;
  }
  #tag-section-8 .hero-banner-title {
    font-size: 2.2rem;
  }
  #tag-section-8 .hero-banner-subtitle {
    font-size: 1rem;
  }
  #tag-section-8 .post-card-img {
    height: 200px;
  }
  #tag-section-8 .post-title {
    font-size: 1.2rem;
  }
  #tag-section-8 .post-excerpt {
    font-size: 0.95rem;
    -webkit-line-clamp: 3;
  }
}



/* 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;
    }
}



