/* news-card.css - 新闻卡片高度对齐专用样式 */

/* 1. 父容器：强制子卡片高度一致 */
.careers-people__cards {
  display: flex !important; /* 强制使用flex布局（覆盖原有样式） */
  flex-wrap: wrap !important;
  gap: 24px !important; /* 可根据需求调整间距 */
  justify-content: center !important;
  align-items: stretch !important; /* 核心：所有卡片高度与最高的一致 */
}

/* 2. 单个卡片：填满父容器高度，内部垂直排列 */
.careers-people__cards__card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* 3. 卡片内部容器：自适应填充，按钮固定在底部 */
.featured-role-card__container {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

/* 4. 图片：统一高度，避免变形 */
.featured-role-card__container__image {
  height: 200px !important; /* 可根据设计需求调整 */
  object-fit: cover !important; /* 图片自适应填充，不变形 */
  margin-bottom: 15px !important;
  width: 100% !important; /* 图片宽度铺满卡片 */
}

/* 5. 文字区域：自适应填充空间 */
.featured-role-card__container__details {
  flex: 1 !important;
  margin-bottom: 15px !important;
}

/* 6. 按钮：固定高度，保证对齐 */
.featured-role-card__container__details__link-button__button {
  display: block !important;
  height: 40px !important; /* 固定按钮高度 */
  line-height: 40px !important;
  text-align: center !important;
  box-sizing: border-box !important; /* 避免内边距影响高度 */
}