/* site.css: what this site adds around sebaro's parts. Only app-* classes and var(--sb-*) tokens of the copy; a
   length without a token says why („no sebaro token“). Never restyle an sb-* class here. */

/* a text page: breadcrumb, title and date above the prose */
.app-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sb-space-3);
}
.app-text > * {
  margin: 0;
}
.app-text > .sb-prose {
  margin-block-start: var(--sb-spacing-group);
}
.app-text__meta {
  color: var(--sb-color-text-muted);
  font: var(--sb-type-caption);
  letter-spacing: var(--sb-type-caption-tracking);
}

/* a licence in its own words and line breaks */
.app-licence {
  max-inline-size: var(--sb-size-measure-prose);
  margin: 0;
  font: var(--sb-type-caption);
  letter-spacing: var(--sb-type-caption-tracking);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* kind and status in one line: under a tool's name in a row and under its title on its page */
.app-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sb-space-1) var(--sb-space-2);
}

/* the count and the link under a section title */
.app-section-meta {
  margin: 0 0 var(--sb-space-4);
  color: var(--sb-color-text-muted);
}

/* the page of one tool: blocks one under the other */
.app-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sb-spacing-group);
}
.app-detail > *,
.app-detail p {
  margin: 0;
}
.app-detail section > p + p {
  margin-block-start: var(--sb-space-3);
}

/* the title with kind and status under it */
.app-head {
  display: grid;
  gap: var(--sb-space-2);
  min-inline-size: 0;
}
.app-head > * {
  margin: 0;
}

/* what it does and its facts: side by side from 1024 px */
.app-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sb-spacing-group);
}
@media (min-width: 64rem) {
  .app-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* the way to the tool: its site or source, then further links */
.app-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sb-space-4) var(--sb-space-6);
}

/* running text keeps the reading measure */
.app-measure {
  max-inline-size: var(--sb-size-measure-prose);
}
