@layer components {
  /* ===========================================================
     TGK: Seed Question card
     Rendered inline by the {% seedQuestion %} shortcode
     (eleventy.config.js) beside the section of a publication that
     generated it. Links straight to a specific Community seed
     comment via the existing #comment-{replyId} deep link.
     =========================================================== */

  .seed-question-card {
    width: 100%;

    margin: clamp(1rem, 2.5vw, 1.5rem) auto;
    padding: clamp(1.15rem, 3.5vw, 1.75rem);

    border: 1px solid color-mix(in srgb, var(--section-border) 74%, var(--highlight) 26%);
    border-left: 3px solid var(--text-accent);
    border-radius: var(--border-radius-base, 12px);

    background: transparent;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow:
      0 10px 24px color-mix(in srgb, var(--bg-primary) 88%, transparent),
      inset 0 1px 0 color-mix(in srgb, var(--highlight) 28%, transparent);
  }

  .seed-question-eyebrow {
    margin: 0 0 0.5rem;

    color: var(--text-accent);
    font-family: var(--font-display);
    font-size: var(--font-size-vs, 0.8rem);
    font-weight: var(--type-weight-semibold, 600);
    letter-spacing: var(--type-eyebrow-tracking-subtle, 0.08em);
    text-transform: uppercase;
  }

  .seed-question-row {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
  }

  .seed-question-text {
    flex: 1 1 auto;
    margin: 0;

    color: var(--text-primary);
    font-family: var(--font-serif, "Libre Baskerville", serif);
    font-size: 0.92em;
    line-height: var(--type-copy-line, 1.6);
  }

  .seed-question-cta {
    flex: 0 0 auto;
    margin: 0;
  }

  .seed-question-cta .btn-wrap {
    white-space: nowrap;
  }

  /* Scoped to the shop/artwork CTA partials only: when the card is the
     sole content of its section-block, its own bottom margin plus the
     next section's heading margin doubles up the gap before Resources
     or whatever follows. Zero it here without touching the shared
     h2/.section-heading margin used everywhere else on the site. */
  .shop-pdf-cta .seed-question-card,
  .artwork-bundle-cta .seed-question-card,
  .artwork-episode-gallery-cta .seed-question-card,
  .member-bundle-cta .seed-question-card {
    margin-bottom: 0;
  }

  @media (max-width: 768px) {
    .seed-question-card {
      padding: 1.15rem 1rem;
    }

    .seed-question-row {
      flex-direction: column;
      align-items: stretch;
      gap: 1rem;
    }

    .seed-question-cta .btn-wrap {
      white-space: normal;
    }
  }
}
