/* Blog typography — reuses the site fonts (Onest body, Unbounded headings). */
.blog-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  font-family: "Onest", sans-serif;
  color: #171717;
}

.blog-header { margin-bottom: 32px; }
.blog-h1, .post-title {
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  line-height: 1.15;
  color: #171717;
}
.blog-h1 { font-size: 40px; margin: 0 0 8px; }
.blog-intro { font-size: 18px; opacity: 0.7; margin: 0; }

/* Listing */
.post-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 28px; }
.post-card { border-bottom: 1px solid #ececec; padding-bottom: 24px; }
.post-card-link { text-decoration: none; }
.post-card-title { font-family: "Unbounded", sans-serif; font-weight: 500; font-size: 24px; margin: 0 0 8px; color: #171717; }
.post-card-link:hover .post-card-title { color: #0058E5; }
.post-card-summary { font-size: 16px; line-height: 1.6; opacity: 0.85; margin: 10px 0; }
.post-card-more { color: #0058E5; text-decoration: none; font-size: 15px; font-weight: 600; }
.post-empty { opacity: 0.6; list-style: none; }

.post-meta { font-size: 14px; opacity: 0.6; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.post-meta .dot { opacity: 0.5; }
.tag-digest { color: #0058E5; font-weight: 600; }

/* Article */
.post-title { font-size: 38px; margin: 0 0 12px; }
.post-header { margin-bottom: 28px; }
.post-body { font-size: 18px; line-height: 1.75; }
.post-body h2 { font-family: "Unbounded", sans-serif; font-weight: 500; font-size: 26px; margin: 40px 0 14px; }
.post-body h3 { font-family: "Unbounded", sans-serif; font-weight: 500; font-size: 21px; margin: 30px 0 10px; }
.post-body p { margin: 0 0 20px; }
.post-body a { color: #0058E5; }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 24px; }
.post-body li { margin-bottom: 8px; }
.post-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 16px 0; }
.post-body blockquote { margin: 24px 0; padding: 6px 20px; border-left: 3px solid #0058E5; opacity: 0.85; }
.post-body pre { background: #0f1115; color: #f5f5f5; padding: 16px 18px; border-radius: 10px; overflow: auto; font-size: 15px; }
.post-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
.post-body :not(pre) > code { background: #f1f3f5; padding: 2px 6px; border-radius: 5px; }
.post-body table { border-collapse: collapse; width: 100%; margin: 20px 0; font-size: 16px; }
.post-body th, .post-body td { border: 1px solid #e5e5e5; padding: 8px 12px; text-align: left; }

.post-footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid #ececec; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.post-cta { color: #0058E5; font-weight: 600; text-decoration: none; }
.post-back { opacity: 0.7; text-decoration: none; color: #171717; }

.preview-banner { background: #fff6e5; border: 1px solid #ffd98a; color: #7a5b00; padding: 10px 16px; border-radius: 10px; margin-bottom: 24px; font-size: 15px; }
.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; font-size: 15px; }
.pagination a { color: #0058E5; text-decoration: none; }
