/* ============================================================================
   VIRTUE COMPLIANCE — Blog Article Styles
   Styles für individuelle Blog-Artikel.
   ============================================================================ */

/* — Article Hero — */
.article-hero       { padding: 120px 32px 60px; background: linear-gradient(180deg, var(--surface-1) 0%, var(--surface-0) 100%); }
.article-hero-inner { max-width: 720px; margin: 0 auto; }
.article-tag {
    display: inline-block;
    background: var(--accent-surface); color: var(--accent);
    font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
    text-transform: uppercase; padding: 5px 14px;
    border-radius: 20px; margin-bottom: 20px;
}
.article-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 700; line-height: 1.25;
    color: var(--ink); margin-bottom: 20px;
}
.article-hero h1 em { font-style: italic; color: var(--accent); }
.article-meta     { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--ink-3); }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-4); }

/* — Article Content — */
.article-wrap { max-width: 720px; margin: 0 auto; padding: 0 32px 80px; }

/* TL;DR Box */
.tldr         { background: var(--accent-surface); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 28px; margin: 40px 0; }
.tldr-title   { font-family: var(--font-serif); font-size: 16px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.tldr p       { font-size: 14px; line-height: 1.75; color: var(--ink-2); }

/* Table of Contents */
.toc          { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 28px; margin: 32px 0 48px; }
.toc-title    { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.toc ol       { padding-left: 20px; }
.toc li       { margin-bottom: 6px; }
.toc a        { font-size: 14px; color: var(--accent); text-decoration: none; }
.toc a:hover  { text-decoration: underline; }

/* Prose */
.article-wrap h2 {
    font-family: var(--font-serif); font-size: 26px; font-weight: 700;
    color: var(--ink); margin: 56px 0 20px; padding-top: 24px;
    border-top: 1px solid var(--border-light);
}
.article-wrap h2:first-of-type { border-top: none; }
.article-wrap h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--ink); margin: 36px 0 14px; }
.article-wrap p  { font-size: 16px; line-height: 1.85; color: var(--ink-2); margin-bottom: 18px; }
.article-wrap strong { color: var(--ink); }
.article-wrap ul, .article-wrap ol { padding-left: 24px; margin-bottom: 18px; }
.article-wrap li { font-size: 16px; line-height: 1.85; color: var(--ink-2); margin-bottom: 8px; }

/* Callout */
.callout        { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin: 36px 0; }
.callout-accent { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: white; border: none; }
.callout-accent p, .callout-accent strong { color: white; }
.callout-accent a { color: white; text-decoration: underline; font-weight: 600; }
.callout p      { margin-bottom: 0; }
.callout-title  { font-family: var(--font-serif); font-size: 18px; font-weight: 700; margin-bottom: 10px; }

/* Inline CTA */
.inline-cta     { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); border-radius: var(--radius-lg); padding: 36px; margin: 48px 0; text-align: center; }
.inline-cta h3  { font-family: var(--font-serif); color: white; font-size: 22px; margin: 0 0 10px; }
.inline-cta p   { color: rgba(255,255,255,0.85); font-size: 15px; margin-bottom: 20px; }
.inline-cta a   { display: inline-block; background: white; color: var(--primary); font-weight: 700; font-size: 14px; padding: 12px 28px; border-radius: 50px; text-decoration: none; transition: transform 0.2s; }
.inline-cta a:hover { transform: translateY(-2px); }

