/* SleepBaby.org 2.5.0 — shared tip and bonus artwork for the April continuation. */

body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-hero__card {
	position: relative;
}

body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-hero-sticker {
	display: block;
	inline-size: 126px;
	block-size: auto;
	margin: 12px auto 2px;
	filter: drop-shadow(0 14px 18px rgba(35, 27, 42, .2));
	pointer-events: none;
	user-select: none;
}

body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-tip > img {
	display: block !important;
	inline-size: clamp(108px, 12vw, 148px) !important;
	block-size: auto !important;
	aspect-ratio: 1;
	margin: 0 auto 22px !important;
	padding: 0 !important;
	object-fit: contain !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	filter: drop-shadow(0 12px 16px rgba(51, 37, 59, .16));
}

body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-bonus-card > img {
	display: block;
	inline-size: min(82%, 246px) !important;
	block-size: auto !important;
	aspect-ratio: 458 / 731;
	margin: 0 auto 24px !important;
	padding: 0 !important;
	object-fit: cover !important;
	object-position: center;
	border: 1px solid rgba(74, 54, 82, .18) !important;
	border-radius: 22px !important;
	background: #f4f1f5;
	box-shadow: 0 22px 44px rgba(50, 36, 58, .17), 0 1px 0 rgba(255, 255, 255, .84) inset !important;
}

body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-bonus-card h2 {
	margin-block-start: 6px !important;
}

@media (max-width: 600px) {
	body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-hero-sticker {
		display: none;
	}

	body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-tip > img {
		inline-size: clamp(94px, 28vw, 120px) !important;
		margin-block-end: 18px !important;
	}

	body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-bonus-card > img {
		inline-size: min(74vw, 270px) !important;
	}
}

@media (min-width: 900px) {
	body.sleepbaby-single-post .sleepbaby-article-archive-footer .sbh2020-hero-sticker {
		position: absolute;
		right: -112px;
		bottom: 32px;
		inline-size: 204px;
		margin: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.sleepbaby-single-post .sleepbaby-article-archive-footer :is(.sbh2020-tip > img, .sbh2020-bonus-card > img) {
		animation: none !important;
		transition: none !important;
	}
}
