/*
Theme Name: Mini
Theme URI: https://aaatri.top
Author: XiaoYa
Description: 极简无图主题，纯文字排版，奶油白底，响应式。
Version: 1.0
*/

:root {
  --bg: #FAF7F2;
  --card: #FFFFFF;
  --border: #EAE3D9;
  --text: #2B2620;
  --muted: #8A8075;
  --accent: #C9885A;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
header.site h1 { margin: 0; font-size: 26px; }
header.site h1 a { color: var(--text); }
header.site .desc { color: var(--muted); margin-top: 6px; font-size: 14px; }
header.site nav { margin-top: 16px; }
header.site nav a {
  display: inline-block;
  margin-right: 18px;
  color: var(--muted);
  font-size: 14px;
}
header.site nav a:hover { color: var(--accent); text-decoration: none; }

article.post {
  padding: 24px 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
article.post:last-of-type { border-bottom: none; margin-bottom: 0; }
/* 单篇文章页：文章本身不加底部分隔线，交给评论区上方的分隔线区分 */
body.single article.post { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
article.post h2 { margin: 0 0 8px; font-size: 22px; }
article.post h2 a { color: var(--text); }
article.post .meta { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
article.post .entry { font-size: 16px; }
article.post .entry img { max-width: 100%; height: auto; }

/* 评论区：和正文用双线分隔，固定在页面最下方 */
.comments-area {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 3px double var(--border);
}
.comments-title, .comment-reply-title { font-size: 17px; color: var(--text); margin-bottom: 8px; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment { padding: 14px 0; border-bottom: 1px dashed var(--border); }
.comment .comment-meta { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.comment .comment-author .fn { color: var(--text); font-weight: 600; font-style: normal; }
.comment .comment-metadata { color: var(--muted); font-size: 13px; }
.comment .comment-metadata a { color: var(--muted); }
.comment .comment-content { margin: 6px 0; }
.comment .reply { margin-top: 4px; }
.comment .reply a { font-size: 13px; }
.comment .edit-link { margin-left: 10px; font-size: 12px; }
.bypostauthor { }
.comment-respond, #respond { margin: 0; padding: 0; border: none; }
#reply-title { font-size: 17px; }
.comment-notes { color: var(--muted); font-size: 13px; }
/* 已有评论列表：在评论框下面，用一条线和评论框分开 */
.comments-title { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }

footer.site {
  margin-top: 48px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.pagination { margin: 32px 0; text-align: center; }
.pagination .page-numbers {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 0 4px;
  color: var(--text);
}
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

input[type=text], input[type=email], textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
}
input[type=submit] {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
}
