/* Card descriptions own their typography independently of shared body components. */
.vfb-build .card-description,
.vfb-build .card-description-copy,
.vfp-process-grid--cards .vfp-process-copy p.card-description {
  margin: 0;
  color: var(--serim-text-weak);
  font-family: "VFR Pretendard Variable", Pretendard, "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.vfb-build .card-description-copy.vf-body-1 {
  color: var(--serim-text-weak);
}

/* Product categories may wrap to a maximum of two lines; process descriptions wrap naturally. */
.vfb-build .card-description {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  width: round(down, 100%, 1px);
  min-width: 0;
  min-height: 22px;
  white-space: normal;
}

.vfb-build .card-description > .card-description-copy {
  display: -webkit-box;
  min-width: 0;
  max-height: 3em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-overflow: ellipsis;
  white-space: normal;
}
