.newsletter-card-wrap {
	position: sticky;
	top: 180px;
	align-self: flex-start;
	background: var(--wp--preset--color--secondary-50);
	display: flex;
	justify-content: center;
}
.newsletter-card-wrap.is-position-sticky {
	top: 180px;
}

.newsletter-card {
	padding: 48px;
	border-radius: 6px;
	width: 100%;
}

.newsletter-title {
	margin: 0;
	font-size: 23px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.46px;
	text-transform: capitalize;
	color: var(--wp--preset--color--black);
	background: transparent;
}

.newsletter-desc {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	color: var(--wp--preset--color--black);
}

.newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.newsletter-input {
	width: 100%;
	padding: 14px 16px;
	border-radius: 6px;
	border: 1px solid #c8c8c8;
	font-size: 15px;
	background: var(--wp--preset--color--white);
}

.newsletter-input:focus {
	outline: none;
}

.newsletter-btn {
	width: 100%;
	padding: 14px;
	background: var(--wp--preset--color--primary-500);
	color: var(--wp--preset--color--white);
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}

.newsletter-btn:hover {
	background: var(--wp--preset--color--primary-600);
}

.newsletter-card-wrap #gform_wrapper_11 input[type="text"],
.newsletter-card-wrap #gform_wrapper_11 input[type="email"] {
	border: 1px solid var(--wp--preset--color--neutral-200) !important;
	box-shadow: none;
}

.newsletter-card-wrap #gform_wrapper_11 input[type="text"]:focus,
.newsletter-card-wrap #gform_wrapper_11 input[type="email"]:focus,
.newsletter-cta-wrap #gform_wrapper_11 input[type="text"]:focus-visible,
.newsletter-cta-wrap #gform_wrapper_11 input[type="email"]:focus-visible {
	outline: none !important;
	border-color: var(--wp--preset--color--neutral-200) !important;
	box-shadow: none !important;
}

.newsletter-card-wrap #gform_wrapper_11 input[type="text"] {
    margin-top: 24px;
}

/* ==============================
   Editor Styles
   =========================== */

.editor-styles-wrapper .newsletter-card-wrap {
	background: var(--wp--preset--color--secondary-50);
	display: flex;
	justify-content: center;
}

.editor-styles-wrapper .newsletter-card-wrap.is-position-sticky {
	top: auto !important; /* disable sticky in editor */
	position: relative !important;
}

.editor-styles-wrapper .newsletter-card {
	padding: 48px;
	border-radius: 6px;
	width: 100%;
}

.editor-styles-wrapper .newsletter-title {
	margin: 0;
	font-size: 23px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.46px;
	text-transform: capitalize;
	color: var(--wp--preset--color--black);
	background: transparent;
}

.editor-styles-wrapper .newsletter-desc {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	color: var(--wp--preset--color--black);
}

.editor-styles-wrapper .newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.editor-styles-wrapper .newsletter-input {
	width: 100%;
	padding: 14px 16px;
	border-radius: 6px;
	border: 1px solid #c8c8c8;
	font-size: 15px;
	background: var(--wp--preset--color--white);
	box-sizing: border-box;
}

.editor-styles-wrapper .newsletter-input:focus {
	outline: none;
}

.editor-styles-wrapper .newsletter-btn {
	width: 100%;
	padding: 14px;
	background: var(--wp--preset--color--primary-500);
	color: var(--wp--preset--color--white);
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}

.editor-styles-wrapper .newsletter-btn:hover {
	background: var(--wp--preset--color--primary-600);
}

/* Gravity Forms inside editor */
.editor-styles-wrapper .newsletter-card-wrap #gform_wrapper_11 input[type="text"],
.editor-styles-wrapper .newsletter-card-wrap #gform_wrapper_11 input[type="email"] {
	border: 1px solid var(--wp--preset--color--neutral-200) !important;
	box-shadow: none !important;
}

.editor-styles-wrapper .newsletter-card-wrap #gform_wrapper_11 input[type="text"]:focus,
.editor-styles-wrapper .newsletter-card-wrap #gform_wrapper_11 input[type="email"]:focus,
.editor-styles-wrapper .newsletter-card-wrap #gform_wrapper_11 input[type="text"]:focus-visible,
.editor-styles-wrapper .newsletter-card-wrap #gform_wrapper_11 input[type="email"]:focus-visible {
	outline: none !important;
	border-color: var(--wp--preset--color--neutral-200) !important;
	box-shadow: none !important;
}

.editor-styles-wrapper .newsletter-card-wrap #gform_wrapper_11 input[type="text"] {
	margin-top: 24px;
}