/* Newsletter — Insights section */
.nh-newsletter {
	--nh-orange: #F46E2E;
	--nh-grad: linear-gradient(105deg, #f45e33 0%, #f79823 100%);
	--nh-navy: #050748;
	--nh-ease: cubic-bezier(0.22, 1, 0.36, 1);
	position: relative;
	padding: 84px 0 96px;
	margin-top: 0;
	overflow: hidden;
	background:
		radial-gradient(ellipse 50% 60% at 88% 8%, rgba(244, 110, 46, 0.09) 0%, transparent 60%),
		radial-gradient(ellipse 45% 55% at 6% 96%, rgba(5, 7, 72, 0.06) 0%, transparent 60%),
		linear-gradient(180deg, #ffffff 0%, #f4f5fb 100%);
}

.nh-newsletter__glow {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(5, 7, 72, 0.045) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(5, 7, 72, 0.045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 0%, transparent 78%);
	mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 0%, transparent 78%);
	pointer-events: none;
}

.nh-newsletter .container {
	position: relative;
	z-index: 1;
}

/* ---------- Split card ---------- */
.nh-newsletter__inner {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	align-items: stretch;
	border-radius: 32px;
	background: #fff;
	border: 1px solid rgba(5, 7, 72, 0.07);
	box-shadow: 0 34px 80px rgba(5, 7, 72, 0.11);
}

/* Thin brand accent along the top edge */
.nh-newsletter__inner::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	z-index: 2;
	background-image: linear-gradient(90deg, #f45e33 0%, #f79823 55%, #050748 100%);
}

.nh-newsletter__pattern {
	position: absolute;
	z-index: -1;
	left: 0;
	bottom: 0;
	width: 260px;
	height: 200px;
	background-image: radial-gradient(rgba(5, 7, 72, 0.16) 1.3px, transparent 1.3px);
	background-size: 18px 18px;
	-webkit-mask-image: linear-gradient(315deg, #000 0%, transparent 70%);
	mask-image: linear-gradient(315deg, #000 0%, transparent 70%);
	pointer-events: none;
}

.nh-newsletter__ring {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	filter: blur(60px);
	pointer-events: none;
}

.nh-newsletter__ring--1 {
	width: 320px;
	height: 320px;
	top: -140px;
	left: 38%;
	background: rgba(244, 110, 46, 0.16);
}

.nh-newsletter__ring--2 {
	width: 240px;
	height: 240px;
	bottom: -130px;
	left: -60px;
	background: rgba(97, 111, 251, 0.12);
}

/* ---------- Copy side ---------- */
.nh-newsletter__copy {
	position: relative;
	padding: 54px 50px 54px 52px;
	align-self: center;
}

.nh-newsletter__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	padding: 8px 15px;
	border-radius: 999px;
	background: #fff4ec;
	border: 1px solid rgba(244, 110, 46, 0.22);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #f46e2e !important;
	-webkit-text-fill-color: #f46e2e;
}

.nh-newsletter__eyebrow i {
	font-size: 11px;
	color: #f46e2e;
}

.nh-newsletter__copy h3 {
	margin: 0 0 16px !important;
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 800 !important;
	letter-spacing: -0.035em;
	line-height: 1.16;
	color: #050748 !important;
	-webkit-text-fill-color: #050748;
	text-transform: none !important;
}

.nh-newsletter__copy h3 span {
	color: #f46e2e !important;
	-webkit-text-fill-color: #f46e2e;
}

.nh-newsletter__copy > p {
	margin: 0 0 26px;
	font-size: 16.5px;
	line-height: 1.72;
	color: #5c5c7a !important;
	max-width: 480px;
}

.nh-newsletter__tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.nh-newsletter__tags li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 15px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 600;
	color: #050748 !important;
	background: #fff;
	border: 1px solid rgba(5, 7, 72, 0.09);
	box-shadow: 0 4px 14px rgba(5, 7, 72, 0.04);
	transition: border-color 0.3s var(--nh-ease), transform 0.3s var(--nh-ease);
}

.nh-newsletter__tags li:hover {
	transform: translateY(-2px);
	border-color: rgba(244, 110, 46, 0.35);
}

.nh-newsletter__tags li i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background-color: #f46e2e;
	background-image: linear-gradient(105deg, #f45e33 0%, #f79823 100%);
	color: #fff !important;
	-webkit-text-fill-color: #fff;
	font-size: 8px;
}

/* Neutralise theme-wide list bullet pseudo elements */
.nh-newsletter__tags li::before,
.nh-newsletter__tags li::after {
	content: none;
}

/* ---------- Form side ---------- */
.nh-newsletter__panel {
	position: relative;
	padding: 50px 48px 46px;
	border-left: 1px solid rgba(5, 7, 72, 0.08);
	background:
		radial-gradient(ellipse 80% 60% at 100% 0%, rgba(244, 110, 46, 0.12) 0%, transparent 62%),
		linear-gradient(160deg, #fffaf6 0%, #f9f9ff 100%);
}

.nh-newsletter__panel-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: 17px;
	background-color: #f46e2e !important;
	background-image: linear-gradient(105deg, #f45e33 0%, #f79823 100%) !important;
	box-shadow: 0 14px 28px rgba(244, 94, 51, 0.3);
	color: #fff !important;
	-webkit-text-fill-color: #fff;
	font-size: 20px;
}

.nh-newsletter__form-title {
	margin: 0 0 5px;
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-transform: none;
	color: #050748 !important;
}

.nh-newsletter__form-sub {
	margin: 0 0 20px;
	font-size: 14.5px;
	line-height: 1.55;
	color: #6d6d8c !important;
}

.nh-newsletter__note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 16px 0 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: #8a8aa8 !important;
}

.nh-newsletter__note i {
	font-size: 10px;
	color: #f46e2e;
}

.nh-newsletter__form {
	position: relative;
}

.nh-newsletter__form .wpcf7-form {
	position: relative;
	width: 100%;
	margin: 0;
}

.nh-newsletter__form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.nh-newsletter__form input[type="email"] {
	width: 100% !important;
	height: 56px !important;
	padding: 0 18px !important;
	margin: 0 0 12px !important;
	font-size: 15px !important;
	color: #050748 !important;
	background: #fff !important;
	border: 1px solid rgba(5, 7, 72, 0.13) !important;
	border-radius: 14px !important;
	box-shadow: 0 2px 8px rgba(5, 7, 72, 0.03) !important;
	outline: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nh-newsletter__form input[type="email"]:focus {
	border-color: var(--nh-orange) !important;
	box-shadow: 0 0 0 4px rgba(244, 110, 46, 0.14) !important;
}

.nh-newsletter__form input[type="email"]::placeholder {
	color: #9a9ab0;
}

.nh-newsletter__form input[type="submit"],
.nh-newsletter__form button {
	position: static !important;
	transform: none !important;
	width: 100% !important;
	height: 56px !important;
	padding: 0 24px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 14px !important;
	font-size: 15.5px !important;
	font-weight: 700 !important;
	letter-spacing: 0.01em !important;
	line-height: 56px !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	background-color: #f46e2e !important;
	background-image: linear-gradient(105deg, #f45e33 0%, #f79823 100%) !important;
	box-shadow: 0 12px 28px rgba(244, 94, 51, 0.32) !important;
	cursor: pointer;
	transition: transform 0.3s var(--nh-ease), box-shadow 0.3s ease;
}

.nh-newsletter__form input[type="submit"]:hover,
.nh-newsletter__form button:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 18px 36px rgba(244, 94, 51, 0.42) !important;
}

.nh-newsletter__form .wpcf7-spinner {
	position: static !important;
	transform: none !important;
	margin: 10px auto 0 !important;
	display: block;
}

.nh-newsletter__form .wpcf7-response-output {
	margin: 12px 0 0 !important;
	padding: 10px 14px !important;
	border-radius: 10px !important;
	font-size: 13px !important;
	color: #050748 !important;
	background: #fff !important;
}

/* ---------- Dark mode ---------- */
.active-dark .nh-newsletter {
	background: linear-gradient(180deg, #0a0c38 0%, #07092f 100%);
}

.active-dark .nh-newsletter__inner {
	background: #fff;
}

.active-dark .nh-newsletter__copy h3,
.active-dark .nh-newsletter__form-title,
.active-dark .nh-newsletter__tags li,
.active-dark .nh-newsletter__form input[type="email"] {
	color: #050748 !important;
}

.active-dark .nh-newsletter__copy > p,
.active-dark .nh-newsletter__form-sub {
	color: #5c5c7a !important;
}

.active-dark .nh-newsletter__note {
	color: #8a8aa8 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.nh-newsletter {
		padding: 64px 0 72px;
	}

	.nh-newsletter__inner {
		grid-template-columns: 1fr;
		border-radius: 28px;
	}

	.nh-newsletter__copy {
		padding: 42px 36px 34px;
	}

	.nh-newsletter__panel {
		padding: 36px;
		border-left: 0;
		border-top: 1px solid rgba(5, 7, 72, 0.08);
	}

	.nh-newsletter__ring--1 {
		left: auto;
		right: -80px;
	}
}

@media (max-width: 767px) {
	.nh-newsletter {
		padding: 48px 0 56px;
	}

	.nh-newsletter__inner {
		border-radius: 22px;
	}

	.nh-newsletter__copy {
		padding: 32px 22px 26px;
	}

	.nh-newsletter__panel {
		padding: 28px 22px 26px;
	}

	.nh-newsletter__panel-icon {
		width: 46px;
		height: 46px;
		margin-bottom: 14px;
		border-radius: 15px;
		font-size: 18px;
	}

	.nh-newsletter__form-title {
		font-size: 19px;
	}

	.nh-newsletter__tags li {
		font-size: 12.5px;
		padding: 8px 13px;
	}

	.nh-newsletter__pattern {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nh-newsletter__tags li,
	.nh-newsletter__form input[type="submit"],
	.nh-newsletter__form button {
		transition: none !important;
	}
}
