/**
 * Updated label for products with a published update.
 *
 * Contrast (WCAG AA 4.5:1+):
 * - Light backgrounds: #B71C1C
 * - Dark charcoal panels (~#3F3F3F): #FF8F8F via
 *   .wras-product-updated--on-dark or .wras-category-products--dark
 * Color is not the only cue: uppercase "Updated:" text + <time> are present.
 */
.wras-product-updated {
	display: block;
	margin-top: 0.2em;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.25;
	text-transform: uppercase;
	color: #b71c1c;
}

.wras-product-updated--on-dark,
.wras-category-products--dark .wras-product-updated {
	color: #ff8f8f;
}

.wras-product-updated__label,
.wras-product-updated__date {
	color: inherit;
}

.wras-product-title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15em;
}

.wras-product-title .wras-product-updated {
	margin-top: 0;
}

.wc-product-table .wras-product-updated {
	margin-top: 0.2em;
}

.wras-product-updated .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
