/**
 * DS Elements — Danh sách chuyên mục
 */

.elementor-widget-ds-term-list {
	width: 100%;
	min-width: 0;
}

.ds-tl {
	--ds-tl-padding: var(--ds-space-6);
	--ds-tl-row-gap: var(--ds-space-4);

	width: 100%;
	min-width: 0;
	padding: var(--ds-tl-padding);
	background: var(--ds-tl-bg, var(--ds-color-white));
	border: 1px solid var(--ds-tl-border, var(--ds-color-border));
	border-radius: var(--ds-tl-radius, var(--ds-radius-md));
}

.ds-tl *,
.ds-tl *::before,
.ds-tl *::after {
	box-sizing: border-box;
}

.ds-tl__heading {
	margin: 0 0 var(--ds-space-4);
	color: var(--ds-tl-heading-color, var(--ds-color-brand));
	font-size: var(--ds-fs-h4);
	font-weight: var(--ds-fw-bold);
	line-height: var(--ds-lh-h4);
	text-transform: uppercase;
	letter-spacing: var(--ds-ls-nav);
}

.ds-tl__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ds-tl__item + .ds-tl__item {
	border-top: 1px solid var(--ds-tl-divider-color, var(--ds-color-border));
}

.ds-tl__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ds-space-3);

	padding: calc(var(--ds-tl-row-gap) / 2) 0;
	color: var(--ds-tl-link-color, var(--ds-color-body));
	font-size: var(--ds-fs-body);
	line-height: var(--ds-lh-base);
	text-decoration: none;
	transition: color var(--ds-transition);
}

.ds-tl__item:first-child .ds-tl__link {
	padding-top: 0;
}

.ds-tl__item:last-child .ds-tl__link {
	padding-bottom: 0;
}

.ds-tl__link:hover {
	color: var(--ds-tl-active-color, var(--ds-color-brand-light));
}

.ds-tl__item.is-current .ds-tl__link {
	color: var(--ds-tl-active-color, var(--ds-color-brand-light));
	font-weight: var(--ds-fw-semibold);
}

.ds-tl__count {
	flex: 0 0 auto;
	color: var(--ds-color-muted);
	font-size: var(--ds-fs-small);
	font-variant-numeric: tabular-nums;
}
