.wm-whitepaper-reading {
	--paper-ink: #1c2b39;
	--paper-muted: #475a68;
	--paper-line: #d6e0e5;
	--paper-red: #b91e2c;
	color: var(--paper-ink);
	background: #fff;
}

.wm-whitepaper-reading main.wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 84rem;
	margin-inline: auto;
	padding: clamp(1rem, 2vw, 2rem) clamp(1.125rem, 4vw, 3.75rem) clamp(3rem, 6vw, 5.5rem);
}

.wm-whitepaper-reading .crumbs,
.wm-whitepaper-reading .wm-paper-back {
	margin: 0 0 1.35rem;
	color: var(--paper-muted);
	font-size: .85rem;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.wm-whitepaper-reading .article {
	margin: 0;
	max-width: none;
}

.wm-whitepaper-reading .wm-paper-mast {
	display: grid;
	align-items: center;
	gap: 1.5rem clamp(1.5rem, 4vw, 4.5rem);
	margin: 0 0 clamp(2rem, 4vw, 3.4rem);
	padding-block: clamp(1.4rem, 3vw, 2.75rem);
	border-block: 1px solid var(--paper-line);
}

.wm-whitepaper-reading .wm-paper-intro {
	min-width: 0;
	max-width: 54rem;
}

.wm-whitepaper-reading .eyebrow {
	display: block;
	margin: 0 0 1rem;
	color: var(--paper-red);
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .055em;
}

.wm-whitepaper-reading .article h1 {
	margin: 0;
	color: var(--paper-ink);
	font-size: clamp(1.65rem, 2.8vw, 2.85rem);
	font-weight: 750;
	line-height: 1.18;
	letter-spacing: -.025em;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.wm-whitepaper-reading .article .lead {
	margin: 1rem 0 0;
	color: var(--paper-muted);
	font-size: clamp(1rem, 1.3vw, 1.16rem);
	line-height: 1.65;
}

.wm-whitepaper-reading .lead p { margin: 0; }

.wm-whitepaper-reading .wm-paper-cover {
	box-sizing: border-box;
	display: grid;
	place-items: center;
	width: 100%;
	margin: 0;
}

.wm-whitepaper-reading .wm-paper-cover img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 16rem;
	object-fit: contain;
}

.wm-whitepaper-reading .article > :not(.wm-paper-mast) {
	box-sizing: border-box;
	max-width: min(100%, 47rem);
	margin-inline: auto;
}

.wm-whitepaper-reading .article,
.wm-whitepaper-reading .wm-paper-prose {
	font-size: clamp(1rem, 1.12vw, 1.08rem);
	line-height: 1.76;
	overflow-wrap: break-word;
}

.wm-whitepaper-reading .article > p,
.wm-whitepaper-reading .wm-paper-prose > :where(p, ul, ol, figure, table, pre, blockquote) {
	margin-block: 0 1.15em;
}

.wm-whitepaper-reading .article h2,
.wm-whitepaper-reading .article h3 {
	margin-block: 1.65em .55em;
	color: var(--paper-ink);
	font-size: clamp(1.32rem, 1.7vw, 1.7rem);
	line-height: 1.3;
	text-wrap: balance;
	scroll-margin-top: 5rem;
}

.wm-whitepaper-reading .article h3 { font-size: 1.18rem; }
.wm-whitepaper-reading .wm-paper-prose > :first-child { margin-block-start: 0; }
.wm-whitepaper-reading .article :where(ul, ol) { padding-inline-start: 1.45em; }
.wm-whitepaper-reading .article li + li { margin-block-start: .35em; }

.wm-whitepaper-reading .wm-paper-prose :where(img, video),
.wm-whitepaper-reading .article > figure img {
	max-width: 100%;
	height: auto;
}

.wm-whitepaper-reading .article :where(figcaption, .wp-element-caption) {
	margin-block-start: .5em;
	color: var(--paper-muted);
	font-size: .85em;
	line-height: 1.55;
}

.wm-whitepaper-reading .article :where(pre, .wp-block-table) { overflow-x: auto; }
.wm-whitepaper-reading .article blockquote {
	padding-inline-start: 1em;
	border-inline-start: 3px solid var(--paper-red);
}

.wm-whitepaper-reading a { text-underline-offset: .18em; }
.wm-whitepaper-reading a:focus-visible { outline: 2px solid var(--paper-red); outline-offset: 3px; }
.wm-whitepaper-reading .article .indmore {
	margin-top: 2rem;
	padding-top: 1.15rem;
	border-top: 1px solid var(--paper-line);
	font-size: .95rem;
}

@media (min-width: 50rem) {
	.wm-whitepaper-reading .wm-paper-mast:has(.wm-paper-cover) {
		grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
	}
}

@media (max-width: 49.99rem) {
	.wm-whitepaper-reading .wm-paper-cover img { max-height: clamp(11rem, 60vw, 15rem); }
}
