
#tag-section-4 {
  padding: 60px 15px;
  margin: 0 auto;
  max-width: 1200px;
}
#tag-section-4 .section-hero {
  background-size: cover;
  background-position: center;
  padding: 80px 15px;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
}
#tag-section-4 .carousel-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
#tag-section-4 .carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
#tag-section-4 .carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 4px;
}
#tag-section-4 .btn-readmore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}
@media (max-width: 768px) {
  #tag-section-4 .carousel-item img {
    height: 250px;
  }
}



/* === Section Base === */
.post-section {
  padding: 60px 0;
  background: #fff;
}
.post-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}
.post-section .section-header h2 {
  font-size: 2rem;
  font-weight: 700;
}
.post-section .section-header p {
  color: #666;
  margin-top: 8px;
}

/* === Zigzag Rows === */
.zigzag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.zigzag-row.visible {
  opacity: 1;
  transform: translateY(0);
}
.zigzag-row .zigzag-image,
.zigzag-row .zigzag-content {
  flex: 1 1 50%;
  padding: 15px;
}
.zigzag-row:nth-child(even) {
  flex-direction: row-reverse;
}

/* Image styling */
.zigzag-image img {
  width: 100%;
  border-radius: 0.5rem;
  display: block;
}

/* Content styling */
.zigzag-content h5 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.zigzag-content .meta {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1rem;
}
.zigzag-content .meta i {
  margin-right: 6px;
}
.zigzag-content p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.25rem;
}
.zigzag-content .btn-readmore {
  font-size: 0.9rem;
}

/* === Responsive === */
@media (max-width: 767.98px) {
  .zigzag-row {
    flex-direction: column !important;
  }
  .zigzag-image,
  .zigzag-content {
    flex: 1 1 100%;
  }
}

/* === Pagination === */
.pagination-wrapper {
  text-align: center;
  margin-top: 40px;
}



