@layer components {
  .card {
    background-color: var(--bg-card-light);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 6px -1px oklch(0% 0 0 / 0.1), 0 2px 4px -1px oklch(0% 0 0 / 0.06);
  }

  .flow-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
  }

  .flow-card-content {
    padding: var(--spacing-sm) var(--spacing-lg) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 2;
    background-color: var(--bg-card-light);
  }

  .flow-card-image-wrapper {
    flex-grow: 1;
    position: relative;
    min-height: 120px;
    overflow: hidden;
  }

  .flow-card-image-wrapper.has-cover {
    min-height: 200px;
  }

  .flow-card-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-card-light) 100%);
    pointer-events: none;
    z-index: 1;
  }

  .flow-card-image {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
  }

  .flow-title {
    font-size: 1.25rem;
    font-weight: 600;
  }
}
