/* Blog Post Styles - Dark Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0f;
    --neon-cyan: #00f5ff;
    --text-white: #fff;
    --text-gray: #a0a0b0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark) !important;
    color: var(--text-white);
    line-height: 1.8;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 245, 255, .03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 245, 255, .03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Main container */
article.container,
article.blog-post {
    max-width: 700px;
    margin: 0 auto;
    padding: 160px 24px 60px;
    position: relative;
    z-index: 1;
}

/* Typography within article */
article.container h1,
article.blog-post h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--text-white);
}

article.container h2,
article.blog-post h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    margin: 40px 0 20px;
    color: var(--text-white);
}

article.container h3,
article.blog-post h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    margin: 32px 0 16px;
    color: var(--neon-cyan);
}

article.container h4,
article.blog-post h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    margin: 16px 0 8px;
    color: var(--text-white);
}

article.container p,
article.blog-post p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

article.container ul,
article.container ol,
article.blog-post ul,
article.blog-post ol {
    margin: 20px 0;
    padding-left: 24px;
    color: var(--text-gray);
}

article.container li,
article.blog-post li {
    margin-bottom: 12px;
}

article.container strong,
article.blog-post strong {
    color: var(--text-white);
}

article.container a,
article.blog-post a {
    color: var(--neon-cyan);
    text-decoration: none;
}

article.container a:hover,
article.blog-post a:hover {
    text-decoration: underline;
}

/* Meta info */
.meta {
    color: var(--text-gray) !important;
    font-size: 14px;
    margin-bottom: 24px;
}

.date-meta {
    color: var(--text-gray) !important;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Hero image */
.hero-image {
    display: block;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 16px;
    margin: 24px 0 32px;
    border: 1px solid rgba(0, 245, 255, 0.2);
}

img.hero-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Breadcrumb Navigation */
.breadcrumb {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    padding: 12px 24px;
    background: rgba(10, 10, 15, 0.95);
    font-size: 13px;
    color: var(--text-gray);
    z-index: 100;
    backdrop-filter: blur(10px);
}

.breadcrumb a {
    color: var(--neon-cyan);
    text-decoration: none;
}

/* Key Takeaways Box */
.key-takeaways {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(0, 245, 255, 0.05));
    border-left: 4px solid var(--neon-cyan);
    border-radius: 0 12px 12px 0;
    padding: 24px;
    margin: 32px 0;
}

.key-takeaways h3 {
    color: var(--neon-cyan) !important;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 18px;
}

.key-takeaways ul {
    margin: 0;
    padding-left: 20px;
}

.key-takeaways li {
    color: var(--text-gray);
    margin-bottom: 8px;
}

/* Table of Contents */
.toc {
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}

.toc h3 {
    color: var(--neon-cyan) !important;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 18px;
}

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

.toc li {
    margin-bottom: 8px;
}

.toc a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.toc a:hover {
    color: var(--neon-cyan);
    text-decoration: none;
}

/* Section styles */
section {
    margin-top: 40px;
}

/* FAQ Section */
.faq-section {
    margin-top: 40px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.faq-item h3 {
    color: var(--text-white) !important;
    margin-bottom: 12px;
    margin-top: 0;
    font-size: 16px;
}

.faq-item p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

/* Example Box */
.example-box {
    background: rgba(15, 15, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.example-box p {
    margin-bottom: 12px;
}

.example-box p:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.cta,
.cta-section {
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin-top: 48px;
}

.cta h3,
.cta-section h2 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-white) !important;
}

.cta p,
.cta-section p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.btn,
.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--neon-cyan), #00c4cc);
    color: #0a0a0f !important;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
}

.btn:hover,
.cta-button:hover {
    text-decoration: none;
    opacity: 0.9;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    margin: 40px 0;
}

.author-box img,
.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neon-cyan);
}

.author-info h4 {
    color: var(--text-white) !important;
    margin-top: 0;
    margin-bottom: 8px;
}

.author-info p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 8px;
}

/* Related Articles */
.related-articles {
    margin-top: 40px;
    padding: 24px;
    background: rgba(0, 245, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 245, 255, 0.1);
}

.related-articles h3 {
    color: var(--neon-cyan) !important;
    margin-bottom: 16px;
    font-size: 18px;
}

.related-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-articles li {
    margin: 0;
}

.related-articles a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
}

.related-articles a:hover {
    color: var(--neon-cyan);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-gray);
    font-size: 14px;
    margin-top: 60px;
}

footer a {
    color: var(--neon-cyan);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    article.container h1,
    article.blog-post h1 {
        font-size: 28px;
    }

    article.container,
    article.blog-post {
        padding: 140px 20px 40px;
    }

    .breadcrumb {
        top: 70px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-box img,
    .author-image {
        margin: 0 auto;
    }
}
