/* Blog post page styles — extracted from blog.html for reuse on standalone /blog/<slug>.html pages */
.blog-post-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 100px 24px 60px;
}
.article-header {
    padding-bottom: 32px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 40px;
}
.article-category {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 16px;
}
.article-title {
    font-size: 40px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin: 12px 0 16px;
    letter-spacing: -0.02em;
}
.article-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.5;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: #6b7280;
    flex-wrap: wrap;
}
.article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    color: #6b7280;
}
.author-info {
    line-height: 1.3;
}
.author-name {
    font-weight: 500;
    color: #374151;
}
.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
}
.article-body p {
    margin-bottom: 24px;
}
.article-body h2 {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin: 48px 0 20px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}
.article-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 32px 0 16px;
}
.article-body blockquote {
    font-style: italic;
    color: #4b5563;
    border-left: 3px solid #d1d5db;
    padding-left: 24px;
    margin: 32px 0;
    font-size: 18px;
}
.article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 24px;
}
.article-body li {
    margin-bottom: 12px;
}
.article-body strong {
    color: #111827;
    font-weight: 600;
}
.callout-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 24px;
    margin: 32px 0;
}
.callout-box.highlight {
    background: #fffbeb;
    border-color: #fcd34d;
}
.callout-box h4 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}
.comparison-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 16px;
}
.comparison-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}
.comparison-item p {
    margin-bottom: 8px;
    font-size: 15px;
}
.comparison-item p:last-child {
    margin-bottom: 0;
}
.takeaway-box {
    background: #111827;
    color: #fff;
    border-radius: 6px;
    padding: 32px;
    margin: 40px 0;
}
.takeaway-box h3 {
    color: #fff;
    margin-top: 0;
}
.takeaway-box p {
    color: rgba(255,255,255,0.9);
}
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}
.article-tag {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 6px 12px;
    border-radius: 4px;
}
.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #0066cc;
    text-decoration: none;
    margin-bottom: 24px;
}
.back-to-blog:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .blog-post-container {
        padding: 80px 16px 40px;
    }
    .article-title {
        font-size: 30px;
    }
    .article-body {
        font-size: 16px;
    }
}

/* Full-HTML article scope (content_format=article_html). These posts carry
   their own inline styles (scoped to #cms-article-root by the sanitizer).
   Reset the immediate container so site-level rules don't collide with the
   imported article styles. Mirrors the legacy inline route's CSS so dynamic
   /blog/<slug> renders look identical to before for article_html posts. */
#cms-article-root { all: revert; font-size: 16px; line-height: 1.6; color: #1a1a1a; max-width: 100%; }
#cms-article-root img { max-width: 100%; height: auto; }
#cms-article-root iframe, #cms-article-root object, #cms-article-root embed { display: none; }
/* Force visibility for scroll-in animations whose IntersectionObserver
   <script> was stripped by the sanitizer. Without this, .fu / .fade-* /
   .animate-* / [data-aos] elements stay permanently at opacity:0. */
#cms-article-root .fu,
#cms-article-root .fade-up,
#cms-article-root .fade-in,
#cms-article-root .fade,
#cms-article-root .reveal,
#cms-article-root .animate,
#cms-article-root [class*="fade-"],
#cms-article-root [class*="animate-"],
#cms-article-root [class*="slide-"],
#cms-article-root [data-animate],
#cms-article-root [data-aos],
#cms-article-root [style*="opacity:0"],
#cms-article-root [style*="opacity: 0"] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}
/* Wider container for full-HTML articles */
.blog-post-container:has(#cms-article-root) { max-width: 1280px; }
