/* AI-Genics footer bottom row (all five HFE footers: Global Footer + the Home / TradeComply / Request a Demo / Blog Articles
   copies). The copyright box is the footer's .ag-fit box with three text pieces ("Copyright © 2026 - " / "Aigenics.ai" /
   ". All Rights Reserved."); the legal box holds the two links (Privacy Policy, Terms & Conditions). */

/* both legal links underlined, like "Privacy Policy" */
footer .ag-fit:has(> span > a[href*="privacy-policy"]) a,
footer .ag-fit:has(> span > a[href*="terms-and-conditions"]) a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: currentColor;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
/* the link's wrapper text colour too (Terms was the muted footer colour) */
footer .ag-fit:has(> span > a[href*="terms-and-conditions"]) > span { color: #fff; text-decoration: none; border-bottom: 0; }
/* (the Privacy Policy wrapper had its own underline from the Elementor design → it showed twice; only the link's underline stays) */

/* phones: the copyright stays on ONE line (the three pieces no longer wrap apart; the text scales down slightly on the
   narrowest screens so it always fits) */
@media (max-width: 767px) {
	footer .ag-fit:has(> span:nth-child(3)):not(:has(a)) {
		flex-wrap: nowrap;
		white-space: nowrap;
		max-width: 100%;
	}
	footer .ag-fit:has(> span:nth-child(3)):not(:has(a)) > span {
		font-size: min(14px, 3.45vw);
		line-height: 1.4;
		white-space: nowrap;
	}
}
