/* 文章卡片整体悬浮动画 */
.gh-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;

  /* 优化字体和动画渲染 */
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* 图片放大动画 */
.gh-card-image img {
  transition: transform 0.4s ease;
}

.gh-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.gh-card:hover .gh-card-image img {
  transform: scale(1.05);
}

/* 文章卡片标题 */
.gh-card-title {
    font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif !important;
    font-size: 1.50rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: #222 !important;
    margin-bottom: 0.6rem !important;
}

/* 摘要 */
.gh-card-excerpt {
    font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif !important;
    font-size: 1.20rem !important;
    line-height: 1.7 !important;
    color: #555 !important;
}

/* 整体卡片排版优化 */
.gh-card {
    margin-bottom: 2.2rem !important;
}

/* 链接颜色保持继承，hover 时加下划线 */
.gh-card-title a {
    color: inherit !important;
    text-decoration: none !important;
}
.gh-card-title a:hover {
    text-decoration: underline !important;
}

