/* Mirrors the main elitehavens.com footer (css/common.css). */
.eh-footer {
	--eh-footer-bg: #231f20;
	--eh-footer-divider: rgba(255, 255, 255, 0.2);
	--eh-footer-text: rgba(255, 255, 255, 0.73);
	background: var(--eh-footer-bg);
	color: var(--eh-footer-text);
	font-family: "Majorant-Thin", Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 22px;
}

.eh-footer__inner {
	margin: 0 auto;
	max-width: 1300px;
	padding: 100px 40px;
}

.eh-footer__columns {
	display: flex;
}

.eh-footer__column {
	border-right: 1px solid var(--eh-footer-divider);
	flex: 1;
	min-width: 0;
	padding: 0 50px;
}

.eh-footer__column:first-child {
	padding-left: 0;
}

.eh-footer__column:last-child {
	border-right: 0;
	padding-right: 0;
}

.eh-footer p,
.eh-footer ul {
	margin: 0;
	padding: 0;
}

.eh-footer li {
	list-style: none;
	margin: 0;
}

.eh-footer a {
	color: var(--eh-footer-text);
	text-decoration: none;
	transition: color 0.25s ease-in-out;
}

.eh-footer a:hover,
.eh-footer a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.eh-footer a:focus-visible {
	outline: 1px solid #fff;
	outline-offset: 2px;
}

.eh-footer__title {
	color: #fff;
	font-family: "Majorant-Light", Arial, Helvetica, sans-serif;
	letter-spacing: 0.02em;
	line-height: 21px;
	margin-bottom: 25px !important;
}

.eh-footer__intro {
	margin-bottom: 30px !important;
}

.eh-footer__links li {
	padding-bottom: 5px;
}

/* Two aligned columns: country, then number right after the longest country. */
.eh-footer__phones {
	display: grid;
	gap: 0 8px;
	grid-template-columns: max-content max-content;
}

.eh-footer__phones li {
	display: contents;
}

.eh-footer__phones span,
.eh-footer__phones a {
	padding-bottom: 5px;
	white-space: nowrap;
}

.eh-footer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 6px;
}

/* 32px tap targets; icons sit flush left with the column text. */
.eh-footer__socials a {
	align-items: center;
	display: inline-flex;
	height: 32px;
	justify-content: flex-start;
	width: 32px;
}

.eh-footer__social-icon {
	display: block;
	height: 18px;
	width: 18px;
}

/* Affiliation, copyright and policy links sit under the socials, as on the main site. */
.eh-footer__legal {
	font-size: 12px;
	line-height: 22px;
	margin-top: 70px;
}

.eh-footer__part {
	margin-bottom: 5px !important;
}

@media (max-width: 1300px) {
	.eh-footer {
		font-size: 13px;
		line-height: 18.2px;
	}

	.eh-footer__inner {
		padding: 65px 40px;
	}

	.eh-footer__column {
		padding: 0 30px;
	}
}

/* Matches Avada's mobile header breakpoint. */
@media (max-width: 800px) {
	.eh-footer__inner {
		padding: 50px 22px 32px;
	}

	.eh-footer__columns {
		display: block;
	}

	.eh-footer__column,
	.eh-footer__column:first-child,
	.eh-footer__column:last-child {
		border-bottom: 1px solid var(--eh-footer-divider);
		border-right: 0;
		padding: 25px 0;
	}

	.eh-footer__column:first-child {
		padding-top: 0;
	}

	.eh-footer__column:last-child {
		border-bottom: 0;
		padding-bottom: 0;
	}

	.eh-footer__title {
		margin-bottom: 15px !important;
	}

	.eh-footer__intro {
		margin-bottom: 15px !important;
	}

	.eh-footer__socials {
		border-bottom: 1px solid var(--eh-footer-divider);
		padding-bottom: 25px !important;
	}

	.eh-footer__legal {
		margin-top: 25px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eh-footer a {
		transition: none;
	}
}
