/* Blog List Styles */
.blog-list-header {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
}

.blog-list-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.blog-post-card {
    /* Reduced transition for better INP */
    transition: transform 0.2s ease;
    border-radius: 12px;
    overflow: hidden;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.blog-post-card h2 a {
    transition: color 0.2s ease;
}

/* Disable transitions on mobile for better INP */
@media (max-width: 768px) {
    .blog-post-card {
        transition: none;
    }
    
    .blog-post-card:hover {
        transform: none;
    }
    
    .blog-post-card h2 a {
        transition: none;
    }
}

.blog-post-card:hover h2 a {
    color: #667eea !important;
}

/* Breadcrumb */
.blog-breadcrumb {
    padding: 0.5rem 0;
    margin-bottom: 1rem;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    line-height: 1.5;
}

.breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline;
    vertical-align: baseline;
    line-height: 1.5;
}

/* Disable transitions on mobile */
@media (max-width: 768px) {
    .breadcrumb-item a {
        transition: none;
    }
}

.breadcrumb-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #adb5bd;
    padding: 0 0.5rem;
}

/* Sidebar Styles */
.blog-sidebar .list-group-item {
    border-left: none;
    border-right: none;
    padding: 1rem;
    transition: background-color 0.2s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.blog-sidebar .list-group-item:first-child {
    border-top: none;
}

.blog-sidebar .list-group-item:last-child {
    border-bottom: none;
}

.blog-sidebar .list-group-item:hover {
    background-color: #f8f9fa;
    /* Removed transform for better INP */
}

.blog-sidebar .list-group-item h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

/* Disable transitions on mobile */
@media (max-width: 768px) {
    .blog-sidebar .list-group-item,
    .blog-sidebar .list-group-item h6 {
        transition: none;
    }
    
    .blog-sidebar .list-group-item:hover {
        padding-left: 1rem;
    }
}

.blog-sidebar .list-group-item:hover h6 {
    color: #667eea;
}

/* Pagination */
.pagination .page-link {
    color: #667eea;
    border-color: #dee2e6;
    padding: 0.5rem 1rem;
}

.pagination .page-item.active .page-link {
    background-color: #667eea;
    border-color: #667eea;
}

.pagination .page-link:hover {
    color: #764ba2;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

/* Responsive */
@media (max-width: 991.98px) {
    .blog-list-header h1 {
        font-size: 2rem;
    }
    
    .blog-sidebar .sticky-top {
        position: relative !important;
        top: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .blog-list-header h1 {
        font-size: 1.75rem !important;
    }
    
    .blog-post-card .card-body {
        padding: 1.5rem !important;
    }
    
    .blog-post-card h2 {
        font-size: 1.25rem !important;
    }
}

