/* Style bloga — dokładane do styles.css tylko na stronach /blog/.
   Korzystają wyłącznie z tokenów zdefiniowanych w styles.css (--text, --border, …),
   więc tryb ciemny działa bez osobnych reguł. Strony generuje
   scripts/landing/build-blog.mjs, który dopina ?v=<hash> do URL-a tego pliku. */

.breadcrumbs {
  margin-bottom: 1.2rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }

.post h1 { margin-bottom: .6rem; }
.post-meta {
  margin: 0 0 1.2rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.post-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.prose { font-size: 1.04rem; line-height: 1.7; }
.prose h2 { margin: 2.4rem 0 .8rem; }
.prose h3 { margin: 1.8rem 0 .6rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote {
  margin: 1.4rem 0;
  padding: .9rem 1.1rem;
  border-left: 4px solid var(--accent);
  background: var(--surface-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose blockquote p { margin: 0; }
.prose code {
  padding: .1em .35em;
  border-radius: 4px;
  background: var(--surface-2);
  font-size: .92em;
}

.table-scroll { overflow-x: auto; margin: 0 0 1.4rem; }
.prose table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: .95rem;
  line-height: 1.5;
}
.prose th, .prose td {
  padding: .65rem .75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--surface-2); font-weight: 650; }

.post-cta {
  margin-top: 3rem;
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--brand-soft);
}
.post-cta h2 { font-size: clamp(1.15rem, 3vw, 1.4rem); margin-bottom: .6rem; }

.post-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.post-list > li {
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
}
.post-list h2 { font-size: clamp(1.15rem, 3vw, 1.4rem); margin-bottom: .3rem; }
.post-list h2 a { color: var(--text); text-decoration: none; }
.post-list h2 a:hover { text-decoration: underline; }
.post-list .post-meta { margin-bottom: .5rem; }
.post-list p:last-child { margin: 0; color: var(--text-muted); }
