/* Blog Listing Styles */

.blog-header {
    background-size: cover;
    background-position: center;
}

.post-card {
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.post-card:hover { transform: translateY(-10px); }
.post-card:hover img { transform: scale(1.1); }

.post-card img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Category Filter */
.category-filter-list .hover-bg-light:hover { 
    background-color: rgba(0,0,0,0.05);
    color: #0d6efd !important;
    padding-left: 2rem !important;
    transition: all 0.3s ease;
}

/* Sidebar Featured Posts */
.last-no-border:last-child { 
    border-bottom: none !important; 
    padding-bottom: 0 !important; 
    margin-bottom: 0 !important; 
}

/* Custom Scrollbar */
.custom-scroll::-webkit-scrollbar {
    width: 4px;
}
.custom-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(13, 110, 253, 0.2);
    border-radius: 10px;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(13, 110, 253, 0.5);
}

/* Dark Theme Overrides */
.dark-theme .bg-light {
    background-color: #1a1a1a !important;
}
.dark-theme .bg-white {
    background-color: #242424 !important;
}
.dark-theme .post-card {
    background-color: #1e1e1e !important;
}
.dark-theme .post-card .card-title a {
    color: #ffffff !important;
}
.dark-theme .category-filter-list a.text-body {
    color: var(--about-text) !important;
}
.dark-theme .category-filter-list a.active-cat {
    color: #ffffff !important;
}
.dark-theme .category-filter-list .hover-bg-light:hover { 
    background-color: rgba(255,255,255,0.05);
    color: #ffc107 !important;
}
.dark-theme .custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 193, 7, 0.2);
}
.dark-theme .custom-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 193, 7, 0.5);
}
