/**
 * @file
 * Styles for views.
 */

.view,
.view-content {
  --view-gap: var(--sp2);

  display: grid;
  gap: var(--view-gap);
  grid-template-rows: max-content;

  @media (min-width: 43.75rem) {
    --view-gap: var(--sp3);
  }
}

/* Links from the shared homepage feed to the three content archives. */
.path-frontpage .frontpage-archive-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
}

.path-frontpage .frontpage-archive-links .button {
  margin: 0;
}

/* Programme editions share the page frame; long introductions stay readable. */
.view--edition .category-intro .text-content {
  max-width: 56.25rem;
}

/* Katalog zachowuje zwykły przepływ tekstu i marginesy list kategorii. */
.view-categories,
.view-categories .view-content {
  display: block;
}
