/* Blog listing page */
.blog-card {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}
.blog-card:last-child {
  border-bottom: none;
}
.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: none;
}
.blog-card-link:hover h2 {
  color: #047DF2;
}
.blog-card-link:hover {
  font-weight: normal;
}
.blog-card time {
  font-size: 13px;
  color: #888;
}
.blog-card h2 {
  margin: 4px 0 6px;
  font-size: 1.2em;
  font-weight: 600;
  color: #111;
  transition: color 0.2s ease;
}
.blog-card p {
  margin: 0;
  color: #555;
  font-size: 14.5px;
  line-height: 1.6;
}

/* Post navigation bar */
.post-nav {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  margin-bottom: 24px;
}
.post-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.post-nav-link:hover {
  color: #047DF2;
  border-color: #047DF2;
  font-weight: normal;
}
.post-nav-link i {
  font-size: 13px;
}

/* Single post page */
.post-header {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.post-header h1 {
  font-size: 1.6em;
  margin-bottom: 4px;
}
.post-header time {
  font-size: 13px;
  color: #888;
}
.post-body {
  font-size: 15px;
  line-height: 1.75;
  color: #222;
}
.post-body h1 { font-size: 1.35em; margin-top: 32px; }
.post-body h2 { font-size: 1.15em; margin-top: 28px; }
.post-body h3 { font-size: 1.05em; margin-top: 24px; }
.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 16px 0;
}
.post-body blockquote {
  border-left: 3px solid #ddd;
  margin: 16px 0;
  padding: 4px 16px;
  color: #555;
}
.post-body pre {
  background: #f6f6f6;
  border-radius: 4px;
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.55;
}
.post-body code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}
.post-body :not(pre) > code {
  background: #f0f0f0;
  padding: 2px 5px;
  border-radius: 3px;
}
.post-body table {
  border-collapse: collapse;
  margin: 16px 0;
  width: 100%;
}
.post-body th, .post-body td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
}
.post-body th {
  background: #f6f6f6;
  font-weight: 600;
}
.post-body hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 28px 0;
}

/* Recent posts sidebar at bottom */
.recent-posts {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.recent-posts h3 {
  font-size: 0.95em;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.recent-posts ul {
  list-style: none;
  padding: 0;
}
.recent-posts li {
  margin-bottom: 6px;
}
.recent-posts a {
  color: #047DF2;
  text-decoration: none;
  font-size: 14.5px;
}
.recent-posts a:hover {
  font-weight: 600;
}
.recent-posts time {
  font-size: 12.5px;
  color: #aaa;
  margin-left: 8px;
}
