/**
 * post-page.css — shared styles for blog post pages
 * Used by: all HTML files with <meta name="post_article" content="true">
 *
 * What stays inline in the HTML (per post-optimizer contract):
 *   - .article-content img { ... }
 *   - .toc-nav / .toc-list ...
 *   - .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: #1A3C5E !important; }

/* Sidebar CTA card */
.sidebar-cta {
    background: linear-gradient(135deg, #1A3C5E 0%, #3D6489 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: #F0A500;
    border-color: #F0A500;
    color: #1A3C5E;
    font-weight: 700;
}
.sidebar-cta .btn-primary:hover {
    background: #d99300;
    border-color: #d99300;
    color: #1A3C5E;
}

/* 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(26, 60, 94, 0.14);
}
.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 #F0A500;
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0 0;
}
.author-card-name {
    font-weight: 700;
    color: #1A3C5E;
    margin: 0;
}
.author-card-meta {
    font-size: 0.9rem;
    color: #666;
    margin: 0.25rem 0 0;
}
