/* Tối ưu khung chứa bài viết */
.article-item {
    background: #fff;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 15px !important;
	min-height: 220px !important;    /* Bạn có thể tăng số này nếu muốn cao hơn nữa */
    margin-bottom: 30px !important;
	display: flex !important;
    align-items: flex-start !important; /* Căn đỉnh */
}

.article-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #eee;
}

/* Tiêu đề bài viết */
.article-item h3 a {
    color: #333 !important;
    font-weight: 700 !important;
    line-height: 1.4;
    transition: 0.2s;
}

.article-item h3 a:hover {
    color: #007bff !important;
}

/* Ảnh đại diện */
.article-thumb img {
    aspect-ratio: 16/9;
    object-fit: cover;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.05);
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 4 / 3 !important; /* Ép hình ảnh luôn theo tỉ lệ 4:3 */
}

/* Nút xem chi tiết */
.read-more {
    text-decoration: none !important;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sidebar tinh tế hơn */
.latest-news-list li a {
	font-size: 20px !important;    /* Tăng từ cỡ mặc định lên 16px hoặc 18px tùy ý */
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 5px;
	padding: 10px 0 !important;
    border-bottom: 1px solid #eee !important;
	color: #333 !important;        /* Màu chữ đậm nét hơn */
    transition: 0.3s;
}

/* Điều chỉnh khoảng cách giữa các mục tin cho cân xứng với chữ to */
.latest-news-list li {
    margin-bottom: 15px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px dashed #ddd !important;
}

.latest-news-list li:hover a {
    color: #007bff !important;     /* Đổi màu khi hover để tạo tương tác */
    text-decoration: none !important;
}
.col-md-8 h3 {
    margin-top: 0px !important;
    line-height: 1.2 !important;
}

.col-md-8 h3 a {
    font-size: 22px !important; /* Tăng cỡ chữ tiêu đề cho cân xứng với khung cao */
    display: block !important;
    margin-bottom: 10px !important;
}

/* Chỉnh tiêu đề khối sidebar TIN MỚI NHẤT */
.sidebar-news .headline-sidebar h2 {
    color: #2c3e50 !important;       /* Màu xanh dương sáng hơn của học sinh */    
    font-size: 22px !important;      /* Tăng kích cỡ chữ lên (mặc định của bạn đang là 18px) */
    font-weight: 700 !important;     /* Làm chữ đậm và sắc nét hơn */
    text-transform: uppercase !important; /* Giữ chữ in hoa cho trang trọng */
    letter-spacing: 1px !important;  /* Giãn cách chữ một chút cho dễ nhìn */    
    border-left: 5px solid #007bff;  /* Thêm một vạch màu xanh bên trái làm điểm nhấn */
    padding-left: 10px !important;   /* Khoảng cách giữa vạch và chữ */
    margin-top: 5px !important;
	letter-spacing: 0.5px !important;
}

/* Tùy chỉnh thêm thanh gạch chân bên dưới tiêu đề cho đồng bộ */
.sidebar-news .headline-sidebar {
    border-bottom: 3px solid #ff8500 !important; /* Làm thanh gạch ngang cũ mờ lại để nổi bật chữ */
    margin-bottom: 20px !important;
	padding-bottom: 5px !important;	
}
/* Tổng thể khung Breadcrumb */
.breadcrumb {
    background: #f8f9fa !important; /* Nền xám cực nhẹ để nổi bật khối trắng */
    padding: 10px 15px !important;
    border-radius: 5px !important;
    border-left: 4px solid #ff8500 !important; /* Vạch cam bên trái đồng bộ với sidebar */
    margin-bottom: 25px !important;
}

/* Danh sách các mục */
.breadcrumb ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex;
    align-items: center;
}

/* Từng mục text */
.breadcrumb ul li {
    font-size: 14px !important;
    color: #666 !important;
    display: flex;
    align-items: center;
}

/* Link trong Breadcrumb */
.breadcrumb ul li a {
    color: #2c3e50 !important; /* Màu xanh Navy cho hài hòa với menu chính */
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: 0.3s ease;
}

/* Hiệu ứng khi di chuột vào link */
.breadcrumb ul li a:hover {
    color: #ff8500 !important; /* Đổi sang cam khi hover */
}

