/* =========================================================================
   Zertavis — Ratgeber/Blog. Nutzt die Design-Tokens aus style.css
   (wird per <link> NACH style.css eingebunden).
   ========================================================================= */

/* Übersicht */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  text-decoration: none;
  color: var(--text);
  transition: transform .18s, box-shadow .18s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card .pc-cat {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.post-card h2 { font-size: 1.15rem; line-height: 1.35; margin: 0 0 10px; }
.post-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; }
.post-card .pc-meta { margin-top: auto; font-size: 13px; color: var(--muted); }
.post-card .pc-more { color: var(--accent); font-weight: 700; }

/* Artikel */
.article-wrap { max-width: 780px; margin: 0 auto; padding: 0 20px 24px; }
.article-head { max-width: 780px; margin: 0 auto; padding: 8px 20px 6px; }
.article-head .h1sub { margin-bottom: 10px; }
.article-head h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.2; margin: 0 0 14px; }
.article-meta { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.article-meta span + span::before { content: "·"; margin: 0 8px; }

.article-body { font-size: 16px; line-height: 1.75; color: var(--text-soft); }
.article-body h2 { color: var(--text); font-size: 1.4rem; margin: 40px 0 14px; line-height: 1.3; }
.article-body h3 { color: var(--text); font-size: 1.1rem; margin: 28px 0 10px; }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--accent); font-weight: 600; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0 0 20px; }
.article-body th {
  text-align: left; padding: 10px 12px; color: var(--muted); font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--hairline);
}
.article-body td { padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.table-scroll { overflow-x: auto; margin: 0 0 20px; }
.table-scroll table { margin: 0; min-width: 520px; }

/* Info-/CTA-Kasten im Artikel */
.article-box {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 20px 22px;
  margin: 28px 0;
}
.article-box .ab-title { font-weight: 800; color: var(--text); margin: 0 0 8px; }
.article-box p { margin: 0 0 12px; font-size: 15px; }
.article-box p:last-child { margin-bottom: 0; }
.article-box .btn { margin-top: 4px; }

/* Quellen-/Hinweiszeile am Artikelende */
.article-note {
  font-size: 13px; color: var(--muted); line-height: 1.6;
  border-top: 1px solid var(--hairline); padding-top: 16px; margin-top: 36px;
}

@media (max-width: 560px) {
  .article-body { font-size: 15.5px; }
  .post-card { padding: 22px; }
}
