/* Post-content width wrappers, archive/project sections, about, starting points. */
@layer components {
  .post > .post-media {
    max-width: var(--measure);
    margin-inline: auto;
  }

  .post > .prose {
    max-width: var(--measure-wide);
    max-inline-size: var(--measure-wide);
    margin-inline: auto;
  }

  .post > .at-a-glance,
  .post > .post-thumbnail,
  .post > .post-gallery,
  .post-nav {
    max-width: var(--measure-wide);
    margin-inline: auto;
  }

  .archive-year,
  .project-section {
    width: 100%;
  }

  .archive-year + .archive-year,
  .project-section + .project-section {
    margin-top: var(--space-10);
  }

  .archive-year h2,
  .project-section h2 {
    margin-bottom: var(--space-3);
  }

  .about-section {
    width: 100%;
    margin-top: var(--space-10);
  }

  .about-section--starting-points {
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-rule);
  }

  .about-section--starting-points .section-heading {
    align-items: flex-start;
    padding-top: 0;
  }

  .about-section.facts {
    max-width: none;
  }

  .about-section.facts > .prose {
    margin-top: var(--space-4);
  }

  .prose.about-copy {
    width: 100%;
    max-inline-size: none;
  }

  .starting-points {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-3);
    margin: 0;
    padding: var(--space-4) 0 0;
    list-style: none;
  }

  .starting-points > li {
    min-width: 0;
  }

  .starting-point__thumbnail {
    aspect-ratio: 4 / 3;
  }

  .starting-point__body {
    min-width: 0;
    padding-block-start: var(--space-2);
  }

  .starting-point__body h3 {
    font-size: var(--fs-sm);
    font-weight: var(--weight-semibold);
    line-height: var(--leading-snug);
  }

  .starting-point__body a {
    color: var(--color-fg);
    text-decoration: none;
  }

  .starting-point__body a:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }

  .starting-point__body p {
    margin-top: var(--space-1);
    color: var(--color-muted);
    font-size: var(--fs-xs);
    line-height: var(--leading-snug);
  }

  .starting-points > li:focus-within .entry-thumbnail {
    border-color: var(--color-rule-strong);
  }

  .about-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1) var(--space-4);
  }

  .post > .prose {
    margin-top: var(--space-8);
  }
}
