body.projets .liste,
body.page-id-19 .liste {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

body.projets .projet,
body.page-id-19 .projet {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0;
  text-decoration: none;
}

body.projets .projet .wp-post-image,
body.page-id-19 .projet .wp-post-image {
  height: 100%;
  width: 100%;
  margin: 0 auto 0 0;
  object-fit: cover;
}

body.projets .projet h3,
body.page-id-19 .projet h3 {
  font-size: 1rem;
  text-align: center;
  margin: .25em 0 0;
}


@media only screen and (min-width : 320px) {

  body.projets .liste,
  body.page-id-19 .liste {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (min-width : 768px) {

  body.projets .liste,
  body.page-id-19 .liste {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*
@media only screen and (min-width : 1024px) {

  body.projets .liste,
  body.page-id-19 .liste {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media only screen and (min-width : 1224px) {

  body.projets .liste,
  body.page-id-19 .liste {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media only screen and (min-width : 1824px) {

  body.projets .liste,
  body.page-id-19 .liste {
    grid-template-columns: repeat(6, 1fr);
  }
}
*/