/* SleepBaby.org 2.4.5 — continuous article-to-April presentation. */

body.sleepbaby-single-post .sleepbaby-article-archive-footer {
	width: min(100%, 960px);
	margin-inline: auto;
	border-inline: 1px solid #d1c6d4;
	background: #fffefa !important;
	box-shadow: 0 22px 54px rgba(45, 34, 56, .09);
}

body.sleepbaby-single-post .sleepbaby-article-archive-footer::before {
	display: block;
	width: min(calc(100% - 40px), 680px);
	height: 1px;
	margin-inline: auto;
	background: linear-gradient(90deg, transparent, #6e9c96 16%, #8e7797 84%, transparent);
	content: "";
}

body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-main > section {
	border-block-start: 1px solid rgba(92, 72, 103, .11);
	background-color: #fffefa;
}

body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-hero {
	padding-top: clamp(34px, 5vw, 54px) !important;
	background: linear-gradient(180deg, #fffefa, #faf6fb 68%, #f0f7f5) !important;
}

body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-main a.sbh2020-download,
body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-main a.sbh2020-download:visited {
	min-height: 58px;
	border: 1px solid #8f8197 !important;
	border-radius: 11px !important;
	color: #23192e !important;
	-webkit-text-fill-color: #23192e !important;
	background: linear-gradient(108deg, #dff1e9 0%, #eee5f4 52%, #fae5da 100%) !important;
	box-shadow: 0 10px 25px rgba(58, 42, 67, .17), inset 0 1px rgba(255, 255, 255, .9) !important;
	text-shadow: none !important;
}

body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-main a.sbh2020-download:hover {
	filter: brightness(1.025) saturate(1.04) !important;
	box-shadow: 0 13px 30px rgba(58, 42, 67, .21), inset 0 1px #fff !important;
}

body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-main a.sbh2020-download:focus-visible {
	outline: 3px solid #246c87 !important;
	outline-offset: 4px !important;
	box-shadow: 0 0 0 3px #fffefa, 0 13px 30px rgba(58, 42, 67, .2) !important;
}

body.sleepbaby-single-post .sleepbaby-article-archive-footer :is(.sbh2020-tip, .sbh2020-bonus-card, .sbh2020-testimonial, .sbh2020-discover__box) {
	border-color: #cfc4d2 !important;
	border-radius: 11px !important;
	background: linear-gradient(145deg, #fffefa, #faf6fb 64%, #f1f8f6) !important;
	box-shadow: 0 7px 21px rgba(47, 35, 57, .075) !important;
}

body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-final-cta {
	background: linear-gradient(145deg, #131c3b, #3f2d4d) !important;
}

body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-final-cta :is(h2, h3, p) {
	color: #fffefa !important;
	-webkit-text-fill-color: #fffefa !important;
}

@media (max-width: 767px) {
	body.sleepbaby-single-post .sleepbaby-article-archive-footer {
		width: calc(100% - 10px);
		border-radius: 0 0 16px 16px;
	}

	body.sleepbaby-single-post .sleepbaby-article-archive-footer::before {
		width: calc(100% - 28px);
	}

	body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-hero {
		padding-top: 30px !important;
	}

	body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-main a.sbh2020-download {
		min-height: 58px;
		font-size: 18px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-main a.sbh2020-download,
	body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-main a.sbh2020-download * {
		animation: none !important;
		transition: none !important;
	}
}

@media (forced-colors: active) {
	body.sleepbaby-single-post .sleepbaby-article-archive-footer,
	body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-main a.sbh2020-download {
		border: 2px solid CanvasText !important;
		box-shadow: none !important;
	}
}
