/* Article-specific styles */
.article-main {
    padding: 2rem 0;
    background: #fff;
}

.article {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.article-header {
    padding: 2rem 2rem 1rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #8a9ba8;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #4a90a4;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #8a9ba8;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.article-content {
    padding: 2rem;
    line-height: 1.8;
}

.lead {
    font-size: 1.2rem;
    color: #5a6c7d;
    font-weight: 400;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fbff;
    border-left: 4px solid #4a90a4;
    border-radius: 0 8px 8px 0;
}

.article-content h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 2.5rem 0 1rem;
    font-weight: 600;
    border-bottom: 2px solid #e8f4f8;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

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

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

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

.article-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.article-content blockquote {
    border-left: 4px solid #7fb069;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f9fdf9;
    font-style: italic;
    color: #5a6c7d;
}

.article-footer {
    padding: 2rem;
    border-top: 1px solid #e8f4f8;
    background: #f8fbff;
}

.author-bio {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.author-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.author-info p {
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.related-articles {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.related-articles h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.related-grid {
    display: grid;
    gap: 1.5rem;
}

.related-card {
    display: flex;
    gap: 1rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-2px);
}

.related-card img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.related-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.related-content h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content h4 a:hover {
    color: #4a90a4;
}

.related-content p {
    color: #5a6c7d;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Reading progress bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(74, 144, 164, 0.2);
    z-index: 1001;
}

.reading-progress-fill {
    height: 100%;
    background: #4a90a4;
    width: 0%;
    transition: width 0.3s ease;
}

/* Responsive design for articles */
@media (max-width: 768px) {
    .article h1 {
        font-size: 2rem;
    }
    
    .article-header,
    .article-content,
    .article-footer {
        padding: 1.5rem;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .related-card {
        flex-direction: column;
    }
    
    .related-card img {
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .article h1 {
        font-size: 1.8rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-header,
    .article-content,
    .article-footer {
        padding: 1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
