/* Article-specific styles */
body {
    width: 60%;
    margin: auto;
}
/* Logo link styling */
.logo a {
    color: inherit;
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.9;
}

.blogimg {
    width: 90%;
}
/* Breadcrumb Navigation */
.breadcrumb {
    background-color: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}

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

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: #6c757d;
}

.breadcrumb .current {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Article Header */
.article-header {
    margin-bottom: 2rem;
}

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

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.author-title {
    font-size: 0.85rem;
    color: #6c757d;
}

.article-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Featured Image */
.featured-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.image-caption {
    padding: 1rem;
    background: #f8f9fa;
    font-style: italic;
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
}

/* Article Body */
.article-content {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.article-body {
    line-height: 1.8;
    color: #444;
}

.article-intro {
    font-size: 1.1rem;
    color: #555;
    font-weight: 400;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #667eea;
}

.article-body h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 2.5rem 0 1rem 0;
    font-weight: 600;
}

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

.article-body h4 {
    font-size: 1.2rem;
    color: #34495e;
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

.article-body p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

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

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

/* Quote Styling */
.article-quote {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    position: relative;
}

.article-quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.article-quote cite {
    display: block;
    text-align: right;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
    font-style: normal;
}

/* Highlight Box */
.highlight-box {
    background: #f8f9ff;
    border: 1px solid #e6e9ff;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #667eea;
}

.highlight-box h4 {
    color: #667eea;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.stats-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    text-decoration: none;
    border-radius: 10px;
}
.tags {
    margin-bottom: 1.5rem;
}

.tag-label {
    font-weight: 600;
    color: #6c757d;
    margin-right: 1rem;
}

.tag {
    display: inline-block;
    background: #f8f9fa;
    color: #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #667eea;
    color: white;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-label {
    font-weight: 600;
    color: #6c757d;
}

.social-buttons {
    display: flex;
    gap: 0.5rem;
}

.social-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-btn.twitter {
    background: #1da1f2;
    color: white;
}

.social-btn.linkedin {
    background: #0077b5;
    color: white;
}

.social-btn.facebook {
    background: #1877f2;
    color: white;
}

.social-btn.email {
    background: #6c757d;
    color: white;
}

.social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Author Bio */
.author-bio {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

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

.bio-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.bio-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.bio-social {
    display: flex;
    gap: 1rem;
}

.bio-social a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}

.bio-social a:hover {
    text-decoration: underline;
}

/* Sidebar Enhancements */
.related-posts, .recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.related-post:hover {
    background-color: #f8f9fa;
}

.related-post img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.related-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.related-content a {
    color: #2c3e50;
    text-decoration: none;
}

.related-content a:hover {
    color: #667eea;
}

.related-date {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Newsletter Signup */
.newsletter-signup p {
    margin-bottom: 1rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 0.75rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background: #5a6fd8;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud-item {
    background: #f8f9fa;
    color: #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.8rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.tag-cloud-item:hover {
    background: #667eea;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .article-stats {
        align-items: flex-start;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .featured-image img {
        height: 250px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .bio-avatar {
        align-self: center;
    }
    
    .newsletter-form {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-content {
        padding: 1rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body h3 {
        font-size: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        flex-wrap: wrap;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
    }
    
    .breadcrumb .separator {
        margin: 0 0.25rem;
    }
}