/* Site footer */

.ae-footer {
	background: var(--ae-teal);
	color: var(--ae-white);
	font-family: var(--ae-font-sans);
}

.ae-footer .ae-container {
	padding-bottom: 40px;
}

.ae-footer__columns {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 48px;
	padding-top: 64px;
	border-top: 1px solid var(--ae-line);
}

.ae-footer__brand {
	flex: 1 1 300px;
	min-width: 0;
}

.ae-footer .ae-logo {
	display: block;
	width: auto;
	height: 84px;
	max-width: none;
}

.ae-footer__description {
	max-width: 320px;
	margin: 24px 0 0;
	font-size: 14px;
	line-height: 23px;
	color: var(--ae-ink-muted);
}

.ae-footer__description p,
.ae-footer__description ul,
.ae-footer__description ol {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.ae-footer__description > * + * {
	margin-top: 0.75em;
}

.ae-footer__description a,
.ae-footer__description a:visited {
	font-size: inherit;
	color: var(--ae-white);
	text-decoration: underline !important;
}

.ae-footer__col--explore {
	flex: 0 1 180px;
}

.ae-footer__col--contact {
	flex: 0 1 340px;
	min-width: 0;
}

.ae-footer__heading {
	margin: 0 0 20px;
}

.ae-footer__links {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 21px;
}

.ae-footer__links li {
	margin: 0;
	padding: 0;
}

.ae-footer__links a,
.ae-footer__links a:visited {
	font-size: 14px;
	color: var(--ae-white);
	text-decoration: none;
}

.ae-footer__links a:hover {
	color: var(--ae-white);
	opacity: 0.8;
}

.ae-footer__email {
	overflow-wrap: anywhere;
}

/* Contact details: white icon followed by the detail */
.ae-footer__contact a,
.ae-footer__contact .ae-footer__location {
	display: inline-flex;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
}

.ae-footer__contact svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--ae-white);
}

.ae-footer__contact span {
	min-width: 0;
}

.ae-footer__location {
	color: var(--ae-white);
}

.ae-footer__muted {
	color: var(--ae-ink-muted);
}

.ae-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 64px;
	padding-top: 24px;
	border-top: 1px solid var(--ae-line);
	font-size: 12px;
	line-height: 18px;
	color: var(--ae-ink-muted);
}

.ae-footer__copyright,
.ae-footer__copyright p {
	margin: 0;
	font-size: 12px;
	color: var(--ae-ink-muted);
}

.ae-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ae-footer__credit {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	margin: 0;
	font-size: 12px;
	line-height: 18px;
	color: var(--ae-ink-muted);
}

.ae-footer__heart {
	flex-shrink: 0;
	color: #e5484d;
}

.ae-footer__credit a,
.ae-footer__credit a:visited {
	font-size: 12px;
	font-weight: 500;
	color: var(--ae-white);
	text-decoration: none;
}

.ae-footer__credit a:hover {
	color: var(--ae-gold-light);
}

@media (min-width: 1024px) {
	.ae-footer__bottom {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		column-gap: 24px;
	}

	.ae-footer__credit {
		justify-content: center;
	}

	.ae-footer__legal {
		justify-self: end;
	}
}

/* Keep the legal links clear of the floating WhatsApp button. */
@media (min-width: 1024px) and (max-width: 1359px) {
	.ae-footer__bottom {
		padding-left: 48px;
		padding-right: 48px;
	}
}

@media (max-width: 1023px) {
	.ae-footer .ae-container {
		padding-bottom: 96px;
	}

	.ae-footer__bottom {
		flex-direction: column;
		justify-content: center;
		gap: 10px;
		text-align: center;
	}

	.ae-footer__credit,
	.ae-footer__legal {
		justify-content: center;
	}
}

.ae-footer__legal li {
	margin: 0;
	padding: 0;
}

.ae-footer__legal a,
.ae-footer__legal a:visited,
.ae-footer__copyright a,
.ae-footer__copyright a:visited {
	font-size: 12px;
	color: var(--ae-ink-muted);
	text-decoration: none;
}

.ae-footer__legal a:hover,
.ae-footer__copyright a:hover {
	color: var(--ae-white);
}
