/* What's new and the questions page (on top of legal.css). */

/* A log sheet: the version and its date on the left, what changed on the right. */
.versions {
  max-width: 62rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.version {
  display: grid;
  gap: 1rem 3rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

@media (min-width: 760px) {
  .version {
    grid-template-columns: 13rem minmax(0, 1fr);
  }
}

.version__meta {
  display: grid;
  align-content: start;
  gap: 0.25rem;
  color: var(--text-muted);
  font-size: var(--text-small);
}

.legal .version__number {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
}

.version__meta span {
  color: var(--accent);
}

.legal .version ul {
  margin-top: 0;
  font-size: 1.1rem;
}

/* Questions: the list of them first, then each with its answer. */
.questions {
  margin-top: 2rem;
  padding: 0;
  list-style: none;
  columns: 2 18rem;
  column-gap: 3rem;
}

.legal .questions li {
  margin: 0 0 0.6rem;
  break-inside: avoid;
}

.legal .questions a {
  color: var(--text-soft);
  text-decoration: none;
}

.legal .questions a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.faq h2 {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}
