/*
 * Developer credit under the footer copyright line. The selectors carry the footer ids
 * because Salient colours every copyright-bar link with two-id rules.
 */
#footer-outer #copyright .developer-credit-row {
	display: flex;
	justify-content: center;
	margin: 0;
	padding: 0;
}

/* The theme gives every paragraph but the last 18px below it; the credit sits closer to the copyright line. */
#footer-outer #copyright p:has(+ .developer-credit-row) {
	padding-bottom: 0.5rem;
}

body #footer-outer #copyright a.developer-credit {
	--developer-credit-text: #fff;
	--developer-credit-strong: #fff;
	--developer-credit-hover: #c7b4df;

	display: inline-flex;
	gap: 0.625rem;
	align-items: center;
	min-height: 1.5rem;
	font-size: 0.875rem;
	color: var(--developer-credit-text);
	text-decoration: none;
	transition: color 0.15s ease;
}

body #footer-outer #copyright a.developer-credit:hover,
body #footer-outer #copyright a.developer-credit:focus-visible {
	--developer-credit-strong: var(--developer-credit-hover);

	/* The theme's copyright-bar hover colour is !important. */
	color: var(--developer-credit-hover) !important;
}

#footer-outer #copyright .developer-credit__logo {
	flex: none;
	width: 1.75rem;
	height: 1.125rem;
	fill: var(--developer-credit-strong);
	transition: fill 0.15s ease;
}

#footer-outer #copyright .developer-credit__name {
	font-weight: 700;
	color: var(--developer-credit-strong);
	text-underline-offset: 3px;
}

#footer-outer #copyright .developer-credit:hover .developer-credit__name,
#footer-outer #copyright .developer-credit:focus-visible .developer-credit__name {
	text-decoration: underline;
}

#footer-outer #copyright .developer-credit__arrow {
	flex: none;
	width: 0.75rem;
	height: 0.75rem;
	opacity: 0;
	transition: opacity 0.15s ease;
}

#footer-outer #copyright .developer-credit:hover .developer-credit__arrow,
#footer-outer #copyright .developer-credit:focus-visible .developer-credit__arrow {
	opacity: 1;
}
