.footer-block,
.epic-footer-block {
	position: relative;
	z-index: 1;
}

.epic-footer-block[data-epic-footer-reveal-ready] .epic-footer {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 0;
}

.epic-footer-block[data-epic-footer-reveal-ready] {
	min-height: var(--epic-footer-reveal-height, 0px);
}

.is-footer-reveal-cover {
	position: relative;
	pointer-events: none;
}

.is-footer-reveal-cover .epic-cta__media,
.is-footer-reveal-cover .epic-cta__media-inner,
.is-footer-reveal-cover .epic-cta__bg,
.is-footer-reveal-cover .epic-cta__overlay {
	pointer-events: none;
}

.is-footer-reveal-cover .epic-cta__inner,
.is-footer-reveal-cover .epic-cta__inner *,
.is-footer-reveal-cover a,
.is-footer-reveal-cover button,
.is-footer-reveal-cover iframe {
	pointer-events: auto;
}

.is-footer-reveal-cover .epic-cta__inner {
	position: relative;
	z-index: 1;
}

.is-footer-reveal-cover.epic-cta {
	overflow: visible;
	box-sizing: content-box;
	height: max(700px, 100svh);
	height: max(700px, 100dvh);
	padding-bottom: 0;
}

.is-footer-reveal-cover.epic-cta .epic-cta__media {
	top: 0;
	right: 0;
	left: 0;
	bottom: auto;
	height: max(700px, 100svh);
	height: max(700px, 100dvh);
}

.epic-footer-block[data-epic-footer-reveal-ready] .epic-footer {
	pointer-events: auto;
}

.epic-footer {
	--epic-footer-red: #d12e1c;

	padding: 100px 0 30px;
	background: #292b2c;
	color: var(--epic-footer-red);
	font-family: var(--epic-font);
}

.epic-footer__headline {
	margin: 0 0 3rem;
	color: var(--epic-footer-red);
}

.epic-footer__columns {
	--footer-col-1: 30.5%;
	--footer-col-2: 22.3%;
	--footer-col-3: 26%;
	--footer-col-4: 12%;

	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 2rem;
	margin-bottom: 20px;
}

.epic-footer__col {
	min-width: 0;
}

.epic-footer__col:nth-child(1) {
	flex: 0 0 var(--footer-col-1);
}

.epic-footer__col:nth-child(2) {
	flex: 0 0 var(--footer-col-2);
}

.epic-footer__col:nth-child(3) {
	flex: 0 0 var(--footer-col-3);
}

.epic-footer__col:nth-child(4) {
	flex: 0 0 var(--footer-col-4);
}

.epic-footer__logo img,
.epic-footer__location-map {
	display: block;
	max-width: 100%;
}

.epic-footer__location {
	display: block;
	text-decoration: none;
}

.epic-footer__location-map {
	width: 100%;
	height: auto;
	max-width: 140px;
	margin-left: auto;
}

.epic-footer__map-embed {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #292b2c;
}

.epic-footer__map-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) invert(92%) hue-rotate(180deg) brightness(0.82) contrast(1.08) saturate(0.75);
}

