/* =========================================================
   ARCHIVE KHO BÀI HÁT
========================================================= */

.kbh-archive-wrapper {
	color: #17324d;
}

.kbh-archive-header {
	margin-bottom: 22px;
}

.kbh-archive-title {
	margin: 0 0 6px !important;
	color: #594638 !important;
	font-size: 26px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
}

.kbh-archive-description {
	margin: 0;
	color: #667381;
	font-size: 14px;
	line-height: 1.5;
}

/* =========================================================
   DANH SÁCH BÀI HÁT
========================================================= */

.kbh-song-list__items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 14px;
	width: 100%;
}

/*
 * Reset style mặc định của Flatsome/WooCommerce
 * trên thẻ article.
 */
.kbh-song-list__item {
	display: block !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* Khung từng bài hát */
.kbh-song-list__item-link {
	display: flex;
	align-items: flex-start;
	box-sizing: border-box;
	width: 100%;
	min-height: 82px;
	gap: 12px;
	padding: 11px 12px;

	color: #17324d !important;
	background: #ffffff !important;

	border: 1px solid #e5d9cf !important;
	border-radius: 8px !important;

	outline: none !important;
	text-decoration: none !important;

	box-shadow: 0 1px 3px rgba(23, 50, 77, 0.04);

	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.kbh-song-list__item-link:hover,
.kbh-song-list__item-link:focus {
	color: #17324d !important;
	background: #fffaf6 !important;
	border-color: #c9aa92 !important;
	outline: none !important;
	box-shadow: 0 5px 14px rgba(23, 50, 77, 0.10);
	transform: translateY(-1px);
}

/* Icon play */
.kbh-song-list__icon {
	display: flex;
	flex: 0 0 38px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 38px;
	height: 38px;
	margin-top: 1px;

	color: #ffffff;
	background: #17324d;
	border-radius: 50%;

	font-size: 14px;
	line-height: 1;

	transition: background-color 0.2s ease;
}

.kbh-song-list__item-link:hover .kbh-song-list__icon {
	background: #a4775a;
}

/* Nội dung bên phải */
.kbh-song-list__body {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
}

/* Tên bài hát */
.kbh-song-list__song-title {
	display: block;
	overflow: hidden;
	width: 100%;
	margin: 0 0 5px !important;

	color: #17324d !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;

	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Tác giả, ca sĩ, giai điệu */
.kbh-song-list__song-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 3px 8px;
	width: 100%;
	margin: 0;

	color: #8c8178 !important;
	font-size: 10px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
}

.kbh-song-list__song-meta > span {
	display: inline-block;
	overflow: hidden;
	max-width: 100%;

	color: #8c8178 !important;
	font-size: inherit !important;
	font-weight: inherit !important;

	text-overflow: ellipsis;
	white-space: nowrap;
}

.kbh-song-list__song-meta > span:not(:last-child)::after {
	content: "•";
	margin-left: 8px;
	color: #c2a38c;
}

.kbh-song-list__singer {
	color: #a4775a !important;
	font-weight: 500 !important;
}

/* Mô tả */
.kbh-song-list__description {
	display: -webkit-box;
	overflow: hidden;
	width: 100%;
	margin-top: 4px;

	color: #8b8178 !important;
	font-size: 10px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	text-overflow: ellipsis;

	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.kbh-song-list__description a,
.kbh-song-list__description strong,
.kbh-song-list__description b {
	color: inherit !important;
	font-size: inherit !important;
	font-weight: 400 !important;
	text-decoration: none !important;
}

/* Lượt xem: nằm cuối cùng, dưới mô tả */
.kbh-song-list__views {
	display: block;
	width: 100%;
	margin-top: 4px;

	color: #a09287 !important;
	font-size: 10px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
}

/* =========================================================
   PHÂN TRANG
========================================================= */

.kbh-archive-pagination {
	margin-top: 28px;
	text-align: center;
}

.kbh-archive-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;

	margin: 0;
	padding: 0;

	list-style: none;
}

.kbh-archive-pagination li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.kbh-archive-pagination a,
.kbh-archive-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 36px;
	height: 36px;
	padding: 5px 10px;

	color: #594638 !important;
	background: #ffffff;
	border: 1px solid #ded4cc;
	border-radius: 4px;

	font-size: 13px;
	line-height: 1;
	text-decoration: none !important;

	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.kbh-archive-pagination a:hover {
	color: #ffffff !important;
	background: #a4775a;
	border-color: #a4775a;
}

.kbh-archive-pagination .current {
	color: #ffffff !important;
	background: #a4775a !important;
	border-color: #a4775a !important;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 849px) {
	.kbh-song-list__items {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 549px) {
	.kbh-archive-title {
		font-size: 22px !important;
	}

	.kbh-song-list__items {
		gap: 9px;
	}

	.kbh-song-list__item-link {
		min-height: 0;
		gap: 9px;
		padding: 9px;
		border-radius: 7px !important;
	}

	.kbh-song-list__icon {
		flex-basis: 32px;
		width: 32px;
		height: 32px;
		font-size: 12px;
	}

	.kbh-song-list__song-title {
		font-size: 14px !important;
	}

	.kbh-song-list__song-meta {
		font-size: 9px !important;
	}

	.kbh-song-list__description {
		margin-top: 3px;
		font-size: 9px !important;
		-webkit-line-clamp: 1;
	}

	.kbh-song-list__views {
		margin-top: 3px;
		font-size: 9px !important;
	}
}
.kbh-song-list__items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 12px 14px;
}

.kbh-song-list__item {
	align-self: start;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

.kbh-song-list__item-link {
	display: flex;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}
.kbh-song-list__items {
	grid-auto-rows: 1fr;
}

.kbh-song-list__item-link {
	min-height: 104px;
}