/* Default styles for desktop and larger screens */
.image-overlay01 {
	position: relative;
	display: block;
	width: 100%;
/* Adjust to the size of your image */
}

.text-overlay01 {
	position: absolute;
	top: 50%;
/* Center text vertically */
	left: 50%;
	transform: translate(-15%, -50%);
	background-color: rgba(0, 0, 0, 0.5);
/* Semi-transparent background */
	color: white;
/* Text color */
	padding: 20px;
	max-width: 60%;
/* Adjust width of the text box */
	text-align: center;
	z-index: 1;
/* Ensure text appears above the image */
}

/* Mobile responsiveness: Adjust text box on smaller screens */
@media screen and (max-width: 767px) {
	.text-overlay01 {
		position: static;
	/* Change position to static on smaller screens */
		transform: none;
	/* Remove the transform to avoid centering */
		background-color: rgba(0, 0, 0, 0.7);
	/* Optional: Adjust background color */
		max-width: 100%;
	/* Allow text to take more width */
		padding: 15px;
	/* Adjust padding for mobile */
		text-align: center;
	/* Center the text */
		margin-top: 15px;
	/* Give some space above the text box */
		width: 100%;
	/* Ensure the text box takes full width */
	}
	
	.image-overlay01 {
		width: 100%;
	/* Ensure the image takes the full width */
	}
}

/* Style for Name and Email fields (reduce height by 30%) */
.wp-block-jetpack-contact-form input[type="text"],
.wp-block-jetpack-contact-form input[type="email"] {
	height: 25px;
/* Reduce height by 30% */
	font-size: .8rem;
	line-height: 1.2;
	padding: 5px;
}

/* Style for Message box (increase height by 100%) */
.wp-block-jetpack-contact-form textarea {
	height: 80px;
/* Increase height by 100% */
	font-size: .8rem;
	line-height: 1.2;
	padding: 10px;
}

/* Reduce space between labels and fields */
.wp-block-jetpack-contact-form .wp-block-jetpack-field > label {
	margin-bottom: 3px;
/* Reduce space between label and input */
}

/* Reduce space between each field (input and textarea) */
.wp-block-jetpack-contact-form .wp-block-jetpack-field {
	margin-bottom: 5px !important;
/* Use !important to ensure it's applied */
}

/* Reduce the height of the spacer */
.wp-block-spacer {
	height: 3px !important;
/* Adjust to the desired height */
}

/* Target the page title specifically */
h2.wp-block-post-title {
	font-size: 1.9rem !important;
/* Adjust the font size */
	margin-bottom: 3px !important;
/* Reduce the space below the title */
}

/* If you'd like to reduce the space above the title as well */
h2.wp-block-post-title {
	margin-top: 3px !important;
/* Adjust the space above the title */
}

.wp-block-group.alignfull {
	padding-top: 1.2px !important;
	padding-bottom: 3px !important;
}

/* Hide header only on Links page */
.page-id-4245 header {
	display: none;
}

/* Optional: hide footer only on Links page */
.page-id-4245 footer {
	display: none;
}

/* FORCE HIDE PAGE TITLE ON LINKS PAGE */
.page-id-4245 h1,
.page-id-4245 .entry-title,
.page-id-4245 .wp-block-post-title,
.page-id-4245 .page-title,
.page-id-4245 .post-title {
	display: none !important;
}

/* Button text color */
.page-id-4245 .wp-block-button__link {
	color: #ffffff !important;
/* normal text color */
}

/* Button hover text color */
.page-id-4245 .wp-block-button__link:hover {
	color: #499fa4 !important;
/* hover text color */
}

