/* 메인 강점 카드 — 쌓이는 카드(scripts/webflow-import/feature-stack.mjs)
   스크롤하면 다음 카드가 아래에서 올라와 앞 카드 위에 겹친다. 앞 카드는 위쪽에 띠(14px)로 남는다. */
.feature-stack .section-header {
  margin-bottom: 3rem;
}
.feature-stack-list {
  display: grid;
  gap: 4vh;
  padding-bottom: 6vh;
}
.feature-stack-card {
  position: sticky;
  top: calc(96px + var(--k, 0) * 14px);
  height: min(540px, 70vh);
  border-radius: var(--radius--card);
  overflow: hidden;
  background: var(--color-palette--white, #fff);
  box-shadow:
    0 -1px 0 rgba(21, 21, 21, 0.06),
    0 -12px 32px rgba(21, 21, 21, 0.06);
}
/* 메인 위 웨비나 알림 띠(40px)가 있으면 그만큼 아래에서 멈춘다 */
body:has(.ea-wb-bar) .feature-stack-card {
  top: calc(136px + var(--k, 0) * 14px);
}
.feature-stack-card > .feature-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}
.feature-stack-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 3rem;
}
.feature-stack-text h3 {
  margin: 0;
}
.feature-stack-no {
  margin-top: auto;
  font-family: var(--font--font-mono);
  color: var(--color-palette--gray-dark);
  font-size: var(--_responsive---text-size--regular);
}
.feature-stack-image {
  position: relative;
  background: #dcdcdc;
}
.feature-stack-image .feature-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 767px) {
  .feature-stack-card,
  body:has(.ea-wb-bar) .feature-stack-card {
    top: calc(80px + var(--k, 0) * 10px);
    height: auto;
  }
  body:has(.ea-wb-bar) .feature-stack-card {
    top: calc(120px + var(--k, 0) * 10px);
  }
  .feature-stack-card > .feature-wrapper {
    grid-template-columns: 1fr;
  }
  .feature-stack-text {
    padding: 1.5rem;
  }
  .feature-stack-image {
    order: -1;
    height: 34vh;
  }
}
