.n3-case-listing,
.n3-case-detail {
	--n3-case-primary: var(--fs-color-primary, var(--primary-color, #ffb400));
	--n3-case-primary-soft: color-mix(in srgb, var(--n3-case-primary) 12%, #fff);
	--n3-case-border: #e9edf2;
	--n3-case-text: #172033;
	--n3-case-muted: #667085;
	color: var(--n3-case-text);
	font-family: inherit;
}

.n3-case-hero,
.n3-case-detail-hero {
	background:
		linear-gradient(90deg, rgba(7, 10, 15, .96), rgba(7, 10, 15, .72) 55%, rgba(7, 10, 15, .34)),
		var(--n3-case-hero-image, linear-gradient(135deg, #161b22, #0f172a));
	background-position: center;
	background-size: cover;
	color: #fff;
	margin-bottom: 28px;
	min-height: 220px;
	padding: 36px 0;
}

.n3-case-hero {
	background:
		linear-gradient(90deg, #05070a 0%, #05070a 38%, rgba(5, 7, 10, .82) 50%, rgba(5, 7, 10, .26) 78%, rgba(5, 7, 10, .08) 100%),
		url("../img/case-study-hero-circuit-source.png");
	background-position: center right;
	background-size: cover;
	min-height: 205px;
	padding: 50px 0 40px;
}

.n3-case-hero__inner,
.n3-case-detail-hero__inner,
.n3-case-listing__body,
.n3-case-detail__wrap,
.n3-case-related {
	margin: 0 auto;
	max-width: var(--n3-section-width, 1340px);
	padding: 0 20px;
}

.n3-case-hero__inner {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
}

.n3-case-hero span,
.n3-case-detail-hero span {
	color: var(--n3-case-primary);
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	margin-bottom: 3px;
	text-transform: uppercase;
}

.n3-case-hero__inner > span {
	display: none;
}

.n3-case-hero h1,
.n3-case-detail-hero h1 {
	color: #fff;
	font-size: 34px;
	line-height: 1.1;
	margin: 0 0 12px;
	max-width: 680px;
}

.n3-case-hero h1 {
	display: inline-block;
	font-size: 32px;
	margin-bottom: 22px;
	order: 1;
	position: relative;
}

.n3-case-hero h1::after {
	background: var(--n3-case-primary);
	border-radius: 999px;
	bottom: -7px;
	content: "";
	display: block;
	height: 3px;
	left: 0;
	position: absolute;
	width: 58px;
}

.n3-case-hero p {
	color: rgba(255, 255, 255, .84);
	font-size: 13px;
	line-height: 1.65;
	margin: 0 0 18px;
	max-width: 620px;
	order: 2;
}

.n3-case-hero nav,
.n3-case-detail-hero nav {
	color: rgba(255, 255, 255, .72);
	font-size: 12px;
	margin-bottom: 20px;
}

.n3-case-hero nav {
	align-items: center;
	color: rgba(255, 255, 255, .8);
	display: flex;
	font-size: 11px;
	font-weight: 700;
	gap: 8px;
	margin-bottom: 0;
}

.n3-case-hero nav::first-letter {
	text-transform: uppercase;
}

.n3-case-hero__inner > nav:not(.n3-case-breadcrumb) {
	display: none;
}

.n3-case-hero .n3-case-breadcrumb {
	margin-bottom: 0;
	order: 3;
}

.n3-case-hero .n3-case-breadcrumb strong {
	color: var(--n3-case-primary);
}

.n3-case-detail-hero__inner > nav:not(.n3-case-breadcrumb) {
	display: none;
}

.n3-case-breadcrumb {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	line-height: 1.4;
}

.n3-case-breadcrumb a,
.n3-case-breadcrumb strong {
	color: rgba(255, 255, 255, .82);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.n3-case-breadcrumb a:hover {
	color: #fff;
}

.n3-case-breadcrumb span {
	color: rgba(255, 255, 255, .52);
	display: inline-flex;
	font-size: 14px;
	line-height: 1;
}

.n3-case-breadcrumb strong {
	color: #fff;
	font-weight: 800;
}

.n3-case-listing__breadcrumb,
.n3-case-detail__breadcrumb {
	color: var(--n3-case-muted);
	margin: 0 auto 18px;
	max-width: var(--n3-section-width, 1340px);
	padding: 0 20px;
}

.n3-case-listing__breadcrumb a,
.n3-case-detail__breadcrumb a {
	color: var(--n3-case-primary);
}

.n3-case-listing__breadcrumb strong,
.n3-case-detail__breadcrumb strong {
	color: var(--n3-case-text);
}

.n3-case-listing__breadcrumb span,
.n3-case-detail__breadcrumb span {
	color: #98a2b3;
}

.n3-case-detail-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.n3-case-detail-hero__meta small {
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 4px;
	color: #fff;
	font-size: 12px;
	padding: 8px 12px;
}

.n3-case-listing__body {
	display: grid;
	gap: 24px;
	grid-template-columns: 280px minmax(0, 1fr);
}

.n3-case-listing--no-filters .n3-case-listing__body {
	grid-template-columns: minmax(0, 1fr);
}

.n3-case-listing__main {
	position: relative;
	transition: opacity .2s ease;
}

.n3-case-listing.is-loading .n3-case-listing__main {
	opacity: .55;
	pointer-events: none;
}

.n3-case-filters {
	align-self: start;
	position: sticky;
	top: 96px;
}

.n3-case-filters__head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}

.n3-case-filters__head strong,
.n3-case-toolbar strong {
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.n3-case-filters__head a {
	color: var(--n3-case-primary);
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
}

.n3-case-filter {
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: 6px;
	margin-bottom: 9px;
	overflow: hidden;
}

.n3-case-filter__title {
	align-items: center;
	background: transparent;
	border: 0;
	color: #111827;
	cursor: pointer;
	display: flex;
	font-size: 11px;
	font-weight: 800;
	justify-content: space-between;
	line-height: 1.3;
	margin: 0;
	min-height: 36px;
	padding: 10px 12px;
	text-align: left;
	width: 100%;
}

.n3-case-filter__title:focus-visible {
	outline: 2px solid rgba(255, 180, 0, .55);
	outline-offset: -2px;
}

.n3-case-filter__title i {
	border-color: #667085;
	border-style: solid;
	border-width: 0 1.5px 1.5px 0;
	display: inline-block;
	flex: 0 0 auto;
	height: 6px;
	font-style: normal;
	line-height: 1;
	transform: rotate(45deg);
	transition: transform .18s ease;
	width: 6px;
}

.n3-case-filter.is-collapsed .n3-case-filter__title i {
	transform: rotate(-135deg);
}

.n3-case-filter__options {
	display: grid;
	gap: 7px;
	padding: 0 12px 11px;
}

.n3-case-filter.is-collapsed .n3-case-filter__options {
	display: none;
}

.n3-case-filter__option {
	align-items: center;
	color: #344054;
	cursor: pointer;
	display: flex;
	font-size: 14px;
	font-weight: 500;
	gap: 7px;
	line-height: 1.35;
	margin: 0;
	width: 100%;
}

.n3-case-filter__option.is-hidden {
	display: none;
}

.n3-case-filter__option input {
	accent-color: var(--n3-case-primary);
	flex: 0 0 auto;
	height: 13px;
	margin: 1px 0 0;
	width: 13px;
}

.n3-case-filter__option span {
	align-items: baseline;
	display: flex;
	flex: 1 1 auto;
	gap: 8px;
	justify-content: space-between;
	min-width: 0;
}

.n3-case-filter__option small {
	color: #98a2b3;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	margin-left: auto;
}

.n3-case-filter select,
.n3-case-toolbar input,
.n3-case-toolbar select {
	background: #fff;
	border: 1px solid var(--n3-case-border);
	border-radius: 4px;
	box-shadow: none;
	font-size: 13px;
	height: 38px;
	width: 100%;
}

.n3-case-toolbar select{
	margin-bottom: 0;
}

.n3-case-filter__submit,
.n3-case-toolbar button {
	background: var(--n3-case-primary);
	border: 1px solid var(--n3-case-primary);
	border-radius: 4px;
	color: #111827;
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
	height: 38px;
	padding: 0 14px;
	text-transform: uppercase;
}

.n3-case-filter__submit {
	box-shadow: 0 8px 14px rgba(255, 180, 0, .18);
	margin: 1px 0 0;
	width: 100%;
}

.n3-case-filter__reset {
	border: 1px solid var(--n3-case-border);
	border-radius: 4px;
	color: var(--n3-case-text);
	display: block;
	font-size: 11px;
	font-weight: 800;
	margin-top: 8px;
	padding: 9px 10px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.n3-case-filters--checkboxes > .n3-case-filter__submit,
.n3-case-filters--checkboxes > .n3-case-filter__reset {
	display: none;
}

.n3-case-toolbar {
	align-items: end;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(160px, 1fr) 230px;
	margin-bottom: 18px;
}

.n3-case-toolbar label {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: auto minmax(130px, 1fr);
	margin: 0;
}

.n3-case-toolbar div span {
	color: var(--n3-case-muted);
	display: block;
	font-size: 12px;
	margin-top: 4px;
}

.n3-case-toolbar label span {
	display: block;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 0;
	white-space: nowrap;
}

.n3-case-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.n3-case-card {
	background: #fff;
	border: 1px solid var(--n3-case-border);
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
	color: inherit;
	display: block;
	overflow: hidden;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}

.n3-case-card:hover {
	box-shadow: 0 16px 34px rgba(15, 23, 42, .1);
	transform: translateY(-3px);
}

.n3-case-card__image {
	background: #f3f5f7;
	display: block;
	overflow: hidden;
}

.n3-case-card__image img {
	aspect-ratio: 1.55 / 1;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.n3-case-card__body {
	display: block;
	padding: 14px;
}

.n3-case-card small {
	color: var(--n3-case-primary);
	display: block;
	font-size: 10px;
	font-style: normal;
	font-weight: 800;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.n3-case-card strong {
	display: block;
	font-size: 14px;
	line-height: 1.35;
	margin-bottom: 8px;
}

.n3-case-card em {
	color: var(--n3-case-muted);
	display: block;
	font-size: 12px;
	font-style: normal;
	line-height: 1.55;
	margin-bottom: 10px;
}

.n3-case-card b {
	color: var(--n3-case-primary);
	font-size: 12px;
	font-weight: 800;
}

.n3-case-pagination {
	margin-top: 24px;
	text-align: center;
}

.n3-case-pagination ul {
	display: inline-flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.n3-case-pagination li {
	margin: 0 !important;
}

.n3-case-pagination a,
.n3-case-pagination span {
	align-items: center;
	border: 1px solid var(--n3-case-border);
	border-radius: 4px;
	color: var(--n3-case-text);
	display: inline-flex;
	font-size: 12px;
	height: 32px;
	justify-content: center;
	min-width: 32px;
	text-decoration: none;
}

.n3-case-pagination svg {
	display: block;
	fill: none;
	height: 15px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.4;
	width: 15px;
}

.n3-case-pagination .current {
	background: var(--n3-case-primary);
	border-color: var(--n3-case-primary);
}

.n3-case-detail__wrap {
	display: grid;
	gap: 26px;
	grid-template-columns: minmax(0, 1fr) 360px;
}

.n3-case-detail--no-overview .n3-case-detail__wrap,
.n3-case-detail--no-content .n3-case-detail__wrap {
	grid-template-columns: minmax(0, 1fr);
}

.n3-case-detail--no-content .n3-case-detail__aside {
	margin: 0 auto;
	max-width: 620px;
	width: 100%;
}

.n3-case-detail__aside {
	min-width: 0;
}

.n3-case-overview {
	background: #fff;
	border: 1px solid var(--n3-case-border);
	border-radius: 8px;
	box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
	padding: 18px;
	position: sticky;
	top: 96px;
}

.n3-case-overview h2 {
	font-size: 16px;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.n3-case-overview__row {
	align-items: flex-start;
	border-top: 1px solid var(--n3-case-border);
	display: grid;
	gap: 10px;
	grid-template-columns: 28px 1fr;
	padding: 10px 0;
}

.n3-case-overview__row:first-of-type {
	border-top: 0;
}

.n3-case-overview__icon {
	align-items: center;
	border: 1px solid var(--n3-case-primary);
	border-radius: 50%;
	color: var(--n3-case-primary);
	display: inline-flex;
	height: 24px;
	justify-content: center;
	margin-top: 1px;
	width: 24px;
}

.n3-case-overview__icon svg,
.n3-case-overview__icon-img {
	display: block;
	height: 15px;
	object-fit: contain;
	width: 15px;
}

.n3-case-overview small {
	color: var(--n3-case-muted);
	display: block;
	font-size: 11px;
	font-weight: 700;
	margin-bottom: 2px;
}

.n3-case-overview strong {
	display: block;
	font-size: 12px;
	line-height: 1.45;
}

.n3-case-step {
	background: #fff;
	border-radius: 8px;
	margin-bottom: 18px;
}

.n3-case-step__content {
	color: var(--n3-case-muted);
	counter-reset: n3-case-heading;
	font-size: 14px;
	line-height: 1.7;
}

.n3-case-step__content h2,
.n3-case-step__content h3 {
	align-items: center;
	color: #0f172a;
	counter-increment: n3-case-heading;
	display: grid;
	font-size: 18px;
	gap: 16px;
	grid-template-columns: 36px minmax(0, 1fr);
	line-height: 1.25;
	margin: 22px 0 8px;
	text-transform: uppercase;
}

.n3-case-step__content h2:first-child,
.n3-case-step__content h3:first-child {
	margin-top: 0;
}

.n3-case-step__content h2::before,
.n3-case-step__content h3::before {
	align-items: center;
	background: var(--n3-case-primary);
	border-radius: 4px;
	color: #111827;
	content: counter(n3-case-heading, decimal-leading-zero);
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	height: 28px;
	justify-content: center;
	line-height: 1;
	width: 36px;
}

.n3-case-step__content img {
	border-radius: 6px;
	height: auto;
	margin: 10px 0;
	width: 100%;
}

.n3-case-step__content ul{
	padding-left: 16px;
}

.n3-case-related {
	margin-top: 28px;
}

.n3-case-related__head {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 14px;
}

.n3-case-related__head h2 {
	flex: 1 1 auto;
	font-size: 18px;
	margin: 0;
	text-transform: uppercase;
}

.n3-case-related__head a {
	color: var(--n3-case-primary);
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.n3-case-related__slider {
	position: relative;
}

.n3-case-related__viewport {
	overflow: hidden;
	scroll-behavior: smooth;
}

.n3-case-related__track {
	display: flex;
	gap: 18px;
}

.n3-case-related__track .n3-case-card {
	flex: 0 0 calc((100% - 54px) / 4);
	min-width: 0;
}

.n3-case-related__arrow {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(233, 237, 242, .9);
	border-radius: 50%;
	box-shadow: 0 10px 26px rgba(15, 23, 42, .14);
	color: #1f2937;
	cursor: pointer;
	display: inline-flex;
	height: 38px;
	justify-content: center;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
	width: 38px;
	z-index: 2;
}

.n3-case-related__arrow:hover {
	background: var(--n3-case-primary);
	border-color: var(--n3-case-primary);
	color: #111827;
}

.n3-case-related__arrow:disabled {
	cursor: default;
	opacity: .45;
}

.n3-case-related__arrow:disabled:hover {
	background: #fff;
	border-color: var(--n3-case-border);
	color: #1f2937;
}

.n3-case-related__arrow svg {
	display: block;
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.6;
	width: 20px;
}

.n3-case-related__arrow--prev {
	left: -38px;
}

.n3-case-related__arrow--next {
	right: -38px;
}

.n3-case-empty {
	background: #fff;
	border: 1px dashed var(--n3-case-border);
	border-radius: 8px;
	color: var(--n3-case-muted);
	padding: 28px;
	text-align: center;
}

@media (max-width: 849px) {
	.n3-case-listing__body,
	.n3-case-detail__wrap {
		grid-template-columns: 1fr;
	}

	.n3-case-filters,
	.n3-case-overview {
		position: static;
	}

	.n3-case-toolbar {
		grid-template-columns: 1fr;
	}

	.n3-case-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.n3-case-related__track .n3-case-card {
		flex-basis: calc((100% - 18px) / 2);
	}
}

@media (max-width: 549px) {
	.n3-case-hero h1,
	.n3-case-detail-hero h1 {
		font-size: 26px;
	}

	.n3-case-grid {
		grid-template-columns: 1fr;
	}

	.n3-case-related__track .n3-case-card {
		flex-basis: 100%;
	}

	.n3-case-related__arrow--prev {
		left: -10px;
	}

	.n3-case-related__arrow--next {
		right: -10px;
	}

	.n3-case-step__content h2,
	.n3-case-step__content h3 {
		gap: 10px;
		grid-template-columns: 34px minmax(0, 1fr);
	}

	.n3-case-step__content h2::before,
	.n3-case-step__content h3::before {
		width: 34px;
	}
}
