.footer {
	position: relative;
	background-color: var(--primary-color);
	color: #fff;
	padding: 5rem 0 2rem;
	/*margin-top: 15rem;*/
}

@media only screen and (max-width: 768px) {
	.footer {
		margin-top: 5rem;
	}
}

.footer::after {
	display: none;
	/*content: "";*/
	position: absolute;
	top: -199px;
	left: 0;
	right: 0;
	width: 100%;
	height: 200px;
	background-image: url("../../assets/images/footergrungetop.png");
	background-size: 100% auto;
	background-position: bottom;
	background-repeat: no-repeat;
	z-index: 9;
}

.footer a {
	color: #fff;
	text-decoration: underline !important;
}

.footer a.btn,
.footer .wp-element-button {
	text-decoration: none !important;
}

.footer__sub__grid {
	display: flex;
	justify-content: space-between;
	flex-direction: row;
}

.footer__sub {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 0.75rem 1rem;
	background: #0d3d7d;
}

.footer__sub .container {
	max-width: var(--wp--style--global--content-size, 1200px);
	margin: 0 auto;
}

.footer_menu a {
	text-decoration: none !important;
}

.footer_menu span:first-of-type {
	margin-right: 15px;
}


.footer .wp-block-social-links {
	gap: 1rem;
}

.footer .wp-block-social-links .wp-social-link {
	background-color: transparent;
	color: white;
	border: 1px solid white;
	transition: background-color 0.5s;
}

:is(.footer .wp-block-social-links .wp-social-link:is(:hover), .footer .wp-block-social-links .wp-social-link a:is(:focus-visible)) {
	background-color: var(--k2-child-red);
	transform: scale(1.05);
}
