/* Newsletter */
/*------------------------------------------*/

.newsletter {
	background-color: #F6F6F6;
}

.newsletter__inner {
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 30px;
	padding-bottom: 30px;
	box-sizing: border-box;
}

.newsletter__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	overflow: hidden;
}

.newsletter__title {
	margin: 0;
	font-family: var(--global-font-family-1);
	font-weight: 700;
	font-size: 24px;
	line-height: normal;
	color: #17171A;
	white-space: nowrap;
}

.newsletter__desc {
	margin: 0;
	font-family: var(--global-font-family-1);
	font-weight: 400;
	font-size: 14px;
	line-height: normal;
	color: #A0A0A2;
	white-space: nowrap;
}

.newsletter .wpcf7 {
	flex-shrink: 0;
	margin: 0;
}

.newsletter__form,
.newsletter .wpcf7-form {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	flex-shrink: 0;
	overflow: hidden;
	margin: 0;
}

.newsletter .wpcf7-form-control-wrap {
	display: block;
}

.newsletter__input,
.newsletter input.wpcf7-email {
	width: 360px;
	height: 52px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background-color: #FFFFFF;
	font-family: var(--global-font-family-1);
	font-weight: 400;
	font-size: 14px;
	line-height: normal;
	color: #17171A;
	box-sizing: border-box;
	outline: none;
	appearance: none;
}

.newsletter__input::placeholder,
.newsletter input.wpcf7-email::placeholder {
	color: #8C8C94;
	opacity: 1;
}

.newsletter__btn,
.newsletter input.wpcf7-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background-color: #17171A;
	font-family: var(--global-font-family-1);
	font-weight: 600;
	font-size: 14px;
	line-height: normal;
	color: #FFFFFF;
	white-space: nowrap;
	cursor: pointer;
	box-sizing: border-box;
}

.newsletter .wpcf7-spinner {
	display: none;
}

.newsletter .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-family: var(--global-font-family-1);
	font-size: 12px;
	line-height: 16px;
	color: #DC2626;
}

.newsletter .wpcf7-response-output {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--global-font-family-1);
	font-size: 13px;
	line-height: 18px;
	color: #17171A;
	box-sizing: border-box;
}

.newsletter .wpcf7-response-output:not([aria-hidden="true"]):empty {
	display: none;
}

.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: 1023px) {
	.newsletter__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		padding: 36px 24px;
	}

	.newsletter__text {
		width: 100%;
	}

	.newsletter__title {
		font-size: 26px;
		white-space: normal;
	}

	.newsletter__desc {
		width: 100%;
		white-space: normal;
	}

	.newsletter .wpcf7 {
		width: 100%;
		max-width: 560px;
	}

	.newsletter__form,
	.newsletter .wpcf7-form {
		width: 100%;
		max-width: 560px;
	}

	.newsletter__input,
	.newsletter input.wpcf7-email {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
	}

	.newsletter .wpcf7-form-control-wrap {
		flex: 1 1 auto;
		min-width: 0;
	}
}

@media (max-width: 767px) {
	.newsletter__inner {
		align-items: flex-start;
		gap: 0;
		padding: 28px 8px;
	}

	.newsletter__title {
		font-size: 20px;
	}

	.newsletter .wpcf7 {
		width: 100%;
		max-width: none;
	}

	.newsletter__form,
	.newsletter .wpcf7-form {
		flex-direction: column;
		align-items: center;
		max-width: none;
		gap: 15px;
		padding-top: 30px;
		flex-shrink: 1;
	}

	.newsletter .wpcf7-form-control-wrap {
		width: 100%;
	}

	.newsletter__input,
	.newsletter input.wpcf7-email {
		width: 100%;
		height: 48px;
	}

	.newsletter__btn,
	.newsletter input.wpcf7-submit {
		width: 100%;
		height: 48px;
	}
}
