/* 自定义字体样式 */

/* 首页标题字体优化 */
.index-info .index-title {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 首页副标题字体优化 */
.index-info .index-subtitle {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* 全局中文字体优化 */
body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
}

/* 文章标题字体优化 */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif SC', 'Source Han Serif SC', 'PingFang SC', 'Microsoft YaHei', serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 导航栏字体优化 */
.navbar-brand {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
}

/* 文章内容字体优化 */
.post-content {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.8;
  letter-spacing: 0.3px;
}

/* 代码字体优化 */
code, pre {
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', 'Courier New', monospace;
}

/* 响应式字体大小 */
@media (max-width: 768px) {
  .index-info .index-title {
    font-size: 2.5rem;
  }
  
  .index-info .index-subtitle {
    font-size: 1.2rem;
  }
}

@media (min-width: 769px) {
  .index-info .index-title {
    font-size: 3.5rem;
  }
  
  .index-info .index-subtitle {
    font-size: 1.5rem;
  }
}

  .medium-zoom-overlay {
    z-index: 9999 !important;
  }
  .medium-zoom-image--opened {
    z-index: 10000 !important;
  }