.ba-results {
  padding-top: clamp(40px, 5vw, 56px);
}

.ba-hero {
  background-image: none;
}

.ba-hero-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.before-after .ba-kpi-grid article,
.before-after .ba-kpi-grid article > * {
  box-sizing: content-box;
}

/* DEV-REQ-038 BUG-D-127① · BUG-D-128 — 더보기 버튼(정본 before-after.dc.html:98 ~ :101 · :140 ~ :143). */
.ba-more { margin-top: 20px; text-align: center; }
.ba-more button { padding: 11px 36px; border: 1px solid #20221f; border-radius: 4px; background: transparent; color: #20221f; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.ba-more button:hover { background: #20221f; color: #fff; }
/* DEV-REQ-039 BUG-D-127② — 고민 필터 칩 · 필터 0건(정본 before-after.dc.html:108 ~ :112 · :143 ~ :148). */
.ba-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ba-filters button { padding: 7px 16px; border: 1px solid #c9c5ba; border-radius: 16px; background: transparent; color: #4c4e48; font: inherit; font-size: 12.5px; white-space: nowrap; cursor: pointer; }
.ba-filters button.is-active { border-color: #20221f; background: #20221f; color: #fff; }
.ba-filter-empty { margin-top: 24px; padding: 56px 24px; border: 1px dashed #c9c5ba; border-radius: 8px; color: #8a877e; font-size: 13.5px; text-align: center; }
.ba-filter-empty button { margin-top: 12px; padding: 0; border: 0; background: none; color: #2c4434; font: inherit; font-size: 12.5px; text-decoration: underline; cursor: pointer; }

.ba-kpi-icon {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: #2c4434;
}

.ba-kpi-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.before-after .ba-kpi-grid strong {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 32px);
}

.before-after .ba-kpi-grid span {
  margin-top: 8px;
  font-size: 13.5px;
}

.before-after .ba-kpi-grid small {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.6;
}

.before-after .ba-kpi-grid small span {
  display: inline;
  color: #a9a69d;
  font-size: inherit;
  font-weight: 400;
}

@media (max-width: 767.98px) {
  .ba-hero {
    height: 300px;
    padding-bottom: 28px;
  }

  /* BUG-D-131 — Key Results 는 PC(768 이상)에서 등록 개수만큼 열(1~4 · site.css --kpi-count), 모바일(767 이하)에서 2열 고정이다
     (wireframe 임상결과.html:354 · :394 · :424). 중단점이 1439.98 이던 탓에 768~1439 PC 구간 전체가 2열로 덮여 카드 1개가 반쪽 폭이었다.
     모바일 2열 규칙은 이 한 곳이다 — site.css 에 흩어져 있던 두 벌은 걷었다(N-264). 홀수 개면 마지막 카드는 자동 배치로 왼쪽 칸에 놓인다. */
  .before-after .ba-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
