/* Case-study pages only. Loaded conditionally to protect all other layouts. */
.notox-case-library {
	background: #f4f7fc;
}

.notox-case-library-heading,
.notox-case-section-heading {
	max-width: 790px;
	margin: 0 auto 2rem;
	text-align: center;
}

.notox-case-library-heading h2,
.notox-case-section-heading h2 {
	margin: .45rem 0 .65rem;
}

.notox-case-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.notox-case-card {
	display: flex;
	min-width: 0;
	min-height: 100%;
	padding: 1.45rem;
	border: 1px solid #d8e4f4;
	border-top: 4px solid #2f69ed;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 38px rgba(11, 31, 69, .07);
	flex-direction: column;
}

.notox-case-card-topline {
	display: flex;
	margin-bottom: .9rem;
	color: #57677f;
	font-size: .72rem;
	font-weight: 700;
	gap: .45rem;
	justify-content: space-between;
	line-height: 1.35;
}

.notox-case-card h3 {
	margin: 0 0 .55rem;
	font-size: clamp(1.14rem, 1.35vw, 1.45rem);
	line-height: 1.25;
}

.notox-case-card h3 a {
	color: #0b1735;
	text-decoration: none;
}

.notox-case-card > p {
	font-size: .94rem;
	line-height: 1.62;
}

.notox-case-card .notox-case-client {
	margin: 0 0 .5rem;
	color: #2f69ed;
	font-weight: 700;
}

.notox-case-card dl {
	margin: auto 0 1rem;
	padding-top: .8rem;
}

.notox-case-card dl div {
	padding: .58rem 0;
	border-top: 1px solid #e5ebf5;
}

.notox-case-card dt {
	color: #68758a;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.notox-case-card dd {
	margin: .15rem 0 0;
	color: #17233e;
	font-size: .86rem;
	font-weight: 600;
	line-height: 1.45;
}

.notox-case-link {
	display: inline-flex;
	color: #195eea;
	font-weight: 700;
	gap: .35rem;
	text-decoration: none;
}

.notox-case-link .icon {
	width: 1.05rem;
}

.notox-case-hero {
	padding: 3.5rem 0 3rem;
	background: linear-gradient(125deg, #061731 0%, #123d77 62%, #2168dd 100%);
	color: #fff;
}

.notox-case-hero .breadcrumbs {
	margin-bottom: 1.4rem;
}

.notox-case-hero h1 {
	max-width: 1050px;
	margin: .45rem 0 1rem;
	color: #fff;
	font-size: clamp(2.35rem, 4.7vw, 4.65rem);
	line-height: 1.03;
}

.notox-case-hero-summary {
	max-width: 830px;
	color: #dce9ff;
	font-size: 1.08rem;
	line-height: 1.7;
}

.notox-case-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 1.5rem;
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 16px;
	background: rgba(255,255,255,.08);
}

.notox-case-facts > div {
	min-width: 0;
	padding: 1rem 1.15rem;
	border-right: 1px solid rgba(255,255,255,.18);
}

.notox-case-facts > div:last-child {
	border-right: 0;
}

.notox-case-facts span,
.notox-case-facts strong {
	display: block;
}

