/* July 24, 2021 Neve article shell. The homepage continues to use the
   reviewed 2023 Thrive presentation; these rules are singular-post only. */
body.home .site-header,
body.home .site-footer { display: none !important; }

body.sleepbaby-single-post {
	background: #fff !important;
	color: #00063b !important;
	font-family: Georgia, serif !important;
}

body.sleepbaby-single-post .site-header--inner { display: none !important; }

body.sleepbaby-single-post .sb-legacy-neve-header {
	position: relative;
	z-index: 10;
	width: 100%;
	background: #fff;
	color: #00063b;
	font-family: Georgia, serif;
	font-size: 16px;
	line-height: 1.6;
}

body.sleepbaby-single-post .sb-legacy-neve-header__inner {
	display: flex;
	width: 100%;
	max-width: 992px;
	min-height: 88px;
	align-items: center;
	margin: 0 auto;
	padding: 14px 15px;
}

body.sleepbaby-single-post .sb-legacy-neve-header__brand {
	display: block;
	width: 240px;
	max-width: 62vw;
	line-height: 0;
}

body.sleepbaby-single-post .sb-legacy-neve-header__brand img {
	display: block;
	width: 240px;
	height: 60px;
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
}

body.sleepbaby-single-post .sb-legacy-neve-header__nav { display: block; margin-left: auto; }

