/* ==========================================================================
   Resources page: link lists and the glossary
   Each group is a row (.row in css/components.css).
   ========================================================================== */

/* Link list: a bold link with a line of explanation under it */
.links {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.links > li {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.links > li > a {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
}
.links > li > p { margin-top: .3rem; max-width: 68ch; }
/* Long link text wraps instead of pushing the page wider on a phone */
.links a { overflow-wrap: anywhere; }

/* Glossary: term on the left, meaning on the right */
.glossary { margin: 0; border-top: 1px solid var(--rule); }
.glossary > div {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: .15rem 1.5rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--rule);
}
.glossary dt { color: var(--ink); font-weight: 700; }
.glossary dd { margin: 0; }
@media (max-width: 599px) {
  .glossary > div { grid-template-columns: 1fr; }
}
