html {
  scroll-behavior: unset;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1170px;
  margin: 0 auto;
  border: 1px solid #1a1a19;
  border-radius: 16px;
  margin-top: 64px;
}
.posts-grid .pp-card {
  border-bottom: 1px solid #1a1a19;
  border-right: 1px solid #1a1a19;
}
.posts-grid .pp-card h1 {
  padding-top: 12px;
}
.posts-grid .pp-card:nth-child(9), .posts-grid .pp-card:nth-child(10), .posts-grid .pp-card:nth-child(11), .posts-grid .pp-card:nth-child(12) {
  border-bottom: none;
}
.posts-grid .pp-card:nth-child(4), .posts-grid .pp-card:nth-child(8), .posts-grid .pp-card:nth-child(12) {
  border-right: none;
}

.pagination {
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.pagination .page-numbers {
  font-family: "Archivo", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: normal;
  color: #11332b;
  border-radius: 16px;
  background-color: #eaf0e6;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  position: relative;
}
.pagination .page-numbers.dots {
  background-color: transparent;
  width: 1.5rem;
}
.pagination .page-numbers.current {
  background-color: #11332b;
  color: white;
}
.pagination .page-numbers.prev::after, .pagination .page-numbers.next::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 1px;
  border-right: 1px solid #eaf0e6;
  top: 0;
}
.pagination .page-numbers.prev {
  margin-right: 5px;
}
.pagination .page-numbers.prev::after {
  right: -9px;
}
.pagination .page-numbers.next {
  margin-left: 5px;
}
.pagination .page-numbers.next::after {
  left: -9px;
}

@media only screen and (max-width : 992px) {
  #posts-grid {
    padding: 0 16px;
  }
  #posts-grid .posts-grid {
    grid-template-columns: 1fr;
  }
  #posts-grid .posts-grid .pp-card {
    border-right: none;
    border-bottom: 1px solid #1a1a19;
  }
  #posts-grid .posts-grid .pp-card:last-child {
    border-bottom: none;
  }
  #area-grid-pagination.pagination .page-numbers {
    display: flex;
  }
}
