/**
 * Ulises Cerna Subscribe
 * Hero pill form + header popup. Do not restyle other page forms.
 */

.ucs-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --- Header popup --- */

.ucs-overlay {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 0, 0, 0.72);
}

.ucs-overlay[hidden] {
	display: none !important;
}

.ucs-dialog {
	position: relative;
	width: 100%;
	max-width: 420px;
	padding: 44px 28px 28px;
	background: #1c1c1c;
	border: 1px solid #3a3a3a;
	border-radius: 14px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
	box-sizing: border-box;
}

.ucs-close {
	position: absolute;
	top: 2px;
	right: 8px;
	width: 36px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.ucs-close:hover,
.ucs-close:focus {
	color: #d0d0d0;
	outline: none;
}

.ucs-overlay .ucs-form,
.ucs-inline .ucs-form {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
	margin: 0;
}

.ucs-overlay .ucs-input,
.ucs-inline .ucs-input {
	width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid #4a4a4a;
	border-radius: 8px;
	background: #111;
	color: #c8c8c8;
	font-size: 16px;
	font-family: inherit;
}

.ucs-overlay .ucs-input::placeholder,
.ucs-inline .ucs-input::placeholder {
	color: #8d8d8d;
}

.ucs-overlay .ucs-input:focus,
.ucs-inline .ucs-input:focus {
	outline: none;
	border-color: #777;
	color: #fff;
}

.ucs-overlay .ucs-submit,
.ucs-inline .ucs-submit {
	width: 100%;
	min-height: 48px;
	padding: 12px 20px;
	border: 0;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
}

.ucs-overlay .ucs-submit:hover,
.ucs-overlay .ucs-submit:focus,
.ucs-inline .ucs-submit:hover,
.ucs-inline .ucs-submit:focus {
	background: #000;
	outline: none;
}

.ucs-overlay .ucs-submit:disabled,
.ucs-inline .ucs-submit:disabled,
.ucs-form--hero .ucs-submit:disabled,
.ucs-form--pill .ucs-submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.ucs-overlay .ucs-disclaimer,
.ucs-inline .ucs-disclaimer {
	margin: 2px 0 0;
	color: #d8d8d8;
	font-size: 13px;
	text-align: center;
	line-height: 1.4;
}

.ucs-overlay .ucs-message,
.ucs-inline .ucs-message,
.ucs-hero .ucs-message {
	margin: 0;
	min-height: 1.1em;
	font-size: 13px;
	text-align: center;
	line-height: 1.4;
}

.ucs-message.is-success {
	color: #b8f0c8;
}

.ucs-message.is-error {
	color: #ffb4b4;
}

.ucs-inline {
	width: 100%;
	max-width: 440px;
}

body.ucs-lock {
	overflow: hidden;
}

/* --- Hero pill form --- */

.ucs-hero {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
}

.ucs-form--hero {
	display: block;
	margin: 0;
}

.ucs-hero-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	padding: 6px 6px 6px 22px;
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 999px;
	background: transparent;
}

.ucs-form--hero .ucs-input {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	min-height: 44px;
	padding: 10px 8px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-size: 16px;
	font-family: inherit;
	box-shadow: none;
}

.ucs-form--hero .ucs-input::placeholder {
	color: #8a8a8a;
}

.ucs-form--hero .ucs-input:focus {
	outline: none;
	color: #fff;
}

.ucs-form--hero .ucs-submit {
	flex: 0 0 auto;
	width: auto;
	min-height: 44px;
	padding: 10px 28px;
	border: 0;
	border-radius: 999px;
	background: #000;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	font-family: inherit;
	cursor: pointer;
}

.ucs-form--hero .ucs-submit:hover,
.ucs-form--hero .ucs-submit:focus {
	background: #0a0a0a;
	outline: none;
}

.ucs-form--hero .ucs-message {
	margin-top: 10px;
}

/* White pill used in lower CTAs and the Elementor widget. */
.ucs-form--pill .ucs-hero-bar {
	align-items: stretch;
	min-height: 58px;
	padding: 5px 5px 5px 26px;
	border: 0;
	background: #fff;
	box-shadow: none;
}

.ucs-form--pill .ucs-hero-bar:focus-within {
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.ucs-form--pill .ucs-input {
	align-self: center;
	min-height: 44px;
	padding: 8px 12px 8px 0;
	color: #111;
	font-size: 16px;
	font-weight: 400;
	appearance: none;
}

.ucs-form--pill .ucs-input::placeholder {
	color: #9b9b9b;
	opacity: 1;
}

.ucs-form--pill .ucs-input:focus {
	color: #111;
}

.ucs-form--pill .ucs-input:-webkit-autofill,
.ucs-form--pill .ucs-input:-webkit-autofill:hover,
.ucs-form--pill .ucs-input:-webkit-autofill:focus {
	-webkit-text-fill-color: #111;
	-webkit-box-shadow: 0 0 0 40px #fff inset;
	box-shadow: 0 0 0 40px #fff inset;
	caret-color: #111;
}

.ucs-form--pill .ucs-submit {
	min-height: 0;
	padding: 0 32px;
	background: #000;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.01em;
	appearance: none;
}

.ucs-form--pill .ucs-submit:hover,
.ucs-form--pill .ucs-submit:focus {
	background: #111;
}

.ucs-cta {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
}

.ucs-cta .ucs-message {
	margin-top: 12px;
	color: #d8d8d8;
}

/* Hide the old homepage hero Mailchimp widget; JS swaps in .ucs-hero. */
.elementor-element-a9d575e .ekit-wid-con {
	display: none !important;
}
#custom-popup.elementor-element-bc2426b,
.elementor-element-bc2426b.custom-popup,
.popup-overlay {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

@media (max-width: 767px) {
	.ucs-dialog {
		padding: 40px 18px 22px;
	}

	.ucs-hero-bar {
		padding: 5px 5px 5px 16px;
	}

	.ucs-form--hero .ucs-submit {
		padding: 10px 18px;
	}

	.ucs-form--pill .ucs-hero-bar {
		padding: 4px 4px 4px 18px;
		min-height: 52px;
	}

	.ucs-form--pill .ucs-submit {
		padding: 0 20px;
		font-size: 15px;
	}
}
