.list {
  max-width: 50rem;
  margin: 0 auto;
}

.list__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.list__item {
  padding: .45rem 0;
}

.list__item + .list__item {
  border-top: 1px solid hsla(var(--colog-bg-heading-divider), 15%);
}

.empty-collection {
  text-align: center;
  max-width: 48rem;
  margin: 3rem auto 4.5rem;
  color: var(--color-fg-lightest);
  font-size: 115%;
}

.list__heading {
  display: flex;
  align-items: center;
  gap: 1rem;

  a {
    color: var(--color-fg-lighter);
    text-decoration: none;
  }
}

.list__title {
  margin: 0;
  display: inline-block;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--color-fg-lighter);
  min-width: 4.5625rem;
}

.list__title--md {
  font-size: 1.25rem;
}

.list__heading-detail {
  color: var(--color-fg-lightest);
  font-size: 0.95rem;
}

.list__content {
  margin: 0.2rem 0 0.8rem;

  *:first-child {
    margin-top: 0;
  }

  *:last-child {
    margin-bottom: 0;
  }
}

.list__description {
  color: var(--color-fg-lighter);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

/* Pills */

.pills {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.pill,
a.pill {
  color: currentColor;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--color-bg-lightest);
  padding: 0.3rem 0.85rem;
  display: block;
  border-radius: 1rem;
  box-shadow: 0.05rem 0.05rem 0.25rem hsl(0, 0%, 85%);
}

.service-links {
  list-style: none;
  margin: 0;
  padding: 0;
}


/* Definition list */

.definition-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.3rem 1.5rem;
  margin: 1rem 0;

  > dt {
    color: var(--color-fg-lightest);
    text-align: right;
  }
}

.definition-list--mono {
  dd {
    font-family: var(--font-family-monospace);
  }
}

.list--none {
  list-style: none;
  padding: 0;
}

.definition-list--content {
  *:first-child {
    margin-top: 0;
  }

  *:last-child {
    margin-bottom: 0;
  }
}


/* Numbered list */

.circle-numbered-list {
  list-style: none;
  counter-reset: item;
  padding-left: 0;

  > li {
    counter-increment: item;
    margin-bottom: .5em;
    position: relative;
    padding-left: 2em;
  }

  > li::before {
    --circle-size: 1.4em;
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: var(--circle-size);
    height: var(--circle-size);
    line-height: var(--circle-size);
    border-radius: 50%;
    background-color: oklch(0.65 0.14 184.1);
    color: white;
    text-shadow: var(--bright-text-shadow);
    font-weight: 600;
    text-align: center;
    font-size: 1rem;
  }
}
