/* QuantBotly site footer (Hello Elementor + legacy Kadence shell). */
#site-footer.qbl-site-footer,
#site-footer.qbl-site-footer .qbl-footer-inner {
	background: #000b14 !important;
}

#site-footer.qbl-site-footer {
	border-top: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

#site-footer.qbl-site-footer .qbl-footer-inner {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 14px 20px;
}

#site-footer.qbl-site-footer .footer-inner,
#site-footer.qbl-site-footer .site-branding,
#site-footer.qbl-site-footer .copyright {
	display: none !important;
}

.qbl-footer-bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	width: 100%;
	column-gap: 16px;
}

.qbl-footer-col--logo {
	justify-self: start;
	text-align: left;
}

.qbl-footer-col--copy {
	justify-self: center;
	text-align: center;
}

.qbl-footer-col--end {
	min-width: 0;
}

.qbl-footer-logo-link {
	display: inline-flex;
	line-height: 0;
	opacity: 0.94;
	transition: opacity 0.2s ease;
}

.qbl-footer-logo-link:hover,
.qbl-footer-logo-link:focus-visible {
	opacity: 1;
}

.qbl-footer-logo {
	display: block;
	width: auto;
	max-width: 220px;
	height: 48px;
	object-fit: contain;
	object-position: left center;
}

.qbl-footer-copy {
	color: rgba(255, 255, 255, 0.62);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

#site-footer.qbl-site-footer a:not(.qbl-footer-logo-link) {
	color: rgba(150, 233, 185, 0.78);
	font-weight: 500;
	text-decoration: none;
}

#site-footer.qbl-site-footer a:not(.qbl-footer-logo-link):hover,
#site-footer.qbl-site-footer a:not(.qbl-footer-logo-link):focus-visible {
	color: #96e9b9;
}

/* Legacy Kadence footer layers (harmless if theme is removed). */
.site-footer,
.site-footer-wrap,
.site-bottom-footer-wrap,
.site-bottom-footer-inner,
.site-footer-row-container-inner,
.site-bottom-footer-wrap .site-container,
.site-bottom-footer-inner-wrap {
	background: #000b14 !important;
}

.site-footer .footer-html-inner .qbl-footer-bar {
	width: 100%;
}

@media (max-width: 640px) {
	.qbl-footer-bar {
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 12px;
	}

	.qbl-footer-col--copy {
		justify-self: end;
		text-align: right;
	}

	.qbl-footer-col--end {
		display: none;
	}

	.qbl-footer-copy {
		white-space: normal;
		font-size: 12px;
	}

	.qbl-footer-logo {
		max-width: 188px;
		height: 42px;
	}
}
