/* H1 网站主题 - SEO可见，视觉隐藏 */
.site-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* H2 版块标题 - 复用原 recent-card-header 样式 */
.section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: 1px;
  margin-top: 0;
  margin-bottom: 0;
}

/* 最新日记卡片内的 H2 - 隐藏（与 latest-badge 重复） */
.diary-card-featured .section-title {
  display: none;
}

/* H3 文章标题 - 复用原 diary-title 样式 */
.diary-title {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--gray-900);
  margin: 0;
}

.diary-title a {
  color: inherit;
  text-decoration: none !important;
}

.diary-title a:hover {
  color: var(--google-blue);
}

/* H3 近期文章标题 - 复用原 recent-simple-title 样式 */
.recent-simple-title {
  flex: 1;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-800);
  text-decoration: none !important;
  margin: 0;
}

.recent-simple-title:hover {
  color: var(--google-blue);
}

.recent-simple-title a {
  color: inherit;
  text-decoration: none !important;
}

.recent-simple-title a:hover {
  color: var(--google-blue);
}

/* 日记列表页 H1 - 继承原有 span 样式，视觉一致 */
.recent-card-header h1 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: 1px;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  display: inline;
}

/* 分页 H2 - 视觉隐藏，SEO可见 */
.page-info-h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 标签页 H1 - 保持与日记列表一致 */
.taxonomy-title {
  font-size: 1.125rem;
  font-weight: 700;
}
