/* Blog Article Page Styles */

.blog-article-page {
    background-color: #f8fafc;
}

/* Article Hero */
.blog-article-hero {
    background: linear-gradient(135deg, #1B2D45 0%, #0f1a2a 100%);
    padding: 4rem 0 3rem;
    color: #fff;
}

.blog-article-hero .breadcrumb {
    margin-bottom: 1.5rem;
}

.blog-article-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-article-hero .breadcrumb a:hover {
    color: #F6C927;
}

.blog-article-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
}

.blog-article-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.blog-article-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.blog-article-meta .meta-item svg {
    color: #F6C927;
}

/* Article Content */
.blog-article-content {
    padding: 3rem 0;
}

.blog-article-body {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.blog-article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1B2D45;
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

.blog-article-body h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #1B2D45;
    margin: 1.5rem 0 0.75rem;
}

.blog-article-body h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin: 1.25rem 0 0.5rem;
}

.blog-article-body p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.25rem;
}

.blog-article-body ul,
.blog-article-body ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #4b5563;
}

.blog-article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.blog-article-body a {
    color: #1B2D45;
    text-decoration: underline;
    text-decoration-color: #F6C927;
    text-underline-offset: 2px;
    transition: all 0.2s;
}

.blog-article-body a:hover {
    color: #F6C927;
}

.blog-article-body blockquote {
    border-left: 4px solid #F6C927;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #f8fafc;
    font-style: italic;
    color: #374151;
}

.blog-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.blog-article-body pre,
.blog-article-body code {
    background: #1B2D45;
    color: #e5e7eb;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
}

.blog-article-body pre {
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-article-body pre code {
    padding: 0;
    background: transparent;
}

.blog-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.blog-article-body th,
.blog-article-body td {
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.blog-article-body th {
    background: #f8fafc;
    font-weight: 600;
    color: #1B2D45;
}

.blog-article-body hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

/* CTA Box in Article */
.blog-article-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1B2D45 0%, #0f1a2a 100%);
    border-radius: 12px;
    color: #fff;
    text-align: center;
}

.blog-article-cta h3 {
    color: #fff;
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
}

.blog-article-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.blog-article-cta .btn {
    background: #F6C927;
    color: #1B2D45;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.blog-article-cta .btn:hover {
    background: #f4d55e;
    transform: translateY(-2px);
}

/* Related Posts */
.blog-related-posts {
    padding: 4rem 0;
    background: #f8fafc;
}

.blog-related-posts h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1B2D45;
    margin-bottom: 2rem;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.related-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-post-image {
    height: 120px;
    background: linear-gradient(135deg, #1B2D45 0%, #2d4a6f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-post-image svg {
    color: #F6C927;
    opacity: 0.7;
}

.related-post-content {
    padding: 1.25rem;
}

.related-post-kw {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #F6C927;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.related-post-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.related-post-title a {
    color: #1B2D45;
    text-decoration: none;
    transition: color 0.2s;
}

.related-post-title a:hover {
    color: #F6C927;
}

.related-post-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #1B2D45;
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: color 0.2s;
}

.related-post-link:hover {
    color: #F6C927;
}

.related-post-link svg {
    transition: transform 0.2s;
}

.related-post-link:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 992px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-article-hero {
        padding: 3rem 0 2rem;
    }

    .blog-article-hero h1 {
        font-size: 1.75rem;
    }

    .blog-article-meta {
        gap: 1rem;
    }

    .blog-article-body {
        padding: 1.5rem;
        margin: 0 -1rem;
        border-radius: 0;
    }

    .blog-article-body h2 {
        font-size: 1.375rem;
    }

    .blog-article-body h3 {
        font-size: 1.125rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .related-post-card {
        display: flex;
    }

    .related-post-image {
        width: 100px;
        height: auto;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .blog-article-hero h1 {
        font-size: 1.5rem;
    }

    .blog-article-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
}