/* Right-side vertical popup for "Ebook Popup" */
.jp-form-popup[data-form-name="Ebook Popup"],
.jetpack-form-popup[data-form-name="Ebook Popup"],
.jp-form-modal[data-form-name="Ebook Popup"] {
	left: auto !important;
	right: 24px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	max-width: 340px;
	z-index: 9999;
	background: #ffffff;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* Mobile fallback */
@media (max-width: 768px) {
	.jp-form-popup[data-form-name="Ebook Popup"],
								  .jetpack-form-popup[data-form-name="Ebook Popup"],
								  .jp-form-modal[data-form-name="Ebook Popup"] {
		left: 12px !important;
		right: 12px !important;
		top: auto !important;
		bottom: 12px !important;
		transform: none !important;
		max-width: 100%;
	}
}

/* Stack fields vertically */
.jetpack-form[data-form-name="Ebook Popup"],
.jp-form[data-form-name="Ebook Popup"] {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch;
}

/* Full-width inputs and button */
.jetpack-form[data-form-name="Ebook Popup"] input,
.jp-form[data-form-name="Ebook Popup"] input,
.jetpack-form[data-form-name="Ebook Popup"] button,
.jp-form[data-form-name="Ebook Popup"] button {
	width: 100% !important;
	margin-bottom: 12px;
}

/* Button styling */
.jetpack-form[data-form-name="Ebook Popup"] button,
.jp-form[data-form-name="Ebook Popup"] button {
	border-radius: 12px;
	background-color: #6D97CE;
/* your brand color */
	color: #ffffff;
	font-size: 16px;
	padding: 14px;
	transition: all .25s ease;
}

.jetpack-form[data-form-name="Ebook Popup"] button:hover,
.jp-form[data-form-name="Ebook Popup"] button:hover {
	background-color: #57EEA9;
/* hover color */
	color: #000000;
}

/* === Free Guide Page (ID 4318) — Background Image === */
.page-id-4431,
.page-id-4431 body,
.page-id-4431 #page,
.page-id-4431 main,
.page-id-4431 .wp-site-blocks {
	background-image: url('https://marlenehealth.com/wp-content/uploads/2026/02/untitled-design-13-3.png');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: scroll;
/* mobile-safe */
}

/* Remove header & footer */
.page-id-4431 header,
.page-id-4431 footer {
	display: none !important;
}

/* Clean spacing */
.page-id-4431 {
	margin: 0 !important;
	padding: 0 !important;
}

/* Responsive content wrapper */
.page-id-4431 .entry-content {
	max-width: 680px;
	margin: 0 auto;
	padding: 24px 16px;
	box-sizing: border-box;
}

/* Tablet */
@media (min-width: 768px) {
	.page-id-4431 .entry-content {
		max-width: 820px;
		padding: 40px 24px;
	}
}

/* Desktop */
@media (min-width: 1024px) {
	.page-id-4431 .entry-content {
		max-width: 920px;
	}
}

/* Hide page title ONLY on Free Guide page (ID 4318) */
.page-id-4431 .entry-title,
.page-id-4431 h1.entry-title,
.page-id-4431 .wp-block-post-title {
	display: none !important;
}

/* Add left spacing to ALL mobile menu lists */
@media (max-width: 768px) {
	nav ul {
		padding-left: 20px !important;
	}
	
	nav ul li {
		padding-left: 0 !important;
	}
}

/* === Free Guide Page (ID 4318) — Background Image === */
.page-id-4497,
.page-id-4497 body,
.page-id-4497 #page,
.page-id-4497 main,
.page-id-4497 .wp-site-blocks {
	background-image: url('https://marlenehealth.com/wp-content/uploads/2026/02/untitled-design-13-3.png');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: scroll;
/* mobile-safe */
}

/* Remove header & footer */
.page-id-4497 header,
.page-id-4497 footer {
	display: none !important;
}

/* Clean spacing */
.page-id-4497 {
	margin: 0 !important;
	padding: 0 !important;
}

/* Responsive content wrapper */
.page-id-4497 .entry-content {
	max-width: 680px;
	margin: 0 auto;
	padding: 24px 16px;
	box-sizing: border-box;
}

/* Tablet */
@media (min-width: 768px) {
	.page-id-4497 .entry-content {
		max-width: 820px;
		padding: 40px 24px;
	}
}

/* Desktop */
@media (min-width: 1024px) {
	.page-id-4497 .entry-content {
		max-width: 920px;
	}
}

/* Hide page title ONLY on Free Guide page (ID 4318) */
.page-id-4497 .entry-title,
.page-id-4497 h1.entry-title,
.page-id-4497 .wp-block-post-title {
	display: none !important;
}

/* Add left spacing to ALL mobile menu lists */
@media (max-width: 768px) {
	nav ul {
		padding-left: 20px !important;
	}
	
	nav ul li {
		padding-left: 0 !important;
	}
}

/* === Newsletter (ID 4521) — Background Image === */
.page-id-4521,
.page-id-4521 body,
.page-id-4521 #page,
.page-id-4521 main,
.page-id-4521 .wp-site-blocks {
	background-image: ;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: scroll;
/* mobile-safe */
}

/* Remove header & footer */
.page-id-4521 header,
.page-id-4521 footer {
	display: none !important;
}

/* Clean spacing */
.page-id-4521 {
	margin: 0 !important;
	padding: 0 !important;
}

/* Responsive content wrapper */
.page-id-4521 .entry-content {
	margin: 0 auto;
	padding: 24px 16px;
	box-sizing: border-box;
}

/* Tablet */
@media (min-width: 768px) {
	.page-id-4521 .entry-content {
		max-width: 820px;
		padding: 40px 24px;
	}
}

/* Desktop */
@media (min-width: 1024px) {
	.page-id-4521 .entry-content {
		max-width: 920px;
	}
}

/* Hide page title ONLY on Free Guide page (ID 4318) */
.page-id-4521 .entry-title,
.page-id-4521 h1.entry-title,
.page-id-4521 .wp-block-post-title {
	display: none !important;
}

/* Add left spacing to ALL mobile menu lists */
@media (max-width: 768px) {
	nav ul {
		padding-left: 0 !important;
	}
	
	nav ul li {
		padding-left: 0 !important;
	}
}