/* ==========================================================================
   dlb-blog.css — CSS RIÊNG cho trang "Kiến thức" (Posts page, templates/home.html),
   thêm 2026-08-30 đối chiếu demo-ui/kien-thuc.html theo yêu cầu người dùng.
   CHỈ enqueue khi is_home() (trang danh sách bài viết đã gán trong Đọc > Cài đặt).
   ========================================================================== */

.dlb-blog {
	padding-top: 8px;
	padding-bottom: 56px;
}

.dlb-blog__hero {
	max-width: 760px;
	margin: 0 auto 48px !important;
}
.dlb-blog__eyebrow {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #006d4c;
	margin-bottom: 12px;
}
.dlb-blog__heading {
	font-size: clamp(28px, 3.6vw, 42px);
	font-weight: 800;
	color: #111111;
	margin: 0 0 16px;
}
.dlb-blog__lede {
	font-size: 17px;
	line-height: 1.7;
	color: #6b7280;
}

.dlb-blog__list.wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.dlb-blog__card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	height: 100%;
	transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.dlb-blog__card:hover {
	box-shadow: 0 10px 30px rgba(17, 17, 17, .10);
	border-color: #d8dedb;
	transform: translateY(-3px);
}
.dlb-blog__card .wp-block-post-featured-image {
	margin: 0;
}
.dlb-blog__card .wp-block-post-featured-image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}
.dlb-blog__card-body {
	padding: 20px !important;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.dlb-blog__card-meta {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #006d4c;
	gap: 10px !important;
}
.dlb-blog__card-meta time,
.dlb-blog__card-meta .wp-block-post-date {
	color: #6b7280;
	letter-spacing: .08em;
	font-weight: 600;
}
.dlb-blog__card-meta a {
	color: #006d4c;
}
.dlb-blog__card h3,
.dlb-blog__card h3 a {
	font-size: 19px;
	line-height: 1.35;
	font-weight: 700;
	color: #111111 !important;
	text-decoration: none !important;
	margin: 0;
}
.dlb-blog__card h3 a:hover {
	color: #006d4c !important;
}
.dlb-blog__card p {
	font-size: 15px;
	color: #6b7280;
	line-height: 1.6;
	margin: 0;
}

.dlb-blog__pagination {
	margin-top: 44px;
}
.dlb-blog .wp-block-query-pagination-numbers a,
.dlb-blog .wp-block-query-pagination-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	border-radius: 8px;
	color: #111111;
	font-weight: 600;
}
.dlb-blog .wp-block-query-pagination-numbers .current {
	background: #006d4c;
	color: #ffffff;
}

@media (max-width: 1000px) {
	.dlb-blog__list.wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 640px) {
	.dlb-blog__list.wp-block-post-template {
		grid-template-columns: 1fr;
	}
}
