/*
 * LH2 — internal link equity blocks (see inc/areas/fix-lh2-link-equity.php).
 * Uses the child theme tokens from 00-tokens.css only, so it follows any palette change.
 */

.yb-lh2-cats {
	margin: 0 0 56px;
	font-family: var(--yb-font);
}

.yb-lh2-cats .yb-wrap {
	max-width: var(--yb-container);
	margin: 0 auto;
	padding-inline: 20px;
}

.yb-lh2-cats__title {
	margin: 0 0 16px;
	color: var(--yb-ink);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

.yb-lh2-cats__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.yb-lh2-cats__item {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	border: 1px solid var(--yb-line);
	border-radius: var(--yb-pill);
	background: #fff;
	padding: 9px 14px;
}

.yb-lh2-cats__item::before,
.yb-lh2-cats__item::marker {
	content: none;
}

.yb-lh2-cats__item:hover,
.yb-lh2-cats__item:focus-within {
	border-color: var(--yb-ink);
}

.yb-lh2-cats__link {
	color: var(--yb-ink);
	font-size: 14px;
	line-height: 1.3;
	text-decoration: none;
}

.yb-lh2-cats__link:hover,
.yb-lh2-cats__link:focus-visible {
	color: var(--yb-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.yb-lh2-cats__count {
	color: var(--yb-muted);
	font-size: 12px;
	line-height: 1.3;
}

.yb-lh2-cats--home {
	margin-top: 8px;
	padding-block: 32px;
	border-top: 1px solid var(--yb-line);
	background: var(--yb-page);
}

/* Footer "Shop" column: same look as the other footer columns, no extra rules needed beyond spacing. */
.yb-gf-col .yb-footer__list li a {
	word-break: normal;
}

@media (max-width: 767px) {
	.yb-lh2-cats {
		margin-bottom: 32px;
	}

	.yb-lh2-cats__title {
		font-size: 18px;
	}
}
