
html[data-ec-wall] .article__body .wp-block-post-content {
	max-height: 55vh;
	overflow: hidden;
	position: relative;
}

html[data-ec-wall] .article__body .wp-block-post-content::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 220px;
	background: linear-gradient(to bottom, rgba(253, 252, 249, 0), var(--paper) 78%);
	pointer-events: none;
}

html[data-ec-wall="open"],
html[data-ec-wall="open"] body {
	overflow: hidden;
}

.ec-wall {
	position: relative;
	z-index: 5;
	max-width: 720px;
	margin: 0 auto var(--s-9);
	padding: var(--s-7) var(--s-6);
	background: var(--paper);
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	text-align: center;
	animation: ec-wall-rise var(--t-medium) var(--ease-standard) both;
}

@keyframes ec-wall-rise {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: none; }
}

.ec-wall .ec-wall__eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--smoke);
	margin: 0 0 var(--s-3);
}

.ec-wall .ec-wall__title {
	font-family: var(--font-serif);
	font-weight: 500;
	font-size: clamp(24px, 3.2vw, 32px);
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--ink);
	text-wrap: balance;
	margin: 0;
}

.ec-wall .ec-wall__title:focus,
.ec-wall .ec-wall__title:focus-visible {
	outline: none;
}

.ec-wall__title em {
	font-style: italic;
	font-weight: 400;  
}

.ec-wall .ec-wall__line {
	font-family: var(--font-ui);
	font-weight: 300;
	font-size: 18.5px;
	line-height: 1.7;
	color: var(--ink);
	max-width: 46ch;
	margin: var(--s-4) auto var(--s-5);
}

.ec-wall .ec-wall__cta {
	display: inline-block;
	font-family: var(--font-ui);
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 1;
	color: var(--paper);
	background: var(--ink);
	border: 1px solid var(--ink);
	border-radius: 0;
	padding: 16px 32px;
	min-height: 44px;
	cursor: pointer;
	transition: background var(--t-small) var(--ease-standard), color var(--t-small) var(--ease-standard);
}

.ec-wall .ec-wall__cta:hover {
	background: var(--paper);
	color: var(--ink);
}

.ec-wall .ec-wall__alt {
	font-family: var(--font-ui);
	font-weight: 400;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--smoke);
	margin: var(--s-4) auto 0;
}

.ec-wall .ec-wall__login {
	font: inherit;
	color: var(--smoke);
	background: none;
	border: none;
	border-radius: 0;
	padding: 0;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color var(--t-small) var(--ease-standard);
}

.ec-wall .ec-wall__login:hover {
	color: var(--ink);
}

.ec-wall .ec-wall__cta:focus-visible,
.ec-wall .ec-wall__login:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}

@media (max-width: 719px) {
	.ec-wall {
		margin: calc(-1 * var(--s-5)) auto var(--s-8);
		padding: var(--s-6) var(--s-4);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ec-wall {
		animation: none;
	}
	.ec-wall__cta,
	.ec-wall__login {
		transition: none;
	}
}
