/**
 * post-page.css — shared styles for blog post pages
 * Used by: all HTML files with <meta name="post_article" content="true">
 * Do NOT inline these in each page — they belong here.
 *
 * What stays inline in the HTML (per post-optimizer contract):
 *   - .article-content img { ... }   (Step 11 check #8 literally greps HTML)
 *   - .toc-nav / .toc-list ... (Step 11 checks #14 literally grep HTML)
 *   - .blog-hero background-image url(...)  (per-article)
 *
 * Placeholders filled at install time by /init-blog-framework:
 *   #1D4ED8        — primary brand color (hex), e.g. "#0F2E44"
 *   #3B82F6   — lighter variant for gradient stop, e.g. "#3A7B9E"
 *   #FF5722       — CTA button color (hex), e.g. "#FFAA47"
 *   #E64A19 — accent button hover, e.g. "#e89a3a"
 */

/* Breadcrumb + author/date strip (post-optimizer breadcrumb Template B) */
.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: #1D4ED8 !important; }

/* Sidebar CTA card */
.sidebar-cta {
    background: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%);
    color: #fff;
    border-radius: 8px;
    padding: 1.5rem 1.25rem;
    text-align: center;
}
.sidebar-cta h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    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: #FF5722;
    border-color: #FF5722;
    color: #1D4ED8;
    font-weight: 700;
}
.sidebar-cta .btn-primary:hover {
    background: #E64A19;
    border-color: #E64A19;
    color: #1D4ED8;
}

/* YouTube / Vimeo embed — responsive 16:9 wrapper */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin: 1.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 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: #F5F7FA;
    border-left: 4px solid #FF5722;
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0 0;
}
.author-card-name {
    font-weight: 700;
    color: #1D4ED8;
    margin: 0;
}
.author-card-meta {
    font-size: 0.9rem;
    color: #666;
    margin: 0.25rem 0 0;
}
