/* Template-only footer. Salient's default footer stays untouched elsewhere. */
html body.bd-fullwidth #footer-outer {
	display: none !important;
}

body.bd-fullwidth #bd-footer {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: clamp(52px, 4.5vw, 72px) 0 0;
	background: #14100d;
	color: #e9e4dd;
	font-family: var(--bd-sans, "Jost", sans-serif);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.65;
	letter-spacing: .01em;
}

body.bd-fullwidth #bd-footer *,
body.bd-fullwidth #bd-footer *::before,
body.bd-fullwidth #bd-footer *::after {
	box-sizing: border-box;
}

/*
 * Keep Salient's .container as a normal layout container.
 * Grid/flex live on dedicated inner elements so Salient/Bootstrap clearfix
 * pseudo-elements never become grid or flex items.
 */
body.bd-fullwidth #bd-footer .bd-footer__inner {
	position: relative;
}

body.bd-fullwidth #bd-footer .bd-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(140px, .72fr) minmax(220px, 1fr);
	column-gap: clamp(48px, 6vw, 100px);
	align-items: start;
}

body.bd-fullwidth #bd-footer .bd-footer__brand {
	max-width: 390px;
}

body.bd-fullwidth #bd-footer .bd-footer__brand-link {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 100%;
	color: #fff;
	text-decoration: none;
}

body.bd-fullwidth #bd-footer .bd-footer__logo {
	display: block;
	width: auto;
	height: auto;
	max-width: min(100%, 220px);
	max-height: 74px;
	object-fit: contain;
	object-position: left center;
	filter: brightness(0) invert(1);
}

body.bd-fullwidth #bd-footer .bd-footer__wordmark {
	font: 400 clamp(24px, 2.2vw, 32px)/1.05 var(--bd-serif, Georgia, serif);
	font-style: italic;
}

body.bd-fullwidth #bd-footer .bd-footer__baseline {
	align-self: flex-end;
	font-size: 9px;
	letter-spacing: .14em;
}

body.bd-fullwidth #bd-footer .bd-footer__intro {
	max-width: 370px;
	margin: 18px 0 0;
	color: #bcb3ab;
	font-size: 13px;
	line-height: 1.7;
}

body.bd-fullwidth #bd-footer .bd-footer__heading {
	margin: 2px 0 18px;
	padding: 0;
	color: rgba(233, 228, 221, .52);
	font: 400 10px/1.4 var(--bd-sans, "Jost", sans-serif);
	letter-spacing: .24em;
	text-transform: uppercase;
}

body.bd-fullwidth #bd-footer .bd-footer__menu,
body.bd-fullwidth #bd-footer .bd-footer__social {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.bd-fullwidth #bd-footer .bd-footer__menu li,
body.bd-fullwidth #bd-footer .bd-footer__social li {
	margin: 0 0 7px;
	padding: 0;
	list-style: none;
}

body.bd-fullwidth #bd-footer .bd-footer__contact > a {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: 0 0 7px;
}

body.bd-fullwidth #bd-footer .bd-footer__contact > a[href^="mailto:"] {
	overflow-wrap: anywhere;
}

body.bd-fullwidth #bd-footer .bd-footer__social {
	margin-top: 8px;
}

body.bd-fullwidth #bd-footer a {
	color: #ddd6cf;
	text-decoration: none;
	transition: color .2s ease;
}

body.bd-fullwidth #bd-footer a:hover,
body.bd-fullwidth #bd-footer a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

body.bd-fullwidth #bd-footer .bd-footer__social-unset {
	color: #7e756d;
	cursor: default;
}

body.bd-fullwidth #bd-footer .bd-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	margin-top: clamp(42px, 4vw, 58px);
	padding: 19px 0 24px;
	border-top: 1px solid rgba(233, 228, 221, .11);
	color: #948b84;
	font-size: 10px;
	line-height: 1.5;
	letter-spacing: .10em;
	text-transform: uppercase;
}

@media (max-width: 999px) {
	body.bd-fullwidth #bd-footer {
		padding-top: 52px;
	}

	body.bd-fullwidth #bd-footer .bd-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 42px 48px;
	}

	body.bd-fullwidth #bd-footer .bd-footer__brand {
		grid-column: 1 / -1;
		max-width: 440px;
	}

	body.bd-fullwidth #bd-footer .bd-footer__bottom {
		margin-top: 44px;
	}
}

@media (max-width: 600px) {
	body.bd-fullwidth #bd-footer {
		padding-top: 46px;
		font-size: 14px;
	}

	body.bd-fullwidth #bd-footer .bd-footer__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	body.bd-fullwidth #bd-footer .bd-footer__brand {
		grid-column: auto;
	}

	body.bd-fullwidth #bd-footer .bd-footer__heading {
		margin-bottom: 14px;
	}

	body.bd-fullwidth #bd-footer .bd-footer__social {
		margin-top: 8px;
	}

	body.bd-fullwidth #bd-footer .bd-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
		margin-top: 38px;
		padding-bottom: 20px;
	}
}
