/**
 * Newsletter CTA: Elementor Form skin inside section.final .news.
 *
 * Goal: one field + submit in a horizontal row on desktop, matching the
 * HTML source .news input/button layout without fighting every Form skin.
 *
 * @since 1.0.0
 */

/* Let the embedded Elementor canvas fill the dark .news shell. */
.final .news .elementor,
.final .news .elementor-element,
.final .news .elementor-widget-container,
.final .news .elementor-widget-form {
	width: 100%;
	max-width: 100%;
	background: transparent;
}

/* Flatten nested Elementor section/container chrome inside .news. */
.final .news .elementor-section,
.final .news .e-con,
.final .news .elementor-container,
.final .news .elementor-column,
.final .news .elementor-column-wrap,
.final .news .elementor-widget-wrap {
	padding: 0;
	margin: 0;
	background: transparent;
	box-shadow: none;
	border: none;
	min-height: 0;
}

/* Horizontal Form row: field + button (matches source flex layout). */
.final .news .elementor-form-fields-wrapper {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 10px;
	margin: 0;
	width: 100%;
}

/* Field and button groups share the row; field grows. */
.final .news .elementor-field-group {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
}

.final .news .elementor-field-group:not(.elementor-field-type-submit) {
	flex: 1 1 auto;
	min-width: 0;
}

.final .news .elementor-field-group.elementor-field-type-submit {
	flex: 0 0 auto;
}

/* Hide labels so the bar stays compact like the source mock. */
.final .news .elementor-field-label {
	display: none;
}

/* Transparent text input / email / tel on dark CTA. */
.final .news .elementor-field-textual,
.final .news input.elementor-field,
.final .news input[type="email"],
.final .news input[type="text"],
.final .news input[type="tel"] {
	flex: 1;
	width: 100%;
	min-width: 0;
	background: transparent;
	border: none;
	outline: none;
	box-shadow: none;
	color: #fff;
	padding-inline: 18px;
	font-size: 14.5px;
	height: 48px;
	line-height: 1.4;
}

.final .news .elementor-field-textual::placeholder,
.final .news input.elementor-field::placeholder {
	color: #7d818b;
	opacity: 1;
}

/* Primary orange submit matching .btn.btn-primary. */
.final .news .elementor-button,
.final .news button[type="submit"],
.final .news input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 48px;
	padding: 0 24px;
	border: none;
	border-radius: var(--r-btn, 8px);
	background: var(--orange, #FF9606);
	color: #fff;
	font-weight: 700;
	font-size: 14.5px;
	white-space: nowrap;
	box-shadow: 0 8px 20px rgba(255, 150, 6, 0.3);
	cursor: pointer;
	transition: 0.2s;
}

.final .news .elementor-button:hover,
.final .news button[type="submit"]:hover,
.final .news input[type="submit"]:hover {
	background: var(--orange5, #EB8800);
	transform: translateY(-1px);
	color: #fff;
}

/* Messages stay readable on dark background. */
.final .news .elementor-message {
	color: #fff;
	margin-top: 8px;
}

/* Stack field + button on narrow screens. */
@media (max-width: 720px) {
	.final .news .elementor-form-fields-wrapper {
		flex-wrap: wrap;
	}

	.final .news .elementor-field-group:not(.elementor-field-type-submit),
	.final .news .elementor-field-group.elementor-field-type-submit {
		flex: 1 1 100%;
	}

	.final .news .elementor-button,
	.final .news button[type="submit"],
	.final .news input[type="submit"] {
		width: 100%;
	}
}

/* ---------- Gravity Forms newsletter (one email field + submit in a row) ---------- */
.final .news .gform_wrapper,
.final .news .gform_wrapper form,
.final .news .gform_confirmation_wrapper {
	width: 100%;
	margin: 0;
}
.final .news .gform_wrapper form {
	display: flex;
	align-items: stretch;
	gap: 10px;
}
.final .news .gform_body {
	flex: 1 1 auto;
	min-width: 0;
}
.final .news .gform_fields {
	display: block;
	margin: 0;
	padding: 0;
	gap: 0;
}
.final .news .gfield {
	margin: 0;
	padding: 0;
}
/* Label and "required" marker stay available to screen readers only. */
.final .news .gfield_label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.final .news .ginput_container {
	margin: 0;
}
.final .news .gform_wrapper input[type="email"] {
	width: 100%;
	height: 100%;
	min-height: 46px;
	background: transparent;
	border: none;
	box-shadow: none;
	outline: none;
	color: #fff;
	padding-inline: 18px;
	font-size: 14.5px;
}
.final .news .gform_footer {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}
.final .news .gform_footer .gform_button {
	height: 100%;
	min-height: 46px;
	margin: 0;
	padding-inline: 26px;
	border: none;
	border-radius: var(--r-sm);
	background: var(--orange);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}
.final .news .gform_ajax_spinner {
	display: none;
}
/* Validation and confirmation messages sit below the row on the dark shell. */
.final .news .gform_wrapper form {
	flex-wrap: wrap;
}
.final .news .validation_message,
.final .news .gform_confirmation_message {
	flex: 1 0 100%;
	color: #ffb4a8;
	font-size: 13px;
	padding: 8px 14px 4px;
	background: none;
	border: none;
}
.final .news .gform_confirmation_message {
	color: #9be3b0;
	padding: 14px 18px;
}
.final .news .gform_wrapper .gform_validation_errors {
	display: none;
}
