/* Legal Nurse Core — Pages by Category (chip filter + list) */

.lnc-pbc {
	font-family: "Wix Madefor Text", "Wix Madefor Display", sans-serif;
}

/* Filter bar: label beside chips. */
.lnc-pbc__filter {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 16px;
}

.lnc-pbc__filter-label {
	flex: 0 0 auto;
	font-weight: 500;
	color: #2a2926;
	white-space: nowrap;
}

/* Filter chips. */
.lnc-pbc__chips {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 10px;
	min-width: 0;
}

.lnc-pbc__chip {
	display: inline-flex;
	align-items: center;
	border: 1px solid #e6b7cd;
	background: #ffffff;
	color: #93003a;
	padding: 8px 18px;
	border-radius: 999px;
	cursor: pointer;
	line-height: 1.2;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lnc-pbc__chip:hover {
	background: #f6e7ee;
}

.lnc-pbc__chip.is-active {
	background: #f6e7ee;
	border-color: #93003a;
	font-weight: 600;
}

/* Page list — responsive grid of cards. */
.lnc-pbc__list {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.lnc-pbc__item {
	display: flex;
	flex-direction: column;
	border-left: 2px solid #25797c;
	padding-left: 20px;
	min-width: 0;
}

.lnc-pbc__item.is-hidden {
	display: none;
}

.lnc-pbc__content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1 1 auto;
	min-width: 0;
}

.lnc-pbc__title {
	display: block;
	font-weight: 600;
	line-height: 1.3;
}

.lnc-pbc__title a {
	text-decoration: none;
	color: inherit;
}

.lnc-pbc__title a:hover {
	text-decoration: underline;
}

.lnc-pbc__byline {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.4;
	color: #3a3a3a;
}

.lnc-pbc__more {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	margin-top: 14px;
	text-decoration: none;
	color: #25797c;
	font-weight: 600;
}

.lnc-pbc__more-label {
	text-decoration: underline;
}

.lnc-pbc__more:hover .lnc-pbc__more-label {
	text-decoration: none;
}

.lnc-pbc__more-arrow {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 1;
}

.lnc-pbc__more-arrow svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

@media (max-width: 1024px) {
	.lnc-pbc__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.lnc-pbc__list {
		grid-template-columns: 1fr;
	}

	/* Stack the filter: label on top, chips full-width in a column. */
	.lnc-pbc__filter {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.lnc-pbc__chips {
		flex-direction: column;
		flex-wrap: nowrap;
	}

	.lnc-pbc__chip {
		width: 100%;
		justify-content: center;
	}
}

/* Pagination — numbered circles */
.lnc-pbc__pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 32px;
}

.lnc-pbc__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid #25797c;
	border-radius: 100%;
	color: #25797c;
	background: #ffffff;
	text-decoration: none;
	line-height: 1;
	cursor: pointer;
	font: inherit;
	padding: 0;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lnc-pbc__pagination button.page-numbers:hover {
	background: #e3f2f1;
}

.lnc-pbc__pagination .page-numbers.current {
	cursor: default;
}

.lnc-pbc__pagination .page-numbers.current {
	background: #1f6f72;
	border-color: #1f6f72;
	color: #ffffff;
}

.lnc-pbc__pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
	color: inherit;
}
