/* page */
.has-large-footer #page {
	position: relative;
	z-index: 1;
	background: rgb(240, 240, 240);
}

/* container */
.footer {
	text-align: center;
}

/* container -- large */
.footer--large {
	position: sticky;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	background: linear-gradient(
		180deg,
		rgb(240, 240, 240) 0%,
		rgb(179, 179, 179) 100%
	);
}

/* inner */
.footer--inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 20px 10px;
}

/* inner -- small */
.footer--small .footer--inner {
	border-top: var(--border-hairline);
}

/* inner -- large */
.footer--large .footer--inner {
	padding-top: 40px;
}

/* inner -- mobile panel */
.footer--mobile-panel .footer--inner {
	padding: 0;
}

/* image */
.footer--image img {
	display: block;
	width: 340px;
	margin: 0 auto;
}

/* legal */
.footer--legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 8px;
	font-size: var(--x-small-font-size);
	line-height: var(--x-small-line-height);
	color: color-mix(in srgb, var(--text-color-primary) 50%, transparent);
}

/* copyright */
.footer--copyright {
	text-wrap: balance;
}

/* list */
.footer--links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* item */
.footer--links--item {
	display: inline-flex;
	align-items: center;
	padding: 0;
	margin: 0;
}

/* item separator */
.footer--links--item:not(:last-child)::after {
	content: "·";
	margin: 0 4px;
}

/* item link */
.footer--links--item a {
	color: color-mix(in srgb, var(--text-color-primary) 70%, transparent);
}

/* item link focus visible + hover */
.footer--links--item a:focus-visible,
.footer--links--item a:hover {
	text-decoration: underline;
	color: color-mix(in srgb, var(--text-color-primary) 70%, transparent);
}

/* larger than 479px */
@media only screen and (min-width: 480px) {

	/* inner */
	.footer--inner {
		padding-right: 20px;
		padding-left: 20px;
	}
}