/* ==========================================================================
   Public site footer (public/includes/footer_inc.asp)
   Dark footer: brand + social, link columns, copyright bar.
   ========================================================================== */

/* footer sits at the bottom of short pages without the old absolute-position
   workaround (public/css/footer_bottom_inc.asp padded #content by 360px for it) */
#wrap {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0 !important;
}
#wrap > #content { flex: 1 0 auto; padding-bottom: 0 !important; min-height: 0 !important; }

.site-footer {
	--sf-bg: #0b1726;
	--sf-text: rgba(255, 255, 255, .68);
	--sf-line: rgba(255, 255, 255, .1);
	--sf-orange: #ff9004;

	margin-top: auto;
	background: var(--sf-bg);
	color: var(--sf-text);
	font-family: 'Source Sans Pro', 'open_sansregular', Arial, sans-serif;
	font-size: 15px;
	line-height: 1.6;
}
.site-footer-inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1202px;
	margin: 0 auto;
	padding: 0 16px;
}

.site-footer-main {
	display: grid;
	grid-template-columns: 1.3fr 1.2fr 1.6fr .8fr;
	gap: 48px;
	padding-top: 64px;
	padding-bottom: 56px;
}

.site-footer-logo { display: inline-block; line-height: 0; }
.site-footer-logo img {
	display: block;
	width: auto;
	height: 26px;
	filter: brightness(0) invert(1); /* white version of the logo */
}
.site-footer-brand p { margin: 18px 0 22px; max-width: 300px; color: var(--sf-text); }

.site-footer-social { display: flex; gap: 10px; }
.site-footer .site-footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--sf-line);
	border-radius: 50%;
	color: #fff;
	font-size: 17px;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease;
}
.site-footer .site-footer-social a:hover { background: var(--sf-orange); border-color: var(--sf-orange); }

.site-footer h3 {
	margin: 0 0 16px;
	padding: 0;
	font-family: inherit;
	font-size: 13px;
	font-weight: bold;
	line-height: 1.4;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #fff;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 9px; padding: 0; list-style: none; background: none; }
.site-footer li::before { display: none; }
.site-footer-partners ul { columns: 2; column-gap: 28px; }
.site-footer-partners li { break-inside: avoid; }
.site-footer .site-footer-col a {
	color: var(--sf-text);
	text-decoration: none;
	transition: color .15s ease;
}
.site-footer .site-footer-col a:hover { color: #fff; }

.site-footer-bottom { border-top: 1px solid var(--sf-line); }
.site-footer-bottom .site-footer-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 14px;
}
.site-footer .site-footer-bottom a { color: var(--sf-text); text-decoration: none; }
.site-footer .site-footer-bottom a:hover { color: #fff; }

@media (max-width: 1100px) {
	.site-footer-main { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
}
@media (max-width: 640px) {
	.site-footer-main { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
	.site-footer-bottom .site-footer-inner { flex-direction: column; }
}
