/*
 * Footer → FsFooter ("FsFooter.dc.html"). Built as a Salient global section
 * (footer location) from website/content/global/footer.html:
 *   row .fs-footer       brand column + four link columns (2fr + 4 × 1fr, gap 32)
 *   row .fs-footer-legal disclaimer (.fs-footer__disclaimer) + copyright (.fs-footer__copy)
 * Navy, 1240 container, padding 80 0 56 (48 20 40 on phones).
 */

/* Salient's own footer area is switched off in the theme options. */
body.fs-site #footer-outer {
	display: none !important;
}

body.fs-site .nectar-global-section.nectar_hook_global_section_footer {
	background: var(--fs-navy);
	color: var(--fs-white);
	font-family: var(--fs-font-body);
	padding: 80px 0 56px;
	margin: 0;
}

body.fs-site .nectar_hook_global_section_footer > .container {
	padding-top: 0;
	padding-bottom: 0;
}

body.fs-site .nectar_hook_global_section_footer .wpb_row {
	margin: 0;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.fs-site .nectar_hook_global_section_footer a {
	color: var(--fs-lavender);
	text-decoration: underline;
}

body.fs-site .nectar_hook_global_section_footer a:hover {
	color: var(--fs-white);
}

body.fs-site .nectar_hook_global_section_footer :focus-visible {
	outline-color: var(--fs-white);
}

/* Grid of brand + link columns. */
body.fs-site .wpb_row.fs-footer > .row_col_wrap_12 {
	display: grid;
	grid-template-columns: 2fr repeat(4, minmax(0, 1fr));
	gap: 32px;
	margin: 0 !important;
	width: 100%;
	float: none;
}

body.fs-site .wpb_row.fs-footer > .row_col_wrap_12::before,
body.fs-site .wpb_row.fs-footer > .row_col_wrap_12::after {
	display: none;
}

body.fs-site .wpb_row.fs-footer > .row_col_wrap_12 > .wpb_column {
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none;
	min-height: 0;
}

body.fs-site .fs-footer__brand > .vc_column-inner > .wpb_wrapper {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

body.fs-site .nectar_hook_global_section_footer .wpb_wrapper > div {
	margin-bottom: 0;
}

body.fs-site .fs-footer__brand .fs-lockup {
	color: var(--fs-white);
}

body.fs-site .fs-footer__tagline,
body.fs-site .fs-footer__tagline p {
	max-width: 260px;
	color: var(--fs-lavender);
	font-size: 15px;
	line-height: 1.5 !important;
}

body.fs-site .fs-footer__links > .wpb_wrapper {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

body.fs-site .fs-footer__links .fs-footer__title,
body.fs-site .row .col .fs-footer__links .fs-footer__title {
	margin: 0 0 6px;
	color: var(--fs-white);
	font-family: var(--fs-font-display);
	font-size: 14px;
	font-weight: 700;
	line-height: normal;
}

body.fs-site .fs-footer__links ul,
body.fs-site .wpb_text_column.fs-footer__links ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.fs-site .fs-footer__links li {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}

body.fs-site .fs-footer__links li::before,
body.fs-site .fs-footer__links li::marker {
	content: none;
}

body.fs-site .fs-footer__links a {
	display: flex;
	align-items: center;
	min-height: 32px;
	color: var(--fs-lavender);
	font-size: 16px;
	line-height: normal;
}

/* Disclaimer and copyright. */
body.fs-site .wpb_row.fs-footer-legal {
	margin-top: 40px;
}

body.fs-site .wpb_row.fs-footer-legal .wpb_column > .vc_column-inner > .wpb_wrapper {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

body.fs-site .fs-footer__disclaimer {
	max-width: 980px;
	padding-top: 32px;
	border-top: 1px solid var(--fs-footer-rule);
}

body.fs-site .fs-footer__disclaimer p,
body.fs-site .row .col .fs-footer__disclaimer p {
	color: var(--fs-lavender);
	font-size: 13px;
	line-height: 1.65;
}

body.fs-site .fs-footer__copy p,
body.fs-site .row .col .fs-footer__copy p {
	color: var(--fs-white);
	font-size: 14px;
	line-height: normal;
}

body.fs-site .fs-footer__copy a,
body.fs-site .fs-footer__copy a:hover {
	color: var(--fs-white);
}

/* Below the 1240 container (1000–1199 too): brand on its own row, four link
   columns, so labels such as "Data processing" stay on one line. */
@media (max-width: 1199px) {
	body.fs-site .wpb_row.fs-footer > .row_col_wrap_12 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	body.fs-site .wpb_row.fs-footer > .row_col_wrap_12 > .fs-footer__brand {
		grid-column: 1 / -1;
	}
}

/* Phone: two columns, brand first (FsFooter mobile). */
@media (max-width: 690px) {
	body.fs-site .nectar-global-section.nectar_hook_global_section_footer {
		padding: 48px 0 40px;
	}

	body.fs-site .wpb_row.fs-footer > .row_col_wrap_12 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.fs-site .wpb_row.fs-footer > .row_col_wrap_12 > .fs-footer__brand {
		grid-column: auto;
	}
}
