/* 古风A - 宣纸墨香风格 */

/* === 全局样式 === */
html, body {
  background: url("/backgrounds/xuan-paper.png") repeat center center fixed !important;
  background-size: cover !important;
  color: #2b2b2b !important;
  font-family: "STKaiti", "KaiTi", "SimSun", serif;
  line-height: 1.9;
  font-size: 22px !important;      /* 原 20px -> 大一号 [正文字号] */
}

.main, .post-content, .list, .home-info {
  background: rgba(255, 255, 255, 0.8) !important;
  border-radius: 10px;
  padding: 1.5rem 2rem !important;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

h1, h2, h3 {
  color: #a40d0d;
  font-weight: bold;
  text-align: center;
  letter-spacing: 2px;
}

article, .post-content {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 1.5em 2em;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e6e2d3;
}

/* === 正文段落 === */
p {
  text-indent: 2em;
  margin: 1.2em 0;
  font-size: 1.2em !important;      /* 原 1.1em -> 大一号 [正文字号] */
}

/* === 页脚 === */
footer {
  text-align: center;
  color: #999;
  font-size: 0.9em;
  margin-top: 3em;
}

/* === 标题字号更大 === */
h1 {
  font-size: 2.4em !important;      /* 原 2.2em -> 大一号 [标题字号] */
}

h2 {
  font-size: 2.0em !important;      /* 原 1.8em -> 大一号 [标题字号] */
}

h3 {
  font-size: 1.6em !important;      /* 原 1.4em -> 大一号 [标题字号] */
}

/* 页脚与导航略小 */
footer, nav {
  font-size: 0.9em !important;
}

/* === 首页古风题签样式 === */
.homepage-header {
  text-align: center;
  margin-top: 3em;
  margin-bottom: 2em;
}

.homepage-header h1 {
  font-family: "STKaiti", "KaiTi", "SimSun", serif;
  font-size: 3.0em;                 /* 原 2.8em -> 大一号 [首页标题字号] */
  color: #a40d0d;
  letter-spacing: 4px;
  text-shadow: 1px 1px 2px rgba(164, 13, 13, 0.2);
}

.homepage-header .subtitle {
  display: block;
  font-size: 1.4em;                 /* 原 1.3em -> 大一号 [首页副标题字号] */
  color: #555;
  margin-top: 0.5em;
  font-style: italic;
}

.homepage-content {
  max-width: 800px;
  margin: 0 auto 3em auto;
  font-size: 1.2em;                 /* 原 1.1em -> 大一号 [正文字号] */
  line-height: 1.9;
  background: rgba(255, 255, 255, 0.85);
  padding: 2em;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.05);
}

.divider {
  border: none;
  border-top: 1px solid #ccc;
  width: 60%;
  margin: 2em auto;
}

/* === 诗词列表样式 === */
.poem-list {
  margin-top: 3em;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 2em;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.poem-list h2 {
  text-align: center;
  color: #a40d0d;
  margin-bottom: 1.5em;
  font-size: 1.7em;                 /* 原 1.6em -> 大一号 [诗词标题字号] */
}

.poem-list ul {
  list-style: none;
  padding-left: 0;
}

.poem-list li {
  font-size: 1.2em;                 /* 原 1.1em -> 大一号 [正文字号] */
  line-height: 1.8;
  margin: 0.5em 0;
}

.poem-list a {
  color: #4b3a2f;
  text-decoration: none;
}

.poem-list a:hover {
  color: #a40d0d;
  text-decoration: underline;
}

/* === 诗词页面专用样式 === */
.poem-title {
  text-align: center !important;
  font-size: 2.0em !important;      /* 原 1.8em -> 大一号 [诗题字号] */
  font-weight: bold !important;
  color: #a40d0d !important;
  margin-bottom: 0.5em !important;
  text-indent: 0 !important;
  display: block;
  width: 100%;
}

.poem-subtitle {
  text-align: center !important;
  font-size: 1.4em;                 /* 原 1.2em -> 大一号 [副标题字号] */
  color: #444;
  margin-bottom: 1.1em;
  text-indent: 0 !important;
  display: block;
  width: 100%;
}

.post-content p {
  white-space: pre-line !important;
}

/* === 桌面端主体宽度 === */
body #content,
body .content,
body main {
    max-width: 900px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* === 手机端样式（不放大） === */
@media screen and (max-width: 768px) {
  body {
    font-size: 16px !important;
    line-height: 1.65;
  }

  .post-content,
  .entry-content,
  .poem-list {
    font-size: 16px !important;
  }
}
