.posts-index {
  width: min(100%, 820px);
}

.posts-index__header {
  max-width: 70ch;
  margin-bottom: 48px;
}
.posts-index__header p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.posts-index__rss {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
}

.post-year {
  --section-accent: var(--accent-coral);
  margin-bottom: 54px;
  padding: 2px 0 2px 23px;
  background-image: radial-gradient(circle 2.5px at 2.5px 2.5px, var(--section-accent) 2.4px, transparent 2.5px);
  background-size: 5px 12px;
  background-repeat: repeat-y;
  background-position: left top;
}
.post-year:nth-of-type(3n + 2) {
  --section-accent: var(--accent-green);
}
.post-year:nth-of-type(3n) {
  --section-accent: var(--accent-blue);
}

.post-year__heading {
  margin: 0 0 0.7em;
  font-size: 1.25em;
  line-height: inherit;
}

.post-year__list {
  display: grid;
  gap: 26px;
}

.post-summary__title {
  margin: 0;
  font-size: 1em;
  font-weight: 700;
  line-height: inherit;
}

.post-summary__date {
  color: var(--color-muted);
  font-size: 13px;
}

.pagination {
  display: flex;
  gap: 24px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.pagination a {
  font-weight: 600;
}

.pagination__older {
  margin-left: auto;
}

@media (max-width: 640px) {
  .posts-index__header {
    margin-bottom: 40px;
  }
  .post-year {
    padding-left: 19px;
  }
}