/* .block-article-card {
  color: #4e4030;
}

.block-article-card__cover {
  width: 100%;
  height: 100%;
}

.block-article-card__image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  aspect-ratio: var(--aspect-ratio);
  padding: var(--padding);
  overflow: hidden;
  background-color: rgb(243 243 243 / 100%);
  border-radius: var(--border-radius);
}

.block-article-card__image-wrapper svg,
.block-article-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block-article-card__date-author {
  opacity: 0.6;
}

.block-article-card__button {
  padding-block-end: 2px;
}

.block-article-card__title {
  display: -webkit-box;
  flex-shrink: 0;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.block-article-card__info {
  color: rgb(var(--color-text));
} */

/* 固定卡片高度 */
.block-article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  /* border-radius: 12px; */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  height: 100%; /* 👉 固定高度，可根据需要调整 */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}


/* 图片区域 */
.block-article-card__cover {
  position: relative;
  width: 100%;
  overflow: hidden;
}


/* 图片绝对定位填充容器 */
.block-article-card__cover img {
  width: 100%;       /* 宽度撑满容器 */
  height: auto;      /* 高度随图片原比例自适应 */
  display: block;    /* 去掉 inline 默认间隙 */
}

/* 平板端固定宽高 */
@media (min-width: 768px) and (max-width: 1024px) {
  .block-article-card__cover {
    aspect-ratio: auto; /* 关闭比例控制，避免和固定高冲突 */
    width: 100%;   /* 固定宽 */
    /* height: 225px;  */
  }
  .block-article-card {
    height: 100% !important; /* 高度自适应内容 */
  }
}

/* 信息区 */
.block-article-card__info {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow: hidden; /* 控制内容不溢出 */
}

/* 标题（最多两行，超出省略号） */
.block-article-card__title {
  width: 100%;
  /* font-size: 18px; */
  /* font-weight: bold; */
  color: #333;
  display: -webkit-box;
  margin-top: 6px;
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.3;
  /* 限制行数 */
  /* -webkit-line-clamp: 2;  
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; */
}

.block-blog-card__title {
  width: 100%;
}

.block-blog-gather__title {
  width: 100%;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
}

/* .body3 {
  width: 100%;
} */


/* 摘要（最多三行，超出省略号） */
.body2 {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;   /* 限制行数 */
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;   /* 避免长单词撑开 */
}

/* 按钮固定在底部 */
.block-article-card__button {
  display: none;
  font-size: 14px;
  font-weight: bold;
  padding-block-end: 2px;
}


/* .block-article-card__cover {
  width: 100%;
  height: 100%;
} */

.block-article-card__image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  aspect-ratio: var(--aspect-ratio);
  padding: var(--padding);
  overflow: hidden;
  background-color: rgb(243 243 243 / 100%);
  border-radius: var(--border-radius);
}

.block-article-card__image-wrapper svg,
.block-article-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .block-article-card__date-author {
  opacity: 0.6;
} */

/* .block-article-card__button {
  padding-block-end: 2px;
} */

/* .block-article-card__title {
  display: -webkit-box;
  flex-shrink: 0;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
} */

/* .block-article-card__info {
  color: rgb(var(--color-text));
} */

.block-article-card__date-author {
  width: 100%;
  text-align: left;
}

@media (max-width: 767px) {
  .block-article-card {
    pointer-events: auto;
    height: 400px !important; /* 移动端固定高度 */
  }

}
@media (hover: hover) and (pointer: fine) {
  .block-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
}

