/* ==========================================================
   NAPONTA JOBBAN
   Homepage Newsletter
   ========================================================== */

.nj-newsletter {
	position: relative;

	width: min(1280px, calc(100% - 40px));
	margin: 96px auto;

	overflow: hidden;

	background:
		linear-gradient(
			135deg,
			#144637 0%,
			#1E5545 52%,
			#2E6655 100%
		);

	border-radius: 28px;

	box-shadow:
		0 22px 60px rgba(20, 70, 55, .16);

	color: #FAF8F3;

	isolation: isolate;
}


/* ==========================================================
   Ambient shapes
   ========================================================== */

.nj-newsletter__ambient {
	position: absolute;

	z-index: -1;

	border-radius: 50%;

	pointer-events: none;
}


.nj-newsletter__ambient--one {
	top: -180px;
	right: -100px;

	width: 430px;
	height: 430px;

	background:
		rgba(127, 167, 139, .13);
}


.nj-newsletter__ambient--two {
	left: -140px;
	bottom: -220px;

	width: 390px;
	height: 390px;

	background:
		rgba(200, 155, 60, .075);
}


/* ==========================================================
   Layout
   ========================================================== */

.nj-newsletter__inner {
	display: grid;

	grid-template-columns:
		minmax(0, 1.05fr)
		minmax(420px, .95fr);

	gap: 78px;

	align-items: center;

	padding:
		68px
		72px;
}


/* ==========================================================
   Left content
   ========================================================== */

.nj-newsletter__content {
	max-width: 590px;
}


.nj-newsletter__eyebrow {
	margin: 0 0 17px;

	color: #E3B64E;

	font-family: "Manrope", sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;

	letter-spacing: .11em;
	text-transform: uppercase;
}


.nj-newsletter__content h2 {
	margin: 0 0 22px;

	color: #FAF8F3;

	font-family:
		"Libre Caslon Text",
		Georgia,
		serif;

	font-size:
		clamp(
			44px,
			4vw,
			60px
		);

	font-weight: 400;
	line-height: 1.03;

	letter-spacing: -.03em;

	text-wrap: balance;
}


.nj-newsletter__lead {
	max-width: 560px;

	margin: 0;

	color:
		rgba(250, 248, 243, .72);

	font-family: "Manrope", sans-serif;
	font-size: 15px;
	line-height: 1.7;
}


/* ==========================================================
   Benefits
   ========================================================== */

.nj-newsletter__points {
	display: flex;
	flex-wrap: wrap;

	gap:
		12px
		22px;

	margin-top: 32px;
}


.nj-newsletter__point {
	display: inline-flex;
	align-items: center;

	gap: 8px;

	color:
		rgba(250, 248, 243, .80);

	font-family: "Manrope", sans-serif;
	font-size: 12px;
	font-weight: 600;
}


.nj-newsletter__point-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 27px;
	height: 27px;

	background:
		rgba(250, 248, 243, .08);

	border:
		1px solid
		rgba(250, 248, 243, .13);

	border-radius: 50%;

	color: #E3B64E;

	font-size: 9px;
	font-weight: 700;
}


/* ==========================================================
   Form card
   ========================================================== */

.nj-newsletter__form-card {
	position: relative;

	padding:
		34px
		34px
		30px;

	background:
		rgba(250, 248, 243, .94);

	border:
		1px solid
		rgba(255, 255, 255, .30);

	border-radius: 20px;

	box-shadow:
		0 20px 45px
		rgba(0, 0, 0, .10);

	-webkit-backdrop-filter:
		blur(14px);

	backdrop-filter:
		blur(14px);

	color: #2B2B2B;
}


/* Amber detail */
.nj-newsletter__form-card::before {
	content: "";

	position: absolute;

	top: 0;
	left: 34px;

	width: 48px;
	height: 3px;

	background: #C89B3C;

	border-radius:
		0
		0
		999px
		999px;
}


/* ==========================================================
   Form heading
   ========================================================== */

.nj-newsletter__form-label {
	display: inline-block;

	margin-bottom: 11px;

	color: #C89B3C;

	font-family: "Manrope", sans-serif;
	font-size: 10px;
	font-weight: 700;

	letter-spacing: .09em;
	text-transform: uppercase;
}


.nj-newsletter__form-head h3 {
	margin: 0 0 10px;

	color: #144637;

	font-family:
		"Libre Caslon Text",
		Georgia,
		serif;

	font-size: 30px;
	font-weight: 400;
	line-height: 1.12;
}


.nj-newsletter__form-head p {
	max-width: 440px;

	margin: 0 0 24px;

	color:
		rgba(43, 43, 43, .62);

	font-family: "Manrope", sans-serif;
	font-size: 13px;
	line-height: 1.6;
}


