.blogs-header {
  position: relative;
}

.blogs-title {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 50px 0;
  text-align: center;
  transform: translate(-50%, -50%);
  color: var(--white-color);
}

.blogsimg {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center center;
}


.posts-wrapper {
  max-width: 90%;
  margin: 60px auto;
  padding: 0 20px;
}

/* ================================
   Posts Grid
================================ */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}


/* ================================
   Post Card
================================ */

.post-item {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


/* ================================
   Thumbnail
================================ */

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}


/* ================================
   Post Content
================================ */

.post-content {
  padding: 20px;
  flex: 1;
}

.post-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.post-title a {
  text-decoration: none;
  color: #222;
}

.post-title a:hover {
  color: #0073aa;
}


/* ================================
   Post Meta
================================ */

.post-meta {
  display: flex;
  justify-content: space-between;
}

.date,
.read-time {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 10px;
}


/* ================================
   Excerpt
================================ */

.post-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}


/* ================================
   Pagination
================================ */

.pagination {
  margin-top: 50px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 5px;
  background: #f5f5f5;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
}

.pagination .current {
  background: #0073aa;
  color: #fff;
}







.pagination .page-numbers:hover {
  background: #f2f2f2;
}

/* Responsive */
@media (min-width: 768px) {
  .latest-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .latest-posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}