/* 马先生的随笔 — 样式表 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #f6f1e8;
  color: #2e2a25;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

a { color: #8a6d3b; text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 700px; margin: 0 auto; padding: 0 22px; }

/* 页眉 */
header.site {
  padding: 42px 0 22px;
  border-bottom: 2px solid #2e2a25;
  margin-bottom: 34px;
}
header.site .title {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 30px;
  letter-spacing: 4px;
  color: #2e2a25;
}
header.site .title a { color: #2e2a25; }
header.site .title a:hover { text-decoration: none; }
header.site .tagline { color: #8b8578; font-size: 13px; margin-top: 6px; letter-spacing: 1px; }
nav { margin-top: 18px; font-size: 14px; }
nav a { color: #6b655a; margin-right: 22px; }
nav a.now { color: #2e2a25; border-bottom: 2px solid #8a6d3b; padding-bottom: 2px; }

/* 首页文章列表 */
.month { font-size: 13px; color: #8b8578; letter-spacing: 2px; margin: 30px 0 6px; }
.post-item { padding: 18px 0; border-bottom: 1px solid #ddd3c0; }
.post-item:last-child { border-bottom: none; }
.post-item h2 { font-family: "Songti SC", "Noto Serif SC", serif; font-size: 21px; font-weight: 600; }
.post-item h2 a { color: #2e2a25; }
.post-item h2 a:hover { color: #8a6d3b; }
.post-item .meta { font-size: 13px; color: #a39a88; margin: 4px 0 8px; }
.post-item .meta .cat { color: #8a6d3b; }
.post-item .excerpt { color: #5c564c; font-size: 15px; line-height: 1.75; }

/* 文章页 */
article.post h1 {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 26px;
  line-height: 1.4;
  margin-bottom: 8px;
}
article.post .meta { font-size: 13px; color: #a39a88; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid #ddd3c0; }
article.post .meta .cat { color: #8a6d3b; }
article.post p { margin-bottom: 1.1em; text-indent: 2em; font-family: "Songti SC", "Noto Serif SC", serif; font-size: 17px; line-height: 2; }
article.post p.no-indent { text-indent: 0; }
.back { margin-top: 36px; font-size: 14px; }
.back a { color: #6b655a; }

/* 关于页 */
.about p { margin-bottom: 1.1em; text-indent: 2em; font-family: "Songti SC", "Noto Serif SC", serif; font-size: 17px; line-height: 2; }

/* 页脚 */
footer.site {
  margin-top: 56px;
  padding: 22px 0 40px;
  border-top: 1px solid #ddd3c0;
  color: #a39a88;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}
footer.site .r { text-align: right; }
