/* Blog Styles */

/* Blog Listing Page */
.blog-hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
    text-align: center;
}

.blog-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

.blog-hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.15rem;
}

.blog-grid {
    padding: 60px 0 120px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.article-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.article-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-content {
    padding: 28px;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.article-tag {
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-purple);
}

.article-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-card h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.article-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 0.95rem;
}

.read-more:hover {
    color: var(--primary-magenta);
    gap: 12px;
}

/* Article Page */
.article-page {
    padding-top: var(--header-height);
}

.article-header {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.article-header .container {
    position: relative;
    z-index: 1;
}

.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.article-back-link:hover {
    color: var(--primary-purple);
    transform: translateX(-4px);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.article-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    max-width: 800px;
    margin: 0 auto 24px;
    line-height: 1.3;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-flame);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Article Hero Image */
.article-hero-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

/* Article Content */
.article-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}

.article-content h2 {
    font-size: 1.75rem;
    margin: 48px 0 20px;
    color: var(--text-primary);
    position: relative;
    padding-left: 24px;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 28px;
    background: var(--gradient-flame);
    border-radius: 2px;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.article-content p.intro {
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1.8;
    border-left: 3px solid var(--primary-purple);
    padding-left: 24px;
    margin-bottom: 40px;
}

.article-content ul,
.article-content ol {
    margin: 24px 0;
    padding-left: 0;
}

.article-content ul li,
.article-content ol li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.article-content ul li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--gradient-flame);
    border-radius: 50%;
}

.article-content ol {
    counter-reset: article-counter;
}

.article-content ol li::before {
    counter-increment: article-counter;
    content: counter(article-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--gradient-flame);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}

/* Quote / Highlight Box */
.article-highlight {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin: 40px 0;
}

.article-highlight p {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0;
    font-style: italic;
}

/* Bottom Line / Conclusion */
.article-conclusion {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-top: 48px;
    text-align: center;
}

.article-conclusion h2 {
    padding-left: 0;
    text-align: center;
}

.article-conclusion h2::before {
    display: none;
}

.article-conclusion p {
    max-width: 600px;
    margin: 0 auto 16px;
    text-align: center;
}

.article-conclusion p:last-child {
    margin-bottom: 0;
}

/* Article CTA */
.article-cta {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 100%);
}

.article-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.article-cta p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Share Section */
.article-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 60px;
}

.share-label {
    color: var(--text-muted);
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .article-header {
        padding: 60px 0 40px;
    }

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

    .article-content {
        padding: 40px 20px 80px;
    }

    .article-content h2 {
        font-size: 1.4rem;
        padding-left: 20px;
    }

    .article-content p,
    .article-content ul li,
    .article-content ol li {
        font-size: 1rem;
    }

    .article-conclusion {
        padding: 28px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}