.npd-fc {
	--npd-fc-gap: 1.25rem;
	--npd-fc-padding-top: 36px;
	--npd-fc-padding-bottom: 36px;
	--npd-fc-cols-desktop: 4;
	--npd-fc-cols-mobile: 2;

	width: 100%;
	padding-top: calc(var(--npd-fc-padding-top) * 0.75);
	padding-bottom: calc(var(--npd-fc-padding-bottom) * 0.75);
	background-color: #fff;
}

@media (min-width: 750px) {
	.npd-fc {
		padding-top: var(--npd-fc-padding-top);
		padding-bottom: var(--npd-fc-padding-bottom);
	}
}

.npd-fc__header {
	margin-bottom: 1.25rem;
}

.npd-fc__title {
	margin: 0 0 0.5rem;
	color: var(--theme-headings-color, inherit);
	line-height: 1.2;
}

.npd-fc__title--h2 {
	font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.npd-fc__title--h1 {
	font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.npd-fc__title--h0 {
	font-size: clamp(2rem, 4vw, 2.8rem);
}

.npd-fc__title--hxl {
	font-size: clamp(2.3rem, 5vw, 3.4rem);
}

.npd-fc__title--hxxl {
	font-size: clamp(2.6rem, 6vw, 4rem);
}

.npd-fc__description {
	max-width: 48rem;
	color: inherit;
	opacity: 0.9;
}

.npd-fc__description p:last-child {
	margin-bottom: 0;
}

.npd-fc__description--subtitle {
	font-size: 1.05rem;
}

.npd-fc__description--uppercase {
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.9rem;
}

.npd-fc__scroller {
	min-width: 0;
}

.npd-fc__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: var(--npd-fc-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 990px) {
	.npd-fc__grid {
		grid-template-columns: repeat(var(--npd-fc-cols-desktop), minmax(0, 1fr));
	}
}

.npd-fc__item {
	min-width: 0;
}

.npd-fc--ratio-square .npd-fc__item .npd-card__media-frame {
	aspect-ratio: 1 / 1;
}

.npd-fc--ratio-portrait .npd-fc__item .npd-card__media-frame {
	aspect-ratio: 4 / 5;
}

.npd-fc__view-all {
	display: flex;
	justify-content: center;
	margin-top: 1.75rem;
}

.npd-fc__view-all-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.65rem 1.4rem;
	font-weight: 600;
	text-decoration: none !important;
	border-radius: 999px;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.npd-fc__view-all-link--link {
	padding: 0;
	min-height: 0;
	border-radius: 0;
	text-decoration: underline !important;
	text-underline-offset: 0.2em;
	color: inherit;
}

.npd-fc__view-all-link--solid {
	background: var(--theme-button-background-initial-color, #111);
	color: var(--theme-button-text-initial-color, #fff);
	border: 1px solid transparent;
}

.npd-fc__view-all-link--solid:hover,
.npd-fc__view-all-link--solid:focus-visible {
	filter: brightness(1.05);
	color: var(--theme-button-text-initial-color, #fff);
}

.npd-fc__view-all-link--outline {
	background: transparent;
	color: inherit;
	border: 1px solid rgba(17, 17, 17, 0.35);
}

.npd-fc__view-all-link--outline:hover,
.npd-fc__view-all-link--outline:focus-visible {
	border-color: rgba(17, 17, 17, 0.7);
}

.npd-fc__empty {
	margin: 0;
	padding: 1rem 0;
	opacity: 0.75;
}

.npd-fc__slider-controls {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.25rem;
}

.npd-fc__slider-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background: #fff;
	color: inherit;
	cursor: pointer;
}

.npd-fc__slider-btn:focus-visible {
	outline: 2px solid var(--theme-form-field-border-focus-color, currentColor);
	outline-offset: 2px;
}

.npd-fc__slider-counter {
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 989.98px) {
	.npd-fc--swipe-mobile .npd-fc__inner {
		container-type: inline-size;
	}

	.npd-fc--swipe-mobile .npd-fc__scroller {
		overflow: hidden;
	}

	.npd-fc--swipe-mobile .npd-fc__grid {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		gap: var(--npd-fc-gap);
		width: auto;
		max-width: 100%;
		min-width: 100%;
		padding-bottom: 0.25rem;
	}

	.npd-fc--swipe-mobile .npd-fc__grid::-webkit-scrollbar {
		display: none;
	}

	.npd-fc--swipe-mobile .npd-fc__item {
		--npd-fc-item-basis: calc((100cqw - (var(--npd-fc-cols-mobile) - 1) * var(--npd-fc-gap)) / var(--npd-fc-cols-mobile));
		flex: 0 0 min(100cqw, max(360px, var(--npd-fc-item-basis)));
		width: min(100cqw, max(360px, var(--npd-fc-item-basis)));
		min-width: 0;
		max-width: 100cqw;
		scroll-snap-align: start;
	}

	.npd-fc--swipe-mobile .npd-fc__slider-controls {
		display: flex;
	}

	.npd-fc--swipe-mobile .npd-fc__view-all--hide-mobile {
		display: none;
	}
}

@media (min-width: 990px) {
	.npd-fc--swipe-desktop .npd-fc__inner {
		container-type: inline-size;
	}

	.npd-fc--swipe-desktop .npd-fc__scroller {
		overflow: hidden;
	}

	.npd-fc--swipe-desktop .npd-fc__grid {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		gap: var(--npd-fc-gap);
		width: auto;
		max-width: 100%;
		min-width: 100%;
		padding-bottom: 0.25rem;
	}

	.npd-fc--swipe-desktop .npd-fc__grid::-webkit-scrollbar {
		display: none;
	}

	.npd-fc--swipe-desktop .npd-fc__item {
		--npd-fc-item-basis: calc((100cqw - (var(--npd-fc-cols-desktop) - 1) * var(--npd-fc-gap)) / var(--npd-fc-cols-desktop));
		flex: 0 0 min(100cqw, max(360px, var(--npd-fc-item-basis)));
		width: min(100cqw, max(360px, var(--npd-fc-item-basis)));
		min-width: 0;
		max-width: 100cqw;
		scroll-snap-align: start;
	}

	.npd-fc--swipe-desktop .npd-fc__slider-controls {
		display: flex;
	}
}

@media (prefers-reduced-motion: reduce) {
	.npd-fc__view-all-link {
		transition: none;
	}
}
