/* HubSpot forms embedded with [rewind_hubspot_form]. HubSpot draws the form
   into the page, so these rules style its markup. Written for the dark
   sections the newsletter form sits in; set --rw-hs-ink on the wrapper (or a
   parent) for a light background. */

.rw-hubspot-form {
	--rw-hs-ink: #fff;
	--rw-hs-muted: rgba(255, 255, 255, .78);
	color: var(--rw-hs-ink);
}

.rw-hubspot-form .hs-form-field > label,
.rw-hubspot-form legend {
	display: block;
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 500;
	color: var(--rw-hs-ink);
}

.rw-hubspot-form .hs-form-required {
	color: var(--e-global-color-accent, #FDAD0D);
}

.rw-hubspot-form input[type="email"],
.rw-hubspot-form input[type="text"],
.rw-hubspot-form input[type="tel"],
.rw-hubspot-form select,
.rw-hubspot-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #E2E8F0;
	border-radius: 6px;
	background: #fff;
	font-size: 16px;
	color: #1E293B;
}

.rw-hubspot-form .hs-richtext,
.rw-hubspot-form .hs-richtext p,
.rw-hubspot-form .legal-consent-container,
.rw-hubspot-form .legal-consent-container p {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--rw-hs-muted);
}

.rw-hubspot-form a {
	color: var(--e-global-color-accent, #FDAD0D);
	text-decoration: underline;
}

/* consent checkboxes: no list bullets, box aligned with its text */
.rw-hubspot-form ul.inputs-list {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.rw-hubspot-form ul.inputs-list li {
	margin: 0 0 8px;
}

.rw-hubspot-form .hs-form-booleancheckbox-display,
.rw-hubspot-form .hs-form-checkbox-display {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	line-height: 1.5;
	color: var(--rw-hs-ink);
}

.rw-hubspot-form .hs-form-booleancheckbox-display input,
.rw-hubspot-form .hs-form-checkbox-display input {
	flex: none;
	width: 16px;
	height: 16px;
	margin: 3px 0 0;
}

.rw-hubspot-form .hs-error-msgs {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.rw-hubspot-form .hs-error-msg,
.rw-hubspot-form .hs-main-font-element {
	font-size: 13px;
	color: #FF8A8A;
}

.rw-hubspot-form .hs-submit {
	margin-top: 20px;
}

.rw-hubspot-form .hs-button {
	padding: 12px 24px;
	border: 0;
	border-radius: 6px;
	background: var(--e-global-color-accent, #FDAD0D);
	font-size: 16px;
	font-weight: 500;
	color: #020917;
	cursor: pointer;
}

.rw-hubspot-form .hs-button:hover {
	background: var(--e-global-color-10ab63f, #D3910B);
}

.rw-hubspot-form .submitted-message {
	color: var(--rw-hs-ink);
}
