/* Footer styles */
footer {
    background-color: var(--bg-color);
    padding: var(--hh-gap);
    text-align: center;
	margin-top: var(--hh-gap);
}

footer .menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

footer>div>div>div {
	text-align: left;
}

footer>* {
	max-width: 1440px;
	margin: auto;
	margin-top: var(--hh-gap);
}

footer .menu a {
	font-size: 1em;
	text-decoration: none;
}
footer .menu a:hover {
	text-decoration: underline;
}

footer .wp-block-column:last-of-type {
	flex-direction: row;
    flex-wrap: wrap;
	height: 100%;
	margin-top: var(--hh-gap);
}

footer .wp-block-column:last-of-type h4 {
	font-size: 1em;
    font-family: 'Stabil Grotesk';
    letter-spacing: normal;
    flex: 0 1 100%;
	margin-bottom: 0;
	text-transform: none;
	line-height: 1.2;
}

footer .wp-block-column:last-of-type p {
	flex: 0 1 100%;
}

footer .wp-block-column:last-of-type p:nth-of-type(2), footer .wp-block-column:last-of-type p:nth-of-type(4) {
	margin-bottom: 20px;
}

footer .wp-block-column:last-of-type p a {
	text-decoration: none;
	border-bottom: 1px solid;
}

@media (min-width: 782px) {
	footer .wp-block-social-links {
		justify-content: flex-start;
		flex: 0 1 100%;
	}
}

@media (max-width: 781px) {
	footer div.is-layout-flex {
	    justify-content: space-between;
    	flex: 1;
	}

	footer .wp-block-social-links {
		order: 2;
	}
	
	footer .wp-block-column:last-of-type h4, footer .wp-block-column:last-of-type p {
		text-align: center;
	}
	
	footer .wp-block-column:last-of-type {
		margin-bottom: var(--hh-gap);
	}
}

footer .wp-block-social-links {
    background: var(--bg-color) !important;
	justify-content: start;
}

footer .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
	display: flex;
	justify-content: center;
	align-items: center;
}

@media (min-width: 782px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:first-of-type {
		justify-content: flex-start;
	}
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:last-of-type {
		justify-content: flex-start;
	}
}