.blog-sidebar {
    padding-left: 10px;
}

.sidebar-widget {
    background: #ffffff;
    padding: 25px;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
    padding-bottom: 12px;
    position: relative;
    border-bottom: 2px solid #f0f0f0;
}


.widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: #ff4d4d; 
}


.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list li:last-child {
    margin-bottom: 0;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.category-list li a:hover {
    color: #ff4d4d; 
    padding-left: 5px;
}

.category-list li a span {
    background: #f8f9fa;
    color: #888;
    font-size: 13px;
    padding: 2px 10px;
    border-radius: 20px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.category-list li a:hover span {
    background: #ff4d4d;
    color: #fff;
    border-color: #ff4d4d;
}

.recent-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
}

.recent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-image img {
    transform: scale(1.1);
}

.recent-content h4 {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 5px;
    font-weight: 600;
}

.recent-content h4 a {
    color: #222;
    text-decoration: none;
    transition: 0.3s;
}

.recent-content h4 a:hover {
    color: #ff4d4d;
}

.recent-content .post-date {
    font-size: 13px;
    color: #888;
    display: block;
}

@media (max-width: 991px) {
    .blog-sidebar {
        margin-top: 50px;
        padding-left: 0;
    }
}
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    gap: 20px;
}

.post-navigation .nav-item {
    flex: 1;
    list-style: none; 
    padding: 0;
}

.post-navigation .nav-item a {
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    background: transparent; 
}

.post-navigation .nav-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.post-navigation .nav-item h4 {
    font-size: 18px;
    color: #222;
    margin: 0;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.post-navigation .next-post {
    text-align: right;
}

.post-navigation .nav-item a:hover h4 {
    color: #ff4d4d;
}

.post-navigation .nav-item a:hover .nav-label {
    color: #222;
}

.post-navigation .prev-post a:hover i {
    transform: translateX(-5px);
}

.post-navigation .next-post a:hover i {
    transform: translateX(5px);
}
@media (max-width: 767px) {
    .post-navigation {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-navigation .next-post {
        text-align: left;
        margin-top: 25px;
        padding-top: 25px;
        border-top: 1px solid #f9f9f9;
        width: 100%;
    }
}