/* The homepage (/) only: the big name, tagline, the post list and the timeline.
   Loaded after base.css */

.intro-name {
  color: var(--title);
  font-size: 4rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

/* The RSS icon next to the name (see .page-title and .feed-icon in base.css), smaller since the name is big */
.intro-name .feed-icon { width: 0.3em; height: 0.3em; }

.intro-sub {
  color: var(--muted);
  font-size: var(--fs-copy);
}

.post-list {
  list-style: none;
  font-size: var(--fs-copy);
}

.post-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.15rem 0;
}

.post-date {
  color: var(--muted);
  font-size: var(--fs-small);
  flex-shrink: 0;
}

.timeline { font-size: var(--fs-copy); }

.timeline-item {
  display: flex;
  gap: 1rem;
  padding: 0.15rem 0;
}

.timeline-period {
  color: var(--muted);
  font-size: var(--fs-small);
  flex-shrink: 0;
  min-width: 9ch; /* fits "2024-2025", so the titles line up */
}

/* Phones get a smaller header, and the date goes above each title instead of beside it */
@media (max-width: 768px) {
  .intro-name { font-size: 2.5rem; }
  .intro-sub { font-size: 0.7rem; white-space: nowrap; }
  .post-list li, .timeline-item { flex-direction: column; gap: 0; }
}
