.nsi-recipes-page {
	overflow: hidden;
}

.nsi-recipes-page section {
	position: relative;
}

.nsi-recipes-page h1,
.nsi-recipes-page .h1,
.nsi-recipes-page h2,
.nsi-recipes-page .h2,
.nsi-recipes-page h3,
.nsi-recipes-page .h3 {
	line-height: 1.1;
}

/* Hero */

.nsi-recipes-page__hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 560px;
	overflow: hidden;
	background-color: #1e4488;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	isolation: isolate;
}

.nsi-recipes-page__hero::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	content: "";
	background-color: rgba(8, 24, 51, 0.34);
}

.nsi-recipes-page__hero .container {
	position: relative;
	z-index: 2;
}

.nsi-recipes-page__hero-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 3rem;
	align-items: end;
	width: 100%;
}

.nsi-recipes-page__hero-content {
	width: 100%;
	max-width: 700px;
	text-align: left;
}

.nsi-recipes-page__hero h1,
.nsi-recipes-page__hero .h1 {
	max-width: 450px;
	margin-bottom: 1.25rem;
	color: #fff;
}

.nsi-recipes-page__hero-blurb {
	max-width: 550px;
	color: #fff;
	font-size: 1.08rem;
	line-height: 1.65;
}

.nsi-recipes-page__hero-blurb p {
	color: inherit;
}

.nsi-recipes-page__hero-blurb p:last-child {
	margin-bottom: 0;
}

/* Hero Filter Panel */

.nsi-recipes-page__filter-panel {
	width: 100%;
	padding: 2.2rem;
	background-color: #fff;
	border-radius: 2.5rem;
	z-index: 3;
}

.nsi-recipes-page__filter-title {
	margin: 0 0 0.75rem;
	color: #1e4488;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
}

.nsi-recipes-page__filter-intro {
	margin-bottom: 1.5rem;
	color: #5f6875;
	font-size: 0.88rem;
	line-height: 1.55;
}

.nsi-recipes-page__filter-intro p:last-child {
	margin-bottom: 0;
}

/* Recipe Library */

.nsi-recipes-page__library {
	background-color: #fff;
}

/* Language Tabs */

.nsi-recipes-page__language-tabs {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: stretch;
	gap: 0.25rem;
	margin: 0 0 -1px 1.25rem;
}

.nsi-recipes-page__language-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 110px;
	padding: 0.7rem 1.15rem;
	background-color: #fff;
	border: 1px solid #e1e7ee;
	border-bottom-color: #e1e7ee;
	border-radius: 0.85rem 0.85rem 0 0;
	color: #677180;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.nsi-recipes-page__language-tab:hover,
.nsi-recipes-page__language-tab:focus {
	background-color: #effaff;
	border-color: #d3e6f5;
	color: #1e4488;
	text-decoration: none;
}

.nsi-recipes-page__language-tab.is-active {
	background-color: #f7f9fc;
	border-color: #f7f9fc;
	color: #1e4488;
}

.nsi-recipes-page__language-tab.is-active:hover,
.nsi-recipes-page__language-tab.is-active:focus {
	background-color: #f7f9fc;
	border-color: #f7f9fc;
	color: #1e4488;
}

/* Filters */

.nsi-recipe-filters {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1rem;
	align-items: end;
	margin: 0;
	padding: 0;
	background-color: transparent;
	border: 0;
	border-radius: 0;
}

.nsi-recipe-filters__field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.nsi-recipe-filters__field label {
	margin: 0;
	color: #1e4488;
	font-size: 0.82rem;
	font-weight: 700;
}

.nsi-recipe-filters__field select {
	width: 100%;
	height: 48px;
	padding: 0 2.5rem 0 0.9rem;
	background-color: #fff;
	border: 1px solid rgba(30, 68, 136, 0.24);
	border-radius: 0.6rem;
	color: #1e4488;
	font-family: inherit;
	font-size: 0.9rem;
	line-height: 1;
}

.nsi-recipe-filters__field select:focus {
	border-color: #3070c7;
	outline: none;
	box-shadow: 0 0 0 3px rgba(48, 112, 199, 0.12);
}

.nsi-recipe-filters__actions {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 0.25rem;
}

.nsi-recipe-filters__actions .btn {
	min-height: 48px;
	padding: 0.6rem 1.25rem;
	background-color: #3db3e3;
	border: 3px solid #3db3e3;
	color: #fff;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.2;
}

.nsi-recipe-filters__actions .btn:hover,
.nsi-recipe-filters__actions .btn:focus {
	background-color: #1fa3d8;
	border-color: #1fa3d8;
	color: #fff;
}

