/* Pith home page. 13 Nov 2026.

   The page file for templates/home_page.html. Nearly everything on the page is a
   shared part (the page head, the field, the plate, the paper card, the counter,
   the tabs); this file sets only the air between them and three small lists.
   Colours, sizes and widths come from tokens.css. */

/* The page head sits tighter over the look-up than over a section: the look-up is
   part of the first screen. */
.page-index .page-head {
  padding-bottom: var(--space-5);
}

.home-lookup {
  padding-bottom: var(--space-6);
}

.home-lookup .field-row {
  max-width: var(--reading);
}

/* The example: the plate brings its own rules. */
.home-example {
  padding-bottom: var(--space-7);
}

.home-example__note,
.home-example__others {
  margin-top: var(--space-4);
  max-width: var(--measure);
}

.home-example__list > li {
  padding-block: var(--space-2);
  border-top: var(--rule-hair);
}

.home-example__later {
  display: block;
}

.home-example__list a {
  color: var(--ink);
}

/* Fields: eight links in a row that wraps, each with today's count beside it. */
.home-fields__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-6);
}

.home-fields__list > li {
  display: inline-flex;
  gap: var(--space-2);
  min-height: var(--target);
  align-items: center;
}

.home-fields__list a {
  color: var(--ink);
  font-weight: 600;
}

.home-fields__kind {
  margin-top: var(--space-2);
}

/* The list of reviews: the sentence that says how it is ordered stands above it. */
.home-feed__order {
  margin-block: var(--space-4) var(--space-5);
  max-width: var(--measure);
}

.home-feed__all,
.home-authors__go {
  margin-top: var(--space-5);
}

.home-authors table {
  max-width: var(--reading);
}

/* With no example above it, the list follows the look-up directly: no second rule
   and no section's worth of air before the first review. */
.home-lookup + .home-feed {
  padding-top: var(--space-5);
}