/* Chỉnh dấu gạch ngang hoặc dấu mũi tên giữa các mục */
.breadcrumb ul li:not(:last-child)::after {
    content: '\f105' !important; /* Sử dụng icon FontAwesome dấu > */
    font-family: 'FontAwesome';
    margin: 0 10px;
    color: #ccc;
    font-weight: bold;
}

/* Mục cuối cùng (Trang hiện tại) */
.breadcrumb ul li:last-child {
    color: #ff8500 !important; /* Màu cam để báo hiệu đây là vị trí hiện tại */
    font-weight: bold !important;
}
/* Khung tiêu đề bài viết */
.main-title {
    color: #2c3e50 !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1.3;
    margin-bottom: 15px !important;
}

/* Metadata (Ngày đăng & Lượt xem) */
.news-meta {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #f1f1f1;
    padding: 10px 0 !important;
    margin-bottom: 25px !important;
    font-size: 13px !important;
    color: #888 !important;
	display: flex;
    gap: 20px;
}

.news-meta span {
    margin-right: 20px;
	font-size: 13px !important;
    color: #888 !important;
}

.news-meta i {
    color: #ff8500; /* Màu cam chủ đạo của bạn */
    margin-right: 5px;
}
/* Khối metadata: Ngày đăng và lượt xem */
.news-meta {
    margin-bottom: 20px !important;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    gap: 20px;
}

.news-meta span {
    font-size: 13px !important;
    color: #888 !important;
}

.news-meta i {
    color: #ff8500 !important; /* Màu cam biểu tượng */
    margin-right: 5px;
}

/* Tiêu đề chính của bài viết */
.news-detail h1, .news-detail .main-title {
    font-size: 28px !important;
    color: #2c3e50 !important;
    font-weight: 700 !important;
    line-height: 1.4;
    margin-bottom: 20px !important;
}

/* Khối tóm tắt (Sapo) có vạch đứng xanh Navy */
.news-content-summary {
    background: #f9f9f9 !important;
    border-left: 5px solid #2c3e50 !important;
    padding: 20px !important;
    margin-bottom: 30px !important;
    border-radius: 0 8px 8px 0;
}

.news-content-summary h2 {
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: #444 !important;
    margin: 0 !important;
}
/* Khối Sapo (Tóm tắt) */
.sapo-block {
    background: #fcfcfc;
    border-left: 5px solid #2c3e50; /* Vạch xanh navy đậm */
    padding: 20px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #444 !important;
    line-height: 1.5;
    margin-bottom: 30px !important;
    border-radius: 0 8px 8px 0;
}

/* Nội dung bài viết chính */
.full-content {
    color: #333 !important;
    line-height: 1.8 !important;
    font-size: 17px !important;
}

/* Các tiêu đề nhỏ trong bài viết (nếu có h3, h4) */
.full-content h3 {
    color: #007bff !important;
    font-weight: 700 !important;
    margin-top: 25px !important;
}

/* Tối ưu ảnh trong bài viết */
.full-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 20px 0;
}
/* Khung bao quanh phần luyện tập */
.practice-box {
    background: #fff8f0 !important; /* Màu cam cực nhạt */
    border: 2px dashed #ff8500 !important;
    padding: 30px !important;
    border-radius: 15px !important;
    display: inline-block;
    width: 100%;
}

/* Nút Luyện tập chính */
/* Khung bao ngoài tạo sự tách biệt với nền phía dưới */
.practice-cta-container {
    background-color: #ffffff !important; /* Đổi sang trắng hẳn để tách biệt với màu nền kem phía dưới */
    padding: 40px 20px !important;
    margin: 40px -15px 0 -15px !important; /* Giãn tràn ra để tạo khối riêng */
    border-top: 1px solid #eee;
    text-align: center;
}

/* Khối nội dung bên trong */
.practice-box-v2 {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px !important;
    border-radius: 20px !important;
    background: #f0f7ff !important; /* Màu xanh nước biển cực nhạt (màu của trí tuệ/toán học) */
    border: 2px dashed #007bff !important; /* Viền đứt đoạn màu xanh dương */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.practice-box-v2 h3 {
    color: #0056b3 !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

/* Nút bấm giữ màu cam để tạo sự tương phản mạnh (Action Button) */
.btn-practice-v2 {
    display: inline-block;
    background: #ff8500 !important;
    color: #fff !important;
    padding: 15px 45px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(255, 133, 0, 0.4);
    transition: 0.3s;
}

.btn-practice-v2:hover {
    background: #e67a00 !important;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 133, 0, 0.6);
}