body.sleepbaby-single-post .sb-legacy-neve-header__nav ul,
body.sleepbaby-single-post .sb-legacy-neve-header__mobile-nav ul {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.sleepbaby-single-post .sb-legacy-neve-header__nav a,
body.sleepbaby-single-post .sb-legacy-neve-header__mobile-nav a {
	color: #00063b !important;
	font-family: Georgia, serif !important;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
}

body.sleepbaby-single-post .sb-legacy-neve-header__nav a:hover,
body.sleepbaby-single-post .sb-legacy-neve-header__nav a:focus-visible,
body.sleepbaby-single-post .sb-legacy-neve-header__mobile-nav a:hover,
body.sleepbaby-single-post .sb-legacy-neve-header__mobile-nav a:focus-visible {
	color: #6b7aff !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.sleepbaby-single-post .sb-legacy-neve-header__toggle {
	display: none;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	padding: 7px 0;
	border: 0;
	background: transparent;
	color: #00063b;
	font: inherit;
	cursor: pointer;
}

body.sleepbaby-single-post .sb-legacy-neve-header__toggle > span:first-child {
	display: grid;
	gap: 4px;
}

body.sleepbaby-single-post .sb-legacy-neve-header__toggle i {
	display: block;
	width: 22px;
	height: 2px;
	background: #00063b;
}

body.sleepbaby-single-post .sb-legacy-neve-header__mobile-nav {
	width: 100%;
	max-width: 992px;
	margin: 0 auto;
	padding: 0 15px 18px;
}

body.sleepbaby-single-post .sb-legacy-neve-header__mobile-nav[hidden] { display: none !important; }

body.sleepbaby-single-post .sb-legacy-neve-header__mobile-nav ul {
	display: grid;
	justify-items: start;
	gap: 11px;
	padding-top: 8px;
	border-top: 1px solid #edf0f7;
}

body.sleepbaby-single-post .content-shell--article {
	width: 100% !important;
	max-width: 992px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	background: #fff !important;
}

body.sleepbaby-single-post .sb-article-v251 {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 15px !important;
	background: #fff !important;
	color: #00063b !important;
	font-family: Georgia, serif !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
}

body.sleepbaby-single-post .entry-header {
	width: 100% !important;
	max-width: none !important;
	margin: 28px 0 24px !important;
	padding: 0 !important;
	text-align: left !important;
	background: #fff !important;
	color: #00063b !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
	min-height: 0 !important;
}

body.sleepbaby-single-post .entry-kicker { display: none !important; }

body.sleepbaby-single-post .entry-header .entry-title,
body.sleepbaby-single-post .entry-header .entry-title--medium,
body.sleepbaby-single-post .entry-header .entry-title--long {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	font-family: Georgia, serif !important;
	font-size: 38px !important;
	font-weight: 400 !important;
	line-height: 1.18 !important;
	letter-spacing: 0 !important;
	color: #00063b !important;
	background: #fff !important;
	-webkit-text-fill-color: #00063b !important;
	text-shadow: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.sleepbaby-single-post .entry-meta-row {
	display: flex !important;
	width: 100% !important;
	flex-wrap: wrap !important;
	justify-content: flex-start !important;
	gap: 8px !important;
	margin-top: 0 !important;
	font-family: Georgia, serif !important;
	color: #687080 !important;
}

body.sleepbaby-single-post .entry-meta,
body.sleepbaby-single-post .entry-reading-time {
	font-size: 14px !important;
	line-height: 1.6 !important;
	color: #4a5362 !important;
	-webkit-text-fill-color: #4a5362 !important;
	opacity: 1 !important;
}

body.sleepbaby-single-post .entry-meta-row {
	color: #4a5362 !important;
	-webkit-text-fill-color: #4a5362 !important;
	opacity: 1 !important;
}

/* The restored article should read like a generous desktop article, not a
   theme-controlled narrow card. */
body.sleepbaby-single-post .entry-content {
	width: min(100%, 820px) !important;
	max-width: 820px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	font-size: 18px !important;
	line-height: 1.72 !important;
}

/* The active article stylesheet repeats this class in a later, more specific
   rule. Match that shape so the readable desktop scale cannot be reset. */
body.sleepbaby-single-post.sleepbaby-single-post .sb-article-v251 .entry-content.entry-content {
	box-sizing: border-box !important;
	width: min(100%, 820px) !important;
	max-width: 820px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	font-size: 18px !important;
	line-height: 1.72 !important;
}

body.sleepbaby-single-post .entry-content p,
body.sleepbaby-single-post .entry-content li,
body.sleepbaby-single-post .entry-content summary {
	font-size: 18px !important;
	line-height: 1.72 !important;
}

body.sleepbaby-single-post.sleepbaby-single-post .sb-article-v251 .entry-content.entry-content :is(p, li, summary) {
	font-size: 18px !important;
	line-height: 1.72 !important;
}

body.sleepbaby-single-post .entry-content > h2,
body.sleepbaby-single-post .entry-content > h3,
body.sleepbaby-single-post .entry-content > h4 {
	width: 100% !important;
	max-width: 100% !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.sleepbaby-single-post figure.entry-featured:not(.is-broken) {
	display: block !important;
	visibility: visible !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 28px !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: #fff !important;
}

body.sleepbaby-single-post figure.entry-featured:not(.is-broken) img {
	display: block !important;
	visibility: visible !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	object-fit: cover !important;
	border-radius: 0 !important;
}

body.sleepbaby-single-post #sleepbaby-article-body,
body.sleepbaby-single-post #sleepbaby-article-body .sbds-article {
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 20px !important;
	padding: 0 !important;
	background: #fff !important;
	font-family: Georgia, serif !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
	color: #00063b !important;
}

body.sleepbaby-single-post #sleepbaby-article-body h2,
body.sleepbaby-single-post #sleepbaby-article-body h3,
body.sleepbaby-single-post #sleepbaby-article-body h4 {
	font-family: Georgia, serif !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	color: #00063b !important;
}

body.sleepbaby-single-post #sleepbaby-article-body a { color: #273a75 !important; }

body.sleepbaby-single-post .sb-article-route-bar,
body.sleepbaby-single-post .sbcat-amazon-card,
body.sleepbaby-single-post .sbds-story-media,
body.sleepbaby-single-post .sbds-ribbon,
body.sleepbaby-single-post .sbws,
body.sleepbaby-single-post .sleepbaby-article-archive-footer,
body.sleepbaby-single-post .sb-april-handoff,
body.sleepbaby-single-post .sbh2020 { display: none !important; }

body.sleepbaby-single-post .sb-legacy-neve-article-cta {
	width: 100%;
	margin: 46px 0 48px;
	padding: 26px 0 0;
	border-top: 1px solid #e5e8f0;
	background: #fff;
	font-family: Georgia, serif;
	color: #00063b;
}

body.sleepbaby-single-post .sb-legacy-neve-article-cta__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	box-sizing: border-box;
	width: min(100% - 32px, 760px);
	gap: 28px;
	max-width: 760px;
	margin: 0 auto;
	padding: 22px 24px;
	background: #fff8fb;
	border: 1px solid #f2dce7;
	border-radius: 4px;
}

body.sleepbaby-single-post .sb-legacy-neve-article-cta__art img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 360px;
	margin: 0 auto;
}

