/* Blog section styles. Loaded only by pages under /blog/, so the core eight
   pages do not carry the weight of a section they never render.

   Everything here sits on top of the site's own styles.css and reuses its
   tokens, type scale and components. No new design system. */

.bl-wrapper{max-width:820px;margin:0 auto;padding:0 40px}
@media (max-width:640px){ .bl-wrapper{padding:0 22px} }

/* ---------- tag chips ---------- */
.tagbar{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
.tag{
  display:inline-block;font-family:var(--font-display);font-size:.76rem;font-weight:600;
  letter-spacing:.02em;padding:7px 15px;border-radius:999px;
  border:1px solid var(--line-l);color:var(--ink-dim);background:#fff;
  transition:border-color .15s,color .15s,background .15s;
}
.tag:hover{border-color:var(--ink);color:var(--ink)}
.tag[aria-pressed="true"],.tag.is-on{background:var(--ink);border-color:var(--ink);color:#fff}
.surface-dark .tag,.tagbar-dark .tag{
  background:rgba(255,255,255,.06);border-color:var(--line-d);color:rgba(255,255,255,.72);
}
.tagbar-dark .tag:hover{border-color:#fff;color:#fff}
.tagbar-dark .tag[aria-pressed="true"]{background:#fff;border-color:#fff;color:var(--ink)}

/* ---------- post list ---------- */
.postlist{display:grid;gap:0;margin-top:8px}
.post-item{
  display:block;padding:28px 0;border-bottom:1px solid var(--line-l);
  transition:opacity .2s;
}
.post-item h2{font-family:var(--font-display);font-size:1.22rem;line-height:1.25;margin-bottom:8px}
.post-item p{color:var(--ink-dim);font-size:.95rem;line-height:1.6;max-width:70ch}
.post-item .post-tags{margin-top:12px;display:flex;flex-wrap:wrap;gap:7px}
.post-item .post-tags span{
  font-family:var(--font-display);font-size:.7rem;font-weight:600;letter-spacing:.05em;
  text-transform:uppercase;color:var(--ink-dim);
  border:1px solid var(--line-l);border-radius:999px;padding:3px 10px;
}
.post-item[hidden]{display:none}
.postlist-empty{padding:34px 0;color:var(--ink-dim);font-size:.95rem}

/* ---------- article body ---------- */
.article{max-width:70ch}
.article h2{
  font-family:var(--font-display);font-size:1.3rem;line-height:1.25;
  margin:40px 0 12px;letter-spacing:-.01em;
}
.article h3{font-family:var(--font-display);font-size:1.05rem;margin:28px 0 8px}
.article p{color:var(--ink-dim);font-size:1rem;line-height:1.72;margin-bottom:16px}
.article ul{margin:0 0 18px;padding:0;list-style:none}
.article li{
  color:var(--ink-dim);font-size:1rem;line-height:1.7;
  padding-left:22px;position:relative;margin-bottom:9px;
}
.article li::before{
  content:"";position:absolute;left:2px;top:.65em;
  width:6px;height:6px;border-radius:50%;background:var(--teal);
}
.article strong{color:var(--ink);font-weight:600}
.article a{color:#0C5C8A;border-bottom:1px solid rgba(12,92,138,.35)}
.article a:hover{border-color:#0C5C8A}

.article-meta{
  font-family:var(--font-display);font-size:.78rem;font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;color:var(--ink-dim);margin-bottom:10px;
}

/* A standing, honest note carried by every post. Not decoration: these posts
   describe a product that is pre-certification, and saying so once per post is
   the same discipline the rest of the site follows. */
.post-note{
  border-left:3px solid var(--teal);background:rgba(45,212,191,.07);
  padding:15px 20px;border-radius:0 10px 10px 0;
  color:var(--ink-dim);font-size:.9rem;line-height:1.6;margin:32px 0 0;
}
.post-note b{color:var(--ink)}

.post-nav{
  display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;
  margin-top:44px;padding-top:24px;border-top:1px solid var(--line-l);
}

/* One call to action per post, pointing at the product page for the segment
   the post was written for. Sits after the article, before the standing note. */
.post-cta{margin:38px 0 0}
