/**
 * Nexza CTA widget.
 */

.nx-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 34px;
	text-align: center;
}

.nx-cta-mark {
	flex: none;
	color: var(--nx-copper);
	transition: transform 1.2s var(--nx-ease);
}

.nx-cta:hover .nx-cta-mark {
	transform: rotate(60deg);
}

.nx-cta h2 {
	max-width: 16ch;
	margin: 0;
	overflow-wrap: break-word;
}

.nx-cta p {
	max-width: 56ch;
	margin: 0;
	color: var(--nx-muted-dark);
}

/* Centre the eyebrow's line + text as one unit. */
.nx-cta .nx-eyebrow {
	justify-content: center;
}

@media (max-width: 860px) {
	.nx-cta {
		gap: 26px;
	}

	.nx-cta-mark {
		width: 60px;
		height: 60px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nx-cta:hover .nx-cta-mark {
		transform: none;
	}
}
