/* =========================================
   LFF - Newsletter CTA
   ========================================= */

.lff-newsletter {
	padding: 28px 0;
	background: #ffffff;
}

.lff-newsletter .lff-container {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 28px 32px;
	border-radius: 22px;
	background: #eef7f2;
	box-sizing: border-box;
}

/* =========================================
   Newsletter Inner Card
   ========================================= */

.lff-newsletter-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
	align-items: center;
	gap: 40px;

	padding: 28px 32px;

	border: 1px solid #e5e9e6;
	border-radius: 18px;

	background: #ffffff;

	box-sizing: border-box;
}

/* =========================================
   Content
   ========================================= */

.lff-newsletter-content {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.lff-newsletter-icon {
	flex: 0 0 46px;

	width: 46px;
	height: 46px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 13px;

	background: #eef7f3;
	color: #16845f;
}

.lff-newsletter-icon svg {
	width: 22px;
	height: 22px;
}

.lff-newsletter-kicker {
	margin: 0 0 4px;

	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;

	color: #16845f;
}

.lff-newsletter h2 {
	margin: 0;

	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.15;
	letter-spacing: -0.02em;

	color: #17201D;
}

.lff-newsletter-description {
	max-width: 620px;

	margin: 9px 0 0;

	font-size: 14px;
	line-height: 1.6;

	color: #66717d;
}

/* =========================================
   Form
   ========================================= */

.lff-newsletter-form-wrap {
	width: 100%;
}

.lff-newsletter-form {
	display: flex;
	align-items: stretch;

	padding: 4px;

	border: 1px solid #dfe5e9;
	border-radius: 12px;

	background: #ffffff;

	box-shadow: 0 5px 18px rgba(20, 35, 45, 0.05);

	box-sizing: border-box;
}

.lff-newsletter-form input {
	min-width: 0;
	flex: 1;

	height: 44px;

	padding: 0 12px;

	border: 0;
	outline: 0;

	background: transparent;

	font-size: 14px;
	color: #202830;

	box-sizing: border-box;
}

.lff-newsletter-form input::placeholder {
	color: #98a1aa;
}

.lff-newsletter-form input:focus {
	outline: none;
}

.lff-newsletter-form button {
	flex: 0 0 auto;

	height: 44px;

	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;

	padding: 0 16px;

	border: 0;
	border-radius: 9px;

	background: #16845f;
	color: #ffffff;

	font-size: 14px;
	font-weight: 700;

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.lff-newsletter-form button:hover {
	background: #116b4d;
	transform: translateY(-1px);
}

.lff-newsletter-form button:focus-visible {
	outline: 3px solid rgba(22, 132, 95, 0.2);
	outline-offset: 2px;
}

.lff-newsletter-note {
	margin: 8px 2px 0;

	font-size: 11px;
	line-height: 1.4;

	color: #8a949d;
}

.lff-newsletter-message {
	display: none;

	margin: 8px 2px 0;

	font-size: 12px;
	font-weight: 600;
}

/* =========================================
   Tablet
   ========================================= */

@media (max-width: 900px) {

	.lff-newsletter {
		padding: 24px 0;
	}

	.lff-newsletter .lff-container {
		padding: 24px;
		border-radius: 20px;
	}

	.lff-newsletter-inner {
		grid-template-columns: 1fr;

		gap: 22px;

		padding: 26px;
	}

	.lff-newsletter-form-wrap {
		max-width: 560px;
	}
}

/* =========================================
   Mobile
   ========================================= */

@media (max-width: 600px) {

	.lff-newsletter {
		padding: 16px 0;
	}

	.lff-newsletter .lff-container {
		width: calc(100% - 20px);
		padding: 14px;

		border-radius: 16px;
	}

	.lff-newsletter-inner {
		gap: 17px;

		padding: 20px 16px;

		border-radius: 14px;
	}

	.lff-newsletter-content {
		gap: 11px;
	}

	.lff-newsletter-icon {
		flex-basis: 38px;

		width: 38px;
		height: 38px;

		border-radius: 10px;
	}

	.lff-newsletter-icon svg {
		width: 20px;
		height: 20px;
	}

	.lff-newsletter-kicker {
		font-size: 10px;
	}

	.lff-newsletter h2 {
		font-size: 21px;
		line-height: 1.2;
	}

	.lff-newsletter-description {
		margin-top: 7px;

		font-size: 13px;
		line-height: 1.5;
	}

	.lff-newsletter-form {
		display: flex;
		flex-direction: column;

		padding: 5px;
		gap: 5px;
	}

	.lff-newsletter-form input {
		width: 100%;
		height: 42px;

		padding: 0 11px;
	}

	.lff-newsletter-form button {
		width: 100%;
		height: 42px;
	}

	.lff-newsletter-note {
		font-size: 10px;
	}
}