/* ========== 父容器 ========== */
.ser_area2 {
  padding: clamp(30px, 2.083333vw, 40px) 0;
}

/* ========== ★ 关键：让 row 变成 flex 容器 ========== */
.ser_area2 .row {
  display: flex;
  flex-wrap: wrap;
  /* 移除 Bootstrap 默认的负 margin */
  margin-right: 0;
  margin-left: 0;
}

/* ========== ★ 关键：每个列也变成 flex 容器 ========== */
.ser_area2 .row [class*="col-"] {
  display: flex;
  flex-direction: column;
  /* 移除 Bootstrap 默认的 padding 或保留 */
  padding-right: 10px;
  padding-left: 10px;
}

/* ========== ★ 卡片：撑满列的高度 ========== */
.ser_area2 .em-service2 {
  display: flex;
  flex-direction: column;
  flex: 1; /* 撑满列的高度 */
  margin-bottom: 20px;
  box-shadow: 0 0 4px #00000024;
  padding: 10px;
  height: 100%; /* 确保撑满 */
}

/* ========== ★ 让内容撑满 ========== */
.ser_area2 .em-service2 .text_box {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.ser_area2 .em-service2 .em-service-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

/* ========== ★ 描述区域撑满剩余空间 ========== */
.ser_area2 .em-service2 .em-service-desc {
  flex: 1;
  height: auto;
  display: flex;
  flex-direction: column;
}

.ser_area2 .em-service2 .em-service-desc h4 {
  font-family: var(--title-font-family);
  font-weight: 500;
  padding: 10px 0 0 0;
  color: var(--title-text-color);
  font-size: clamp(20px, 1.25vw, 24px);
  flex-shrink: 0; /* 标题不压缩 */
}

.ser_area2 .em-service2 .em-service-desc p {
  font-size: clamp(14px, 0.84vw, 16px);
  flex: 1; /* 撑满剩余空间 */
  height: auto;
  margin: 0;
}

/* ========== 图标 ========== */
.ser_area2 .em-service-icon img {
  width: 100%;
  display: block;
}

/* ========== 标题 ========== */
.sub-title-one {
  font-size: clamp(24px, 1.88vw, 36px);
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}

/* ========== 响应式 ========== */
@media (min-width: 768px) and (max-width: 991px) {
  .ser_area2 .em-service2.sleft .em-service-icon {
    margin-right: 0;
    text-align: center;
  }
  
  .ser_area2 .em-service2 .em-service-inner {
    text-align: center;
  }
  
  .ser_area2 .em-service-icon img {
    margin: 0;
  }
}