/* Soft animated background, shared by the page cards (.has-blur-bg) and the
   "Soft motion" group style (.is-style-blur-bg). blur-bg.js adds a tiny
   canvas (prepended to cards; in a shadow root for groups), scaled up so it is
   blurry by nature. The canvas is transparent,
   so --blur-bg-opacity sets how much of the element's own background shows
   through: 0.6 for cards, lower for the group style. --blur-bg-base is the colour under it. */
.has-blur-bg,
.is-style-blur-bg {
	--blur-bg-base: #e6e1d4;
	--blur-bg-opacity: 0.6;
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

/* The group style is the lighter, subtler sibling of the cards. */
.is-style-blur-bg {
	--blur-bg-base: #f3f0e8;
	--blur-bg-opacity: 0.5;
}

.is-style-blur-bg:not(.has-background) {
	background-color: var(--blur-bg-base);
}

.blur-bg__canvas {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	/* Page cards only: the group style keeps its canvas in a shadow root (see
	   blur-bg.js), so it never takes part in the group's layout. Here the
	   canvas is a direct child, and must fill the element whatever the layout. */
	max-width: none !important;
	margin: 0 !important;
	opacity: var(--blur-bg-opacity);
	pointer-events: none;
}
