.article-shell {
    max-width: 800px;
    margin: 0 auto;
}

.article-cover {
    margin: 2rem 0 3.5rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: var(--bg-card);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.article-cover img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--border-light);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-cover:hover img {
    transform: scale(1.02);
}

.article-cover figcaption {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--fg-muted);
    text-align: center;
    font-style: italic;
    opacity: 0.8;
}

.article-toc {
    background: linear-gradient(145deg, var(--bg-card), rgba(26, 26, 26, 0.5));
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 4rem;
    backdrop-filter: blur(10px);
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.toc-header h2 {
    font-size: 0.9rem;
    margin: 0;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.toc-header i {
    color: var(--fg-muted);
    font-size: 1.1rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.75rem;
}

.toc-list a {
    color: var(--fg-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
}

.toc-list a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--fg-muted);
}

.article-content h2, 
.article-content h3 {
    color: var(--fg);
    margin: 3.5rem 0 1.5rem;
    letter-spacing: -0.02em;
}

.article-content h2 { font-size: 1.75rem; }
.article-content h3 { font-size: 1.4rem; }

.article-content p + p {
    margin-top: 1.5rem;
}

.article-content blockquote {
    margin: 3rem 0;
    padding: 2rem 2.5rem;
    border-left: 2px solid var(--accent);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 12px 12px 0;
    position: relative;
}

.article-content blockquote::before {
    content: '"';
    position: absolute;
    top: -1rem;
    left: 1rem;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.1;
    font-family: serif;
}

.article-content blockquote p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--fg);
    font-style: italic;
    margin: 0;
}

.article-content cite {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--fg-faint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-style: normal;
}

.article-content pre {
    background: #0d0d0d;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2.5rem 0;
    overflow-x: auto;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.article-content code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    padding: 0.2em 0.4em;
    background: var(--bg-hover);
    border-radius: 4px;
    color: var(--accent);
}

.article-content pre code {
    padding: 0;
    background: transparent;
    color: #e5e5e5;
    line-height: 1.5;
}

.article-list {
    margin: 2rem 0 2.5rem 1.5rem;
}

.article-list li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.article-list li::marker {
    color: var(--accent);
}

.article-callout {
    margin: 3rem 0;
    padding: 1.75rem;
    border-radius: 12px;
    display: flex;
    gap: 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(10px);
}

.callout-icon {
    font-size: 1.75rem;
    margin-top: 0.2rem;
}

.article-callout.info { border-left: 4px solid #3b82f6; background: rgba(59, 130, 246, 0.05); }
.article-callout.info .callout-icon { color: #3b82f6; }

.article-callout.tip { border-left: 4px solid #10b981; background: rgba(16, 185, 129, 0.05); }
.article-callout.tip .callout-icon { color: #10b981; }

.article-callout.warning { border-left: 4px solid #f59e0b; background: rgba(245, 158, 11, 0.05); }
.article-callout.warning .callout-icon { color: #f59e0b; }

.callout-content strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--fg);
    font-size: 1rem;
}

.article-table-wrapper {
    margin: 3rem 0;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.article-table th {
    background: var(--bg-card);
    color: var(--fg);
    font-weight: 600;
    text-align: left;
    padding: 1.25rem;
    border-bottom: 2px solid var(--border-light);
}

.article-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.article-table tr:last-child td { border-bottom: none; }

.article-table tr:hover td { background: rgba(255,255,255,0.02); }

.video-wrapper {
    margin: 3.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    aspect-ratio: 16 / 9;
}

.article-footer {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    min-width: 280px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    object-fit: cover;
}

.article-footer .project-credits {
    margin: 0;
    padding: 0;
    border: none;
    gap: 2rem;
    flex: 1;
    min-width: 280px;
}

@media (max-width: 768px) {
    .footer-top-row {
        flex-direction: column;
        gap: 2rem;
    }
}

.btn-share {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--fg-muted);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-share:hover {
    border-color: var(--fg-muted);
    color: var(--accent);
    transform: translateY(-2px);
}

.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.article-nav-link {
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-nav-link:hover {
    border-color: var(--fg-muted);
    background: rgba(255,255,255,0.02);
}

.nav-label {
    display: block;
    font-size: 0.75rem;
    color: var(--fg-faint);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.nav-title {
    color: var(--accent);
    font-weight: 500;
}

@media (max-width: 768px) {
    .article-nav { grid-template-columns: 1fr; }
    .article-footer { flex-direction: column; align-items: flex-start; }
}

.article-comments {
    margin: 4rem 0;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.comment-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.comment-author {
    color: var(--fg);
    font-weight: 500;
}

.comment-date {
    color: var(--fg-faint);
}

.comment-body {
    color: var(--fg-muted);
    font-size: 0.95rem;
}

/* Project Credits Section */
.project-credits {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.credit-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.credit-label {
    font-size: 0.75rem;
    color: var(--fg-faint);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.credit-value {
    font-size: 0.95rem;
    color: var(--fg-muted);
}

.credit-group.highlight .credit-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
}

.credit-group.highlight .credit-label {
    color: var(--accent);
    opacity: 0.8;
}

@media (max-width: 600px) {
    .project-credits {
        gap: 1.25rem;
        flex-direction: column;
    }
}