/* The sponsored card. Self-contained (own colour variables) so it looks right on any site it is embedded in.
   Class names are prefixed "nw-" on purpose (see src/Creatives/render.php). Themes: nw-theme-light | dark | auto. */
.nw-card {
  --nw-bg: #ffffff; --nw-ink: #1F2A2C; --nw-muted: #4A5456; --nw-line: #DDD6C8;
  --nw-accent: #0F5C63; --nw-accent-ink: #ffffff; --nw-img-bg: #e7e2d6;
  max-width: 330px; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; box-sizing: border-box;
}
.nw-card *, .nw-card *::before, .nw-card *::after { box-sizing: border-box; }
.nw-card.nw-theme-dark {
  --nw-bg: #1E2627; --nw-ink: #ECE9E1; --nw-muted: #A9B3B4; --nw-line: #324042;
  --nw-accent: #4FB3BC; --nw-accent-ink: #0B1516; --nw-img-bg: #324042;
}
@media (prefers-color-scheme: dark) {
  .nw-card.nw-theme-auto {
    --nw-bg: #1E2627; --nw-ink: #ECE9E1; --nw-muted: #A9B3B4; --nw-line: #324042;
    --nw-accent: #4FB3BC; --nw-accent-ink: #0B1516; --nw-img-bg: #324042;
  }
}
.nw-link { display: grid; grid-template-columns: 65px 1fr; grid-template-areas: "img text" "cta cta"; gap: 8px 12px;
           padding: 12px; border: 1px solid var(--nw-line); border-radius: 10px; text-decoration: none;
           color: var(--nw-ink); background: var(--nw-bg); }
a.nw-link:hover { border-color: var(--nw-accent); }
.nw-img { grid-area: img; width: 65px; height: 65px; border-radius: 8px; object-fit: cover; display: block; background: var(--nw-img-bg); }
.nw-text { grid-area: text; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nw-head { font-weight: 700; font-size: 14px; line-height: 1.3; }
.nw-body { font-size: 13px; line-height: 1.4; color: var(--nw-muted); }
.nw-cta { grid-area: cta; text-align: center; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px;
          background: var(--nw-accent); color: var(--nw-accent-ink); }
.nw-meta { font-size: 11px; color: var(--nw-muted); margin: 4px 2px 0; }
.nw-report { color: inherit; text-decoration: underline; }
.nw-report:hover { color: var(--nw-accent); }
