/* BrioSync blog — shared post styles.
   Loaded by every individual post under /blog/<slug>.html.
   Hero gradient class is overridden per-post (.post-hero-amber etc). */

.post-hero {
  background: linear-gradient(135deg, #2fa36b 0%, #4f7ae3 100%);
  padding: 60px 24px 80px;
  color: white;
  margin-bottom: 0;
}
.post-hero-amber { background: linear-gradient(135deg, #d97706 0%, #7c3aed 100%); }
.post-hero-red   { background: linear-gradient(135deg, #d85034 0%, #7c3aed 100%); }
.post-hero-purple { background: linear-gradient(135deg, #a855f7 0%, #4f7ae3 100%); }
.post-hero .wrap { max-width: 820px; margin: 0 auto; }
.post-hero .breadcrumbs { font-size: 13px; opacity: 0.85; margin-bottom: 14px; }
.post-hero .breadcrumbs a { color: white; text-decoration: none; opacity: 0.85; }
.post-hero .breadcrumbs a:hover { opacity: 1; }
.post-hero h1 {
  font-size: 42px; font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.15; margin: 0 0 16px;
}
.post-hero .post-sub {
  font-size: 17px; opacity: 0.92; line-height: 1.6; max-width: 700px;
}
.post-meta-bar {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px;
  font-size: 13px; opacity: 0.85;
}
.post-meta-bar span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 700px) { .post-hero h1 { font-size: 30px; } }

.post-cover-art {
  background: white; max-width: 820px; margin: -40px auto 40px;
  border-radius: 18px; padding: 24px;
  box-shadow: 0 20px 60px rgba(15,23,42,0.14);
  border: 1px solid var(--border);
}
.post-cover-art svg { width: 100%; height: auto; display: block; }

.post-article {
  max-width: 760px; margin: 0 auto;
  padding: 0 24px 60px;
  font-size: 16.5px; line-height: 1.8; color: var(--text);
}
.post-article > p { margin: 0 0 20px; }
.post-article h2 {
  font-size: 26px; font-weight: 800; letter-spacing: -0.01em;
  margin: 40px 0 16px; line-height: 1.25;
}
.post-article h3 { font-size: 19px; font-weight: 700; margin: 28px 0 10px; }
.post-article ul, .post-article ol { margin: 0 0 22px 22px; padding: 0; }
.post-article li { margin-bottom: 10px; }
.post-article a { color: var(--accent-2, #7c3aed); font-weight: 600; }
.post-article strong { color: var(--text); }
.post-article blockquote {
  margin: 26px 0; padding: 16px 22px;
  border-left: 4px solid var(--accent-2, #7c3aed);
  background: rgba(124,58,237,0.05);
  border-radius: 0 12px 12px 0;
  font-style: italic; color: var(--text-2);
}
.post-article .tldr {
  background: var(--accent-soft);
  border: 1px solid rgba(79,122,227,0.18);
  border-radius: 14px; padding: 18px 22px;
  font-size: 15.5px; line-height: 1.65;
  margin: 0 0 32px;
}
.post-article .tldr strong { color: var(--accent-2); }
.post-article .pull {
  display: grid; gap: 16px; grid-template-columns: 1fr 1fr;
  margin: 26px 0;
}
.post-article .pull > div {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px;
}
.post-article .pull h4 {
  font-size: 13px; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; margin: 0 0 10px;
  color: var(--accent-2);
}
.post-article .pull ul { margin: 0 0 0 18px; }
.post-article .pull li { margin-bottom: 6px; font-size: 14.5px; }
@media (max-width: 640px) { .post-article .pull { grid-template-columns: 1fr; } }

.post-end-cta { max-width: 760px; margin: 30px auto 0; padding: 0 24px; }
.post-end-cta .card {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 18px; padding: 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.post-end-cta .card h3 { margin: 0 0 6px; font-size: 18px; }
.post-end-cta .card p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.post-end-cta .card .actions { display: flex; gap: 8px; flex-wrap: wrap; }

.post-related { max-width: 820px; margin: 60px auto 40px; padding: 0 24px; }
.post-related h3 {
  font-size: 13px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
  margin: 0 0 18px;
}
.post-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.post-related li {
  background: white; border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 18px;
}
.post-related li a { color: var(--text); font-weight: 600; text-decoration: none; }
.post-related li a:hover { color: var(--accent-2); }
.post-related li span { color: var(--muted); font-size: 13px; margin-left: 8px; }