.epic-footer__logo img {
	max-width: 240px;
	max-height: 161px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.epic-footer__col-heading {
	margin: 0 0 9px;
	color: var(--epic-footer-red);
	font-family: var(--epic-font-din);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.epic-footer__menu {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.epic-footer__menu a {
	position: relative;
	display: inline-block;
	color: var(--epic-footer-red);
	font: 600 16px/1.4 var(--epic-font-din);
	text-decoration: none;
	transition: color 0.25s ease;
}

.epic-footer__menu a:hover,
.epic-footer__menu .current-menu-item > a,
.epic-footer__menu .current_page_item > a,
.epic-footer__menu .current-menu-ancestor > a {
	color: var(--epic-white);
}

.epic-footer__bar .epic-footer__menu a {
	text-transform: uppercase;
}

.epic-footer__bar {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	padding-top: 40px;
	border-top: 2px solid rgb(209 46 28 / 61%);
	align-items: center;
}

.epic-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.epic-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.epic-footer__social-icon {
	display: block;
	width: 24px;
	height: 24px;
	max-width: 24px;
	max-height: 24px;
	object-fit: contain;
}

.epic-footer__copy {
	margin: 0;
	color: var(--epic-footer-red);
	font-family: var(--epic-font-din);
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	letter-spacing: 3px;
}

.epic-footer__menu--legal {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 1rem;
}

@media (prefers-reduced-motion: reduce) {
	.epic-footer-block[data-epic-footer-reveal-ready] {
		min-height: 0;
	}

	.epic-footer-block[data-epic-footer-reveal-ready] .epic-footer {
		position: relative;
	}

	.is-footer-reveal-cover {
		padding-bottom: 0;
	}

	.is-footer-reveal-cover.epic-cta .epic-cta__media {
		height: auto;
		inset: 0;
	}
}

@media (max-width: 991px) {
	.epic-footer-block[data-epic-footer-reveal-ready] {
		min-height: 0;
	}

	.epic-footer-block[data-epic-footer-reveal-ready] .epic-footer,
	.epic-footer-block .epic-footer {
		position: relative;
		left: auto;
		bottom: auto;
		width: 100%;
	}

	.is-footer-reveal-cover {
		padding-bottom: 0;
	}

	.is-footer-reveal-cover.epic-cta .epic-cta__media {
		height: auto;
		inset: 0;
	}

	.epic-footer {
		box-sizing: border-box;
		padding: 52px 0 28px;
		overflow-wrap: break-word;
	}

	.epic-footer .epic-container {
		width: min(100% - 1.5rem, var(--epic-container));
	}

	.epic-footer__headline {
		margin: 0 0 1.75rem;
		max-width: 100%;
		overflow-wrap: break-word;
	}

	.epic-footer__columns {
		flex-direction: column;
		gap: 1.5rem;
		margin-bottom: 12px;
	}

	.epic-footer__col:nth-child(n) {
		flex: 0 0 100%;
		width: 100%;
	}

	.epic-footer__logo img {
		max-width: min(200px, 70vw);
		max-height: 130px;
	}

	.epic-footer__col-heading {
		font-size: 14px;
		letter-spacing: 0.1em;
	}

	.epic-footer__menu {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.epic-footer__menu a {
		font-size: 15px;
		line-height: 1.35;
		overflow-wrap: anywhere;
	}

	.epic-footer__location-map {
		max-width: min(72vw, 280px);
		margin-left: 0;
	}

	.epic-footer__map-embed {
		max-height: min(52vw, 240px);
		aspect-ratio: 16 / 10;
	}

	.epic-footer__bar {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		padding-top: 28px;
	}

	.epic-footer__social {
		gap: 0.75rem;
	}

	.epic-footer__copy {
		font-size: 14px;
		line-height: 1.35;
		text-align: left;
		letter-spacing: 0.08em;
		overflow-wrap: break-word;
	}

	.epic-footer__menu--legal {
		justify-content: flex-start;
		gap: 0.75rem 1rem;
	}
}

@media (min-width: 768px) and (max-width: 1100px) {
	.epic-footer__columns {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 2rem;
		margin-bottom: 20px;
	}

	.epic-footer__col:nth-child(n) {
		width: auto;
	}

	.epic-footer__col:nth-child(1) {
		flex: 0 0 var(--footer-col-1);
	}

	.epic-footer__col:nth-child(2) {
		flex: 0 0 var(--footer-col-2);
	}

	.epic-footer__col:nth-child(3) {
		flex: 0 0 var(--footer-col-3);
	}

	.epic-footer__col:nth-child(4) {
		flex: 0 0 var(--footer-col-4);
	}
}

@media (max-width: 767px) {
	.epic-footer__headline.h1 br {
		display: none;
	}

	.epic-footer__columns {
		--footer-mobile-brand-height: 103px;

		display: grid;
		grid-template-columns: auto 1fr auto;
		align-items: center;
		column-gap: 0;
		row-gap: 1.25rem;
	}

	.epic-footer__col:nth-child(2) {
		grid-column: 1 / -1;
		grid-row: 1;
		order: unset;
		flex: unset;
		width: auto;
	}

	.epic-footer__col:nth-child(3) {
		grid-column: 1 / -1;
		grid-row: 2;
		order: unset;
		flex: unset;
		width: auto;
	}

	.epic-footer__col:nth-child(1) {
		grid-column: 1;
		grid-row: 3;
		order: unset;
		flex: unset;
		width: auto;
		align-self: center;
	}

	.epic-footer__col:nth-child(4) {
		grid-column: 3;
		grid-row: 3;
		order: unset;
		flex: unset;
		width: auto;
		display: block;
		align-self: center;
	}

	.epic-footer__logo img,
	.epic-footer__location-map {
		display: block;
		width: auto;
		height: var(--footer-mobile-brand-height);
		max-width: none;
		max-height: none;
		object-fit: contain;
	}

	.epic-footer__location-map {
		margin-left: 0;
	}
}