.notox-case-facts span {
	margin-bottom: .3rem;
	color: #91dff4;
	font-size: .69rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.notox-case-facts strong {
	font-size: .88rem;
	line-height: 1.45;
}

.notox-case-disclosure {
	max-width: 920px;
	margin: 1rem 0 0;
	color: #c4d6f0;
	font-size: .8rem;
}

.notox-case-section {
	padding: 3.1rem 0;
}

.notox-case-intro,
.notox-case-delivery {
	background: #fff;
}

.notox-case-split {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
	align-items: start;
	gap: clamp(2rem, 5vw, 5rem);
}

.notox-case-split h2 {
	margin: .35rem 0 .85rem;
}

.notox-case-list-block {
	padding: 1.5rem;
	border-left: 4px solid #2f69ed;
	border-radius: 0 14px 14px 0;
	background: #f4f7fc;
}

.notox-case-list-block h3,
.notox-case-delivery h3 {
	margin-top: 0;
}

.notox-check-list {
	display: grid;
	margin: 0;
	padding: 0;
	gap: .75rem;
	list-style: none;
}

.notox-check-list li {
	display: flex;
	align-items: flex-start;
	color: #465775;
	gap: .65rem;
	line-height: 1.55;
}

.notox-check-list .icon {
	width: 1.1rem;
	min-width: 1.1rem;
	margin-top: .2rem;
	color: #2f69ed;
}

.notox-case-results,
.notox-case-outcome {
	background: linear-gradient(135deg, #061731, #16427f 68%, #233a8f);
	color: #fff;
}

.notox-case-results h2,
.notox-case-outcome h2 {
	color: #fff;
}

.notox-case-metric-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.notox-case-metric-grid article {
	min-width: 0;
	padding: 1.4rem;
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 16px;
	background: rgba(255,255,255,.08);
}

.notox-case-metric-grid p {
	min-height: 2.5em;
	margin: 0 0 .65rem;
	color: #d6e5ff;
	font-size: .88rem;
	font-weight: 700;
}

.notox-case-metric-grid strong,
.notox-case-metric-grid span {
	display: block;
}

.notox-case-metric-grid strong {
	margin-bottom: .3rem;
	color: #7de4ff;
	font-size: clamp(1.75rem, 3vw, 2.8rem);
	line-height: 1;
}

.notox-case-metric-grid span {
	color: #fff;
	font-size: .86rem;
	font-weight: 600;
}

.notox-case-evidence {
	background: #f4f7fc;
}

.notox-case-evidence-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 1rem;
}

.notox-case-evidence-grid:has(figure:only-child) {
	grid-template-columns: minmax(0, 1fr);
}

.notox-case-evidence-grid figure {
	margin: 0;
	padding: .65rem;
	border: 1px solid #d8e4f4;
	border-radius: 16px;
	background: #fff;
}

.notox-case-evidence-grid img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

.notox-case-evidence-grid figcaption {
	padding: .65rem .25rem .1rem;
	color: #5f6f87;
	font-size: .78rem;
}

.notox-case-table-wrap {
	overflow-x: auto;
	border: 1px solid #dbe5f2;
	border-radius: 14px;
}

.notox-case-table-wrap table {
	width: 100%;
	border-collapse: collapse;
}

.notox-case-table-wrap th,
.notox-case-table-wrap td {
	padding: .72rem .85rem;
	border-bottom: 1px solid #e4ebf4;
	text-align: left;
	vertical-align: top;
}

.notox-case-table-wrap tr:last-child th,
.notox-case-table-wrap tr:last-child td {
	border-bottom: 0;
}

.notox-case-table-wrap thead th {
	background: #eff4fb;
	font-size: .72rem;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.notox-case-table-wrap tbody th {
	color: #293852;
	font-size: .88rem;
}

.notox-case-table-wrap td strong,
.notox-case-table-wrap td small {
	display: block;
}

.notox-case-table-wrap td strong {
	color: #195eea;
}

.notox-case-table-wrap td small {
	margin-top: .1rem;
	color: #66758d;
}

.notox-case-outcome-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
	align-items: center;
	gap: 2.5rem;
}

.notox-case-outcome-inner p {
	color: #d5e2f5;
}

.notox-case-outcome-inner ul {
	display: grid;
	margin: 0;
	padding: 0;
	gap: .6rem;
	list-style: none;
}

.notox-case-outcome-inner li {
	padding: .72rem .9rem;
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 10px;
	background: rgba(255,255,255,.07);
	font-weight: 700;
}

.notox-case-source-note {
	margin-top: 1.25rem;
	color: #afc5e6;
	font-size: .78rem;
}

@media (max-width: 1199px) {
	.notox-case-grid,
	.notox-case-metric-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.notox-case-library-heading,
	.notox-case-section-heading {
		margin-bottom: 1.4rem;
	}

	.notox-case-grid,
	.notox-case-metric-grid,
	.notox-case-split,
	.notox-case-evidence-grid,
	.notox-case-outcome-inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.notox-case-card {
		padding: 1.2rem;
	}

	.notox-case-hero {
		padding: 2.4rem 0 2.2rem;
	}

	.notox-case-hero h1 {
		font-size: clamp(2rem, 10vw, 3rem);
	}

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

	.notox-case-facts > div:nth-child(2) {
		border-right: 0;
	}

	.notox-case-facts > div:nth-child(-n+2) {
		border-bottom: 1px solid rgba(255,255,255,.18);
	}

	.notox-case-section {
		padding: 2.25rem 0;
	}

	.notox-case-split {
		gap: 1.5rem;
	}

	.notox-case-metric-grid article {
		padding: 1.15rem;
	}

	.notox-case-metric-grid p {
		min-height: 0;
	}
}

