/* Promo: boxed sidebar call to action on a soft background image. */

.wu-promo {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: var(--wu-space-lg);
	border: 1px solid var(--wu-color-line);
	border-radius: var(--wu-radius-lg);
	background-color: var(--wu-color-surface-alt);
}

.wu-promo__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.wu-promo__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.6;
}

.wu-promo__title {
	margin-bottom: var(--wu-space-sm);
	color: var(--wu-color-text);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
}

.wu-promo__link {
	color: inherit;
	text-decoration: none;
}

.wu-promo__link:hover {
	color: var(--wu-color-brand);
}

.wu-promo__text {
	color: var(--wu-color-text);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.wu-promo__actions {
	margin-top: var(--wu-space-md);
}

/* The old box used a red outline button. */
.wu-promo__actions .wu-button {
	border-color: var(--wu-color-brand);
	color: var(--wu-color-brand);
	font-weight: 700;
}

.wu-promo__actions .wu-button:hover,
.wu-promo__actions .wu-button:focus-visible {
	background-color: var(--wu-color-brand);
	color: var(--wu-color-on-dark);
}
