/* Today's feed.
 *
 * Rows separated by hairlines, not cards. An article card was a box inside a
 * box inside .container, and removing two of the three is most of the reason
 * this page reads as calm. */

.day {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 44rem;
  margin: 0 auto;
}

.day-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.day-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.day-date {
  margin: 0;
  font-size: var(--fs-xl);
  line-height: 1.2;
  color: var(--ink);
}

.day-status {
  margin: 0;
  font-family: var(--font-data);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* The end of the day */
.day-done {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 20px;
  background-color: var(--leaf-lift);
}

.day-done-headline {
  margin: 0;
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.day-done-next,
.day-done-kindle {
  margin: 0;
  font-size: var(--fs-base);
  color: var(--ink-soft);
}

/* Nothing published today, which is not the same as having finished. */
.day-empty {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 32px 0;
  border-top: 1px solid var(--rule-soft);
}

.day-empty-title {
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
}

.day-empty-message {
  margin: 0;
  font-size: var(--fs-base);
  color: var(--ink-soft);
  max-width: 46ch;
}

/* The way through to the long list */
.day-archive {
  margin: 0;
  padding-top: 4px;
  text-align: right;
}

.day-archive-link {
  font-size: var(--fs-base);
  color: var(--ink-faint);
  text-decoration: none;
  transition: color var(--ease);
}

.day-archive-link:hover {
  color: var(--leaf);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .day-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
