/* Article-specific styles */
.breadcrumb {
    margin: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: #666;
}

.breadcrumb-list a {
    color: #007acc;
    text-decoration: none;
}

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

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

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

.category {
    background: #007acc;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.reading-time {
    color: #666;
}

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

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: #666;
}

.author {
    font-weight: 600;
    color: #333;
}

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

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Summary */
.article-summary {
    background: #f8f9fa;
    border-left: 4px solid #007acc;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
}

.article-summary h2 {
    color: #007acc;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.article-summary p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* Table of Contents */
.table-of-contents {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.table-of-contents h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
}

.toc-list {
    list-style: none;
    counter-reset: toc-counter;
}

.toc-list li {
    counter-increment: toc-counter;
    margin-bottom: 0.5rem;
}

.toc-list li::before {
    content: counter(toc-counter) ". ";
    font-weight: 600;
    color: #007acc;
}

.toc-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.toc-list a:hover {
    color: #007acc;
}

/* Article Body */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    border-bottom: 2px solid #007acc;
    padding-bottom: 0.5rem;
}

.content-section h3 {
    color: #34495e;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.content-section p {
    margin-bottom: 1.2rem;
}

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

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

.content-section blockquote {
    border-left: 4px solid #007acc;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

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

.content-image {
    margin: 2rem 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Reviews Section */
.reviews-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
}

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

.reviews-container .review {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.reviews-container .review h4 {
    color: #007acc;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-container .review p {
    color: #555;
    line-height: 1.6;
}

/* Author Bio */
.author-bio {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
}

.author-bio h3 {
    margin-bottom: 1rem;
}

.author-details h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.author-details p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Article Footer */
.article-footer {
    border-top: 1px solid #e1e5e9;
    padding-top: 2rem;
    margin-top: 3rem;
}

.article-tags {
    margin-bottom: 2rem;
}

.article-tags h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.share-section h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.share-buttons-extended {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-buttons-extended .share-btn {
    width: auto;
    height: auto;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.share-buttons-extended .share-btn.email {
    background: #6c757d;
}

.share-buttons-extended .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Related Articles */
.related-articles {
    margin: 4rem 0;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.related-image {
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 1.5rem;
}

.related-content h3 {
    margin-bottom: 0.5rem;
}

.related-content h3 a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.related-content h3 a:hover {
    color: #007acc;
}

.related-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.related-content time {
    color: #888;
    font-size: 0.9rem;
}

/* Newsletter CTA */
.newsletter-cta {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
}

.newsletter-cta h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.newsletter-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.newsletter-form-inline {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form-inline input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form-inline button {
    padding: 1rem 2rem;
    background: #007acc;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form-inline button:hover {
    background: #005a9e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .share-buttons-extended {
        flex-direction: column;
    }
    
    .newsletter-form-inline {
        flex-direction: column;
    }
    
    .table-of-contents {
        font-size: 0.95rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .content-section {
        margin-bottom: 2rem;
    }
    
    .author-bio,
    .newsletter-cta {
        padding: 1.5rem;
    }
}