/* Whitepaper card */
.dtc-wp-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.dtc-wp-card__body {
	flex: 1;
}

.dtc-wp-card__title {
	margin: 0 0 12px;
	font-size: 1.1em;
	line-height: 1.4;
}

.dtc-wp-card__abstract {
	margin: 0 0 12px;
	font-size: 0.9em;
	line-height: 1.6;
	color: inherit;
	opacity: 0.85;
}

.dtc-wp-card__size {
	display: inline-block;
	margin-bottom: 16px;
	font-size: 0.8em;
	opacity: 0.65;
}

.dtc-wp-card__footer {
	margin-top: auto;
}

.dtc-wp-card .dtc-wp-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0 20px;
	height: 44px;
	background-color: transparent;
	background-image: linear-gradient(135deg, rgba(64, 148, 209, 0.35) 0%, rgba(37, 37, 37, 0.25) 100%);
	box-shadow: 0 0 60px 0 rgba(64, 148, 209, 0.55);
	border: 1px solid #4094D1;
	border-radius: 4px;
	font-family: "Instrument Sans", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
	line-height: 1;
	color: #ffffff;
	fill: #ffffff;
	cursor: pointer;
	transition: background-color 0.2s, background-image 0.2s;
}

.dtc-wp-card .dtc-wp-cta:hover,
.dtc-wp-card .dtc-wp-cta:focus {
	background-color: #4094D1;
	background-image: none;
	color: #ffffff;
}

.dtc-wp-card .dtc-wp-cta__icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.dtc-wp-card .dtc-wp-cta--unavailable {
	opacity: 0.5;
	cursor: default;
}

/* Modal */
.dtc-wp-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	margin: auto;
	padding: 0;
	width: min(600px, calc(100vw - 40px));
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	border: 1px solid rgba(64, 148, 209, 0.22);
	border-radius: 18px;
	box-shadow:
		0 24px 60px -20px rgba(0, 0, 0, 0.65),
		inset 0 0 0 1px rgba(255, 255, 255, 0.03),
		0 0 70px -30px rgba(64, 148, 209, 0.55);
	/* Deep-navy glass matching the branded login card, plus the site's
	   top accent bar as a clipped background layer. */
	background:
		linear-gradient(90deg, transparent, rgba(64, 148, 209, 0.9) 30%, rgba(110, 193, 228, 0.9) 50%, rgba(64, 148, 209, 0.9) 70%, transparent) top center / 100% 2px no-repeat,
		linear-gradient(180deg, rgba(23, 49, 96, 0.62), rgba(9, 22, 47, 0.80));
	background-attachment: local, local;
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	color: #ffffff;
	font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.dtc-wp-modal::backdrop {
	background: rgba(4, 12, 28, 0.78);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.dtc-wp-modal__inner {
	padding: 48px;
}

/* Intentional tactical close button (!important beats the Elementor global
   kit's button styling, which otherwise turns this into a filled square). */
.dtc-wp-modal__close {
	position: absolute;
	top: 18px;
	right: 18px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0 !important;
	font-size: 22px;
	line-height: 1;
	color: #9FB2CC !important;
	background: rgba(6, 17, 38, 0.55) !important;
	border: 1px solid rgba(64, 148, 209, 0.28) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	cursor: pointer;
	opacity: 1;
	transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.dtc-wp-modal__close:hover {
	color: #ffffff !important;
	border-color: #4094D1 !important;
	background: rgba(9, 24, 52, 0.9) !important;
	box-shadow: 0 0 20px -4px rgba(64, 148, 209, 0.6) !important;
}

.dtc-wp-modal__close:focus-visible {
	outline: none;
	border-color: #4094D1 !important;
	box-shadow: 0 0 0 3px rgba(64, 148, 209, 0.25) !important;
}

.dtc-wp-modal__heading {
	margin: 0 0 8px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 700 !important;
	letter-spacing: 0.005em;
	line-height: 1.06 !important;
	color: #ffffff;
}

.dtc-wp-modal__subheading {
	margin: 0 0 26px;
	color: #9FB2CC;
	font-size: 0.95em;
}

/* Download confirmation */
.dtc-wp-download-wrap {
	text-align: center;
	padding: 20px 0;
}

.dtc-wp-download-wrap__message {
	margin: 0 0 20px;
	font-size: 1.05em;
	color: #ffffff;
}

.dtc-wp-download-link {
	text-decoration: none;
}
