/* Article Page Styles */

.article-header {
    text-align: center;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.article-meta i {
    color: var(--primary-500);
}

/* Article Content */
.article-section {
    background: var(--bg-primary);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.article-content h2 {
    font-size: var(--text-2xl);
    color: var(--primary-600);
    margin: var(--space-8) 0 var(--space-4) 0;
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--primary-500);
}

.article-content h3 {
    font-size: var(--text-xl);
    color: var(--text-primary);
    margin: var(--space-6) 0 var(--space-3) 0;
}

.article-content p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.article-content ul, 
.article-content ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.article-content li {
    margin-bottom: var(--space-2);
    color: var(--text-secondary);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: var(--space-6) 0;
    box-shadow: var(--shadow-md);
}

.article-content figure {
    margin: var(--space-6) 0;
    text-align: center;
}

.article-content figcaption {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-2);
    font-style: italic;
}

.article-content a {
    color: var(--primary-500);
    text-decoration: none;
    font-weight: var(--font-medium);
}

.article-content a:hover {
    text-decoration: underline;
}

.article-content blockquote {
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-500);
    padding: var(--space-4) var(--space-6);
    margin: var(--space-6) 0;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-content pre {
    background: var(--bg-tertiary);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    font-size: var(--text-sm);
    margin: var(--space-4) 0;
}

/* Article Footer */
.article-footer {
    max-width: 800px;
    margin: var(--space-8) auto 0;
}

.article-share {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: var(--space-6);
}

.article-share span {
    font-weight: var(--font-medium);
    color: var(--text-secondary);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    color: white;
    text-decoration: none;
    transition: var(--transition-fast);
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.linkedin { background: #0077B5; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.whatsapp { background: #25D366; }

/* Article CTA */
.article-cta {
    text-align: center;
    padding: var(--space-8);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-500) 100%);
    border-radius: var(--radius-2xl);
    color: white;
}

.article-cta h3 {
    margin-bottom: var(--space-2);
}

.article-cta p {
    opacity: 0.9;
    margin-bottom: var(--space-4);
}

.article-cta .btn {
    background: white;
    color: var(--primary-600);
}

.article-cta .btn:hover {
    background: var(--gray-100);
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: var(--space-6);
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .article-content {
        padding: var(--space-6);
    }
    
    .article-meta {
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .article-share {
        flex-wrap: wrap;
        justify-content: center;
    }
}
