/* Konu Başlıkları Widget Stilleri */
.kb-widget {
    margin-bottom: 20px;
}

.kb-topic-title {
    display: block;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid;
}

.kb-post {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
    gap: 10px;
}

.kb-thumb {
    flex-shrink: 0;
}

.kb-thumb img {
    display: block;
    border-radius: 4px;
    object-fit: cover;
}

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

.kb-title {
    display: block;
    text-decoration: none;
    word-wrap: break-word;
    hyphens: auto;
}

.kb-title:hover {
    text-decoration: underline;
}

.kb-author {
    margin: 0;
    font-style: italic;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .kb-post {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .kb-thumb {
        align-self: center;
    }
    
    .kb-thumb img {
        width: 80px;
        height: 80px;
    }
    
    .kb-content {
        text-align: center;
    }
    
    .kb-title {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .kb-author {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .kb-widget {
        margin-bottom: 15px;
    }
    
    .kb-topic-title {
        font-size: 16px;
        margin-bottom: 8px;
        padding-bottom: 4px;
    }
    
    .kb-post {
        margin-bottom: 10px;
        padding: 8px;
        border: 1px solid #eee;
        border-radius: 4px;
    }
    
    .kb-thumb img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }
    
    .kb-title {
        font-size: 13px;
        margin-bottom: 3px;
    }
    
    .kb-author {
        font-size: 11px;
    }
}

@media (max-width: 320px) {
    .kb-post {
        padding: 6px;
        margin-bottom: 8px;
    }
    
    .kb-thumb img {
        width: 50px;
        height: 50px;
    }
    
    .kb-title {
        font-size: 12px;
    }
    
    .kb-author {
        font-size: 10px;
    }
}

/* Admin panel stilleri */
.kb-sortable-placeholder {
    height: 40px;
    background: #f0f8ff;
    border: 2px dashed #46b450;
    margin-bottom: 5px;
    border-radius: 4px;
}

.kb-search-result:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.kb-sortable-item {
    transition: all 0.2s ease;
}

.kb-sortable-item:hover {
    background-color: #f0f8f0 !important;
}
