:root {
	--cx-wp-blue: #00479d;
	--cx-wp-blue-dark: #07315f;
	--cx-wp-blue-soft: #eef6ff;
	--cx-wp-text: #10213d;
	--cx-wp-muted: #5f6f86;
	--cx-wp-border: #dbe5f1;
	--cx-wp-bg: #f6f9fc;
}

.cx-whitepaper-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

.cx-whitepaper-archive-hero,
.cx-whitepaper-single-hero {
	border-bottom: 1px solid var(--cx-wp-border);
	padding: 72px 0 56px;
}

.cx-whitepaper-archive-hero h1,
.cx-whitepaper-single-hero h1 {
	color: var(--cx-wp-text);
	font-size: 34px;
	line-height: 1.35;
	margin: 0;
}

.cx-whitepaper-archive-hero p:last-child,
.cx-whitepaper-single-hero p:last-child {
	color: var(--cx-wp-muted);
	font-size: 16px;
	line-height: 1.9;
	margin: 16px 0 0;
	max-width: 760px;
}

.cx-whitepaper-archive-body,
.cx-whitepaper-single-body {
	background: #fff;
	padding: 56px 0 72px;
}

.cx-whitepaper-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.cx-whitepaper-card {
	background: #fff;
	border: 1px solid var(--cx-wp-border);
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}

.cx-whitepaper-card:hover {
	box-shadow: 0 16px 34px rgba(16, 33, 61, .1);
	transform: translateY(-2px);
}

.cx-whitepaper-card__image {
	background: var(--cx-wp-bg);
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.cx-whitepaper-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cx-whitepaper-card__body {
	padding: 20px;
}

.cx-whitepaper-card h2 {
	font-size: 18px;
	line-height: 1.55;
	margin: 0 0 12px;
}

.cx-whitepaper-card h2 a {
	color: var(--cx-wp-text);
	text-decoration: none;
}

.cx-whitepaper-card p {
	color: var(--cx-wp-muted);
	font-size: 14px;
	line-height: 1.8;
	margin: 0 0 18px;
}

.cx-whitepaper-button,
.cx-whitepaper-button--small,
.cx-whitepaper-card .cx-whitepaper-button {
	align-items: center;
	background: var(--cx-wp-blue);
	border-radius: 999px;
	box-sizing: border-box;
	color: #fff;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	line-height: 1.4;
	min-height: 48px;
	padding: 0px 22px;
	text-decoration: none;
}

.cx-whitepaper-button--small {
	font-size: 14px;
	min-height: 40px;
	padding: 9px 18px;
}

.cx-whitepaper-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 48px;
	align-items: start;
}

.cx-whitepaper-cover {
	background: var(--cx-wp-bg);
	border: 1px solid var(--cx-wp-border);
	margin-bottom: 36px;
}

.cx-whitepaper-cover img {
	display: block;
	width: 100%;
	height: auto;
}

.cx-whitepaper-section {
	border-top: 1px solid var(--cx-wp-border);
	padding: 34px 0;
}

.cx-whitepaper-section h2 {
	color: var(--cx-wp-text);
	font-size: 24px;
	line-height: 1.45;
	margin: 0 0 18px;
}

.cx-whitepaper-text {
	color: var(--cx-wp-text);
	font-size: 16px;
	line-height: 2;
}

.cx-whitepaper-checklist,
.cx-whitepaper-chapters {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
}

.cx-whitepaper-checklist li {
	background: var(--cx-wp-blue-soft);
	border-left: 4px solid var(--cx-wp-blue);
	color: var(--cx-wp-text);
	line-height: 1.8;
	list-style: none;
	padding: 13px 16px;
}

.cx-whitepaper-chapters {
	counter-reset: chapter;
}

.cx-whitepaper-chapters li {
	background: #fff;
	border: 1px solid var(--cx-wp-border);
	color: var(--cx-wp-text);
	line-height: 1.7;
	list-style: none;
	padding: 14px 16px 14px 54px;
	position: relative;
}

.cx-whitepaper-chapters li::before {
	background: var(--cx-wp-blue);
	border-radius: 50%;
	color: #fff;
	content: counter(chapter);
	counter-increment: chapter;
	display: grid;
	font-size: 13px;
	font-weight: 700;
	height: 28px;
	left: 16px;
	place-items: center;
	position: absolute;
	top: 14px;
	width: 28px;
}

.cx-whitepaper-samples {
	display: grid;
	gap: 20px;
}

.cx-whitepaper-samples img {
	border: 1px solid var(--cx-wp-border);
	display: block;
	width: 100%;
	height: auto;
}

.cx-whitepaper-form {
	position: sticky;
	top: 156px;
}

.cx-whitepaper-form__inner {
	background: #fff;
	border: 2px solid var(--cx-wp-blue);
	border-radius: 8px;
	box-shadow: 0 18px 40px rgba(16, 33, 61, .1);
	padding: 15px;
}

.cx-whitepaper-form h2 {
	color: var(--cx-wp-text);
	font-size: 20px;
	line-height: 1.45;
	margin: 0 0 10px;
}

.cx-whitepaper-form p {
	color: var(--cx-wp-muted);
	line-height: 1.8;
	margin: 0px 0 15px;
}

.wpcf7.js {
	margin: 0 !important;
}

.wpcf7 form {
	margin: 1em 1em 0;
}

.cx-wp-cf7-fields {
	display: grid;
	gap: 0;
}

.cx-whitepaper-form.is-complete .cx-wp-cf7-fields {
	display: none;
}

.cx-whitepaper-form.is-complete .wpcf7-response-output {
	display: none;
}

.cx-wp-cf7-fields label {
	color: var(--cx-wp-text);
	font-size: 14px;
	font-weight: 700;
	gap: 7px;
}

