/* Inner Article Page Styles - Scoped Enhancements */

/* Container and layout */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    color: #e2e8f0;
}

/* Header Section */
.article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.25;
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-gold);
    flex-wrap: wrap;
    font-family: monospace;
    /* Tech feel */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Content Styling */
.article-content {
    font-size: 1.15rem;
    /* Larger for readability */
    line-height: 1.8;
    color: #cbd5e1;
    font-weight: 300;
}

.article-content p {
    margin-bottom: 1.75rem;
}

/* Subheadings */
.article-content h2 {
    color: white;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--color-gold);
}

.article-content h3 {
    color: #e2e8f0;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
}

/* Lists */
.article-content ul,
.article-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem 2rem 2rem 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-content li {
    margin-bottom: 0.75rem;
    color: #e2e8f0;
}

.article-content li strong {
    color: white;
    font-weight: 600;
}

/* Emphasis Box / Source */
.source-box {
    background: linear-gradient(to right, rgba(212, 175, 55, 0.05), transparent);
    border-left: 3px solid var(--color-gold);
    padding: 1.5rem;
    margin-top: 4rem;
    font-size: 0.95rem;
    color: #94a3b8;
    border-radius: 0 8px 8px 0;
}

.source-box a {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted var(--color-gold);
}

.source-box a:hover {
    border-bottom: 1px solid var(--color-gold);
}

/* Links within content */
.article-content a {
    color: var(--color-accent, #64ffda);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.article-content a:hover {
    color: white;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 2.5rem;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.02);
}

.back-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-3px);
}

/* Sidebar Enhancements */
.sidebar-card {
    background: #0B1221;
    /* Darker/Contrast */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.related-link {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.related-link:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    color: white;
}

/* Breadcrumbs (Optional addition) */
.breadcrumb {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
}

.breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
}

.breadcrumb span {
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .article-title {
        font-size: 1.8rem;
    }

    .article-content {
        font-size: 1.05rem;
    }

    .article-container {
        padding: 0 1rem;
    }
}