/* 容器宽度固定，不随主题变 */
.layout.hide-aside {
  max-width: 1400px !important;
  margin: 0 auto;
  padding: 0; /* 把padding挪到子元素 */
}

/* 文章整体区域 padding 固定，不随主题变化 */
.layout>#post {
  padding: 2rem;
  background: linear-gradient(-45deg, #d0e8ffdd, #f1f8ffff, #cfe7ffdd, #f8fbffdd) !important;
  transition: background 0.3s ease;
}

[data-theme="dark"] .layout>#post {
  background: linear-gradient(-45deg, #111111cc, #2a2a2acc, #222222cc, #333333cc) !important;
  /* padding 保持不变 */
}

/* 正文容器 */
#post .post-content,
#post article {
  background: #fdfaf6;
  color: #333333;
  border-radius: 10px;
  padding: 2rem 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  font-size: 1.05rem;
  line-height: 1.8;
  transition: background 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] #post .post-content,
[data-theme="dark"] #post article {
  background: #1f1f1f;
  color: #dcdcdc;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* 夜间社交图标 */
[data-theme="dark"] #post .social-icon i {
  color: rgba(220, 220, 220, 0.85) !important;
}

/* 移动端适配 */
@media (max-width: 767px) {
  .layout.hide-aside {
    max-width: 100% !important;
  }

  .layout>#post {
    padding: 1rem;
  }

  #post .post-content,
  #post article {
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.6;
  }
}
