/* Blog Specific Styles */
:root {
    --blog-primary: #6c5ce7;
    --blog-text: #e0e0e0;
    --blog-bg: #0f0f1a;
    --blog-card-bg: #1a1a2e;
}

body {
    background: var(--blog-bg);
    color: var(--blog-text);
    font-family: 'Inter', sans-serif;
}

/* Blog Header Overrides */
.blog-header {
    padding: 120px 20px 60px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(108, 92, 231, 0.15) 0%, rgba(15, 15, 26, 0) 70%);
}

.blog-title {
    font-size: 3.5rem;
    background: linear-gradient(to right, #fff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    font-weight: 800;
}

.blog-subtitle {
    color: #a0a0b0;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blog-card {
    background: var(--blog-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--blog-primary);
}

.blog-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #2a2a3e;
    /* Placeholder color */
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--blog-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.blog-card-title {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: #b0b0c0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more:hover {
    color: var(--blog-primary);
}

/* Article Page Styles */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.breadcrumb {
    color: #888;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #a78bfa;
    text-decoration: none;
}

.article-header h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-meta-info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #888;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: #6c5ce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d1d1e0;
}

.article-body h2 {
    color: #fff;
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.article-body h3 {
    color: #e0e0e0;
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 10px;
}

.cta-box {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(108, 92, 231, 0.05));
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.cta-box h3 {
    margin-top: 0;
    color: #a78bfa;
}

.cta-btn {
    display: inline-block;
    background: #6c5ce7;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: transform 0.2s;
}

.cta-btn:hover {
    transform: scale(1.05);
    background: #5b4bc4;
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 2.5rem;
    }

    .article-header h1 {
        font-size: 2rem;
    }
}

/* Featured Card Layout */
.featured-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (min-width: 768px) {
    .featured-card {
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }

    .featured-card .blog-thumb {
        flex: 1;
        height: 350px;
    }

    .featured-card .blog-content {
        flex: 1;
        padding: 40px;
    }

    .featured-card .blog-card-title {
        font-size: 2rem;
    }
}

.section-heading {
    border-left-width: 4px;
    border-left-style: solid;
    padding-left: 15px;
    margin-bottom: 30px;
    color: #fff;
}

.blog-section {
    margin-bottom: 60px;
}