/* Badge layout: scalloped seal. Shape is an SVG mask so it takes the campaign colour. */

.wcbdi-badge--seal {
	filter: drop-shadow(0 0.12em 0.18em rgb(0 0 0 / 0.22)) drop-shadow(0 0.35em 0.6em rgb(0 0 0 / 0.12));
}

.wcbdi-badge--seal .wcbdi-badge__body {
	--wcbdi-seal-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M100.0 50.0 98.5 52.1 94.8 53.9 91.1 55.4 89.4 56.9 90.5 59.0 93.5 61.6 96.3 64.6 97.0 67.1 94.8 68.6 90.8 69.0 86.8 69.1 84.6 70.0 85.0 72.3 86.9 75.8 88.5 79.5 88.3 82.1 85.8 82.8 81.8 81.8 78.0 80.6 75.7 80.6 75.2 82.9 75.8 86.9 76.1 90.9 75.0 93.3 72.4 93.1 69.0 90.8 65.9 88.3 63.7 87.6 62.5 89.5 61.6 93.5 60.5 97.4 58.7 99.2 56.3 98.1 53.9 94.8 51.8 91.4 50.0 90.0 48.2 91.4 46.1 94.8 43.7 98.1 41.3 99.2 39.5 97.4 38.4 93.5 37.5 89.5 36.3 87.6 34.1 88.3 31.0 90.8 27.6 93.1 25.0 93.3 23.9 90.9 24.2 86.9 24.8 82.9 24.3 80.6 22.0 80.6 18.2 81.8 14.2 82.8 11.7 82.1 11.5 79.5 13.1 75.8 15.0 72.3 15.4 70.0 13.2 69.1 9.2 69.0 5.2 68.6 3.0 67.1 3.7 64.6 6.5 61.6 9.5 59.0 10.6 56.9 8.9 55.4 5.2 53.9 1.5 52.1 0.0 50.0 1.5 47.9 5.2 46.1 8.9 44.6 10.6 43.1 9.5 41.0 6.5 38.4 3.7 35.4 3.0 32.9 5.2 31.4 9.2 31.0 13.2 30.9 15.4 30.0 15.0 27.7 13.1 24.2 11.5 20.5 11.7 17.9 14.2 17.2 18.2 18.2 22.0 19.4 24.3 19.4 24.8 17.1 24.2 13.1 23.9 9.1 25.0 6.7 27.6 6.9 31.0 9.2 34.1 11.7 36.3 12.4 37.5 10.5 38.4 6.5 39.5 2.6 41.3 0.8 43.7 1.9 46.1 5.2 48.2 8.6 50.0 10.0 51.8 8.6 53.9 5.2 56.3 1.9 58.7 0.8 60.5 2.6 61.6 6.5 62.5 10.5 63.7 12.4 65.9 11.7 69.0 9.2 72.4 6.9 75.0 6.7 76.1 9.1 75.8 13.1 75.2 17.1 75.7 19.4 78.0 19.4 81.8 18.2 85.8 17.2 88.3 17.9 88.5 20.5 86.9 24.2 85.0 27.7 84.6 30.0 86.8 30.9 90.8 31.0 94.8 31.4 97.0 32.9 96.3 35.4 93.5 38.4 90.5 41.0 89.4 43.1 91.1 44.6 94.8 46.1 98.5 47.9Z'/%3E%3C/svg%3E");
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/* At least 5.8em, wider (and as tall) only when one word of the text needs it. */
	width: min-content;
	min-width: 5.8em;
	aspect-ratio: 1;
	background: var(--wcbdi-ink);
	color: var(--wcbdi-paper);
	-webkit-mask: var(--wcbdi-seal-shape) center / contain no-repeat;
	mask: var(--wcbdi-seal-shape) center / contain no-repeat;
	text-align: center;
	transform: rotate(-8deg);
	white-space: normal;
	padding: 0.65em;
	box-sizing: border-box;
}

.wcbdi-badge--seal .wcbdi-badge__line + .wcbdi-badge__line::before {
	content: none;
}

.wcbdi-badge--seal .wcbdi-badge__line {
	display: block;
	max-width: 100%;
	overflow-wrap: normal;
	word-break: normal;
	font-size: 1.25em;
	font-weight: 800;
	line-height: 1;
}

.wcbdi-badge--seal .wcbdi-badge__line:first-child:not(:last-child) {
	margin-bottom: 0.15em;
	font-size: max(11px, 0.72em);
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}
