/*
 * SleepBaby Amazon link contrast repair 1.1.0.
 *
 * Presentation only: no module visibility, markup, disclosure, tracking, or
 * affiliate destination behavior is changed here.
 */

/* Pale-gold bedtime box: dark copy, with a deliberately light arrow glyph. */
body.sleepbaby-affiliate-editorial.sleepbaby-affiliate-editorial-v3106.sb-affiliate-page--article.sb-affiliate-page--article .entry-content .sabb-box a.sabb-box__button:is(
	:link,
	:visited,
	:hover,
	:focus,
	:focus-visible,
	:active
) {
	color: #171126 !important;
	-webkit-text-fill-color: #171126 !important;
	font-weight: 800 !important;
	text-decoration-color: currentColor !important;
	text-shadow: none !important;
	opacity: 1 !important;
}

body.sleepbaby-affiliate-editorial.sleepbaby-affiliate-editorial-v3106.sb-affiliate-page--article.sb-affiliate-page--article .entry-content .sabb-box a.sabb-box__button:is(
	:link,
	:visited,
	:hover,
	:focus,
	:focus-visible,
	:active
) :is(span, strong, em, b, i, small) {
	color: #171126 !important;
	-webkit-text-fill-color: #171126 !important;
	text-shadow: none !important;
	opacity: 1 !important;
}

body.sleepbaby-affiliate-editorial.sleepbaby-affiliate-editorial-v3106.sb-affiliate-page--article.sb-affiliate-page--article .entry-content .sabb-box a.sabb-box__button .sabb-box__arrow,
body.sleepbaby-affiliate-editorial.sleepbaby-affiliate-editorial-v3106.sb-affiliate-page--article.sb-affiliate-page--article .entry-content .sabb-box a.sabb-box__button:is(
	:link,
	:visited,
	:hover,
	:focus,
	:focus-visible,
	:active
) .sabb-box__arrow {
	border-color: #211836 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	background: #211836 !important;
	background-image: none !important;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.32) !important;
	opacity: 1 !important;
}

/* Universal green/plum cards: pure-white foreground in every link state. */
body.sleepbaby-affiliate-editorial.sleepbaby-affiliate-editorial-v3106.sb-affiliate-page--article.sb-affiliate-page--article .entry-content .sbua-amazon-section .sbua-grid > a:is(
	:link,
	:visited,
	:hover,
	:focus,
	:focus-visible,
	:active
) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	font-weight: 800 !important;
	text-decoration-color: currentColor !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32) !important;
	opacity: 1 !important;
}

body.sleepbaby-affiliate-editorial.sleepbaby-affiliate-editorial-v3106.sb-affiliate-page--article.sb-affiliate-page--article .entry-content .sbua-amazon-section .sbua-grid > a:is(
	:link,
	:visited,
	:hover,
	:focus,
	:focus-visible,
	:active
) :is(span, strong, em, b, i, small, p) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32) !important;
	opacity: 1 !important;
}

body.sleepbaby-affiliate-editorial.sleepbaby-affiliate-editorial-v3106.sb-affiliate-page--article.sb-affiliate-page--article .entry-content .sbua-amazon-section .sbua-grid > a strong {
	font-weight: 800 !important;
}

body.sleepbaby-affiliate-editorial.sleepbaby-affiliate-editorial-v3106.sb-affiliate-page--article.sb-affiliate-page--article .entry-content .sbua-amazon-section .sbua-grid > a span {
	font-size: max(1rem, 16px) !important;
	font-weight: 700 !important;
}

/* Article-specific product buttons: prevent prose/visited-link color leakage. */
body.sleepbaby-affiliate-editorial.sleepbaby-affiliate-editorial-v3106.sb-affiliate-page--article.sb-affiliate-page--article .entry-content :is(
	.sb-amazon-module,
	.sb-amazon-module-luxury,
	.sb-amazon-luxury,
	[data-sb-component="article-specific-amazon-recommendation"]
) a:is([data-sb-contrast-role="amazon-button"], [href*="sleepbaby-20"]):is(
	:link,
	:visited,
	:hover,
	:focus,
	:focus-visible,
	:active
) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	font-weight: 800 !important;
	text-decoration-color: currentColor !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32) !important;
	opacity: 1 !important;
}

body.sleepbaby-affiliate-editorial.sleepbaby-affiliate-editorial-v3106.sb-affiliate-page--article.sb-affiliate-page--article .entry-content :is(
	.sb-amazon-module,
	.sb-amazon-module-luxury,
	.sb-amazon-luxury,
	[data-sb-component="article-specific-amazon-recommendation"]
) a:is([data-sb-contrast-role="amazon-button"], [href*="sleepbaby-20"]):is(
	:link,
	:visited,
	:hover,
	:focus,
	:focus-visible,
	:active
) :is(span, strong, em, b, i, small, p) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32) !important;
	opacity: 1 !important;
}

@media (forced-colors: active) {
	body.sleepbaby-affiliate-editorial.sleepbaby-affiliate-editorial-v3106.sb-affiliate-page--article.sb-affiliate-page--article .entry-content .sabb-box a.sabb-box__button,
	body.sleepbaby-affiliate-editorial.sleepbaby-affiliate-editorial-v3106.sb-affiliate-page--article.sb-affiliate-page--article .entry-content .sbua-amazon-section .sbua-grid > a,
	body.sleepbaby-affiliate-editorial.sleepbaby-affiliate-editorial-v3106.sb-affiliate-page--article.sb-affiliate-page--article .entry-content :is(
		.sb-amazon-module,
		.sb-amazon-module-luxury,
		.sb-amazon-luxury,
		[data-sb-component="article-specific-amazon-recommendation"]
	) a:is([data-sb-contrast-role="amazon-button"], [href*="sleepbaby-20"]),
	body.sleepbaby-affiliate-editorial.sleepbaby-affiliate-editorial-v3106.sb-affiliate-page--article.sb-affiliate-page--article .entry-content .sabb-box a.sabb-box__button .sabb-box__arrow {
		border-color: ButtonText !important;
		color: ButtonText !important;
		-webkit-text-fill-color: ButtonText !important;
		background: ButtonFace !important;
		background-image: none !important;
		box-shadow: none !important;
		text-shadow: none !important;
		forced-color-adjust: auto !important;
	}
}