body.sleepbaby-single-post .sb-legacy-neve-article-cta__eyebrow {
	margin: 0 0 8px !important;
	color: #a35676 !important;
	font-size: 13px !important;
	letter-spacing: .06em;
	text-transform: uppercase;
}

body.sleepbaby-single-post .sb-legacy-neve-article-cta h2 {
	margin: 0 0 10px !important;
	font-size: 24px !important;
	line-height: 1.25 !important;
	color: #00063b !important;
}

body.sleepbaby-single-post .sb-legacy-neve-article-cta__quote {
	margin: 0 0 8px !important;
	font-size: 16px !important;
	line-height: 1.55 !important;
	color: #36384d !important;
}

body.sleepbaby-single-post .sb-legacy-neve-article-cta__attribution {
	margin: 0 !important;
	font-size: 13px !important;
	color: #687080 !important;
}

body.sleepbaby-single-post .sb-legacy-neve-article-cta__button {
	display: flex;
	width: 118px;
	height: 118px;
	align-items: center;
	justify-content: center;
	margin: 20px auto 0;
	border: 4px solid #fff;
	border-radius: 50%;
	background: #e875a4 !important;
	box-shadow: 0 5px 12px rgba(113, 48, 79, .22);
	color: #fff !important;
	font-family: Georgia, serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	text-align: center;
	text-decoration: none !important;
}

body.sleepbaby-single-post .sb-legacy-neve-article-cta__button:hover,
body.sleepbaby-single-post .sb-legacy-neve-article-cta__button:focus-visible {
	background: #d95d8e !important;
	color: #fff !important;
}

/* Comments are intentionally omitted from the restored article presentation. */
body.sleepbaby-single-post #sbcr-safe-comments-root,
body.sleepbaby-single-post #comments,
body.sleepbaby-single-post .comments-area,
body.sleepbaby-single-post #respond { display: none !important; }

body.sleepbaby-single-post .site-footer { background: #fff !important; }

/* A later CRO stylesheet was re-enabling this modern route bar with a more
   specific selector. It is not part of the plain July 24, 2021 article view,
   so suppress that conflicting component decisively. */
body.sleepbaby-single-post.sleepbaby-single-post .entry-content .sb-article-route-bar,
body.sleepbaby-single-post.sleepbaby-single-post .entry-content .sb-article-route-bar:is(.sb-cro-variant--april *) {
	display: none !important;
}

@media (max-width: 899px) {
	body.sleepbaby-single-post .sb-legacy-neve-header__nav { display: none; }
	body.sleepbaby-single-post .sb-legacy-neve-header__toggle { display: flex; }
}

@media (max-width: 700px) {
	body.sleepbaby-single-post .sb-legacy-neve-header__inner { min-height: 88px; padding: 14px 15px; }
	body.sleepbaby-single-post .sb-legacy-neve-header__brand,
	body.sleepbaby-single-post .sb-legacy-neve-header__brand img { width: 220px; height: 55px; }
	body.sleepbaby-single-post .sb-article-v251 { padding-right: 15px !important; padding-left: 15px !important; }
	body.sleepbaby-single-post .entry-header { margin-top: 18px !important; margin-bottom: 22px !important; }
	body.sleepbaby-single-post .entry-header .entry-title,
	body.sleepbaby-single-post .entry-header .entry-title--medium,
	body.sleepbaby-single-post .entry-header .entry-title--long { font-size: 23px !important; line-height: 1.22 !important; }
	body.sleepbaby-single-post .entry-meta-row { flex-wrap: wrap; }
	body.sleepbaby-single-post #sleepbaby-article-body,
	body.sleepbaby-single-post #sleepbaby-article-body .sbds-article { font-size: 16px !important; line-height: 1.6 !important; }
	body.sleepbaby-single-post .sb-legacy-neve-article-cta { margin-top: 36px; margin-bottom: 32px; }
	body.sleepbaby-single-post .sb-legacy-neve-article-cta__inner { grid-template-columns: 1fr; gap: 12px; padding: 20px 16px 24px; }
	body.sleepbaby-single-post .sb-legacy-neve-article-cta__art img { max-width: 320px; }
	body.sleepbaby-single-post .sb-legacy-neve-article-cta__button { width: 108px; height: 108px; margin-right: auto; margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
	body.sleepbaby-single-post * { transition-duration: .01ms !important; }
}
