/* Article Detail Styles */

.article-detail {
    padding: 40px 20px;
    background-color: #ffffff;
}

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

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.article-category {
    background: var(--gradient-brand);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-date {
    color: #6c757d;
    font-weight: 500;
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #2d3748;
    margin: 20px 0;
}

.article-byline {
    color: #718096;
    font-size: 1rem;
    margin-top: 10px;
}

.article-author {
    font-weight: 500;
}

.article-featured-image {
    margin: 40px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.article-featured-image img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

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

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #4a5568;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

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

.article-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
    margin: 1.5rem 0;
    font-style: italic;
    color: #4a5568;
}

.article-content img {
    max-width: 500px;
    max-height: 400px;
    width: auto;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem auto;
    display: block;
}

@media (max-width: 540px) {
    .article-content img {
        max-width: 100%;
    }
}

.article-content a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.article-content a:hover {
    color: var(--color-primary-dark);
}

.article-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
    text-align: center;
    background: transparent;
}

.back-to-blog {
    display: inline-block;
    background: transparent;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 24px;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    background: var(--color-primary);
    color: white;
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.2rem;
    }
}
