/* Article Page Styles */
.article-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.1) 0%, rgba(10, 10, 10, 1) 100%);
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-light);
    text-decoration: none;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0.5rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.article-meta .category {
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-meta .date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.article-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: white;
}

.author-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
}

.author-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.article-stats {
    display: flex;
    gap: 1.5rem;
    margin-left: auto;
}

.article-stats span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-content {
    padding: 4rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-body {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.article-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 3rem 0 1.5rem;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 2rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.article-body strong {
    color: var(--primary-light);
    font-weight: 600;
}

.article-body blockquote {
    background: rgba(255, 167, 38, 0.1);
    border-left: 4px solid var(--primary-light);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 0 8px 8px 0;
}

.code-block {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    color: #e6e6e6;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-tags .tag {
    background: rgba(255, 167, 38, 0.1);
    color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 167, 38, 0.2);
}

.article-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.share-section, .related-articles {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.share-section h3, .related-articles h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.facebook { background: #1877f2; }

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.related-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.related-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.related-content h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.related-content a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content a:hover {
    color: var(--primary-light);
}

.related-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 120px 0 40px;
    }
    
    .author-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .article-stats {
        margin-left: 0;
    }
    
    .article-content {
        padding: 2rem 0;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .featured-image {
        height: 250px;
    }
}