html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
}

.main-content-wrapper {
  padding-top: 120px;
}

.project-result {
  display: grid;
  row-gap: 50px;
  column-gap: 30px;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
}
.project-result .post-thumbnail {
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project-result .post-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.project-result .entry-header {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.project-result .entry-title {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0 0 10px;
}

.project-result .search-date,
.project-result .post-meta {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 10px;
}

.project-result .entry-summary {
  font-size: 1em;
  line-height: 1.5;
}

.project-result .more-link {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #0056b3;
  text-decoration: none;
}
.project-result .more-link {
  transition: font-size 0.3s ease;
}

.project-result article:hover .post-thumbnail img {
  transform: scale(1.1);
}

.project-result article:hover .more-link {
  text-decoration: none;
  font-size: 1.2em;
}

.pagination {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  list-style: none;
  padding: 0;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
  background-color: #ffbc04;
  color: #fff;
}

.pagination .current {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #20245c;
  color: #fff;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #20245c;
  border-radius: 5px;
}

.pagination .prev img,
.pagination .next img {
  width: 20px;
  height: auto;
  vertical-align: middle;
}

.pagination .prev:hover img,
.pagination .next:hover img {
  filter: brightness(0.8);
}

.pagination a:before,
.pagination a:after {
  position: relative;
  display: inline-block;
  top: 1px;
}

.results-count {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .project-result {
    grid-template-columns: 1fr;
  }
}
