/* Article Page Styles */
.article-page {
    padding-top: 0;
}

.article-hero {
    background: var(--gradient-hero);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: 1;
}

.article-hero .container {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.article-hero .article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 14px;
}

.article-hero .category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.article-hero .reading-time {
    opacity: 0.8;
    font-size: 14px;
}

.article-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.article-content ul,
.article-content ol {
    margin-left: 32px;
    margin-bottom: 24px;
}

.article-content li {
    margin-bottom: 12px;
    color: var(--text-light);
    line-height: 1.7;
}

.article-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.article-image {
    margin: 32px 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.image-caption {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
    font-style: italic;
}

.article-content blockquote {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 24px 32px;
    margin: 32px 0;
    font-style: italic;
    font-size: 20px;
    color: var(--text-dark);
    border-radius: 8px;
}

.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--secondary-color);
}

.share-section {
    margin-top: 40px;
    padding: 32px;
    background: var(--bg-light);
    border-radius: 12px;
}

.share-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.share-btn:hover {
    opacity: 0.9;
}

.related-articles {
    margin-top: 60px;
}

.related-articles h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.related-card .related-image {
    height: 140px;
    width: 100%;
}

.related-card .related-content {
    padding: 20px;
}

.related-card .related-category {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}

.related-card h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .article-hero {
        padding: 60px 0;
    }
    
    .article-hero h1 {
        font-size: 32px;
    }
    
    .article-container {
        padding: 40px 20px;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    .article-content h2 {
        font-size: 24px;
    }
    
    .article-content h3 {
        font-size: 20px;
    }
}
