/**
 * 121 Platform
 * Feature List – Signature
 */
.nd-feature-list {
	margin: 0;
	padding-top: var(--wp--custom--section--space-compact);
	padding-bottom: var(--wp--custom--section--space-standard);
}
.nd-feature-list__inner {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	width: min(100%, var(--wp--style--global--wide-size));
	max-width: var(--wp--style--global--wide-size);
	margin: 0 auto;
	padding-inline: var(--wp--custom--layout--gutter);
}
.nd-feature-list__header {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--wp--preset--spacing--50);
	align-items: center;
}
.nd-feature-list__header > *,
.nd-feature-list__intro > *,
.nd-feature-list__grid > *,
.nd-feature-list__item > * {
	margin-block-start: 0;
	margin-block-end: 0;
}
.nd-feature-list__eyebrow {
	margin-bottom: var(--wp--preset--spacing--30);
}
.nd-feature-list__heading {
	margin: 0;
	font-size: var(--wp--custom--typography--section-title);
	font-weight: var(--wp--custom--typography--weight-bold);
	line-height: 1.15;
}
.nd-feature-list__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-block: 1px solid var(--wp--preset--color--border);
}
.nd-feature-list__item {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	min-width: 0;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--20);
}
.nd-feature-list__item::before {
	flex: 0 0 auto;
	content: "✓";
	color: var(--wp--preset--color--accent);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--typography--weight-medium);
	line-height: 1;
}

.nd-feature-list--warning {
	--nd-feature-list-warning: var(--wp--preset--color--error);
	--nd-feature-list-warning-dark: var(--wp--preset--color--error);
	--nd-feature-list-warning-soft: color-mix(
		in srgb,
		var(--wp--preset--color--error) 7%,
		var(--wp--preset--color--base)
	);
	--nd-feature-list-warning-border: color-mix(
		in srgb,
		var(--wp--preset--color--error) 38%,
		var(--wp--preset--color--base)
	);

	color: var(--wp--preset--color--primary-dark);
	background: var(--wp--preset--color--primary-soft);
}

.nd-feature-list--warning .nd-feature-list__eyebrow {
	color: var(--nd-feature-list-warning-dark);
}

.nd-feature-list--warning .nd-feature-list__heading,
.nd-feature-list--warning .nd-feature-list__label {
	color: var(--wp--preset--color--primary-dark);
}

.nd-feature-list--warning .nd-feature-list__text {
	color: var(--wp--preset--color--text-muted);
	padding: var(--wp--preset--spacing--30);
	background: var(--nd-feature-list-warning-soft);
	border-inline-start: 4px solid var(--nd-feature-list-warning);
	border-radius: var(--wp--custom--radius--small);
}

.nd-feature-list--warning .nd-feature-list__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--30);
	border: 0;
}

.nd-feature-list--warning .nd-feature-list__item {
	min-height: 2rem;
	padding: var(--wp--preset--spacing--30);
	background: var(--wp--preset--color--base);
	border: 1px solid var(--nd-feature-list-warning-border);
	border-radius: var(--wp--custom--radius--medium);
}

.nd-feature-list--warning .nd-feature-list__item::before {
	display: grid;
	flex: 0 0 1.5rem;
	width: 1.5rem;
	height: 1.5rem;
	place-items: center;
	content: "!";
	color: var(--wp--preset--color--base);
	background: var(--nd-feature-list-warning);
	border-radius: 50%;
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--typography--weight-bold);
	line-height: 1;
}
.nd-feature-list__label {
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--typography--weight-semibold);
	line-height: 1.4;
}

.nd-feature-list--warning .nd-feature-list__item + .nd-feature-list__item,
.nd-feature-list--warning .nd-feature-list__item:nth-child(even),
.nd-feature-list--warning .nd-feature-list__item:nth-child(n + 3) {
	border: 1px solid var(--nd-feature-list-warning-border);
}
@media (max-width: 900px) {
	.nd-feature-list__header {
		grid-template-columns: 1fr;
		row-gap: var(--wp--preset--spacing--30);
	}
	.nd-feature-list__text {
		max-width: var(--wp--custom--layout--summary-measure);
	}
	.nd-feature-list__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.nd-feature-list__item + .nd-feature-list__item {
		border-inline-start: 0;
	}
	.nd-feature-list__item:nth-child(even) {
		border-inline-start: 1px solid var(--wp--preset--color--border);
	}
	.nd-feature-list__item:nth-child(n + 3) {
		border-block-start: 1px solid var(--wp--preset--color--border);
	}
}
@media (max-width: 600px) {
	.nd-feature-list {
		padding-block: var(--wp--custom--section--space-compact);
	}
	.nd-feature-list--warning .nd-feature-list__grid {
		grid-template-columns: 1fr;
	}
	.nd-feature-list__inner {
		padding-inline: var(--wp--preset--spacing--40);
	}
	.nd-feature-list__grid {
		grid-template-columns: 1fr;
	}
	.nd-feature-list__item,
	.nd-feature-list__item:nth-child(even) {
		border-inline-start: 0;
	}
	.nd-feature-list__item:nth-child(n + 2) {
		border-block-start: 1px solid var(--wp--preset--color--border);
	}
}