.nsi-recipe-filters__clear {
	color: #3070c7;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.nsi-recipe-filters__clear:hover,
.nsi-recipe-filters__clear:focus {
	color: #1e4488;
	text-decoration: none;
}

/* Recipe Results */

.nsi-recipes-page__results {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 1.5rem;
	background-color: #f7f9fc;
	border-radius: 1.75rem;
}

/* Recipe Cards */

.nsi-recipe-card {
	overflow: hidden;
	height: 100%;
	background-color: #fff;
	border: 1px solid rgba(30, 68, 136, 0.08);
	border-radius: 1rem;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.nsi-recipe-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(19, 42, 80, 0.08);
}

.nsi-recipe-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.nsi-recipe-card__link:hover,
.nsi-recipe-card__link:focus {
	color: inherit;
	text-decoration: none;
}

.nsi-recipe-card__image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: #eef3f8;
}

.nsi-recipe-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.nsi-recipe-card__link:hover .nsi-recipe-card__image img,
.nsi-recipe-card__link:focus .nsi-recipe-card__image img {
	transform: scale(1.04);
}

.nsi-recipe-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.5rem;
}

.nsi-recipe-card__taxonomy {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.85rem;
}

.nsi-recipe-card__tag {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.6rem;
	background-color: transparent;
	border: 1px solid;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.2;
}

.nsi-recipe-card__tag--meal {
	border-color: #3170a7;
	color: #3170a7;
}

.nsi-recipe-card__tag--ingredient {
	border-color: #3070c7;
	color: #3070c7;
}

.nsi-recipe-card__title {
	margin-bottom: 0.75rem;
	color: #1e4488;
	font-size: 1.45rem;
	font-weight: 700;
}

.nsi-recipe-card__description {
	margin-bottom: 1rem;
	color: #5f6875;
	font-size: 0.9rem;
	line-height: 1.55;
}

.nsi-recipe-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	margin-top: auto;
	padding-top: 1rem;
	color: #677180;
	font-size: 0.82rem;
}

.nsi-recipe-card__meta strong {
	color: #535e73;
}

.nsi-recipe-card__cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 1.25rem;
	padding: 0.5rem 0.9rem;
	background-color: #ffc107;
	border-radius: 999px;
	color: #fff;
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.2;
}

.nsi-recipe-card__cta i {
	color: #fff;
	font-size: 0.72rem;
	font-weight: 400;
}

.nsi-recipe-card__link:hover .nsi-recipe-card__cta,
.nsi-recipe-card__link:focus .nsi-recipe-card__cta {
	background-color: #e5ad00;
	color: #fff;
}

/* Empty State */

.nsi-recipes-page__empty {
	width: 100%;
	padding: 3rem 2rem;
	background-color: #f7f9fc;
	border-radius: 1rem;
	text-align: center;
}

.nsi-recipes-page__empty h3,
.nsi-recipes-page__empty .h3 {
	margin-bottom: 0.75rem;
	color: #1e4488;
}

.nsi-recipes-page__empty p {
	max-width: 600px;
	margin: 0 auto 1.5rem;
	color: #5f6875;
	line-height: 1.6;
}

.nsi-recipes-page__empty .btn {
	background-color: #3db3e3;
	border: 3px solid #3db3e3;
	color: #fff;
	font-weight: 700;
}

.nsi-recipes-page__empty .btn:hover,
.nsi-recipes-page__empty .btn:focus {
	background-color: #1fa3d8;
	border-color: #1fa3d8;
	color: #fff;
}

/* Final CTA */

.nsi-recipes-page__cta {
	background-color: #1e4488;
	color: #fff;
}

.nsi-recipes-page__cta h2,
.nsi-recipes-page__cta .h2 {
	margin-bottom: 1.25rem;
	color: #fff;
}

.nsi-recipes-page__cta-blurb {
	max-width: 720px;
	margin: 0 auto 1.5rem;
	color: #fff;
	line-height: 1.65;
}

.nsi-recipes-page__cta-blurb p {
	color: inherit;
}

.nsi-recipes-page__cta-blurb p:last-child {
	margin-bottom: 0;
}

.nsi-recipes-page__cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1.25rem;
	background-color: transparent;
	border: 3px solid #fff;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.nsi-recipes-page__cta-button:hover,
.nsi-recipes-page__cta-button:focus {
	background-color: #fff;
	border-color: #fff;
	color: #1e4488;
	text-decoration: none;
}

/* Comments */

.nsi-single-recipe__comments {
	padding: 4rem 0;
	background-color: #f7f9fc;
}

.nsi-single-recipe__comments-inner {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

.nsi-single-recipe__comments .comments-title,
.nsi-single-recipe__comments .comment-reply-title {
	margin-bottom: 1.5rem;
	color: #1e4488;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
}

.nsi-single-recipe__comments .comment-list {
	margin: 0 0 3rem;
	padding: 0;
	list-style: none;
}

.nsi-single-recipe__comments .comment-list .children {
	margin-top: 1rem;
	margin-left: 2rem;
	padding-left: 0;
	list-style: none;
}

.nsi-single-recipe__comments .comment-body {
	position: relative;
	margin-bottom: 1rem;
	padding: 1.5rem;
	background-color: #fff;
	border: 1px solid #e5eaf0;
	border-radius: 1.25rem;
}

.nsi-single-recipe__comments .comment-meta {
	margin-bottom: 1rem;
}

.nsi-single-recipe__comments .comment-author {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 0.3rem;
}

.nsi-single-recipe__comments .comment-author .avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
}

