.project-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .project-cards {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }   
}

@media (min-width: 992px) {
  .project-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.project-cards > a {
  text-decoration: none;
}

.project-card {
  position: relative;
  overflow: hidden;
  width: auto;
  height: 200px;
  padding: 20px;
  /* background-color: var(--wp--preset--color--theme-blue-3); */
  display: flex;
  justify-content: flex-start;
  align-items: self-end;
  border-radius: 15px;
  border: 2px solid var(--wp--preset--color--theme-blue-3);
}

.project-card:hover {
  background-color: var(--wp--preset--color--theme-blue-3);
}

.project-card:hover h3 {
  color: var(--wp--preset--color--theme-white);
}

.project-card.has-thumbnail::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--project-card-thumbnail);
  background-size: cover;
  background-position: center;
  border-radius: inherit;
  opacity: 0;
  transform: scale(1.15);
  transition: opacity 0.45s ease, transform 0.45s ease;
  z-index: 0;
}

.project-card.has-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--wp--preset--color--theme-blue-3);
  /* border-radius: inherit; */
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 1;
}

.project-cards > a:hover .project-card.has-thumbnail::before {
  opacity: 1;
  transform: scale(1);
}

.project-cards > a:hover .project-card.has-thumbnail::after {
  opacity: 0.75;
}

.project-card h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 1.2em;
  /* color: var(--wp--preset--color--theme-blue); */
  color: var(--wp--preset--color--theme-blue-3);
  transition: all 0.2s ease-in;
}

.project-cards > a:hover .project-card {
  cursor: pointer;
}
.hidden-card {
  display: none;
}
.project-cards-show-more-btn {
  display: block;
  margin: 30px auto;
  padding: 10px 20px;
  background: var(--wp--preset--color--theme-blue-3);
  color: var(--wp--preset--color--theme-white);
  border: none;
  border-radius: 15px;
  cursor: pointer;
}

.project-cards-show-more-btn:hover {
  background: var(--wp--preset--color--theme-blue-3);
}