@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

.wpcursor-blog-ctas {
	--wpc-navy: #10224f;
	--wpc-blue: #3b82f6;
	--wpc-purple: #7a3adf;
	width: 100%;
	margin: 0;
	padding: 0 0 3.5rem;
	background: #fff;
	font-family: Poppins, "Segoe UI", sans-serif;
	box-sizing: border-box;
}

.wpcursor-blog-ctas__wrap {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.15rem;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 1.35rem;
}

.wpcursor-blog-ctas__card {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(120px, 0.9fr);
	align-items: center;
	gap: 0.65rem;
	min-height: 280px;
	padding: 1.45rem 1.35rem 1.45rem 1.55rem;
	border-radius: 1.35rem;
	border: 1px solid #e8eef8;
	box-shadow: 0 12px 28px rgba(28, 40, 80, 0.07);
	overflow: hidden;
	position: relative;
	box-sizing: border-box;
}

.wpcursor-blog-ctas__card--newsletter {
	background: linear-gradient(135deg, #f3f8ff 0%, #e8f2ff 55%, #dcecff 100%);
}

.wpcursor-blog-ctas__card--formation {
	background: linear-gradient(135deg, #f6f0ff 0%, #efe6ff 55%, #e6dbff 100%);
}

.wpcursor-blog-ctas__copy {
	position: relative;
	z-index: 2;
	min-width: 0;
}

.wpcursor-blog-ctas__label {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.wpcursor-blog-ctas__card--newsletter .wpcursor-blog-ctas__label {
	color: var(--wpc-blue);
}

.wpcursor-blog-ctas__card--formation .wpcursor-blog-ctas__label {
	color: var(--wpc-purple);
}

.wpcursor-blog-ctas__title {
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	font-weight: 800;
	line-height: 1.2;
	color: var(--wpc-navy);
}

.wpcursor-blog-ctas__card--formation .wpcursor-blog-ctas__title {
	color: #3b1d6e;
}

.wpcursor-blog-ctas__text {
	margin: 0.55rem 0 1rem;
	max-width: 26rem;
	font-size: 0.9rem;
	line-height: 1.5;
	font-weight: 500;
	color: #4b5568;
}

.wpcursor-blog-ctas__form {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	max-width: 22rem;
}

.wpcursor-blog-ctas__field {
	display: flex;
	align-items: stretch;
	gap: 0.4rem;
	flex-wrap: wrap;
}

.wpcursor-blog-ctas__field input[type="email"] {
	flex: 1 1 10rem;
	min-width: 0;
	height: 2.65rem;
	padding: 0 0.95rem !important;
	border: 1.5px solid #c7d7f2 !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--wpc-navy) !important;
	font: inherit !important;
	font-size: 0.9rem !important;
	font-weight: 500 !important;
	box-shadow: none !important;
	outline: none;
}

.wpcursor-blog-ctas__field input[type="email"]:focus {
	border-color: var(--wpc-blue) !important;
}

.wpcursor-blog-ctas__field input[type="email"]::placeholder {
	color: #94a3b8;
}

.wpcursor-blog-ctas__submit,
button.wpcursor-blog-ctas__submit {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.35rem;
	flex: 0 0 auto;
	height: 2.65rem !important;
	min-height: 2.65rem !important;
	padding: 0 1.1rem !important;
	margin: 0 !important;
	border: 1.5px solid var(--wpc-blue) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--wpc-blue) !important;
	font: inherit !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	cursor: pointer;
	box-shadow: none !important;
	white-space: nowrap;
	transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.wpcursor-blog-ctas__submit svg,
button.wpcursor-blog-ctas__submit svg {
	display: block !important;
	width: 0.95rem !important;
	height: 0.95rem !important;
	stroke: currentColor !important;
	fill: none !important;
}

.wpcursor-blog-ctas__submit:hover {
	background: var(--wpc-blue) !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.wpcursor-blog-ctas__submit:disabled {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

.wpcursor-blog-ctas__privacy {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.4;
	color: #64748b;
	font-weight: 500;
	cursor: pointer;
}

.wpcursor-blog-ctas__privacy input {
	margin-top: 0.15rem;
	flex: 0 0 auto;
	accent-color: var(--wpc-blue);
}

.wpcursor-blog-ctas__privacy a {
	color: var(--wpc-blue);
	text-decoration: underline;
}

.wpcursor-blog-ctas__msg {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.35;
}

.wpcursor-blog-ctas__msg.is-ok {
	color: #059669;
}

.wpcursor-blog-ctas__msg.is-err {
	color: #dc2626;
}

.wpcursor-blog-ctas__msg[hidden] {
	display: none !important;
}

.wpcursor-blog-ctas__btn,
a.wpcursor-blog-ctas__btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.35rem;
	padding: 0.72rem 1.15rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--wpc-purple) !important;
	color: #fff !important;
	font: inherit !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: transform 0.15s ease, background 0.15s ease;
}

.wpcursor-blog-ctas__btn svg {
	width: 0.95rem;
	height: 0.95rem;
}

.wpcursor-blog-ctas__btn:hover {
	background: #6a2fd0 !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.wpcursor-blog-ctas__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	min-height: 160px;
	pointer-events: none;
}

.wpcursor-blog-ctas__visual img {
	display: block;
	width: min(100%, 220px);
	height: auto;
	position: relative;
	z-index: 1;
	opacity: 1 !important;
	mix-blend-mode: normal !important;
	filter: none;
}

.wpcursor-blog-ctas__card--newsletter .wpcursor-blog-ctas__visual img {
	width: min(100%, 195px);
}

.wpcursor-blog-ctas .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 960px) {
	.wpcursor-blog-ctas__wrap {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.wpcursor-blog-ctas__card {
		grid-template-columns: 1fr;
		padding: 1.25rem;
	}

	.wpcursor-blog-ctas__visual {
		order: -1;
		min-height: 140px;
	}

	.wpcursor-blog-ctas__visual img,
	.wpcursor-blog-ctas__card--newsletter .wpcursor-blog-ctas__visual img {
		width: min(170px, 50vw);
	}

	.wpcursor-blog-ctas__submit {
		width: 100%;
	}
}
