/* 导航栏字体（略小更合适） */
#nav {
  font-size: 1.25em;
}

#nav .menus_items .menus_item .site-page,
#nav #search-button .site-page {
  font-size: 1em;
}

/* 首页标题与副标题放大 */
#site-title {
  font-size: 4em !important;
}

#site-subtitle {
  font-size: 1.75em !important;
}

/* 与参考站一致的内容宽度与栏宽 */
.layout {
  max-width: 1200px;
}

.layout > div:first-child {
  width: 75%;
}

#aside-content {
  width: 25%;
}

.layout > div:first-child:not(.nc) {
  padding: 50px 40px;
}

/* 首页文章卡片 */
#recent-posts .recent-post-item {
  height: 18em !important;
  margin-bottom: 20px;
}

#recent-posts .recent-post-item > .recent-post-info {
  padding: 20px 32px !important;
}

#recent-posts .recent-post-item > .recent-post-info > .article-title {
  font-size: 1.5em !important;
  -webkit-line-clamp: 2;
}

#recent-posts .recent-post-item > .recent-post-info > .content {
  -webkit-line-clamp: 3 !important;
  margin-top: 6px;
  font-size: 0.98em;
  line-height: 1.7;
}

#recent-posts .recent-post-item > .recent-post-info > .article-meta-wrap {
  font-size: 0.9em;
}

/* 文章页：标题样式贴近参考站 */
#post > #post-info .post-title {
  font-size: 1.85em !important;
  font-weight: 700 !important;
  color: #1f1f1f !important;
  line-height: 1.4 !important;
  margin-bottom: 18px !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

/* 参考站标题下不显示元信息行 */
#post > #post-info #post-meta {
  display: none !important;
}

/* 正文排版 */
#article-container {
  font-size: 1em;
  line-height: 1.8;
  color: #4c4948;
}

#article-container h1,
#article-container h2 {
  font-size: 1.4em;
  font-weight: 700;
  margin: 1.35em 0 0.75em;
}

#article-container h3 {
  font-size: 1.2em;
  font-weight: 700;
}

#article-container p {
  margin: 0 0 1em;
  line-height: 1.8;
}

/* 摘要框：浅蓝底 + 左侧蓝条，字更小更灰 */
#article-container .note.info {
  font-size: 0.92em;
  line-height: 1.75;
  color: #666;
  margin: 0 0 1.2em;
}

#article-container .note.info + hr,
#article-container .note.info + p {
  margin-top: 0.4em;
}

/* 作者卡：只保留 文章 / 分类（隐藏标签，贴近参考站） */
.card-info .site-data > a:nth-child(2) {
  display: none;
}

/* 文章页侧栏：隐藏最新文章，保留作者、公告、目录 */
#body-wrap.post .card-recent-post {
  display: none !important;
}

@media screen and (max-width: 900px) {
  .layout > div:first-child,
  #aside-content {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  #recent-posts .recent-post-item {
    height: auto !important;
  }

  #post > #post-info .post-title {
    font-size: 1.5em !important;
  }

  .layout > div:first-child:not(.nc) {
    padding: 28px 16px;
  }
}
