/* One global content rail: the page and footer share the theme container. */
.tde-generator__switcher,
.tde-generator__header--with-visual,
.tde-generator__workspace,
.tde-generator__content,
.tde-generator__landing {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.tde-generator__header--with-visual {
	margin-block: 0 42px;
}

.tde-generator__landing {
	margin-block: 72px 0;
}

/* The layout already has the outer .tde-main spacing before the footer. */
.tde-generator {
	padding-bottom: 0;
}

/* WordPress wraps the CTA link in a paragraph: make it a deliberate action slot. */
.tde-tu-landing__final {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 32px;
	padding: 36px 48px;
}

.tde-tu-landing__final > p:last-child {
	display: flex;
	align-items: center;
	margin: 0;
}

.tde-tu-landing__final > p:last-child br {
	display: none;
}

.tde-tu-landing__final > p:last-child .tde-button {
	margin: 0;
}

@media (max-width: 600px) {
	.tde-generator__landing {
		margin-top: 48px;
	}

	.tde-tu-landing__final {
		display: grid;
		grid-template-columns: 1fr;
		padding: 29px 23px;
	}

	.tde-tu-landing__final > p:last-child,
	.tde-tu-landing__final > p:last-child .tde-button {
		width: 100%;
	}
}
