.links-page {
  max-width: 1120px;
  margin: 0 auto;
}

.links-intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

.links-section {
  margin-top: 2.25rem;
}

.links-section h2 {
  margin-bottom: 1rem;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.link-card {
  border: 1px solid rgba(128, 128, 128, 0.28);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.035);
}

.link-card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.link-card p {
  margin-bottom: 0.75rem;
}

.link-list a {
  display: inline-block;
  margin-right: 0.75rem;
  margin-top: 0.35rem;
  font-weight: 600;
  text-decoration: none;
}

.link-list a::after,
.person-grid a::after {
  content: " ↗";
  font-size: 0.9em;
}

.person-grid ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0 0;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.person-grid li {
  margin: 0;
  padding: 0;
}

.person-grid a {
  display: block;
  min-width: 0;
  border: 1px solid rgba(128, 128, 128, 0.22);
  border-radius: 0.8rem;
  padding: 0.75rem 0.9rem;
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.025);

  overflow-wrap: anywhere;
  word-break: normal;
}

.person-grid a::after {
  content: " ↗";
  font-size: 0.9em;
}

@media (max-width: 980px) {
  .person-grid ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .person-grid ul {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) {
  .links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 681px) and (max-width: 980px) {
  .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .links-grid {
    grid-template-columns: 1fr !important;
  }
}