/*-------------------------------------------------------*/
/* Newsletter
/*-------------------------------------------------------*/
.newsletter {
	display: flex;
	flex-wrap: wrap;

	.form-group {
		flex-wrap: wrap;
		flex: 1 0 0;

		input {
			margin-bottom: 0;
			height: 44px;
		}

		input[type="email"] {
			padding-left: 0;
			border: 0;
			border-bottom: 1px solid $heading-color;
			background-color: transparent;
		}

		input[type="email"]:focus,
		input[type="text"]:focus {
			border-bottom-color: lighten($text-color, 60%);
		}

		input[type="submit"] {
			font-size: 0;
			padding: 0;
			height: 44px;
			width: 44px !important;
			background: transparent;

			&:hover {
				background-color: transparent;
			}
		}
	}

	&__submit {
		order: 0 #{"/*!rtl:-1*/"};
		flex-basis: 55px;
		max-width: 55px;

		&::after {
			content: "\e902";
			font-family: "arendelle";
			font-size: 1.5rem;
			color: $heading-color;
			position: absolute;
			top: 50%;
			left: 50%;
			display: block;
			transform: translate(-50%, -50%);
			@include transition(transform 0.2s ease-in-out);
		}

		&:hover::after {
			transform: translate(-30%, -50%);
		}
	}

	.consent-checkbox {
		margin-top: 20px;
		margin-bottom: 18px;
	}
}

// Single post
.newsletter__single-post {
	margin-top: 48px;
	padding: 48px 40px;
	background-color: $bg-light;
	border: 1px solid $border-color;
	flex-direction: row;

	@include bp-md-up {
		.widget_mc4wp_form_widget {
			display: flex;
			align-items: center;
			justify-content: space-between;
		}
	}

	.newsletter__form {
		width: 100%;
	}

	.widget-title {
		margin-bottom: 0;
		margin-right: 20px;

		@include bp-md-down {
			margin-bottom: 10px;
		}

		&::before {
			content: "\e90c";
			font-family: "arendelle";
			font-size: 0.9375rem;
			opacity: 0.5;
			margin-right: 10px;
		}
	}
}
