/* Vertical timeline with an icon, a year badge, a heading and a text per epoch. */
.blog-post-body .epochs { list-style: none; margin: 1.5rem 0; padding: 0; }
.blog-post-body .epoch { position: relative; padding: 0 0 2rem 116px; }
.blog-post-body .epoch::before { content: ""; position: absolute; left: 47px; top: 0; bottom: 0; width: 2px; background: var(--color-accent-soft); }
.blog-post-body .epoch:last-child { padding-bottom: 0; }
.blog-post-body .epoch-icon { position: absolute; left: 0; top: 0; width: 96px; height: 96px; }
.blog-post-body .epoch-year { display: inline-block; margin: 0; padding: 2px 12px; border-radius: 999px; background: var(--color-primary); color: #fff; font-weight: 600; font-size: 0.82rem; line-height: 1.6; }
.blog-post-body .epoch h2 { margin: 0.5rem 0 0.75rem; overflow-wrap: anywhere; }
.blog-post-body .epoch > :last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .blog-post-body .epoch { padding-left: 20px; }
  .blog-post-body .epoch::before { left: 3px; }
  .blog-post-body .epoch-icon { left: 20px; width: 64px; height: 64px; }
  .blog-post-body .epoch-year, .blog-post-body .epoch h2 { margin-left: 78px; }
  .blog-post-body .epoch h2 { font-size: 1.15rem; min-height: 2.6em; }
}
