/* Blog Article Page Styles */

.article-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding-top: 100px;
    padding-bottom: 60px;
}

.article-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-category-badge {
    display: inline-block;
    padding: 8px 20px;
    background: white;
    border: 2px solid #333;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: #666;
    font-size: 1rem;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}

.article-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
}

.article-body h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-top: 50px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.article-body p {
    margin-bottom: 24px;
}

.article-body ul,
.article-body ol {
    margin-bottom: 24px;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.article-body strong {
    font-weight: 600;
    color: #333;
}

.article-body a {
    color: #007AFF;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 122, 255, 0.3);
    transition: all 0.3s ease;
}

.article-body a:hover {
    color: #0056CC;
    border-bottom-color: #0056CC;
}

.article-body code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e83e8c;
}

.article-body pre {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 24px;
    border: 1px solid #e9ecef;
}

.article-body pre code {
    background: none;
    padding: 0;
    color: #333;
    font-size: 0.9rem;
}

.article-body blockquote {
    border-left: 4px solid #007AFF;
    padding-left: 20px;
    margin: 30px 0;
    color: #666;
    font-style: italic;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.article-navigation {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-link-article {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    max-width: 45%;
}

.nav-link-article:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.nav-link-article.prev {
    text-align: left;
}

.nav-link-article.next {
    text-align: right;
    margin-left: auto;
}

.nav-link-article .nav-arrow {
    font-size: 1.2rem;
}

.back-to-blog {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 40px;
    text-align: center;
}

.back-to-blog a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-to-blog a:hover {
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-hero {
        padding-top: 120px;
        min-height: 40vh;
        padding-bottom: 40px;
    }

    .article-title {
        font-size: 2.2rem;
    }

    .article-content {
        padding: 40px 20px 60px;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body h2 {
        font-size: 1.75rem;
        margin-top: 40px;
    }

    .article-body h3 {
        font-size: 1.3rem;
        margin-top: 30px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .article-navigation {
        flex-direction: column;
    }

    .nav-link-article {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.8rem;
    }

    .article-body h2 {
        font-size: 1.5rem;
    }

    .article-body h3 {
        font-size: 1.2rem;
    }
}

