/* .eco-footer-width--full {
	max-width: var(--wp--style--global--wide-size);
	margin: var(--wp--preset--spacing--60) auto;
}
.eco-footer-width--wide { min-width: var(--wp--style--global--content-size) }
.eco-footer-width--auto { max-width: calc((100vw - var(--wp--style--global--content-size) / 2)) }

footer .wp-block-group.has-background { padding: 1.25rem var(--wp--preset--spacing--40) }

footer .wp-block-button .wp-block-button__link::after { display: none } */

footer { --top-btn--width: 6rem }

footer h3 a {
	display: flex;
	align-items: center;
}

footer h3 a::after {
	content: '';
	display: block;
	height: 20px;
	width: 20px;
	margin-left: 10px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.9101 4.41073C7.23553 4.0853 7.76317 4.0853 8.08861 4.41073L13.0886 9.41073C13.414 9.73617 13.414 10.2638 13.0886 10.5892L8.08861 15.5892C7.76317 15.9147 7.23553 15.9147 6.91009 15.5892C6.58466 15.2638 6.58466 14.7362 6.91009 14.4107L11.3208 9.99999L6.91009 5.58925C6.58466 5.26381 6.58466 4.73617 6.9101 4.41073Z' fill='%230F695F'/%3E%3C/svg%3E");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

/* footer p > a {
	text-decoration: none !important;
	color: var(--wp--preset--color--contrast);
	transition: all .3s ease-in-out;
}

footer h3 a:hover,
footer p > a:hover {
	text-decoration: underline !important;
} */

footer .wp-block-site-title.is-style-with-logo {
	width: 168px;
	height: 135px;
}

.eco-btn-redirection__container {
	margin-right: calc(var(--top-btn--width) + var(--wp--preset--spacing--70))!important;
}

.eco-btn-top__container {
	position: relative;
	height: var(--wp--preset--spacing--50);
}

.eco-btn-top {

	position: absolute;
	right: 0;
	bottom: 0;
	border-radius: var(--wp--custom--border--radius--small);

	width: var(--top-btn--width);
	padding: 0;
}

.eco-btn-top::before {
	content: "";
	position: absolute;
	left: 1rem;
	top: -2rem;
	background-color: inherit;
	display: block;
	aspect-ratio: 1;
	border-radius: var(--wp--custom--border--radius--small);
	/* 🪄 https://en.wikipedia.org/wiki/Square_root_of_2 */
	width: calc(var(--top-btn--width) / sqrt(2));
	transform: scaleY(.85) rotate(45deg);
}

.eco-btn-top > a::before {
	content: "";
	display: block;
	width:100%;
	height: 1.5rem;
	margin-bottom: .5rem;

	background-color: currentColor;

	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
	mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 4C12.5523 4 13 4.44772 13 5V19C13 19.5523 12.5523 20 12 20C11.4477 20 11 19.5523 11 19V5C11 4.44772 11.4477 4 12 4Z' fill='%230F695F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.2929 4.29289C11.6834 3.90237 12.3166 3.90237 12.7071 4.29289L19.7071 11.2929C20.0976 11.6834 20.0976 12.3166 19.7071 12.7071C19.3166 13.0976 18.6834 13.0976 18.2929 12.7071L12 6.41421L5.70711 12.7071C5.31658 13.0976 4.68342 13.0976 4.29289 12.7071C3.90237 12.3166 3.90237 11.6834 4.29289 11.2929L11.2929 4.29289Z' fill='%230F695F'/%3E%3C/svg%3E%0A");

	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 4C12.5523 4 13 4.44772 13 5V19C13 19.5523 12.5523 20 12 20C11.4477 20 11 19.5523 11 19V5C11 4.44772 11.4477 4 12 4Z' fill='%230F695F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.2929 4.29289C11.6834 3.90237 12.3166 3.90237 12.7071 4.29289L19.7071 11.2929C20.0976 11.6834 20.0976 12.3166 19.7071 12.7071C19.3166 13.0976 18.6834 13.0976 18.2929 12.7071L12 6.41421L5.70711 12.7071C5.31658 13.0976 4.68342 13.0976 4.29289 12.7071C3.90237 12.3166 3.90237 11.6834 4.29289 11.2929L11.2929 4.29289Z' fill='%230F695F'/%3E%3C/svg%3E%0A");
}

.eco-btn-top > a {
	position: relative;
	top: -.75rem;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--m);
	line-height: 1.2rem;
	text-decoration: none;
	text-align: center;
	display: block;
	width: 100%;
	padding-bottom: .3rem;
}

.eco-btn-top:hover > a,
.eco-btn-top:hover {
	color: var(--wp--preset--color--primary-dark);
	font-weight: 800;
}

/* weglot */ 
footer .menu-item-weglot {
    height: 100%;
    padding: 0 20px 0 0;
}

footer .menu-item-has-children::before {
    display: block;
    right: 16px;
}

footer .menu-item-has-children.menu-item-weglot--active::before {
    transform: rotate(180deg);
}

footer .country-selector.weglot-dropdown {
    background-color: transparent;
}

footer .country-selector.weglot-dropdown .wgcurrent {
    border: 0;
}

footer .country-selector.weglot-dropdown .wgcurrent::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.244078 0.244078C0.569515 -0.0813592 1.09715 -0.0813592 1.42259 0.244078L5.83333 4.65482L10.2441 0.244078C10.5695 -0.0813592 11.0972 -0.0813592 11.4226 0.244078C11.748 0.569515 11.748 1.09715 11.4226 1.42259L6.42259 6.42259C6.09715 6.74803 5.56951 6.74803 5.24408 6.42259L0.244078 1.42259C-0.0813592 1.09715 -0.0813592 0.569515 0.244078 0.244078Z' fill='white'/%3E%3C/svg%3E");
    position: absolute;
    top: 7px;
    right: 8px;
    display: block;
    height: 14px;
	background-image: none;
    transition: all 0.3s ease-in-out;
	transform: none;
    transform-origin: 50% 70%;
}

footer .country-selector.weglot-dropdown .wgcurrent a, .country-selector.weglot-dropdown .wgcurrent span {
    padding-right: 30px !important;
}

@media screen and (max-width: 1280px) {

	.eco-btn-redirection__container {
		position: absolute;
		right: var(--wp--preset--spacing--50);
		margin-right: 0!important;
	}

	.eco-footer__block-0-0 {
		display: flex;
		flex-direction: column;
		gap: var(--wp--preset--spacing--80)!important
	}
}

@media screen and (max-width: 768px) {
	.footer-logo-container {
		flex-direction: column;
		text-align: center;
	}

	.eco-footer__block-follow {
		flex-direction: column;
		align-items: center;
		width: 100%;
	}

	.eco-footer__block-follow .wp-block-social-links {
		gap: 40px !important;
	}

	.eco-btn-top {
		display:none;
	}
	
	footer .wp-block-site-title.is-style-with-logo {
		height: 80px;
	}

	.eco-btn-redirection__container { position: static }
	.eco-btn-redirection__container,
	.eco-btn-redirection__container .wp-block-button { width: 100% }
	.eco-btn-redirection__container .wp-block-button .wp-block-button__link {
		text-align: center;
		display: block;
	}
	.eco-footer__block-0 {
		flex-direction: column-reverse;
	}

	.footer-btns {
		justify-content: flex-start !important;
	}

	.footer-btns .wp-block-button {
		width: 100% !important;
	}
}

@media screen and (max-width: 375px) {
	footer > .wp-block-group {
		padding: var(--wp--preset--spacing--45)!important
	}
}