/* INDIVIDUAL ARTICLE PAGE SPECIFIC STYLES */

/* ARTICLE HEADER */
.article-header {
    background: var(--black-pure);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(253, 224, 71, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(253, 224, 71, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: subtleGrid 30s linear infinite;
}

@keyframes subtleGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.article-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(253, 224, 71, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(253, 224, 71, 0.03) 0%, transparent 50%);
}

.article-meta {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray-text);
}

.breadcrumb a {
    color: var(--electric-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--yellow-bright);
}

.breadcrumb-separator {
    color: var(--gray-lighter);
}

.article-category {
    display: inline-block;
    background: rgba(253, 224, 71, 0.1);
    color: var(--electric-yellow);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.article-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--white-pure);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 2;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 2;
}

.article-details {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    font-size: 0.9rem;
    color: var(--gray-text);
    position: relative;
    z-index: 2;
}

.article-date {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-mono);
}

.reading-time {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* ARTICLE HERO IMAGE */
.article-hero-image {
    margin: var(--space-2xl) auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: var(--border-cyber);
    box-shadow: var(--shadow-heavy);
    max-width: 1200px;
    height: 400px;
}

.article-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ARTICLE CONTENT */
.article-content {
    background: var(--black-pure);
    padding: var(--space-2xl) 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.article-main {
    background: rgba(23, 23, 23, 0.6);
    border: var(--border-cyber);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    backdrop-filter: blur(20px);
}

.article-body {
    color: var(--gray-text);
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white-pure);
    margin: var(--space-2xl) 0 var(--space-lg);
    border-bottom: 2px solid var(--electric-yellow);
    padding-bottom: var(--space-sm);
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white-pure);
    margin: var(--space-xl) 0 var(--space-md);
}

.article-body h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white-pure);
    margin: var(--space-lg) 0 var(--space-sm);
}

.article-body p {
    margin-bottom: var(--space-lg);
}

.article-body ul,
.article-body ol {
    margin: var(--space-lg) 0;
    padding-left: var(--space-xl);
}

.article-body li {
    margin-bottom: var(--space-sm);
}

.article-body a {
    color: var(--electric-yellow);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.article-body a:hover {
    color: var(--yellow-bright);
    text-shadow: var(--glow-soft);
}

.article-body blockquote {
    background: rgba(253, 224, 71, 0.1);
    border-left: 4px solid var(--electric-yellow);
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--white-pure);
}

.article-body img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
    border: var(--border-cyber);
}

/* ARTICLE SIDEBAR */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.sidebar-widget {
    background: rgba(23, 23, 23, 0.8);
    border: var(--border-cyber);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    backdrop-filter: blur(20px);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white-pure);
    margin-bottom: var(--space-lg);
    border-bottom: 2px solid var(--electric-yellow);
    padding-bottom: var(--space-sm);
}

.widget-content {
    color: var(--gray-text);
}

.related-posts {
    list-style: none;
    padding: 0;
}

.related-posts li {
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: var(--space-lg);
}

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

.related-post-title {
    font-weight: 600;
    color: var(--white-pure);
    margin-bottom: var(--space-xs);
}

.related-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: var(--electric-yellow);
}

.related-post-date {
    font-size: 0.875rem;
    color: var(--gray-text);
    font-family: var(--font-mono);
}

/* ARTICLE NAVIGATION */
.article-navigation {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: var(--border-cyber);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.nav-item {
    background: rgba(253, 224, 71, 0.05);
    border: var(--border-cyber);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(253, 224, 71, 0.1);
    transform: translateY(-2px);
}

.nav-label {
    font-size: 0.875rem;
    color: var(--gray-text);
    margin-bottom: var(--space-xs);
}

.nav-title {
    font-weight: 600;
    color: var(--white-pure);
}

.nav-item.next {
    text-align: right;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .article-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 5rem 0 2rem;
    }
    
    .article-details {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: flex-start;
    }
    
    .article-main {
        padding: var(--space-lg);
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
    }
    
    .nav-item.next {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .article-layout {
        padding: 0 var(--space-sm);
    }
    
    .article-main {
        padding: var(--space-md);
    }
    
    .sidebar-widget {
        padding: var(--space-lg);
    }
}
