/* Use grid on the container, not the items */
.democracy-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}

@media (min-width: 900px) {
  .democracy-tools {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Remove grid from the items */
.democracy-tools--link {
  box-sizing: border-box;
  width: 100%;
  max-width: 400px;
  min-height: 320px;
  max-height: 400px;
  background: #fff;
  border-radius: 1.2rem;
  /* box-shadow: 0 2px 12px rgba(0,0,0,0.06); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  transition: box-shadow 0.2s;
}

.democracy-tools--link:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.democracy-tools--text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--colour-primary);
  margin-top: 1rem;
}