.childpages {
  list-style: none;
  padding: 0 !important;
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 1250px) {
  .childpages {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1250px) {
  .childpages {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.childpage {
  margin: 0 !important;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50px;	
  filter: grayscale(.25);
}

.childpage:hover,
.childpage:focus-within {
  filter: none;
}

.childpage__link {
  aspect-ratio: 3/2;
  display: flex;
  place-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  color: #fff;
  font-weight: 500;
  font-size: 1.25rem;	
  border-radius: 50px;
}

.childpage__link:hover,
.childpage__link:focus {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.2);
}