/* ==========================================================
   Field
   ========================================================== */

.nj-newsletter__field-label {
	display: block;

	margin-bottom: 7px;

	color:
		rgba(43, 43, 43, .68);

	font-family: "Manrope", sans-serif;
	font-size: 11px;
	font-weight: 700;
}


.nj-newsletter__field-row {
	display: grid;

	grid-template-columns:
		minmax(0, 1fr)
		auto;

	gap: 9px;
}


.nj-newsletter__input {
	width: 100%;
	min-width: 0;
	height: 50px;

	padding:
		0
		15px;

	background: #fff;

	color: #2B2B2B;

	border:
		1px solid
		rgba(46, 94, 78, .16);

	border-radius: 11px;

	outline: none;

	font-family: "Manrope", sans-serif;
	font-size: 13px;

	transition:
		border-color 180ms ease,
		box-shadow 180ms ease;
}


.nj-newsletter__input::placeholder {
	color:
		rgba(43, 43, 43, .35);
}


.nj-newsletter__input:focus {
	border-color:
		rgba(46, 94, 78, .55);

	box-shadow:
		0 0 0 3px
		rgba(46, 94, 78, .09);
}


/* ==========================================================
   Button
   ========================================================== */

button.nj-newsletter__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	gap: 9px;

	height: 50px;

	margin: 0;

	padding:
		0
		20px;

	background:
		#C89B3C !important;

	color:
		#144637 !important;

	border:
		0 !important;

	border-radius:
		11px !important;

	box-shadow:
		0 10px 24px
		rgba(156, 113, 24, .17) !important;

	font-family: "Manrope", sans-serif;
	font-size: 12px;
	font-weight: 700;

	white-space: nowrap;

	cursor: pointer;

	transform: none !important;

	transition:
		background 180ms ease,
		transform 180ms ease,
		box-shadow 180ms ease;
}


button.nj-newsletter__button:hover {
	background:
		#D3A63D !important;

	transform:
		translateY(-1px) !important;

	box-shadow:
		0 13px 28px
		rgba(156, 113, 24, .22) !important;
}


/* ==========================================================
   Consent
   ========================================================== */

.nj-newsletter__consent {
	display: grid;

	grid-template-columns:
		17px
		minmax(0, 1fr);

	gap: 9px;

	align-items: start;

	margin-top: 15px;

	cursor: pointer;
}


.nj-newsletter__consent input {
	width: 15px;
	height: 15px;

	margin: 2px 0 0;

	accent-color: #2E5E4E;
}


.nj-newsletter__consent span {
	color:
		rgba(43, 43, 43, .55);

	font-family: "Manrope", sans-serif;
	font-size: 10px;
	line-height: 1.5;
}


.nj-newsletter__consent a {
	color: #2E5E4E;

	text-decoration-color:
		rgba(200, 155, 60, .55);

	text-underline-offset: 2px;
}


/* ==========================================================
   Privacy note
   ========================================================== */

.nj-newsletter__privacy-note {
	margin:
		14px
		0
		0;

	padding-top:
		13px;

	border-top:
		1px solid
		rgba(46, 94, 78, .08);

	color:
		rgba(43, 43, 43, .38);

	font-family: "Manrope", sans-serif;
	font-size: 9.5px;
	line-height: 1.5;
}


/* ==========================================================
   Tablet
   ========================================================== */

@media (max-width: 1024px) {

	.nj-newsletter {
		margin:
			82px
			auto;
	}


	.nj-newsletter__inner {
		grid-template-columns:
			1fr
			420px;

		gap: 44px;

		padding:
			54px
			46px;
	}

}


/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 767px) {

	.nj-newsletter {
		width:
			calc(100% - 28px);

		margin:
			68px
			auto;

		border-radius:
			22px;
	}


	.nj-newsletter__inner {
		display: flex;
		flex-direction: column;

		align-items: stretch;

		gap: 34px;

		padding:
			42px
			20px
			22px;
	}


	.nj-newsletter__content h2 {
		font-size:
			clamp(
				36px,
				10vw,
				44px
			);
	}


	.nj-newsletter__lead {
		font-size: 14px;
	}


	.nj-newsletter__points {
		flex-direction: column;

		gap: 10px;

		margin-top: 25px;
	}


	.nj-newsletter__form-card {
		padding:
			29px
			20px
			24px;

		border-radius:
			17px;
	}


	.nj-newsletter__form-card::before {
		left: 20px;
	}


	.nj-newsletter__form-head h3 {
		font-size: 27px;
	}


	.nj-newsletter__field-row {
		grid-template-columns:
			1fr;

		gap: 9px;
	}


	button.nj-newsletter__button {
		width: 100%;
	}


	.nj-newsletter__privacy-note {
		text-align: center;
	}

}