/* Blog Article Page Styles */

/* Article Hero */
.blog-article-hero {
    background: linear-gradient(135deg, #004a99 0%, #003d7d 100%);
    padding: 80px 0 48px;
    color: #fff;
}
.blog-article-hero .breadcrumb {
    margin-bottom: 20px;
}
.blog-article-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
}
.blog-article-hero .breadcrumb-item a:hover {
    color: #fff;
}
.blog-article-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}
.blog-article-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}
.blog-category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}
.blog-article-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    max-width: 768px;
}
.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Article Content */
.blog-article-content {
    padding: 48px 0 32px;
}
.blog-article-content .col-lg-8 {
    max-width: 768px;
}
.blog-article-content h2 {
    font-size: 1.625rem;
    font-weight: 700;
    color: #004a99;
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.3;
}
.blog-article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-top: 32px;
    margin-bottom: 12px;
    line-height: 1.4;
}
.blog-article-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}
.blog-article-content ul,
.blog-article-content ol {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    padding-left: 24px;
}
.blog-article-content li {
    margin-bottom: 8px;
}
.blog-article-content strong {
    color: #212529;
}
.blog-article-content a {
    color: #004a99;
    text-decoration: underline;
    text-decoration-color: rgba(0, 74, 153, 0.3);
    text-underline-offset: 3px;
}
.blog-article-content a:hover {
    color: #003d7d;
    text-decoration-color: #003d7d;
}

/* Info Box */
.blog-info-box {
    background: rgba(0, 74, 153, 0.06);
    border-left: 4px solid #004a99;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 28px 0;
}
.blog-info-box p {
    font-size: 1rem;
    margin-bottom: 0;
    color: #333;
}
.blog-info-box p:last-child {
    margin-bottom: 0;
}

/* Inline CTA */
.blog-cta-inline {
    background: linear-gradient(135deg, #004a99 0%, #003d7d 100%);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin: 36px 0;
    color: #fff;
}
.blog-cta-inline p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 16px;
}
.blog-cta-inline .btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00bfa5;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.blog-cta-inline .btn-cta-primary:hover {
    background: #00a892;
    transform: translateY(-2px);
}

/* Related Link Card */
.blog-related-link {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 24px 0;
    transition: all 0.3s ease;
}
.blog-related-link:hover {
    background: #f0f4f8;
}
.blog-related-link a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1rem;
    color: #004a99;
    font-weight: 500;
}
.blog-related-link a strong {
    color: #6C757D;
    font-weight: 600;
}

/* FAQ Section */
.blog-faq-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid #f0f0f0;
}
.blog-faq-section h2 {
    margin-top: 0;
}
.blog-faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.blog-faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.blog-faq-item h3 {
    font-size: 1.125rem;
    margin-top: 0;
    margin-bottom: 8px;
    color: #212529;
}
.blog-faq-item p {
    font-size: 1rem;
    margin-bottom: 0;
    color: #555;
}

/* Related Posts Section */
.blog-related-posts {
    padding: 48px 0;
    background: #f8f9fa;
}
.blog-related-posts h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 24px;
    text-align: center;
}
.blog-related-posts .blog-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    background: #fff;
}
.blog-related-posts .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.blog-related-posts .blog-card-image {
    height: 180px;
    background: linear-gradient(135deg, #004a99 0%, #003d7d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
}
.blog-related-posts .blog-card-body {
    padding: 20px;
}
.blog-related-posts .blog-card-category {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 74, 153, 0.08);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #004a99;
    margin-bottom: 8px;
}
.blog-related-posts .blog-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}
.blog-related-posts .blog-card-title a {
    color: #1a1a1a;
    text-decoration: none;
}
.blog-related-posts .blog-card-title a:hover {
    color: #004a99;
}
.blog-related-posts .blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #999;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

/* Code Blocks */
.blog-article-content pre {
    background: #1e1e2e;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
    overflow-x: auto;
}
.blog-article-content pre code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #cdd6f4;
}
.blog-article-content code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    background: rgba(0, 74, 153, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #004a99;
}
.blog-article-content pre code {
    background: transparent;
    padding: 0;
}

/* Numbered Steps */
.blog-steps {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
    margin: 24px 0;
}
.blog-steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 48px;
    margin-bottom: 20px;
    font-size: 1.125rem;
    line-height: 1.8;
}
.blog-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 32px;
    height: 32px;
    background: #004a99;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 991.98px) {
    .blog-article-hero {
        padding: 60px 0 36px;
    }
    .blog-article-hero h1 {
        font-size: 1.875rem;
    }
}
@media (max-width: 767.98px) {
    .blog-article-hero {
        padding: 50px 0 28px;
    }
    .blog-article-hero h1 {
        font-size: 1.5rem;
    }
    .blog-article-content h2 {
        font-size: 1.375rem;
    }
    .blog-article-content p,
    .blog-article-content ul,
    .blog-article-content ol {
        font-size: 1rem;
    }
    .blog-cta-inline {
        padding: 24px 20px;
    }
    .blog-steps li {
        padding-left: 40px;
    }
}

/* AI SEO: TL;DR Box */
.tldr-box {
    background: linear-gradient(135deg, rgba(0,74,153,0.06), rgba(0,191,165,0.06));
    border: 1px solid rgba(0,74,153,0.15);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
    font-size: 1.05rem;
    line-height: 1.7;
}
.tldr-box strong {
    color: #004a99;
}

/* AI SEO: Definition Box */
.definition-box {
    background: #f8f9fa;
    border-left: 4px solid #00bfa5;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin: 24px 0;
}
.definition-box strong {
    display: block;
    font-size: 1.1rem;
    color: #004a99;
    margin-bottom: 4px;
}
.definition-box p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}
