/* Blog Post Styles */
.breadcrumb-nav {
    background-color: #f8f9fa;
    padding: 1rem 0;
    margin-top: 76px; /* Account for fixed navbar */
}

.breadcrumb {
    background: none;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #495057;
    text-decoration: underline;
}

.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Featured Image Styles */
.featured-image {
    background-color: #f8f9fa;
}

.featured-image-container {
    position: relative;
}

.featured-image-container img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-image-container img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.image-caption {
    font-style: italic;
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.article-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.article-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.reading-time i,
.author-info i {
    margin-right: 0.5rem;
}

.article-content {
    background-color: #ffffff;
}

.table-of-contents {
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 1.5rem;
    border-radius: 8px;
}

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

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #495057;
    text-decoration: none;
    padding: 0.25rem 0;
    display: block;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: #007bff;
    text-decoration: underline;
}

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

.article-section h2 {
    color: #212529;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.article-section h3 {
    color: #495057;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-section p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #212529;
}

.article-section .lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #495057;
    margin-bottom: 2rem;
}

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

.article-section li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #212529;
}

.article-section strong {
    color: #007bff;
    font-weight: 600;
}

.article-section a {
    color: #007bff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.article-section a:hover {
    border-bottom-color: #007bff;
}

.author-bio {
    border: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.author-bio h3 {
    color: #212529;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.author-bio p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}

.related-articles {
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
}

.related-articles h3 {
    color: #212529;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.related-article-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    height: 100%;
    transition: background-color 0.3s ease;
}

.related-article-card:hover {
    background-color: #e9ecef;
}

.related-article-card h4 {
    margin-bottom: 0.75rem;
}

.related-article-card h4 a {
    color: #212529;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
}

.related-article-card h4 a:hover {
    color: #007bff;
}

.related-article-card p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.125rem;
    }
    
    .article-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-section h2 {
        font-size: 1.5rem;
    }
    
    .article-section h3 {
        font-size: 1.25rem;
    }
    
    .table-of-contents {
        padding: 1rem;
    }
    
    .related-article-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

/* Print Styles */
@media print {
    .breadcrumb-nav,
    .related-articles,
    .author-bio {
        display: none;
    }
    
    .article-header {
        background: none !important;
        color: black !important;
    }
    
    .article-title,
    .article-subtitle {
        color: black !important;
    }
    
    .category-badge {
        background: #f0f0f0 !important;
        color: black !important;
    }
}
