/* Scoped to the newsletter; other HubSpot forms retain their own styles. */
.fincw-newsletter-form {
	--hsf-global__font-family: 'Open Sans', sans-serif;
	--hsf-global__font-size: 16px;
	--hsf-global__color: #212529;
	--hsf-background__padding: 0;
	--hsf-background__background-color: transparent;
	--hsf-row__vertical-spacing: 16px;
	--hsf-row__horizontal-spacing: 12px;
	--hsf-field-label__font-size: 14px;
	--hsf-field-input__background-color: #fff;
	--hsf-field-input__border-color: #cbd5df;
	--hsf-field-input__border-radius: 4px;
	--hsf-field-input__padding: 11px 12px;
	--hsf-button__font-size: 16px;
	--hsf-button__background-color: #3a4f68;
	--hsf-button__background-image: none;
	--hsf-button__color: #fff;
	--hsf-button__padding: 12px 16px;
	--hsf-button__border-radius: 4px;
	width: 100%;
	min-width: 0;
}

/* Hide only this form's introductory module (ID 1), never consent or success text. */
.fincw-newsletter-form .hsfc-Form .hsfc-Row:has(> .hsfc-RichText[id$="-1"]) {
	display: none;
}

.fincw-newsletter-form .hsfc-Step__Content {
	padding: 0;
}

.fincw-newsletter-form .hsfc-FieldLabel {
	margin-bottom: 6px;
}

.fincw-newsletter-form .hsfc-NavigationRow {
	margin-top: 4px;
}

.fincw-newsletter-form .hsfc-NavigationRow__Buttons,
.fincw-newsletter-form .hsfc-Button {
	width: 100%;
}

.fincw-newsletter-form .hsfc-Button:not([disabled]):hover {
	background-color: #2d3e52;
}

.fincw-newsletter-form :is(input, button):focus-visible {
	outline: 2px solid #3a4f68;
	outline-offset: 3px;
}