.cx-wp-required {
	color: #d93636;
	font-size: 12px;
	margin-left: 6px;
}

.cx-wp-cf7-fields input[type="text"],
.cx-wp-cf7-fields input[type="email"],
.cx-wp-cf7-fields input[type="tel"] {
	border: 1px solid var(--cx-wp-border);
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 16px;
	min-height: 46px;
	padding: 10px 12px;
	width: 100%;
}

.cx-wp-privacy {
	color: var(--cx-wp-muted);
	font-size: 13px;
	line-height: 1.7;
}

.cx-wp-privacy a {
	color: var(--cx-wp-blue);
	font-weight: 700;
}

.cx-whitepaper-form p.cx-wp-submit-wrap {
	margin: 0;
}

.cx-wp-cf7-fields input[type="submit"] {
	background: var(--cx-wp-blue);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
	margin: 0 auto;
	min-height: 50px;
	padding: 12px 20px;
	width: 100%;
}

.cx-whitepaper-thanks {
	background: var(--cx-wp-blue-soft);
	border-radius: 8px;
	margin-top: 18px;
	padding: 18px;
}

.cx-whitepaper-thanks .cx-whitepaper-note {
	font-size: 12px;
	margin: 14px 0 0;
}

.cx-whitepaper-fixedbar {
	background: #fff;
	border: 1px solid var(--cx-wp-border);
	border-radius: 8px;
	box-shadow: 0 16px 36px rgba(16, 33, 61, .14);
	padding: 14px;
	position: fixed;
	right: max(16px, calc((100vw - 1180px) / 2 - 24px));
	top: 124px;
	width: 250px;
	z-index: 50;
}

.cx-whitepaper-fixedbar__image {
	background: var(--cx-wp-bg);
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.cx-whitepaper-fixedbar__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.cx-whitepaper-fixedbar__eyebrow {
	color: var(--cx-wp-blue);
	font-size: 12px;
	font-weight: 700;
	margin: 12px 0 6px;
}

.cx-whitepaper-fixedbar__title {
	color: var(--cx-wp-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 8px;
}

.cx-whitepaper-fixedbar__lead {
	color: var(--cx-wp-muted);
	font-size: 12px;
	line-height: 1.6;
	margin: 0 0 12px;
}

.cx-whitepaper-fixedbar__button {
	background: var(--cx-wp-blue);
	border-radius: 999px;
	color: #fff;
	display: block;
	font-size: 13px;
	font-weight: 700;
	padding: 10px 12px;
	text-align: center;
	text-decoration: none;
}

.cx-whitepaper-popup {
	background: rgba(7, 49, 95, .54);
	inset: 0;
	position: fixed;
	z-index: 9999;
}

.cx-whitepaper-popup.is-visible {
	display: grid;
	place-items: center;
}

.cx-whitepaper-popup__panel {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	max-width: 720px;
	overflow: hidden;
	position: relative;
	width: calc(100vw - 40px);
}

.cx-whitepaper-popup__close {
	background: #fff;
	border: 1px solid var(--cx-wp-border);
	border-radius: 50%;
	color: var(--cx-wp-text);
	cursor: pointer;
	font-size: 22px;
	height: 38px;
	line-height: 1;
	position: absolute;
	right: 12px;
	top: 12px;
	width: 38px;
}

.cx-whitepaper-popup__image {
	background: var(--cx-wp-bg);
	display: block;
}

.cx-whitepaper-popup__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.cx-whitepaper-popup__body {
	padding: 34px 34px 30px;
}

.cx-whitepaper-popup__eyebrow {
	color: var(--cx-wp-blue);
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 8px;
}

.cx-whitepaper-popup__title {
	color: var(--cx-wp-text);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.45;
	margin: 0 0 12px;
	padding-right: 34px;
}

.cx-whitepaper-popup__text {
	color: var(--cx-wp-muted);
	line-height: 1.8;
	margin: 0 0 18px;
}

.cx-whitepaper-popup__button {
	background: var(--cx-wp-blue);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-weight: 700;
	min-height: 46px;
	padding: 12px 22px;
	text-decoration: none;
}

@media (max-width: 1320px) {
	.cx-whitepaper-fixedbar {
		display: none;
	}
}

@media (max-width: 900px) {
	.cx-whitepaper-archive-hero,
	.cx-whitepaper-single-hero {
		padding: 48px 0 40px;
	}

	.cx-whitepaper-archive-hero h1,
	.cx-whitepaper-single-hero h1 {
		font-size: 28px;
	}

	.cx-whitepaper-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.cx-whitepaper-layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.cx-whitepaper-form {
		position: static;
	}
}

@media (max-width: 640px) {
	.cx-whitepaper-container {
		padding: 0 16px;
	}

	.cx-whitepaper-archive-body,
	.cx-whitepaper-single-body {
		padding: 36px 0 52px;
	}

	.cx-whitepaper-grid {
		gap: 12px;
	}

	.cx-whitepaper-card__body {
		padding: 14px;
	}

	.cx-whitepaper-card h2 {
		font-size: 15px;
	}

	.cx-whitepaper-card p {
		font-size: 12px;
	}

	.cx-whitepaper-button--small {
		font-size: 12px;
		min-height: 36px;
		padding: 8px 12px;
		width: 100%;
	}

	.cx-whitepaper-section h2 {
		font-size: 21px;
	}

	.cx-whitepaper-popup__panel {
		grid-template-columns: 1fr;
		max-height: calc(100vh - 32px);
		overflow-y: auto;
	}

	.cx-whitepaper-popup__image {
		aspect-ratio: 16 / 9;
	}

	.cx-whitepaper-popup__body {
		padding: 24px 20px;
	}
}