/* Key Takeaways */
.takeaways       { background: var(--accent-surface); border-radius: var(--radius-lg); padding: 32px; margin: 48px 0; }
.takeaways h2    { border-top: none; margin-top: 0; padding-top: 0; color: var(--accent); font-size: 22px; }
.takeaways .item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.takeaways .check { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.takeaways .check svg { width: 12px; height: 12px; stroke: white; stroke-width: 3; fill: none; }

/* Author Box */
.author-box      { display: flex; gap: 20px; align-items: flex-start; background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin: 48px 0; }
.author-avatar   { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; color: white; font-family: var(--font-serif); font-size: 24px; font-weight: 700; flex-shrink: 0; }
.author-info h4  { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.author-info p   { font-size: 14px; color: var(--ink-3); margin-bottom: 10px; line-height: 1.6; }
.author-links    { display: flex; gap: 12px; }
.author-links a  { font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 600; }
.author-links a:hover { text-decoration: underline; }

/* Sources */
.sources         { border-top: 1px solid var(--border); padding-top: 32px; margin-top: 48px; }
.sources h3      { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.sources ol      { padding-left: 20px; }
.sources li      { font-size: 13px; line-height: 1.7; color: var(--ink-3); margin-bottom: 6px; }

/* Related Articles */
.related         { border-top: 1px solid var(--border); padding-top: 32px; margin-top: 32px; }
.related h3      { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 16px; font-family: var(--font-serif); }
.related-list    { display: flex; flex-direction: column; gap: 12px; }
.related-item    { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; transition: background 0.2s; }
.related-item:hover { background: var(--surface-1); }
.related-badge   { font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--surface-2); color: var(--ink-3); white-space: nowrap; }
.related-title   { font-size: 15px; font-weight: 600; color: var(--ink); }

/* Tags */
.article-tags     { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags span { font-size: 12px; padding: 4px 12px; background: var(--surface-2); color: var(--ink-3); border-radius: 20px; }

/* Blog Footer */
.blog-footer     { background: var(--ink); color: rgba(255,255,255,0.4); padding: 40px 32px; text-align: center; font-size: 14px; }
.blog-footer a   { color: rgba(255,255,255,0.6); text-decoration: none; }
.blog-footer a:hover { color: white; }

/* Lead Magnet */
.lead-magnet       { background: var(--accent-surface); border: 2px solid var(--accent); border-radius: var(--radius-lg); padding: 32px; margin: 48px 0; }
.lead-magnet-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lead-magnet h3    { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--accent); margin: 0 0 10px; }
.lead-magnet > p   { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin-bottom: 14px; }
.lead-magnet ul    { padding-left: 20px; margin-bottom: 20px; }
.lead-magnet li    { font-size: 14px; line-height: 1.7; color: var(--ink-2); margin-bottom: 4px; }
.lead-magnet form  { display: flex; gap: 10px; margin-bottom: 10px; }
.lead-magnet input[type=email] {
    flex: 1; padding: 12px 16px; font-size: 15px; font-family: inherit;
    border: 1px solid var(--border); border-radius: var(--radius); background: white;
    outline: none; transition: border-color 0.2s;
}
.lead-magnet input[type=email]:focus { border-color: var(--accent); }
.lead-magnet button {
    padding: 12px 24px; font-size: 14px; font-weight: 700; font-family: inherit;
    background: var(--accent); color: white; border: none; border-radius: var(--radius);
    cursor: pointer; white-space: nowrap; transition: background 0.2s, transform 0.2s;
}
.lead-magnet button:hover { background: var(--primary); transform: translateY(-1px); }
.lead-magnet button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.lead-magnet-privacy { font-size: 12px; color: var(--ink-4); }
.lead-magnet-privacy a { color: var(--accent); text-decoration: underline; }
.lead-magnet-success {
    background: var(--accent); border-radius: var(--radius); padding: 24px;
    text-align: center; color: white;
}
.lead-magnet-success-icon { width: 40px; height: 40px; margin: 0 auto 12px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lead-magnet-success-icon svg { width: 20px; height: 20px; stroke: white; stroke-width: 3; fill: none; }
.lead-magnet-success p { color: rgba(255,255,255,0.92); font-size: 15px; margin-bottom: 16px; }
.lead-magnet-success strong { color: white; }
.lead-magnet-success-cta {
    display: inline-block; background: white; color: var(--accent); font-weight: 700;
    font-size: 14px; padding: 10px 24px; border-radius: 50px; text-decoration: none;
    transition: transform 0.2s;
}
.lead-magnet-success-cta:hover { transform: translateY(-2px); }
.lead-magnet-error { font-size: 14px; color: #dc2626; margin-top: 8px; }

/* — Responsive — */
@media (max-width: 768px) {
    .article-hero { padding: 100px 20px 40px; }
    .article-wrap { padding: 0 20px 60px; }
    .article-hero h1 { font-size: 26px; }
    .author-box   { flex-direction: column; }
    .article-meta { flex-wrap: wrap; gap: 8px; }
    .lead-magnet form { flex-direction: column; }
    .lead-magnet button { width: 100%; }
}
