.blog-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  gap: 32px;
}

.blog-post {
  width: 352px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-post img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  margin: 0;
}

.blog-post h2 {
  color: #23262f;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.post-details {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: start;
  border-top: 1px #e6e8ec solid;
  padding: 8px 0px;
  margin-top: 25px;
}
.post-details .data-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 9px;
}
.post-details .data-row span {
  color: #777e90;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

#pagination-wrapper {
  margin-top: 40px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.pagination button {
  padding: 8px 12px;
  background: transparent;
  cursor: pointer;
  color: #777e90;
  transition: all 0.2s;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: none; */
}

.pagination button.active {
  background: var(--color-primary);
  color: #fff;
  border: none;
}

/* Pagination */
.pagination-holder {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: end;
}
#pagination {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.pagination-arrow {
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  background: #c94a30;
  color: #fff;
  border: none;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.pagination-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 960px) {
  .pagination-holder {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
}
