/*
 * "Veröffentlichen" (Dashboard::SocialPostsController, Kosten 44) in the
 * marketing hub: the connection is a tile, the proposals are tiles with the
 * real PNG at 40 % as preview (like the starter kit's motifs), the posts a
 * list with status badges, draft and post pages reuse the campaign editor's
 * two columns. Tokens only, so dark mode follows by itself; the motifs are
 * pictures and stay light.
 */
@layer components {
  .sp-proposals {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;

    @media (min-width: 640px) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    @media (min-width: 960px) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  .sp-proposal {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .sp-proposal__format {
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  .sp-proposal__preview,
  .sp-preview {
    background-color: #F8F5ED;
    block-size: auto;
    border: 1px solid var(--color-ink-lighter);
    border-radius: var(--radius-card);
    display: block;
    inline-size: 100%;
    max-inline-size: 432px;
  }

  .txt-negative {
    color: var(--color-negative, #B3261E);
  }
}
