/* Chỉ áp dụng cho máy tính (Desktop) */
@media (min-width: 850px) {
    .hang-thong-ke .col {
        text-align: center;
    }
}

/* Container thông báo */
.tb-container {
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

/* Tiêu đề mục có đường kẻ đỏ */
.tb-header {
	display: flex;
	align-items: center;
	border-bottom: 2px solid #ffdb6e;
	padding-bottom: 12px;
	margin-bottom: 25px;
}

.tb-header-title {
	font-size: 24px;
	font-weight: 700;
	color: #111;
	border-left: 5px solid #ffdb6e;
	padding-left: 12px;
	line-height: 1.1;
	margin: 0;
}

/* Danh sách bài viết */
.tb-list {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.tb-item {
	display: flex;
	gap: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f0f0f0;
	text-decoration: none;
	color: inherit;
}

.tb-item:last-child {
	border-bottom: none;
}

/* Ảnh đại diện bài viết */
.tb-thumb {
	flex: 0 0 260px;
	max-width: 260px;
	height: 150px;
	border-radius: 8px;
	overflow: hidden;
	background-color: #f7f7f7;
}

.tb-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.tb-item:hover .tb-thumb img {
	transform: scale(1.05);
}

/* Nội dung thông báo */
.tb-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.tb-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: #111;
	margin: 0 0 8px 0;
	transition: color 0.2s ease;
}

.tb-title a {
	text-decoration: none;
	color: inherit;
}

.tb-title a:hover {
	color: #ffdb6e;
}

/* Meta: Ngày đăng + Lượt xem */
.tb-meta {
	display: flex;
	align-items: center;
	gap: 18px;
	font-size: 13.5px;
	color: #777;
	margin-bottom: 10px;
}

.tb-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tb-meta-item i {
	color: #888;
	font-size: 14px;
}

/* Tình trạng & Tóm tắt */
.tb-status {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
}

.tb-status span {
	color: #e53935;
}

.tb-excerpt {
	font-size: 14px;
	color: #555;
	line-height: 1.5;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Phân trang */
.tb-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 10px;
}

.tb-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	color: #444;
	font-size: 14px;
	transition: all 0.2s ease;
}

.tb-pagination .page-numbers:hover,
.tb-pagination .page-numbers.current {
	background-color: #ffdb6e;
	border-color: #ffdb6e;
	color: #fff;
}

/* Tự thích ứng Responsive cho Mobile / Tablet */
@media (max-width: 768px) {
	.tb-item {
		flex-direction: column;
		gap: 12px;
	}
	.tb-thumb {
		flex: none;
		max-width: 100%;
		width: 100%;
		height: 190px;
	}
	.tb-title {
		font-size: 16px;
	}
}

/* Thông báo mới nhất */
/* Widget Tin Mới Nhất */
.custom-tmn-container {
    max-width: 100%;
    font-family: inherit;
    margin-bottom: 25px;
}

.custom-tmn-main-title {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

/* Vạch đỏ bên trái tiêu đề */
.custom-tmn-main-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 1.2em;
    background-color: #ffdb6e;
    margin-right: 10px;
    border-radius: 2px;
}

.custom-tmn-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-tmn-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Ảnh đại diện */
.custom-tmn-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 65px;
    border-radius: 6px;
    overflow: hidden;
    display: block;
    background-color: #eee;
}

.custom-tmn-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.custom-tmn-item:hover .custom-tmn-thumb img {
    transform: scale(1.05);
}

/* Nội dung bên phải */
.custom-tmn-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 65px;
}

.custom-tmn-title {
    margin: 0 0 6px 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Cắt tối đa 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.custom-tmn-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.custom-tmn-title a:hover {
    color: #e53935;
}

/* Meta: Ngày giờ & Lượt xem */
.custom-tmn-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    color: #757575;
}

.custom-tmn-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.custom-tmn-meta i {
    font-size: 0.85rem;
    color: #888;
}

/* Tương thích điện thoại màn hình nhỏ */
@media (max-width: 480px) {
    .custom-tmn-thumb {
        width: 85px;
        height: 58px;
    }
    .custom-tmn-title {
        font-size: 0.9rem;
    }
    .custom-tmn-meta {
        font-size: 0.75rem;
        gap: 10px;
    }
}