/* Container Sidebar Right */
.sidebar-right-container {
    width: 100%;
    box-sizing: border-box;
}

/* Widget khung bài viết */
.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.widget-header {
    background-color: #f8fafc;
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
}

.widget-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #0056b3;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.widget-content {
    padding: 10px 15px;
}

/* Danh sách bài viết - Xóa bullet chấm mặc định */
.article-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.article-item {
    list-style: none !important;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.article-item:last-child {
    border-bottom: none;
}

.article-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-decoration: none;
    color: #1e293b;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.article-link:hover {
    color: #0056b3;
}

.bullet-icon {
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.article-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.empty-message {
    font-size: 13px;
    color: #94a3b8;
    text-align: center;
    margin: 15px 0;
    font-style: italic;
}

/* ==========================================
   Widget Banner Chatbot AI Bacninhtech
   ========================================== */
.ai-banner-widget {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border: 1px solid #2563eb;
    border-radius: 10px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.ai-banner-content {
    padding: 18px 15px;
    text-align: center;
}

.ai-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.ai-title {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
}

.ai-desc {
    margin: 0 0 15px 0;
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.45;
}

/* Kiểu hiển thị nếu dùng hình ảnh */
.ai-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 12px;
    display: block;
}

.ai-btn-cta {
    display: block;
    width: 100%;
    background: #2563eb;
    color: #ffffff !important;
    text-decoration: none;
    padding: 9px 0;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
    box-sizing: border-box;
}

.ai-btn-cta:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.6);
}