/* ============================================
   SIDEBAR - Recent Posts Widget with Thumbnails
   ============================================ */

.recent-posts-widget li {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.recent-posts-widget li:last-child {
    border-bottom: none;
}

.recent-post-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: var(--transition);
}

.recent-post-item:hover {
    transform: translateX(3px);
}

.recent-post-thumbnail {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--background);
}

.recent-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.recent-post-item:hover .recent-post-thumbnail img {
    transform: scale(1.1);
}

.recent-post-content {
    flex: 1;
    min-width: 0;
}

.recent-post-content .post-title {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recent-post-content .post-date {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
}

.recent-post-content .post-category {
    font-size: 0.8rem;
    color: #888;
    display: block;
    margin-top: 2px;
}