
#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;
  }
}



/* === Section Base === */
#post-section-10 .post-section {
  padding: 60px 0;
  background: #f5f5f5;
}
#post-section-10 .post-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}
#post-section-10 .post-section .section-header h2 {
  font-size: 2rem;
  font-weight: 700;
}
#post-section-10 .post-section .section-header p {
  font-size: 1rem;
  color: #666;
  margin-top: 8px;
}

/* === Card Grid === */
#post-section-10 .post-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}
#post-section-10 .post-card {
  position: relative;
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  margin: 15px;
  flex: 1 1 calc(50% - 30px);
  max-width: calc(50% - 30px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}
@media (min-width: 992px) {
  #post-section-10 .post-card {
    flex: 1 1 calc(25% - 30px);
    max-width: calc(25% - 30px);
  }
}
#post-section-10 .post-card:hover {
  transform: translateY(-8px);
}

/* Thumbnail */
#post-section-10 .post-card img {
  width: 100%;
  display: block;
}

/* Tag Badge */
#post-section-10 .post-card .tag-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 123, 255, 0.85);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
}

/* Overlay */
#post-section-10 .post-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
#post-section-10 .post-card:hover .overlay {
  transform: translateY(0);
}
#post-section-10 .post-card .overlay h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
#post-section-10 .post-card .overlay .meta {
  font-size: 0.8rem;
  color: #ccc;
  margin-bottom: 1rem;
}
#post-section-10 .post-card .overlay .btn-readmore {
  font-size: 0.85rem;
  color: #fff;
  border: 1px solid #fff;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: background 0.3s;
}
#post-section-10 .post-card .overlay .btn-readmore:hover {
  background: #fff;
  color: #000;
}

/* === Pagination === */
.pagination-wrapper {
  text-align: center;
  margin: 40px 0;
}


