/* Blog Index 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;
}

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

.blog-hero h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-hero .lead {
    font-size: 1.2rem;
    opacity: 0.9;
}

.blog-articles {
    background-color: #f8f9fa;
}

.blog-post-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Blog Post Card Image Styles */
.blog-post-card .post-image {
    margin: -2rem -2rem 1.5rem -2rem;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.blog-post-card .post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card .post-image img:hover {
    transform: scale(1.05);
}

.blog-post-card.featured-post .post-image img {
    height: 250px;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.featured-post {
    border-left: 4px solid #007bff;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.post-category {
    background-color: #007bff;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.post-date {
    color: #6c757d;
    font-size: 0.875rem;
}

.post-title {
    margin-bottom: 1rem;
}

.post-title a {
    color: #212529;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.post-title a:hover {
    color: #007bff;
}

.post-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.reading-time i,
.post-tags i {
    margin-right: 0.5rem;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag {
    background-color: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.75rem;
    transition: background-color 0.3s ease;
}

.tag:hover {
    background-color: #dee2e6;
    color: #495057;
}

.read-more-btn {
    background-color: #007bff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #0056b3;
}

.coming-soon-section {
    background: white;
    border-radius: 12px;
    margin-top: 2rem;
}

/* Sidebar Styles */
.blog-sidebar {
    padding-left: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #212529;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.category-list,
.tool-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li,
.tool-list li {
    margin-bottom: 0.75rem;
}

.category-list a,
.tool-list a {
    color: #495057;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    transition: color 0.3s ease;
}

.category-list a:hover,
.tool-list a:hover {
    color: #007bff;
}

.count {
    background-color: #e9ecef;
    color: #6c757d;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

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

.newsletter-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.newsletter-widget p {
    opacity: 0.9;
    margin-bottom: 1rem;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 6px;
    padding: 0.75rem;
}

.newsletter-form .btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
}

.newsletter-form .btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .blog-sidebar {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .blog-hero h1 {
        font-size: 1.5rem;
    }
    
    .blog-post-card {
        padding: 1.5rem;
    }
    
    .sidebar-widget {
        padding: 1rem;
    }
}
