/* Articles Module Styles */

/* Article Card */
.article-card {
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-8px);
}

.article-card .article-image {
    transition: transform 0.7s ease;
}

.article-card:hover .article-image {
    transform: scale(1.1);
}

/* Featured Article Card */
.featured-article {
    position: relative;
}

.featured-article::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    pointer-events: none;
}

/* Article Content Styling */
.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.article-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

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

.article-content p.lead {
    font-size: 1.25rem;
    color: #334155;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 2rem;
    border-left: 4px solid #6366F1;
    padding-left: 1.25rem;
}

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

.article-content li {
    margin-bottom: 0.75rem;
    position: relative;
}

.article-content ul li::marker {
    color: #6366F1;
}

.article-content strong {
    color: #0f172a;
    font-weight: 600;
}

.article-content a {
    color: #6366F1;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.article-content a:hover {
    color: #4F46E5;
}

.article-content blockquote {
    border-left: 4px solid #6366F1;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f8fafc;
    border-radius: 0 1rem 1rem 0;
    font-style: italic;
    color: #475569;
}

.article-content img {
    border-radius: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.article-content code {
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.9em;
    color: #6366F1;
}

.article-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 1rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Share Button */
.share-btn {
    transition: all 0.2s ease;
}

.share-btn:hover {
    transform: scale(1.05);
}

/* Category Badge */
.category-badge {
    transition: all 0.2s ease;
}

.category-badge:hover {
    transform: translateY(-2px);
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, #6366F1, #8B5CF6);
    z-index: 9999;
    transition: width 0.1s ease;
}