.nsi-single-recipe__comments .comment-author .fn {
	color: #1e4488;
	font-style: normal;
	font-weight: 700;
}

.nsi-single-recipe__comments .comment-metadata {
	margin-left: 3.25rem;
	font-size: 0.72rem;
}

.nsi-single-recipe__comments .comment-metadata a {
	color: #7a8390;
	text-decoration: none;
}

.nsi-single-recipe__comments .comment-content {
	color: #4f5965;
	font-size: 0.9rem;
	line-height: 1.65;
}

.nsi-single-recipe__comments .comment-content p:last-child {
	margin-bottom: 0;
}

.nsi-single-recipe__comments .reply {
	margin-top: 1rem;
}

.nsi-single-recipe__comments .comment-reply-link {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	background-color: #effaff;
	border-radius: 999px;
	color: #3070c7;
	font-size: 0.72rem;
	font-weight: 700;
	text-decoration: none;
}

.nsi-single-recipe__comments .comment-reply-link:hover,
.nsi-single-recipe__comments .comment-reply-link:focus {
	background-color: #3070c7;
	color: #fff;
}

/* Responsive */

@media (max-width: 991.98px) {
	.nsi-recipes-page__hero {
		padding: 3rem 1rem 0 1rem;
	}

	.nsi-recipes-page__hero-layout {
		gap: 2rem;
	}

	.nsi-recipes-page__hero-content {
		max-width: 650px;
	}

	.nsi-recipes-page__filter-panel {
		padding: 1.5rem;
		border-radius: 2rem;
	}

	.nsi-recipe-filters {
		grid-template-columns: 1fr;
	}

	.nsi-recipe-filters__actions {
		grid-column: auto;
		flex-wrap: wrap;
	}
}

@media (max-width: 767.98px) {
	.nsi-recipes-page__hero {
		z-index: 2;
		min-height: 0;
		padding: 3rem 0.5rem 0;
		overflow: visible;
		background-position: center;
	}

	.nsi-recipes-page__hero::before {
		background-color: rgba(8, 24, 51, 0.42);
	}

	.nsi-recipes-page__hero-layout {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 2.5rem;
	}

	.nsi-recipes-page__hero-content {
		width: 100%;
		max-width: none;
		padding: 0 0.5rem;
	}

	.nsi-recipes-page__hero h1,
	.nsi-recipes-page__hero .h1 {
		max-width: 60%;
		font-size: 2.5rem;
	}

	.nsi-recipes-page__hero-blurb {
		font-size: 0.96rem;
		line-height: 1.55;
	}

	.nsi-recipes-page__filter-panel {
		position: relative;
		z-index: 3;
		width: 100%;
		margin-bottom: -15rem !important;
		padding: 2rem;
		border-radius: 2rem;
		transform: translateY(2%);
	}

	.nsi-recipes-page__filter-title {
		font-size: 1.15rem;
	}

	.nsi-recipes-page__filter-intro {
		margin-bottom: 1.25rem;
		font-size: 0.84rem;
	}

	.nsi-recipes-page__library {
		z-index: 1;
		padding: 18rem 0.5rem 2.5rem !important;
	}

	.nsi-recipes-page__language-tabs {
		margin: 0 0 -1px 0.75rem;
	}

	.nsi-recipes-page__language-tab {
		min-width: 96px;
		padding: 0.65rem 0.9rem;
		font-size: 0.78rem;
	}

	.nsi-recipes-page__results {
		padding: 1rem;
		border-radius: 1.5rem;
	}

	.nsi-recipe-filters {
		grid-template-columns: 1fr;
		padding: 0;
	}

	.nsi-recipe-filters__actions {
		grid-column: auto;
		flex-wrap: wrap;
	}

	.nsi-recipe-filters__actions .btn {
		width: 100%;
	}

	.nsi-recipe-filters__clear {
		width: 100%;
		text-align: center;
	}

	.nsi-recipe-card__content {
		padding: 1.35rem;
	}

	.nsi-recipe-card__title {
		font-size: 1.3rem;
	}

	.nsi-recipes-page__empty {
		padding: 2rem 1rem;
	}
}

@media (max-width: 575.98px) {
	.nsi-recipes-page__hero {
		min-height: 0;
		padding-top: 3rem;
	}

	.nsi-recipes-page__hero-layout {
		gap: 2.5rem;
	}

	.nsi-recipes-page__hero h1,
	.nsi-recipes-page__hero .h1 {
		font-size: 2.25rem;
	}

	.nsi-recipes-page__language-tabs {
		width: calc(100% - 1.5rem);
		margin-left: 0.75rem;
	}

	.nsi-recipes-page__language-tab {
		flex: 1;
		min-width: 0;
	}
}