.pde-main {
	box-sizing: border-box;
	width: 100%;
}

.pde-main *,
.pde-main *::before,
.pde-main *::after {
	box-sizing: inherit;
}

.pde-tool {
	width: min(100% - 2rem, 80rem);
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 4rem) 0;
}

.pde-tool__header {
	margin-bottom: 1.75rem;
}

.pde-tool__title {
	margin: 0;
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.1;
}

.single-pd_eina .pde-tool__description {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
	box-sizing: border-box;
	font-size: 1.125rem;
	line-height: 1.65;
	color: inherit;
	opacity: 0.82;
}

.pde-tool__description > :last-child,
.pde-lock__message > :last-child {
	margin-bottom: 0;
}

.pde-access-badge {
	display: inline-flex;
	align-items: center;
	min-height: 2rem;
	margin-top: 1rem;
	padding: 0.25rem 0.75rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
}

.pde-access-badge--premium {
	border-color: #e7c56d;
	background: #fff7da;
	color: #6f4e00;
}

.pde-lock__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.25rem 0;
}

.pde-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.65rem 1rem;
	border: 2px solid #1f5f99;
	border-radius: 0.4rem;
	background: #1f5f99;
	color: #fff;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.pde-button:hover {
	border-color: #174975;
	background: #174975;
	color: #fff;
}

.pde-button--secondary {
	background: transparent;
	color: #1f5f99;
}

.pde-button--secondary:hover {
	color: #fff;
}

.pde-button:focus-visible {
	outline: 3px solid #f1b82d;
	outline-offset: 3px;
}

.pde-embed {
	overflow: hidden;
	width: 100%;
	border: 1px solid rgba(20, 30, 45, 0.18);
	border-radius: 0.75rem;
	background: #fff;
	box-shadow: 0 1rem 2.5rem rgba(20, 30, 45, 0.1);
}

.pde-iframe {
	display: block;
	width: 100%;
	height: clamp(44rem, calc(100vh - 10rem), 56rem);
	min-height: 70vh;
	border: 0;
	background: #fff;
}

.pde-notice,
.pde-lock {
	padding: clamp(1.25rem, 4vw, 2rem);
	border-radius: 0.75rem;
}

.pde-notice--warning {
	border: 1px solid #d9ae44;
	background: #fff9e7;
	color: #5c4308;
}

.pde-lock {
	border: 1px solid #d7dce2;
	background: #f7f8fa;
	text-align: center;
}

.pde-lock__icon {
	display: block;
	margin-bottom: 0.75rem;
	font-size: 2.25rem;
	line-height: 1;
}

.pde-lock__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 4vw, 2rem);
}

.pde-lock__message {
	max-width: 42rem;
	margin: 0 auto;
}

.pde-lock__actions {
	justify-content: center;
	margin-bottom: 0;
}

.single-pd_eina .pde-tool-content {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
	margin-top: clamp(3rem, 5vw, 4rem);
	box-sizing: border-box;
	overflow-wrap: anywhere;
	font-size: 1.0625rem;
	line-height: 1.7;
}

.single-pd_eina .pde-main .pde-tool__description > *,
.single-pd_eina .pde-main .entry-content,
.single-pd_eina .pde-main .entry-content > h2,
.single-pd_eina .pde-main .entry-content > h3,
.single-pd_eina .pde-main .entry-content > p,
.single-pd_eina .pde-main .entry-content > ul,
.single-pd_eina .pde-main .entry-content > ol,
.single-pd_eina .pde-main .entry-content > blockquote,
.single-pd_eina .pde-main .entry-content > .wp-block-group,
.single-pd_eina .pde-main .pde-tool-content > h2,
.single-pd_eina .pde-main .pde-tool-content > h3,
.single-pd_eina .pde-main .pde-tool-content > p,
.single-pd_eina .pde-main .pde-tool-content > ul,
.single-pd_eina .pde-main .pde-tool-content > ol,
.single-pd_eina .pde-main .pde-tool-content > blockquote,
.single-pd_eina .pde-main .pde-tool-content > .wp-block-group,
.single-pd_eina .pde-main .pde-tool-content .wp-block-group > h2,
.single-pd_eina .pde-main .pde-tool-content .wp-block-group > h3,
.single-pd_eina .pde-main .pde-tool-content .wp-block-group > p,
.single-pd_eina .pde-main .pde-tool-content .wp-block-group > ul,
.single-pd_eina .pde-main .pde-tool-content .wp-block-group > ol,
.single-pd_eina .pde-main .pde-tool-content .wp-block-paragraph {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
	box-sizing: border-box;
}

.pde-tool-content > :first-child {
	margin-top: 0;
}

.pde-tool-content > :last-child {
	margin-bottom: 0;
}

.pde-tool-content h2,
.pde-tool-content h3 {
	margin-top: 1.75em;
	margin-bottom: 0.6em;
	line-height: 1.25;
}

.pde-tool-content p,
.pde-tool-content ul,
.pde-tool-content ol {
	line-height: 1.7;
}

.pde-tool-content a {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.pde-tool-content a:focus-visible {
	outline: 3px solid #f1b82d;
	outline-offset: 3px;
}

@media (max-width: 48rem) {
	.pde-tool {
		width: min(100% - 1.25rem, 80rem);
	}

	.pde-iframe {
		height: 75vh;
		min-height: 32rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pde-button {
		scroll-behavior: auto;
	}
}
