/* Blog listing page */
.blog-list {
  margin-top: 20px;
}

.blog-entry {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.blog-entry:last-child {
  border-bottom: none;
}

.blog-date {
  display: block;
  font-size: 13px;
  color: #888;
  margin-bottom: 2px;
}

a.blog-title {
  font-size: 17px;
  font-weight: 600;
  color: #333;
}

a.blog-title:hover {
  color: #e28f63;
}

.blog-desc {
  margin: 4px 0 0 0;
  font-size: 14px;
  color: #555;
}

/* Blog post page */
.blog-nav {
  margin-bottom: 6px;
}

.blog-meta {
  font-size: 13px;
  color: #888;
  margin-top: -12px;
  margin-bottom: 22px;
}

/* Full-width blog post layout (no sidebar) */
.post-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 20px;
}

.post-wrapper .top-nav {
  text-align: right;
  margin-bottom: 20px;
}

.post-wrapper article {
  padding-bottom: 50px;
}

.post-footer {
  text-align: center;
}

/* Code blocks (scoped to article/section to avoid styling sidebar icons) */
article pre,
section pre {
  background: #f6f6f6;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.5;
}

article pre code,
section pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
}

article code,
section code {
  background: #f6f6f6;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 13px;
}

/* MathJax display equations */
mjx-container[display="true"] {
  margin: 20px 0 !important;
  overflow-x: auto;
}
