/* Blog Article Styles */
:root {
    --blog-accent: #2979ff;
    --blog-accent-light: #5393ff;
    --blog-bg: #050505;
    --blog-card-bg: #0f0f0f;
    --blog-border: #2a2a2a;
    --blog-text: #ffffff;
    --blog-text-secondary: #b0b0b0;
}

/* Article Container */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 40px) 30px 60px;
}

/* Article Header */
.article-header {
    margin-bottom: 40px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--blog-text);
}

.article-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-left: 3px solid var(--blog-accent);
    padding-left: 20px;
    background: rgba(41, 121, 255, 0.05);
    border-radius: 0 8px 8px 0;
    margin-bottom: 40px;
}

.reading-time {
    font-style: italic;
    color: var(--blog-text-secondary);
    font-size: 0.95rem;
}

/* Key Points Section */
.key-points {
    background: linear-gradient(135deg, rgba(41, 121, 255, 0.1), rgba(0, 212, 255, 0.05));
    border: 1px solid var(--blog-border);
    border-left: 4px solid var(--blog-accent);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.key-points h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--blog-text);
}

.key-points ul {
    list-style: none;
    padding: 0;
}

.key-points li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--blog-text-secondary);
    line-height: 1.6;
}

.key-points li::before {
    content: '»';
    position: absolute;
    left: 0;
    color: var(--blog-accent);
    font-size: 1.5rem;
    font-weight: bold;
}

.key-points strong {
    color: var(--blog-text);
}

.key-points a {
    color: var(--blog-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.key-points a:hover {
    color: var(--blog-accent-light);
    text-decoration: underline;
}

/* Table of Contents */
.table-of-contents {
    background: var(--blog-card-bg);
    border: 1px solid var(--blog-border);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.table-of-contents h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--blog-text);
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.table-of-contents li::before {
    content: '»';
    position: absolute;
    left: 0;
    color: var(--blog-accent);
    font-weight: bold;
}

.table-of-contents a {
    color: var(--blog-accent);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.table-of-contents a:hover {
    color: var(--blog-accent-light);
    transform: translateX(5px);
}

/* Article Content */
.article-content {
    color: var(--blog-text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-content h2 {
    font-size: 2rem;
    color: var(--blog-text);
    margin: 50px 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--blog-border);
}

.article-content h3 {
    font-size: 1.5rem;
    color: var(--blog-text);
    margin: 35px 0 20px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.article-content strong {
    color: var(--blog-text);
    font-weight: 600;
}

.article-content a {
    color: var(--blog-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: var(--blog-accent-light);
    text-decoration: underline;
}

/* Highlighted Quote */
.highlight-quote {
    background: rgba(41, 121, 255, 0.05);
    border-left: 4px solid var(--blog-accent);
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    color: var(--blog-text);
    border-radius: 0 8px 8px 0;
}

/* FAQ Section */
.faq-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--blog-border);
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--blog-text);
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dotted var(--blog-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1.3rem;
    color: var(--blog-accent);
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-answer {
    color: var(--blog-text-secondary);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--blog-accent);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* CTA Section */
.article-cta {
    background: linear-gradient(135deg, rgba(41, 121, 255, 0.15), rgba(0, 212, 255, 0.1));
    border: 1px solid var(--blog-accent);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 50px 0;
}

.article-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--blog-text);
}

.article-cta p {
    color: var(--blog-text-secondary);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.article-cta .btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--blog-accent), #1565c0);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(41, 121, 255, 0.3);
}

.article-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(41, 121, 255, 0.5);
}

/* Back to Blog Button */
.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blog-accent);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    color: var(--blog-accent-light);
    transform: translateX(-5px);
}

/* Blog Footer */
.blog-footer {
    background: var(--blog-card-bg);
    border-top: 1px solid var(--blog-border);
    padding: 50px 0 30px;
    margin-top: 80px;
}

.blog-footer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

.blog-footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blog-text);
    margin-bottom: 30px;
    text-align: center;
}

.blog-footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-footer-links a {
    color: var(--blog-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-footer-links a:hover {
    color: var(--blog-accent-light);
}

.blog-footer-email {
    text-align: center;
    margin-bottom: 30px;
}

.blog-footer-email a {
    color: var(--blog-accent);
    text-decoration: none;
    font-size: 1.1rem;
}

.blog-footer-logo {
    text-align: center;
    margin-bottom: 20px;
}

.blog-footer-logo img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    opacity: 0.9;
    object-fit: cover;
    border: 2px solid rgba(41, 121, 255, 0.3);
    box-shadow: 0 4px 15px rgba(41, 121, 255, 0.2);
}

.blog-footer-copyright {
    text-align: center;
    color: var(--blog-text-secondary);
    font-size: 0.9rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(41, 121, 255, 0.1);
    border: 1px solid var(--blog-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blog-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--blog-accent);
    color: white;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-hero-image {
        height: 250px;
    }

    .article-content h2 {
        font-size: 1.6rem;
    }

    .article-container {
        padding: calc(var(--header-height) + 20px) 20px 40px;
    }

    .key-points,
    .table-of-contents {
        padding: 20px;
    }

    .blog-footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}