/*
 * Footer (template-parts/site-footer.php)
 */

/* Footer */
footer.footer {
	padding-top: 0rem;
	padding-bottom: 1.25rem;
}
footer.footer > .container {
	padding-top: calc(2.0625rem + 2.5vw);
}
footer.footer > .container:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: var(--container-gutter-width);
	right: var(--container-gutter-width);
	height: 0.0625rem;
	background-color: var(--color-border);
	pointer-events: none;
}
.footer-lists-wrapper {
	position: relative;
	margin-bottom: calc(2rem + 2.5vw);
}
.footer-lists {
	justify-content: center;
	margin-bottom: calc(-2rem - 2.5vw);
}
.footer-list-wrapper {
	margin-bottom: calc(2rem + 2.5vw);
	width: 50%;
	font-size: 0.9375em;
}
@media (min-width: 640px) {
	.footer-list-wrapper {
		width: auto;
		min-width: 5rem;
		max-width: 9.625rem;
	}
}
@media (min-width: 640px) {
	.footer-list-wrapper {
		max-width: 14.625rem;
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}
}
.footer-list-title {
	margin-bottom: 0.75rem;
	font-size: 0.9375rem;
	font-weight: 600;
}
.footer-list-wrapper ul {
	padding-left: 0;
	list-style: none;
}
.footer-list-wrapper ul > li + li {
	margin-top: 0.25rem;
}
.footer-copyright {
	margin-top: calc(2rem + 2.5vw);
	padding-top: 1rem;
	color: var(--color-grey);
	font-size: 0.8125em;
	text-align: center;
}

.socials {
	--row-gutter-width: 0.375rem;
	justify-content: center;
}
.social {
	width: auto;
}
.social > a {
	display: block;
	width: 2.375rem;
	height: 2.375rem;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100%;
	opacity: 0.7;
	filter: grayscale(100%);
	transition-property: opacity, filter;
}
.social > a:hover {
	opacity: 1;
	filter: grayscale(0%);
}
.social > a.i_facebook {
	background-image: url(../../images/icons/social/facebook.svg);
}
.social > a.i_instagram {
	background-image: url(../../images/icons/social/instagram.svg);
}
.social > a.i_youtube {
	background-image: url(../../images/icons/social/youtube.svg);
}
.social > a > span {
	display: none;
}

/*
 * Footer (template-parts/site-footer.php)
 */
footer.footer > .container:before {
	background-color: var(--color-border);
}
.footer-list-title {
	color: var(--color-dark);
	font-size: 0.9375rem;
	font-weight: 500;
}
.footer-list-wrapper ul a {
	color: var(--color-text);
	transition: color 0.25s ease-in-out;
}
.footer-list-wrapper ul a:hover {
	color: var(--color-dark);
	opacity: 1;
}
.footer-copyright {
	color: var(--color-grey);
}
/* Social icons are circles, grey (default) and in color on hover */
.social > a {
	width: 2.25rem;
	height: 2.25rem;
	opacity: 1;
	filter: grayscale(100%) opacity(0.55);
}
.social > a:hover {
	filter: none;
}
.social > a.i_twitter {
	background-image: url(../../images/icons/social/x-grey.svg);
	filter: none;
}
.social > a.i_twitter:hover {
	background-image: url(../../images/icons/social/x.svg);
}
.social > a.i_linkedin {
	background-image: url(../../images/icons/social/linkedin-grey.svg);
	filter: none;
}
.social > a.i_linkedin:hover {
	background-image: url(../../images/icons/social/linkedin.svg);
}
/* Shown at the end of the page (js/components/navigation.js): in the middle of the space between the social icons and the copyright
 * (footer padding + copyright line, then half of the space: copyright margin and padding minus the button) */
.page-scroller-wrapper {
	position: fixed;
	bottom: calc(1.25rem + (0.8125em * 1.5) + (2rem + 2.5vw + 1rem - 2.25rem) / 2);
	right: max(var(--container-gutter-width), calc((100lvw - var(--window-scrollbar-width) - 75rem) / 2));
	z-index: 99;
	display: none;
	opacity: 0;
	visibility: hidden;
}
button.page-scroller {
	display: block;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	background: none;
	border: none;
	color: var(--color-text);
	font-size: 1rem;
}
button.page-scroller span.icon {
	width: 100%;
	height: 100%;
}
