/* Project list section: section title and a grid of project list cards */
.project-list-section .section-title {
  margin-bottom: 0;
}

.project-list-section .section-title__subtitle,
.project-list-section .section-title__heading {
  color: var(--brand-neutral-7);
}

.project-list-section__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

/* While ajax-pager.js fetches another page. */
.project-list-section__results.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

/* Cards in a row share the tallest card's height. */
.project-list-section__list li {
  display: flex;
}

.project-list-section__list .project-list-card {
  flex: 1;
}

/* Four per page: two by two from tablet up. */
@media (min-width: 768px) {
  .project-list-section__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1536px) {
  .project-list-section__list {
    grid-template-columns: repeat(4, 1fr);
  }
}
