/* ==========================================================================
   Shared Category Tags — Locality Blog
   Used on: Blog Listing cards + Single Blog Article
   ========================================================================== */

:root {
	--lbl-navy: #001B54;
	--lbl-lime: #CDFF3F;
	--lbl-cyan: #60E3E8;
	--lbl-white: #ffffff;
}

.lbl-card__cats {
	display: flex;
	align-items: center;
	gap: 0.5em;
	flex-wrap: wrap;
	position: relative;
}

.lbl-card__category {
	display: inline-flex;
	align-items: center;
	min-height: 24px; /* minimum tap target */
	font-family: 'Midnight Sans ST 12', sans-serif;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--lbl-navy);
	background: var(--lbl-lime);
	padding: 0.25em 0.65em;
	border-radius: 3px;
	text-decoration: none;
	line-height: 1.4;
	transition: background 0.2s ease;
	white-space: nowrap;
}
.lbl-card__category:hover {
	background: var(--lbl-cyan);
}

.lbl-card__cats-more {
	position: relative;
}
.lbl-card__cats-more-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px; /* minimum tap target */
	min-width: 24px;
	font-family: 'Midnight Sans ST 12', sans-serif;
	font-size: 13px;
	letter-spacing: 0.02em;
	color: var(--lbl-navy);
	background: #eef0f3;
	border: none;
	padding: 0.25em 0.6em;
	border-radius: 3px;
	line-height: 1.4;
	cursor: pointer;
	transition: background 0.2s ease;
}
.lbl-card__cats-more-btn:hover,
.lbl-card__cats-more-btn[aria-expanded="true"] {
	background: #dfe3e8;
}

.lbl-card__cats-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 20;
	background: var(--lbl-white);
	border: 1px solid #e2e6ea;
	border-radius: 6px;
	box-shadow: 0 6px 20px rgba(0, 27, 84, 0.12);
	padding: 0.4em;
	min-width: 160px;
	flex-direction: column;
	gap: 2px;
}
.lbl-card__cats-dropdown.is-open {
	display: flex;
}

.lbl-card__cats-dropdown-link {
	display: block;
	font-family: 'Neue Helvetica Lt Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 13px;
	color: var(--lbl-navy);
	text-decoration: none;
	padding: 0.45em 0.6em;
	border-radius: 4px;
	transition: background 0.15s ease;
	white-space: nowrap;
}
.lbl-card__cats-dropdown-link:hover {
	background: #f3f4f6;
}
