/* Blog Article Styles - StitcherNX */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a2e;
    --accent: #9c27b0;
    --accent-secondary: #e91e63;
    --cyan: #00e5ff;
    --text: #ffffff;
    --text-muted: #a0a0b0;
    --border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg-primary);
    color: var(--text);
    line-height: 1.7;
}

/* Article Layout */
.article-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.article-meta time {
    color: var(--accent);
}

.article-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 3rem 0 1rem;
    color: var(--text);
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: var(--text);
}

.article-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.article-content a {
    color: var(--cyan);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    transition: border-color 0.2s;
}

.article-content a:hover {
    border-color: var(--cyan);
}

.article-content ul, .article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-muted);
}

.article-content li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.article-content blockquote {
    border-left: 3px solid var(--accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(156, 39, 176, 0.08);
    border-radius: 0 12px 12px 0;
    color: var(--text-muted);
    font-style: italic;
}

.article-content code {
    background: var(--bg-card);
    padding: 0.2em 0.5em;
    border-radius: 6px;
    font-size: 0.9em;
    color: var(--cyan);
}

.article-content pre {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content pre code {
    background: none;
    padding: 0;
}

.article-content strong {
    color: var(--text);
}

/* CTA Box in article */
.article-cta {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.article-cta h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.article-cta p {
    margin-bottom: 1.25rem;
}

.article-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.article-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(156, 39, 176, 0.4);
}

/* Blog Index Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.blog-card h3 a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card h3 a:hover {
    color: var(--accent);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-card .blog-date {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-card .read-more {
    color: var(--cyan);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-card .read-more:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 0.75rem;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .article-content { padding: 6rem 1rem 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .blog-grid { padding: 0 1rem; }
}
