        /* Improved styles for image display and icons */
        .blog-img img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            border-radius: 8px;
            transition: transform 0.3s ease;
        }
        .blog-box:hover .blog-img img {
            transform: scale(1.03);
        }
        .global-img {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
        }
        .global-img::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
            z-index: 1;
            opacity: 0;
            transition: all 0.4s ease;
        }
        .blog-box:hover .global-img::before {
            opacity: 1;
        }
        
        /* Search widget improvements */
        .widget_search .input-group {
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid #e0e0e0;
        }
        .widget_search .form-control {
            border: none;
            padding: 12px 15px;
        }
        .widget_search .input-group-text {
            background: #fff;
            border: none;
            cursor: pointer;
            padding: 0 15px;
            color: #666;
            transition: color 0.3s;
        }
        .widget_search .input-group-text:hover {
            color: var(--theme-color);
        }
        .clear-search {
            color: #999 !important;
        }
        .clear-search:hover {
            color: #f00 !important;
        }
        
        /* Fallback for missing images */
        .img-fallback {
            height: 220px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f5f5f5;
            border-radius: 8px;
            color: #666;
        }
        
    /* Improved styles for image display and icons */
    .blog-img {
        width: 100%;
        height: 220px;
        overflow: hidden;
        border-radius: 8px;
    }
    
    .blog-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .blog-box:hover .blog-img img {
        transform: scale(1.05);
    }
    
    .global-img {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
    }
    
    .global-img::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
        z-index: 1;
        opacity: 0;
        transition: all 0.4s ease;
    }
    
    .blog-box:hover .global-img::before {
        opacity: 1;
    }
    
    /* Fallback for missing images */
    .img-fallback {
        height: 220px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f5f5f5;
        border-radius: 8px;
        color: #666;
    }
    
    /* Ensure all images in cards have consistent height */
    .post-thumb img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
    }
 /* Sidebar Widgets */
        .widget {
            margin-bottom: 40px;
            padding: 25px;
            /* background: #fff; */
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .widget_title {
            font-size: 20px;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
        }
        
        .widget_title i {
            margin-right: 10px;
            color: var(--theme-color);
        }
        
       
        
        
        /* Categories Widget */
        .widget_categories ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .widget_categories li {
            margin-bottom: 10px;
        }
        
        .widget_categories li:last-child {
            margin-bottom: 0;
        }
        
        .widget_categories a {
            display: flex;
            align-items: center;
            padding: 10px 0;
            color: #555;
            transition: all 0.3s ease;
        }
        
        .widget_categories a:hover {
            color: var(--theme-color);
            transform: translateX(5px);
            color: white;
        }
        
        .widget_categories a i {
            margin-right: 10px;
            font-size: 12px;
        }
        
        .widget_categories span {
            margin-left: auto;
            background: #f8f9fa;
            padding: 3px 8px;
            border-radius: 20px;
            font-size: 12px;
        }
        
        /* Recent Posts Widget */
        .widget_recent_posts ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .widget_recent_posts li {
            display: flex;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px dashed #eee;
        }
        
        .widget_recent_posts li:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .post-thumb {
            flex: 0 0 80px;
            margin-right: 15px;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .post-thumb img {
            width: 80px;
            height: 80px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .post-thumb:hover img {
            transform: scale(1.1);
        }
        
        .post-content {
            flex: 1;
        }
        
        .post-title {
            font-size: 15px;
            margin-bottom: 5px;
            line-height: 1.4;
        }
        
        .post-title a {
            color: #333;
            transition: all 0.3s ease;
        }
        
        .post-title a:hover {
            color: var(--theme-color);
        }
        
        .post-date {
            font-size: 12px;
            color: #6c757d;
            display: flex;
            align-items: center;
        }
