/* AGuard Safe: optional footer mark (Settings > Notice on the site). The logo takes the text colour of the theme. */
.aguard-safe-credit {
	margin: 0;
	padding: 12px 16px;
	text-align: center;
}

.aguard-safe-badge {
	--w: 6em;
	--e: cubic-bezier(.32, .72, 0, 1);
	display: inline-flex;
	align-items: center;
	padding: 4px calc(var(--w) / 2);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .01em;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
	vertical-align: middle;
}

.aguard-safe-badge:hover,
.aguard-safe-badge:focus {
	color: inherit;
	text-decoration: none;
}

.aguard-safe-badge__l,
.aguard-safe-badge__r {
	display: inline-flex;
	align-items: center;
	transform: translateX(calc(var(--w) / -2));
}

.aguard-safe-badge__r {
	transform: translateX(calc(var(--w) / 2));
}

.aguard-safe-badge__label {
	margin-right: .55em;
	opacity: .65;
}

.aguard-safe-badge__h {
	display: block;
	flex: none;
	width: 9px;
	height: 22px;
	background: currentColor;
	-webkit-mask: url(credit-mark.png) 0 0 / 18px 22px no-repeat;
	mask: url(credit-mark.png) 0 0 / 18px 22px no-repeat;
}

.aguard-safe-badge__h--g {
	-webkit-mask-position: -9px 0;
	mask-position: -9px 0;
}

.aguard-safe-badge__seam {
	position: relative;
	flex: none;
	width: 0;
	height: 22px;
}

.aguard-safe-badge__url {
	position: absolute;
	left: 50%;
	top: 50%;
	width: var(--w);
	margin: -.75em 0 0 calc(var(--w) / -2);
	line-height: 1.5em;
	text-align: center;
	font-weight: 600;
}

.aguard-safe-badge__url::after {
	content: "";
	position: absolute;
	left: 1em;
	right: 1em;
	bottom: 0;
	height: 1px;
	background: currentColor;
	transform-origin: center;
}

.aguard-safe-badge:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* With a mouse the mark is closed and parts on hover; on touch screens and with reduced motion it stays open. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.aguard-safe-badge__l,
	.aguard-safe-badge__r {
		transform: none;
		transition: transform .3s var(--e);
	}

	.aguard-safe-badge__url {
		opacity: 0;
		clip-path: inset(0 50% 0 50%);
		transition: clip-path .26s var(--e), opacity .18s linear;
	}

	.aguard-safe-badge__url::after {
		transform: scaleX(0);
		transition: transform .2s var(--e);
	}

	.aguard-safe-badge:hover .aguard-safe-badge__l,
	.aguard-safe-badge:focus-visible .aguard-safe-badge__l {
		transform: translateX(calc(var(--w) / -2));
		transition-duration: .52s;
	}

	.aguard-safe-badge:hover .aguard-safe-badge__r,
	.aguard-safe-badge:focus-visible .aguard-safe-badge__r {
		transform: translateX(calc(var(--w) / 2));
		transition-duration: .52s;
	}

	.aguard-safe-badge:hover .aguard-safe-badge__url,
	.aguard-safe-badge:focus-visible .aguard-safe-badge__url {
		opacity: 1;
		clip-path: inset(0 0 0 0);
		transition: clip-path .5s var(--e) .05s, opacity .24s linear .05s;
	}

	.aguard-safe-badge:hover .aguard-safe-badge__url::after,
	.aguard-safe-badge:focus-visible .aguard-safe-badge__url::after {
		transform: scaleX(1);
		transition: transform .45s var(--e) .22s;
	}
}
