/**
 * post-page.css — shared styles for blog post pages (Wanddruckmaschine)
 * Used by: all HTML files with <meta name="post_article" content="true">
 *
 * Brand: reuses the site --wpg- token palette for continuity with landing pages.
 *   brand_color  #1D4ED8 (--wpg-primary)   brand_soft #0F1B3D (hero navy)
 *   accent       #F97316 (--wpg-accent)    accent_hover #EA580C
 * Falls back to literal hex so the file works even where :root tokens are absent.
 *
 * What stays inline in each article HTML (post-optimizer contract):
 *   - .article-content img { ... }            (Step 11 check #8 greps HTML)
 *   - .toc-nav / .toc-list ...                (Step 11 checks #14 grep HTML)
 *   - .blog-hero background-image url(...)     (per-article)
 */

/* Breadcrumb + author/date strip */
.article-meta-wrap {
    padding: 1.25rem 0 0.5rem;
}
.article-meta .breadcrumb {
    background: transparent;
}
.article-meta a { text-decoration: none; }
.article-meta a:hover { color: var(--wpg-primary, #1D4ED8) !important; }

/* Sidebar CTA card */
.sidebar-cta {
    background: linear-gradient(135deg, var(--wpg-primary, #1D4ED8) 0%, #0F1B3D 100%);
    color: #fff;
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 8px 26px rgba(15, 27, 61, 0.18);
}
.sidebar-cta h4 {
    color: #fff;
    font-family: 'Archivo', 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
}
.sidebar-cta p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    margin: 0 0 1rem;
    line-height: 1.55;
}
.sidebar-cta .btn-primary {
    background: var(--wpg-accent, #F97316);
    border-color: var(--wpg-accent, #F97316);
    color: #fff;
    font-weight: 700;
}
.sidebar-cta .btn-primary:hover {
    background: var(--wpg-accent-hover, #EA580C);
    border-color: var(--wpg-accent-hover, #EA580C);
    color: #fff;
}

/* YouTube / Vimeo embed — responsive 16:9 wrapper */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 14px;
    margin: 1.75rem 0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}
.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Author card at article end */
.author-card {
    background: #F8FAFC;
    border-left: 4px solid var(--wpg-accent, #F97316);
    padding: 1.25rem 1.5rem;
    border-radius: 0 14px 14px 0;
    margin: 2rem 0 0;
}
.author-card-name {
    font-family: 'Archivo', 'Inter', sans-serif;
    font-weight: 800;
    color: var(--wpg-primary, #1D4ED8);
    margin: 0;
}
.author-card-meta {
    font-size: 0.9rem;
    color: #64748B;
    margin: 0.25rem 0 0;
}
