/* The Black Apple blog archive. Loaded after /css/style.css. */

.blog {
  max-width: 740px;
  text-align: left;
}

.blog h1 {
  margin: 10px 0 4px;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
}

.blog h2 {
  margin: 48px 0 8px;
  font-size: 20px;
}

.blog h3 {
  margin: 28px 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.blog .meta,
.blog .crumbs {
  color: var(--muted);
  font-size: 14px;
}

.blog .crumbs {
  margin-bottom: 20px;
}

/* old posts are full of fixed-size images and inline styles */
.post-body {
  margin-top: 24px;
  overflow-wrap: break-word;
}

/* links inside post text are underlined too (the main site's rule covers .content p) */
.post-body a {
  text-decoration: underline;
  text-decoration-color: rgba(141, 106, 25, 0.4);
  text-underline-offset: 3px;
}

.post-body img {
  max-width: 100% !important;
  height: auto !important;
}

.post-body iframe,
.post-body object,
.post-body embed {
  max-width: 100%;
}

.missing-image {
  display: inline-block;
  padding: 2px 8px;
  border: 1px dashed var(--rule);
  color: var(--muted);
  font-size: 13px;
}

.comments {
  margin-top: 48px;
  border-top: 1px solid var(--rule);
}

.comment {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}

.comment p {
  margin-bottom: 8px;
}

.comment .meta {
  margin-bottom: 0;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.blog-list,
.post-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-list li,
.post-list li {
  margin: 4px 0;
}
