/* Article Base Styles */

/* Basic article layout */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Article typography */
.article-content {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.article-date {
    color: var(--text-secondary);
}

.article-category {
    background: var(--primary-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-reading-time {
    color: var(--text-secondary);
}

.article-views {
    color: var(--text-secondary);
}

/* Article content styling */
.article-body {
    margin-top: 30px;
}

.article-body p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    margin: 24px 0 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

.article-body h2 {
    font-size: 24px;
}

.article-body h3 {
    font-size: 20px;
}

.article-body h4 {
    font-size: 18px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-body a {
    color: var(--link-color);
    text-decoration: underline;
}

.article-body a:hover {
    color: var(--link-hover);
}

/* Dark Mode Styles */
[data-theme="dark"] .article-category {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #333;
}

/* Responsive design */
@media (max-width: 768px) {
    .article-container {
        padding: 0 15px;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .article-container {
        padding: 0 10px;
    }
    
    .article-title {
        font-size: 24px;
    }
}