/* Blog product blocks — 2026-10-28
   1) .pn-card   mid-article: what the extension actually does for the action being read about
   2) .post-cta  end-of-article: one short call to action, before "Keep reading"

   Kept in a separate file on purpose: the module is only used by articles, and a
   separate URL lets the HTML-side cache-buster (…?v=<hash>) work without touching
   the global stylesheet every time the copy changes.

   🔴 Every inner rule is scoped with its parent (.pn-card …, .post-cta …).
   Reason: the article stylesheet ships `.article p{margin:0 0 18px}` — specificity
   (0,1,1) — which silently beats a bare `.pn-meta{margin:…}` (0,1,0). That is exactly
   how the "meta line sits at the bottom" rule got ignored on 2026-10-28. */

/* ---------- 1. mid-article product note ---------- */
.pn-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:24px;
  align-items:stretch;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:22px 24px;
  margin:36px 0;
  box-shadow:0 1px 0 var(--line);
}
.pn-card .pn-copy{min-width:0;display:flex;flex-direction:column}
.pn-card .pn-kicker{
  margin:0 0 10px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:#d62976;
  line-height:1.4;
}
.pn-card .pn-lead{margin:0;font-size:14.5px;line-height:1.62;color:#374151}
.pn-card .pn-lead b,.pn-card .pn-lead strong{color:var(--ink)}
.pn-card .pn-meta{margin:auto 0 0;padding-top:16px;font-size:12.5px;line-height:1.5;color:var(--muted)}
.pn-card .pn-fig{margin:0;text-align:center;align-self:start}
.pn-card .pn-fig img{
  display:block;
  width:300px;
  height:340px;
  object-fit:cover;
  object-position:top;
  margin:0 auto;
  border-radius:10px;
  border:1px solid var(--line);
}
.pn-card .pn-fig figcaption{
  max-width:300px;
  margin:8px auto 0;
  font-size:11.5px;
  line-height:1.45;
  color:var(--muted);
}

/* ---------- 2. end-of-article CTA ---------- */
.post-cta{
  margin:40px 0 8px;
  padding:22px 24px;
  border-radius:16px;
  background:linear-gradient(180deg,rgba(214,41,118,.07),rgba(150,47,191,.05));
  border:1px solid rgba(214,41,118,.22);
}
.post-cta .pc-title{margin:0 0 8px;font-size:17.5px;line-height:1.35;font-weight:800;color:var(--ink)}
.post-cta .pc-body{margin:0 0 16px;font-size:14px;line-height:1.6;color:#4b5563}
.post-cta .pc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:var(--solid);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:14.5px;
  padding:11px 22px;
  border-radius:999px;
  box-shadow:0 6px 16px rgba(214,41,118,.28);
}
.post-cta .pc-btn:hover{filter:brightness(1.06)}
.post-cta .pc-note{margin:10px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
/* the button sits inside a <p> in the markup; kill the article paragraph margin there */
.post-cta .pc-actions{margin:0}

@media(max-width:720px){
  .pn-card{grid-template-columns:1fr;gap:18px;padding:18px}
  .pn-card .pn-fig{justify-self:center}
  .pn-card .pn-fig img{width:100%;max-width:320px;height:auto;max-height:320px}
  .pn-card .pn-meta{margin-top:14px;padding-top:0}
  .post-cta{padding:18px}
  .post-cta .pc-btn{width:100%}
}
